summaryrefslogtreecommitdiff
path: root/lib/libGL/gallium/libgallium/Makefile
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2013-04-14 10:23:05 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2013-04-14 10:23:05 +0000
commitfd966211d0808f21e2a14207100cee08ad90da25 (patch)
treedc0204a6c1d89edd8343aec8b42420a69a477e5b /lib/libGL/gallium/libgallium/Makefile
parent40170538c6bbb9521a9daad95a80aa00d9f23903 (diff)
Add a new option to the xenocara infrastructure be able to automatically
build the Gallium3D software rasterizer as part of the libGL. Note that it can also makes use of LLVM to build the llvmpipe if the corresponding port is installed. Please refer to the README for a more complete documentation. Prodded by ajacoutot@, ok matthieu@
Diffstat (limited to 'lib/libGL/gallium/libgallium/Makefile')
-rw-r--r--lib/libGL/gallium/libgallium/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libGL/gallium/libgallium/Makefile b/lib/libGL/gallium/libgallium/Makefile
index b5846da9f..f0fcee302 100644
--- a/lib/libGL/gallium/libgallium/Makefile
+++ b/lib/libGL/gallium/libgallium/Makefile
@@ -1,4 +1,5 @@
-# $OpenBSD: Makefile,v 1.2 2012/08/17 13:58:00 mpi Exp $
+# $OpenBSD: Makefile,v 1.3 2013/04/14 10:23:04 mpi Exp $
+.include <bsd.xconf.mk>
LIB= gallium
@@ -193,7 +194,7 @@ GALLIVM_CPP_SOURCES = \
SRCS= ${C_SOURCES}
-.ifdef XENOCARA_HAVE_LLVM
+.if ${XENOCARA_BUILD_GALLIUM} == "llvm"
SRCS+= ${GALLIVM_SOURCES} \
${GALLIVM_CPP_SOURCES}
.endif