summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-09-21 15:38:07 +0100
committerEmil Velikov <[email protected]>2014-09-24 10:44:00 +0100
commitca32ce40b15d6b6cf025a0d1a479adb812a248a7 (patch)
treecf9222c114faa6f7796f2e8f365f00271e5042bf /src/gallium/drivers/ilo
parentdefd48c6c5d29530394cde110961225f116d57c2 (diff)
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 <[email protected]> Acked-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo')
-rw-r--r--src/gallium/drivers/ilo/Automake.inc11
1 files changed, 11 insertions, 0 deletions
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