From ca32ce40b15d6b6cf025a0d1a479adb812a248a7 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 21 Sep 2014 15:38:07 +0100 Subject: gallium/ilo: 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/drivers/ilo/Automake.inc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/gallium/drivers/ilo/Automake.inc (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/ilo/Automake.inc b/src/gallium/drivers/ilo/Automake.inc new file mode 100644 index 00000000000..5124671180e --- /dev/null +++ b/src/gallium/drivers/ilo/Automake.inc @@ -0,0 +1,11 @@ +if HAVE_GALLIUM_ILO + +TARGET_DRIVERS += ilo +TARGET_CPPFLAGS += -DGALLIUM_ILO +TARGET_LIB_DEPS += \ + $(top_builddir)/src/gallium/winsys/intel/drm/libintelwinsys.la \ + $(top_builddir)/src/gallium/drivers/ilo/libilo.la \ + $(INTEL_LIBS) \ + $(LIBDRM_LIBS) + +endif -- cgit v1.2.3