summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Sindholt <[email protected]>2014-03-11 01:46:55 +0000
committerEmil Velikov <[email protected]>2014-03-31 12:22:08 +0100
commite6545aaaeb2be6873e21ac813b083504ac852ecd (patch)
tree9aa707ff49b7bcc5fe587349018fb4f3bffdc34c
parent613b4d59e4bf76542d0821c08315fe5370051b96 (diff)
pipe-loader/swrast: add soft/llvmpipe defines
Or it compiles them in, but pretends they don't exist v2: Rebase (Emil) Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
-rw-r--r--src/gallium/targets/pipe-loader/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/targets/pipe-loader/Makefile.am b/src/gallium/targets/pipe-loader/Makefile.am
index ff549e5a89f..e0f05c1a977 100644
--- a/src/gallium/targets/pipe-loader/Makefile.am
+++ b/src/gallium/targets/pipe-loader/Makefile.am
@@ -167,13 +167,18 @@ endif
endif
if HAVE_GALLIUM_SOFTPIPE
+AM_CPPFLAGS += -DGALLIUM_SOFTPIPE
+
pipe_LTLIBRARIES += pipe_swrast.la
pipe_swrast_la_SOURCES = pipe_swrast.c
pipe_swrast_la_LIBADD = \
$(PIPE_LIBS) \
$(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la
pipe_swrast_la_LDFLAGS = -no-undefined -avoid-version -module
+
if HAVE_GALLIUM_LLVMPIPE
+AM_CPPFLAGS += -DGALLIUM_LLVMPIPE
+
nodist_EXTRA_pipe_swrast_la_SOURCES = dummy.cpp
pipe_swrast_la_LIBADD += \