3
# Optimization and Debug flags
5
#PREF_CCFLAGS += $(CCOPTFLAG) ; # Turn optimisation on
6
PREF_CCFLAGS += $(CCDEBUGFLAG) ; # Debugging flags
7
#PREF_CCFLAGS += $(CCHEAPDEBUG) ; # Heap Debugging flags
8
PREF_LINKFLAGS += $(LINKDEBUGFLAG) ; # Link with debug info
9
#PREF_CCFLAGS += $(CCPROFFLAG) ; # Profile flags
10
#PREF_LINKFLAGS += $(LINKPROFFLAG) ; # Profile flags
13
Libraries = libgamut libgammap ;
14
Executables = viewgam ;
15
Samples = RefMediumGamut.gam ;
16
Headers = gammap.h gamut.h ;
19
InstallBin $(DESTDIR)$(PREFIX)/bin : $(Executables) ;
20
InstallFile $(DESTDIR)$(PREFIX)/ref : $(Samples) ;
21
#InstallFile $(DESTDIR)$(PREFIX)/h : $(Headers) ;
22
#InstallLib $(DESTDIR)$(PREFIX)lib : $(Libraries) ;
25
HDRS = ../h ../icc ../rspl ../numlib ../plot ../xicc ../cgats ../spectro ../gamut ;
27
# Gamut handling library
28
Library libgamut : gamut.c ;
30
# Gamut mapping library
31
Library libgammap : gammap.c nearsmth.c ;
33
LINKLIBS = libgammap libgamut ../rspl/librspl ../icc/libicc ../cgats/libcgats ../numlib/libnum
37
Main viewgam : viewgam.c ;
39
# Link all the tests and utils with these libraries
41
# Smoothed nearpoint test routine
42
Main smthtest : smthtest.c ;
44
# Preliminary ICC V4 Reference Medium Gamut
45
Main GenRMGam : GenRMGam.c ;
47
# Generate referenec medium gamut the kernel files
48
GenFile RefMediumGamut.gam : GenRMGam ;
51
Main GenVisGam : GenVisGam.c ;
53
# Develop hue sensitive parameter interpolation */
56
LINKLIBS = libgammap libgamut ../icc/libicc ../cgats/libcgats ../xicc/libxicc
57
../rspl/librspl ../numlib/libnum ../plot/libplot ../plot/libvrml ;
59
# Mapping test routine
60
Main maptest : maptest.c ;
62
# Fake test gamut generatio
63
Main fakegam : fakegam.c ;
65
# Surfacing test routine
66
Main surftest : surftest.c ;
75
# Gamut creation test routine
76
Main gamtest : gamtest.c ;
79
Main gtest : gtest.c ;
86
# Atan aproximation test
89
# Bit vector class test
90
Main bvtest : bvtest.c ;