summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-02-20 09:22:07 -0800
committerJason Ekstrand <jason.ekstrand@intel.com>2016-02-27 10:26:13 -0800
commit6b06072ba846f4adcdf9472dc2ffa1f91aca2c9d (patch)
tree858fde70f6608fed946b4507075fdef3c9a4f5aa /src
parent82d2db80bb0b7222063775fec7191b8da0392e9d (diff)
isl: Create per-gen helper libraries for gens 7, 8, and 9
Diffstat (limited to 'src')
-rw-r--r--src/intel/isl/Makefile.am25
1 files changed, 23 insertions, 2 deletions
diff --git a/src/intel/isl/Makefile.am b/src/intel/isl/Makefile.am
index 72f5460554f..74e8ab04be5 100644
--- a/src/intel/isl/Makefile.am
+++ b/src/intel/isl/Makefile.am
@@ -21,7 +21,14 @@
SUBDIRS = .
-noinst_LTLIBRARIES = libisl.la
+
+ISL_GEN_LIBS = \
+ libisl-gen7.la \
+ libisl-gen8.la \
+ libisl-gen9.la \
+ $(NULL)
+
+noinst_LTLIBRARIES = $(ISL_GEN_LIBS) libisl.la
EXTRA_DIST = tests
@@ -42,6 +49,8 @@ AM_CPPFLAGS = \
libisl_la_CFLAGS = $(CFLAGS) -Wno-override-init
+libisl_la_LIBADD = $(ISL_GEN_LIBS)
+
libisl_la_SOURCES = \
isl.c \
isl.h \
@@ -51,14 +60,26 @@ libisl_la_SOURCES = \
isl_gen4.h \
isl_gen6.c \
isl_gen6.h \
+ isl_image.c \
+ $(NULL)
+
+libisl_gen7_la_SOURCES = \
isl_gen7.c \
isl_gen7.h \
+ $(NULL)
+libisl_gen7_la_CFLAGS = $(libisl_la_CFLAGS)
+
+libisl_gen8_la_SOURCES = \
isl_gen8.c \
isl_gen8.h \
+ $(NULL)
+libisl_gen8_la_CFLAGS = $(libisl_la_CFLAGS)
+
+libisl_gen9_la_SOURCES = \
isl_gen9.c \
isl_gen9.h \
- isl_image.c \
$(NULL)
+libisl_gen9_la_CFLAGS = $(libisl_la_CFLAGS)
BUILT_SOURCES = \
isl_format_layout.c