aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-09-21 15:34:07 +0100
committerEmil Velikov <[email protected]>2014-09-24 10:44:00 +0100
commitdefd48c6c5d29530394cde110961225f116d57c2 (patch)
tree33d0ff48d6d0322f1f10d761bbb1165f8fec253e /src/gallium/drivers/i915
parent97bec98ac981d5d973f8b2b11d89d967aad7628b (diff)
gallium/i915: 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/i915')
-rw-r--r--src/gallium/drivers/i915/Automake.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/Automake.inc b/src/gallium/drivers/i915/Automake.inc
new file mode 100644
index 00000000000..8cb40f27d44
--- /dev/null
+++ b/src/gallium/drivers/i915/Automake.inc
@@ -0,0 +1,11 @@
+if HAVE_GALLIUM_I915
+
+TARGET_DRIVERS += i915
+TARGET_CPPFLAGS += -DGALLIUM_I915
+TARGET_LIB_DEPS += \
+ $(top_builddir)/src/gallium/winsys/i915/drm/libi915drm.la \
+ $(top_builddir)/src/gallium/drivers/i915/libi915.la \
+ $(INTEL_LIBS) \
+ $(LIBDRM_LIBS)
+
+endif