summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/osmesa
diff options
context:
space:
mode:
authorTim Rowley <timothy.o.rowley@intel.com>2016-02-24 20:56:38 -0600
committerTim Rowley <timothy.o.rowley@intel.com>2016-03-02 18:38:42 -0600
commit7bb193d28c4195b5c3dd7897e6c9f5b0df2749cb (patch)
tree46c518e2ab851ad3a18407c9ff881389177b51d7 /src/gallium/targets/osmesa
parentd003be2a303edfe93cde756e56ce31608d51fe7c (diff)
downloadexternal_mesa3d-7bb193d28c4195b5c3dd7897e6c9f5b0df2749cb.zip
external_mesa3d-7bb193d28c4195b5c3dd7897e6c9f5b0df2749cb.tar.gz
external_mesa3d-7bb193d28c4195b5c3dd7897e6c9f5b0df2749cb.tar.bz2
mesa/build: add OpenSWR to build
Tested on Linux (centos, ubuntu, and suse variants) Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Acked-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/targets/osmesa')
-rw-r--r--src/gallium/targets/osmesa/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/targets/osmesa/Makefile.am b/src/gallium/targets/osmesa/Makefile.am
index 38e515f..5d39486 100644
--- a/src/gallium/targets/osmesa/Makefile.am
+++ b/src/gallium/targets/osmesa/Makefile.am
@@ -74,6 +74,12 @@ lib@OSMESA_LIB@_la_LDFLAGS += $(LLVM_LDFLAGS)
lib@OSMESA_LIB@_la_LIBADD += $(top_builddir)/src/gallium/drivers/llvmpipe/libllvmpipe.la $(LLVM_LIBS)
endif
+if HAVE_GALLIUM_SWR
+AM_CPPFLAGS += -DGALLIUM_SWR
+lib@OSMESA_LIB@_la_LDFLAGS += $(LLVM_LDFLAGS)
+lib@OSMESA_LIB@_la_LIBADD += $(top_builddir)/src/gallium/drivers/swr/libmesaswr.la $(LLVM_LIBS)
+endif
+
EXTRA_lib@OSMESA_LIB@_la_DEPENDENCIES = osmesa.sym
EXTRA_DIST = \
osmesa.sym \