From defd48c6c5d29530394cde110961225f116d57c2 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 21 Sep 2014 15:34:07 +0100 Subject: 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 Acked-by: Matt Turner --- src/gallium/targets/xa/Makefile.am | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/gallium/targets/xa/Makefile.am') diff --git a/src/gallium/targets/xa/Makefile.am b/src/gallium/targets/xa/Makefile.am index 04f56c0cd81..c03edd46c50 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 -- cgit v1.2.3