summaryrefslogtreecommitdiff
path: root/share/mk/bsd.xconf.mk
blob: 30e375532b77854e64bc8b8920b32b2fd0578883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $OpenBSD: bsd.xconf.mk,v 1.28 2013/09/24 21:03:32 miod 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" || ${MACHINE_ARCH} == "m88k"
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
# 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
XENOCARA_BUILD_GALLIUM?=${XENOCARA_HAVE_SHARED_LIBS:L}
.endif

# Build pixman?
.if ${MACHINE} == "vax"
XENOCARA_BUILD_PIXMAN?=no
.else
XENOCARA_BUILD_PIXMAN?=yes
.endif