summaryrefslogtreecommitdiff
path: root/kdrive
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-08-21 05:48:43 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-08-21 05:48:43 +0000
commiteb9bdb52236f9762e3b7744efc03230e2d608022 (patch)
tree4104b236702d689cf628adbf2356a3a5876607a4 /kdrive
parentd53c689b48c9ff88a54de3cf46c9f80190dafcc6 (diff)
Add a way to build kdrive-based X servers in a separate directory,
to make it possible to build them at the same time as Xorg.
Diffstat (limited to 'kdrive')
-rw-r--r--kdrive/Makefile.bsd-wrapper19
1 files changed, 19 insertions, 0 deletions
diff --git a/kdrive/Makefile.bsd-wrapper b/kdrive/Makefile.bsd-wrapper
new file mode 100644
index 000000000..8da3a02fb
--- /dev/null
+++ b/kdrive/Makefile.bsd-wrapper
@@ -0,0 +1,19 @@
+# $OpenBSD: Makefile.bsd-wrapper,v 1.1 2008/08/21 05:48:42 matthieu Exp $
+
+.include <bsd.xconf.mk>
+
+_SRCDIR= ${.CURDIR}/../xserver
+
+CONFIGURE_ARGS= --localstatedir=/var --sysconfdir=/etc/X11 \
+ --disable-xorg \
+ --disable-xinput \
+ --enable-kdrive \
+ --disable-dmx \
+ --disable-xprint \
+ --disable-xnest \
+ --disable-xvfb
+
+realinstall:
+ ${INSTALL} -c -m 755 hw/kdrive/ephyr/Xephyr ${DESDIR}${BINDIR}
+
+.include <bsd.xorg.mk>