summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/Automake.inc
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-09-21 16:46:39 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-09-24 10:44:01 +0100
commit0f3c0ff17bad8da9dcb504560ad691db8294f6c9 (patch)
tree92a150711fb271f8316032c010dadb53f6fe489a /src/gallium/drivers/llvmpipe/Automake.inc
parent29c4ae0ebf36bebb38d0b506554540632819481c (diff)
gallium/softpipe,llvmpipe: add automake target 'templates'
Rather than duplicating the libdeps, extra define... all over the targets, define them only once and use when applicable. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/Automake.inc')
-rw-r--r--src/gallium/drivers/llvmpipe/Automake.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/Automake.inc b/src/gallium/drivers/llvmpipe/Automake.inc
new file mode 100644
index 0000000000..0a0aa34e74
--- /dev/null
+++ b/src/gallium/drivers/llvmpipe/Automake.inc
@@ -0,0 +1,7 @@
+if HAVE_GALLIUM_LLVMPIPE
+
+TARGET_CPPFLAGS += -DGALLIUM_LLVMPIPE
+TARGET_LIB_DEPS += \
+ $(top_builddir)/src/gallium/drivers/llvmpipe/libllvmpipe.la
+
+endif