summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/Automake.inc
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-09-24 00:30:45 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-09-24 10:44:01 +0100
commitc2b5d7024e8b348fca5f666376d07685d1a45a8c (patch)
tree0de5240a9d439c421131795f2de32c71dc77eb8c /src/gallium/drivers/radeonsi/Automake.inc
parentfd4cd8e20a80a0b16f8e97c06efabc56547aa749 (diff)
downloadexternal_mesa3d-c2b5d7024e8b348fca5f666376d07685d1a45a8c.zip
external_mesa3d-c2b5d7024e8b348fca5f666376d07685d1a45a8c.tar.gz
external_mesa3d-c2b5d7024e8b348fca5f666376d07685d1a45a8c.tar.bz2
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 <emil.l.velikov@gmail.com> Acked-by: Christian König <christian.koenig@amd.com> Acked-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/gallium/drivers/radeonsi/Automake.inc')
-rw-r--r--src/gallium/drivers/radeonsi/Automake.inc16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/Automake.inc b/src/gallium/drivers/radeonsi/Automake.inc
new file mode 100644
index 0000000..3f212b3
--- /dev/null
+++ b/src/gallium/drivers/radeonsi/Automake.inc
@@ -0,0 +1,16 @@
+if HAVE_GALLIUM_RADEONSI
+
+TARGET_DRIVERS += radeonsi
+TARGET_CPPFLAGS += -DGALLIUM_RADEONSI
+TARGET_LIB_DEPS += \
+ $(top_builddir)/src/gallium/drivers/radeonsi/libradeonsi.la \
+ $(RADEON_LIBS) \
+ $(LIBDRM_LIBS)
+
+TARGET_RADEON_WINSYS ?= \
+ $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la
+
+TARGET_RADEON_COMMON ?= \
+ $(top_builddir)/src/gallium/drivers/radeon/libradeon.la
+
+endif