summaryrefslogtreecommitdiff
path: root/kdrive/Makefile.bsd-wrapper
blob: 429b81d31d9d01b4a59944db333cb1fbc8b16585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $OpenBSD: Makefile.bsd-wrapper,v 1.9 2011/04/27 20:58:34 matthieu Exp $

.include <bsd.xconf.mk>

_SRCDIR= ${.CURDIR}/../xserver

.if ${XENOCARA_USE_XKEYBOARD_CONFIG:L} == "yes"
XKB_PATH=	${X11BASE}/share/X11/xkb
XKB_RULES=	base
.else
XKB_PATH=	/etc/X11/xkb
XKB_RULES=	xorg
.endif

CONFIGURE_ARGS=	--localstatedir=/var --sysconfdir=/etc/X11 \
		--with-xkb-path=${XKB_PATH} \
		--with-xkb-output=/var/db/xkb \
		--with-default-xkb-rules=${XKB_RULES} \
		--with-dri-driver-path=${LIBDIR}/modules/dri \
		--enable-dri \
		--disable-xorg \
		--enable-xcsecurity \
		--enable-kdrive \
		--disable-dmx \
		--disable-xnest \
		--disable-xvfb

realinstall:
	(cd hw/kdrive/ephyr ; make install)

.include <bsd.xorg.mk>