From 22f703cab05b7cd368f4de9e03991b7664dc5022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 1 Sep 2014 13:56:46 +0200 Subject: Initial import of argyll version 1.5.1-8 --- icc/Jamfile | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 icc/Jamfile (limited to 'icc/Jamfile') 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 ; +} + + -- cgit v1.2.3