summaryrefslogtreecommitdiff
path: root/icc/Jamfile
diff options
context:
space:
mode:
Diffstat (limited to 'icc/Jamfile')
-rw-r--r--icc/Jamfile58
1 files changed, 58 insertions, 0 deletions
diff --git a/icc/Jamfile b/icc/Jamfile
new file mode 100644
index 0000000..abbeddb
--- /dev/null
+++ b/icc/Jamfile
@@ -0,0 +1,58 @@
+
+# JAM style makefile for icclib and friends
+
+#PREF_CCFLAGS = $(CCOPTFLAG) ; # Turn optimisation on
+PREF_CCFLAGS = $(CCDEBUGFLAG) ; # Debugging flags
+#PREF_CCFLAGS = $(CCHEAPDEBUG) ; # Heap Debugging flags
+PREF_LINKFLAGS = $(LINKDEBUGFLAG) ; # Link debugging flags
+
+#if stdio is not wanted in icclib:
+#DEFINES = SEPARATE_STD ;
+
+#Products
+Libraries = libicc ;
+Executables = iccdump icclu ;
+Headers = icc.h ;
+Samples = sRGB.icm ClayRGB1998.icm lab2lab.icm ;
+
+#Install
+InstallBin $(DESTDIR)$(PREFIX)/bin : $(Executables) ;
+#InstallFile $(DESTDIR)$(PREFIX)/h : $(Headers) ;
+#InstallLib $(DESTDIR)$(PREFIX)/lib : $(Libraries) ;
+InstallFile $(DESTDIR)$(PREFIX)/$(REFSUBDIR) : $(Samples) ;
+
+# ICC library
+Library libicc : icc.c ;
+
+# Executable support if SEPARATED_STD
+if SEPARATE_STD in $(DEFINES) {
+ Objects iccstd.c ;
+ LINKOBJS = iccstd ; # Link all utilities here with iccstd
+}
+
+# Link all utilities here with libicc
+LINKLIBS = libicc ;
+
+# All utils are made from a single source file
+MainsFromSources icctest.c lutest.c iccdump.c icclu.c iccrw.c ;
+
+if $(BUILD_JUNK) {
+
+# MainsFromSources tt.c ;
+
+ MainsFromSources mksRGB.c ;
+ MainsFromSources mkAdobeRGB.c ;
+ MainsFromSources mklab2lab.c ;
+# MainsFromSources icm2ary.c ;
+
+ # Check library is compatible with C++
+ Main cppcheck : cppcheck.cpp ;
+
+ # chech CIEDE2000
+ MainsFromSources testDE2K.c ;
+
+ #Monotonic behaviour checker
+ MainsFromSources mcheck.c ;
+}
+
+