aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/Automake.inc
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-09-24 00:30:45 +0100
committerEmil Velikov <[email protected]>2014-09-24 10:44:01 +0100
commitc2b5d7024e8b348fca5f666376d07685d1a45a8c (patch)
tree0de5240a9d439c421131795f2de32c71dc77eb8c /src/gallium/drivers/r300/Automake.inc
parentfd4cd8e20a80a0b16f8e97c06efabc56547aa749 (diff)
gallium/r300,r600,radeonsi: 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 <[email protected]> Acked-by: Christian König <[email protected]> Acked-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/Automake.inc')
-rw-r--r--src/gallium/drivers/r300/Automake.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/Automake.inc b/src/gallium/drivers/r300/Automake.inc
new file mode 100644
index 00000000000..42614cb347b
--- /dev/null
+++ b/src/gallium/drivers/r300/Automake.inc
@@ -0,0 +1,13 @@
+if HAVE_GALLIUM_R300
+
+TARGET_DRIVERS += r300
+TARGET_CPPFLAGS += -DGALLIUM_R300
+TARGET_LIB_DEPS += \
+ $(top_builddir)/src/gallium/drivers/r300/libr300.la \
+ $(RADEON_LIBS) \
+ $(INTEL_LIBS)
+
+TARGET_RADEON_WINSYS ?= \
+ $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la
+
+endif