summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-09-21 15:41:51 +0100
committerEmil Velikov <[email protected]>2014-09-24 10:44:00 +0100
commitfd4cd8e20a80a0b16f8e97c06efabc56547aa749 (patch)
tree46f3c3b027bbd070808454977cd3ff8da6696c4d /src/gallium/drivers/svga
parentca32ce40b15d6b6cf025a0d1a479adb812a248a7 (diff)
gallium/svga: add automake target 'template'
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: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r--src/gallium/drivers/svga/Automake.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/Automake.inc b/src/gallium/drivers/svga/Automake.inc
new file mode 100644
index 00000000000..d2d1d8f1842
--- /dev/null
+++ b/src/gallium/drivers/svga/Automake.inc
@@ -0,0 +1,10 @@
+if HAVE_GALLIUM_SVGA
+
+TARGET_DRIVERS += vmwgfx
+TARGET_CPPFLAGS += -DGALLIUM_VMWGFX
+TARGET_LIB_DEPS += \
+ $(top_builddir)/src/gallium/winsys/svga/drm/libsvgadrm.la \
+ $(top_builddir)/src/gallium/drivers/svga/libsvga.la \
+ $(LIBDRM_LIBS)
+
+endif