diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-01 13:56:46 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-01 13:56:46 +0200 |
commit | 22f703cab05b7cd368f4de9e03991b7664dc5022 (patch) | |
tree | 6f4d50beaa42328e24b1c6b56b6ec059e4ef21a5 /icc/Jamfile |
Initial import of argyll version 1.5.1-8debian/1.5.1-8
Diffstat (limited to 'icc/Jamfile')
-rw-r--r-- | icc/Jamfile | 58 |
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 ; +} + + |