xenocara/share/mk/bsd.xconf.mk
bcallah 90c7aec45a As discussed with matthieu@, since there are no octeon machines with video
output where OpenGL makes since, we should disable OpenGL on octeon.
ok matthieu@
2013-08-17 17:05:43 +00:00

26 lines
555 B
Makefile

# $OpenBSD: bsd.xconf.mk,v 1.26 2013/08/17 17:05:43 bcallah Exp $
# Shared libs?
.if ${MACHINE} == "vax"
XENOCARA_HAVE_SHARED_LIBS?=no
.else
XENOCARA_HAVE_SHARED_LIBS?=yes
.endif
# Build GL libs and apps?
.if ${MACHINE} == "octeon"
XENOCARA_BUILD_GL?=no
XENOCARA_BUILD_DRI?=no
.else
XENOCARA_BUILD_GL?=${XENOCARA_HAVE_SHARED_LIBS:L}
XENOCARA_BUILD_DRI?=${XENOCARA_HAVE_SHARED_LIBS:L}
.endif
XENOCARA_BUILD_GALLIUM?=${XENOCARA_HAVE_SHARED_LIBS:L}
# Build pixman?
.if ${MACHINE} == "vax"
XENOCARA_BUILD_PIXMAN?=no
.else
XENOCARA_BUILD_PIXMAN?=yes
.endif