xenocara/share/mk/bsd.xconf.mk
oga 5a9e2c9770 Enable building the dri modules and mesa drivers by default on i386 and
amd64.

ok matthieu@ and todd@

This has been in snaps for over a week, no complaints.
2008-04-29 18:59:05 +00:00

23 lines
484 B
Makefile

# $OpenBSD: bsd.xconf.mk,v 1.6 2008/04/29 18:59:05 oga Exp $
# Shared libs?
.if ${MACHINE} == "mvme88k" || ${MACHINE} == "vax"
XENOCARA_HAVE_SHARED_LIBS?=no
.else
XENOCARA_HAVE_SHARED_LIBS?=yes
.endif
# Build DRI?
.if ${MACHINE} == "amd64" || ${MACHINE} == "i386"
XENOCARA_BUILD_DRI?=yes
.else
XENOCARA_BUILD_DRI?=no
.endif
# Build GL libs and apps
.if ${MACHINE_ARCH} == "m88k" || ${MACHINE} == "sgi" || ${MACHINE} == vax
XENOCARA_BUILD_GL?=no
.else
XENOCARA_BUILD_GL?=yes
.endif