2015-06-27 15:50:55 -06:00
|
|
|
# $OpenBSD: Makefile.bsd-wrapper,v 1.18 2015/06/27 21:50:55 miod Exp $
|
2008-08-20 23:48:42 -06:00
|
|
|
|
|
|
|
.include <bsd.xconf.mk>
|
|
|
|
|
|
|
|
_SRCDIR= ${.CURDIR}/../xserver
|
2012-08-08 15:54:33 -06:00
|
|
|
NO_REORDER=yes
|
2008-08-20 23:48:42 -06:00
|
|
|
|
2011-03-08 00:59:23 -07:00
|
|
|
XKB_PATH= ${X11BASE}/share/X11/xkb
|
|
|
|
XKB_RULES= base
|
|
|
|
|
2008-08-20 23:48:42 -06:00
|
|
|
CONFIGURE_ARGS= --localstatedir=/var --sysconfdir=/etc/X11 \
|
2011-03-08 00:59:23 -07:00
|
|
|
--with-xkb-path=${XKB_PATH} \
|
2009-01-28 07:51:56 -07:00
|
|
|
--with-xkb-output=/var/db/xkb \
|
2011-03-08 00:59:23 -07:00
|
|
|
--with-default-xkb-rules=${XKB_RULES} \
|
2008-08-20 23:48:42 -06:00
|
|
|
--disable-xorg \
|
2011-04-27 14:58:34 -06:00
|
|
|
--enable-xcsecurity \
|
2008-08-20 23:48:42 -06:00
|
|
|
--enable-kdrive \
|
|
|
|
--disable-dmx \
|
|
|
|
--disable-xnest \
|
2012-03-10 11:35:56 -07:00
|
|
|
--disable-xvfb \
|
|
|
|
--without-fop --without-xmlto --without-xsltproc
|
2008-08-20 23:48:42 -06:00
|
|
|
|
|
|
|
realinstall:
|
2009-01-28 15:16:07 -07:00
|
|
|
(cd hw/kdrive/ephyr ; make install)
|
2008-08-20 23:48:42 -06:00
|
|
|
|
2015-06-27 15:50:55 -06:00
|
|
|
.if ${MACHINE_CPU} == "mips64"
|
|
|
|
# disable cache file, because the compiler flags will not match
|
|
|
|
CONFIGURE_ARGS+= --cache-file=/dev/null
|
|
|
|
CFLAGS+= -Wa,-xgot
|
|
|
|
.endif
|
|
|
|
|
2008-08-20 23:48:42 -06:00
|
|
|
.include <bsd.xorg.mk>
|