2013-09-24 15:03:32 -06:00
|
|
|
# $OpenBSD: bsd.xconf.mk,v 1.28 2013/09/24 21:03:32 miod Exp $
|
2008-03-25 17:41:50 -06:00
|
|
|
|
|
|
|
# Shared libs?
|
2013-02-09 14:48:07 -07:00
|
|
|
.if ${MACHINE} == "vax"
|
2008-03-25 17:41:50 -06:00
|
|
|
XENOCARA_HAVE_SHARED_LIBS?=no
|
|
|
|
.else
|
|
|
|
XENOCARA_HAVE_SHARED_LIBS?=yes
|
|
|
|
.endif
|
|
|
|
|
2009-06-03 19:12:44 -06:00
|
|
|
# Build GL libs and apps?
|
2013-09-24 15:03:32 -06:00
|
|
|
.if ${MACHINE} == "octeon" || ${MACHINE_ARCH} == "m88k"
|
2013-08-17 11:05:43 -06:00
|
|
|
XENOCARA_BUILD_GL?=no
|
|
|
|
XENOCARA_BUILD_DRI?=no
|
|
|
|
.else
|
2009-06-03 19:12:44 -06:00
|
|
|
XENOCARA_BUILD_GL?=${XENOCARA_HAVE_SHARED_LIBS:L}
|
|
|
|
XENOCARA_BUILD_DRI?=${XENOCARA_HAVE_SHARED_LIBS:L}
|
2013-08-17 11:05:43 -06:00
|
|
|
.endif
|
2013-08-22 13:26:51 -06:00
|
|
|
# Gallium requires gcc 4 __sync_and_fetch() support
|
|
|
|
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "hppa" || \
|
|
|
|
${MACHINE_ARCH} == "hppa64" || ${MACHINE_ARCH} == "m68k" || \
|
|
|
|
${MACHINE_ARCH} == "m88k" || ${MACHINE_CPU} == "mips64" || \
|
|
|
|
${MACHINE_ARCH} == "sh" || ${MACHINE_ARCH} == "sparc"
|
|
|
|
XENOCARA_BUILD_GALLIUM?=no
|
|
|
|
.else
|
2013-08-11 22:16:52 -06:00
|
|
|
XENOCARA_BUILD_GALLIUM?=${XENOCARA_HAVE_SHARED_LIBS:L}
|
2013-08-22 13:26:51 -06:00
|
|
|
.endif
|
2009-05-22 11:58:45 -06:00
|
|
|
|
2010-08-25 11:44:24 -06:00
|
|
|
# Build pixman?
|
2013-02-21 10:45:32 -07:00
|
|
|
.if ${MACHINE} == "vax"
|
2010-11-27 07:20:47 -07:00
|
|
|
XENOCARA_BUILD_PIXMAN?=no
|
|
|
|
.else
|
|
|
|
XENOCARA_BUILD_PIXMAN?=yes
|
|
|
|
.endif
|