diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-04-14 10:23:05 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-04-14 10:23:05 +0000 |
commit | fd966211d0808f21e2a14207100cee08ad90da25 (patch) | |
tree | dc0204a6c1d89edd8343aec8b42420a69a477e5b /lib/libGL/dri/swrastg | |
parent | 40170538c6bbb9521a9daad95a80aa00d9f23903 (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/dri/swrastg')
-rw-r--r-- | lib/libGL/dri/swrastg/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libGL/dri/swrastg/Makefile b/lib/libGL/dri/swrastg/Makefile index 3f683a5b1..57ea03567 100644 --- a/lib/libGL/dri/swrastg/Makefile +++ b/lib/libGL/dri/swrastg/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2012/12/04 14:06:32 mpi Exp $ +# $OpenBSD: Makefile,v 1.8 2013/04/14 10:23:04 mpi Exp $ LIB= swrastg_dri.so @@ -10,15 +10,11 @@ CPPFLAGS= \ -I${GALLIUM}/state_trackers/dri/common \ -DHAVE_POSIX_MEMALIGN -DRIVER_LIBS= \ +SWRAST_DRIVERS= \ ../../gallium/drivers/trace/libtrace_pic.a \ ../../gallium/drivers/rbug/librbug_pic.a \ ../../gallium/drivers/softpipe/libsoftpipe_pic.a -.ifdef XENOCARA_HAVE_LLVM -DRIVER_LIBS+= ../../gallium/drivers/llvmpipe/libllvmpipe_pic.a -.endif - DRIVER_DEFINES = \ -D__NOT_HAVE_DRM_H \ -DGALLIUM_SOFTPIPE \ @@ -50,7 +46,7 @@ SRCS = \ LDADD= ../../mesa/libmesagallium/libmesagallium_pic.a \ ../../glsl/libglsl/libglsl_pic.a \ - ${DRIVER_LIBS} \ + ${SWRAST_DRIVERS} \ ../../gallium/libgallium/libgallium_pic.a \ -L${X11BASE}/lib -lexpat -lm -lstdc++ -lc DPADD= ../../mesa/libmesagallium/libmesagallium_pic.a |