[BACK]Return to Makefile.bsd-wrapper CVS log [TXT][DIR] Up to [local] / xenocara / kdrive

File: [local] / xenocara / kdrive / Attic / Makefile.bsd-wrapper (download)

Revision 1.10, Mon May 30 10:52:58 2011 UTC (13 years ago) by shadchin
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.9: +4 -1 lines

If you do not have XkbOptions in xorg.conf, it is automatically set to
"terminate: ctrl_alt_bksp" (only if XENOCARA_USE_XKEYBOARD_CONFIG=Yes)

tested ajacoutot@, ok matthieu@

# $OpenBSD: Makefile.bsd-wrapper,v 1.10 2011/05/30 10:52:58 shadchin Exp $

.include <bsd.xconf.mk>

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

.if ${XENOCARA_USE_XKEYBOARD_CONFIG:L} == "yes"
XKB_PATH=	${X11BASE}/share/X11/xkb
XKB_RULES=	base
XKB_OPTIONS=	terminate:ctrl_alt_bksp
.else
XKB_PATH=	/etc/X11/xkb
XKB_RULES=	xorg
XKB_OPTIONS=
.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-default-xkb-options=${XKB_OPTIONS} \
		--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>