summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/xa
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-09-21 15:34:07 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-09-24 10:44:00 +0100
commitdefd48c6c5d29530394cde110961225f116d57c2 (patch)
tree33d0ff48d6d0322f1f10d761bbb1165f8fec253e /src/gallium/targets/xa
parent97bec98ac981d5d973f8b2b11d89d967aad7628b (diff)
downloadexternal_mesa3d-defd48c6c5d29530394cde110961225f116d57c2.zip
external_mesa3d-defd48c6c5d29530394cde110961225f116d57c2.tar.gz
external_mesa3d-defd48c6c5d29530394cde110961225f116d57c2.tar.bz2
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 <emil.l.velikov@gmail.com> Acked-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/gallium/targets/xa')
-rw-r--r--src/gallium/targets/xa/Makefile.am8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gallium/targets/xa/Makefile.am b/src/gallium/targets/xa/Makefile.am
index 04f56c0..c03edd4 100644
--- a/src/gallium/targets/xa/Makefile.am
+++ b/src/gallium/targets/xa/Makefile.am
@@ -61,13 +61,7 @@ TARGET_DRIVERS =
TARGET_CPPFLAGS =
TARGET_LIB_DEPS =
-if HAVE_GALLIUM_I915
-STATIC_TARGET_CPPFLAGS += -DGALLIUM_I915
-STATIC_TARGET_LIB_DEPS += \
- $(top_builddir)/src/gallium/winsys/i915/drm/libi915drm.la \
- $(top_builddir)/src/gallium/drivers/i915/libi915.la \
- $(INTEL_LIBS)
-endif
+include $(top_srcdir)/src/gallium/drivers/i915/Automake.inc
if HAVE_GALLIUM_ILO
STATIC_TARGET_CPPFLAGS += -DGALLIUM_ILO