summaryrefslogtreecommitdiff
path: root/Makefile.shared
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-09-01 13:56:46 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-09-01 13:56:46 +0200
commit22f703cab05b7cd368f4de9e03991b7664dc5022 (patch)
tree6f4d50beaa42328e24b1c6b56b6ec059e4ef21a5 /Makefile.shared
Initial import of argyll version 1.5.1-8debian/1.5.1-8
Diffstat (limited to 'Makefile.shared')
-rw-r--r--Makefile.shared15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile.shared b/Makefile.shared
new file mode 100644
index 0000000..1f1e105
--- /dev/null
+++ b/Makefile.shared
@@ -0,0 +1,15 @@
+# Common CFLAGS for Argyll components
+
+AM_CFLAGS = -D_GNU_SOURCE -DUNIX -DENABLE_USB -DENABLE_SERIAL -I$(top_srcdir)/cgats \
+ -I$(top_srcdir)/gamut -I$(top_srcdir)/h -I$(top_srcdir)/jcnf \
+ -I$(top_srcdir)/libusb1/libusb -I$(top_srcdir)/numlib \
+ -I$(top_srcdir)/plot -I$(top_srcdir)/profile -I$(top_srcdir)/render \
+ -I$(top_srcdir)/rspl -I$(top_srcdir)/spectro -I$(top_srcdir)/target \
+ -I$(top_srcdir)/ucmm -I$(top_srcdir)/xicc $(TIFF_CFLAGS) $(ICC_CFLAGS) \
+ $(YAJL_CFLAGS) -L$(top_srcdir)/spectro
+
+# Build libs in other dirs when required
+../%.la:
+ $(MAKE) -C $(@D) $(@F)
+./%.la:
+ $(MAKE) -C $(@D) $(@F)