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/egl-static/Makefile.am | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/gallium/targets/egl-static/Makefile.am') diff --git a/src/gallium/targets/egl-static/Makefile.am b/src/gallium/targets/egl-static/Makefile.am index 08c116c..33c6c0a 100644 --- a/src/gallium/targets/egl-static/Makefile.am +++ b/src/gallium/targets/egl-static/Makefile.am @@ -161,13 +161,7 @@ TARGET_DRIVERS = TARGET_CPPFLAGS = TARGET_LIB_DEPS = -if HAVE_GALLIUM_I915 -egl_gallium_la_CPPFLAGS += -DGALLIUM_I915 -egl_gallium_la_LIBADD += \ - $(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 egl_gallium_la_CPPFLAGS += -DGALLIUM_ILO -- cgit v1.1