| 1 |
|
| 2 |
|
| 3 |
# Optimization and Debug flags |
| 4 |
|
| 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 |
| 11 |
|
| 12 |
#Products |
| 13 |
Libraries = libgamut libgammap ; |
| 14 |
Executables = viewgam ; |
| 15 |
Samples = RefMediumGamut.gam ; |
| 16 |
Headers = gammap.h gamut.h ; |
| 17 |
|
| 18 |
#Install |
| 19 |
InstallBin $(DESTDIR)$(PREFIX)/bin : $(Executables) ; |
| 20 |
InstallFile $(DESTDIR)$(PREFIX)/$(REFSUBDIR) : $(Samples) ; |
| 21 |
#InstallFile $(DESTDIR)$(PREFIX)/h : $(Headers) ; |
| 22 |
#InstallLib $(DESTDIR)$(PREFIX)lib : $(Libraries) ; |
| 23 |
|
| 24 |
# Header search path |
| 25 |
HDRS = ../h ../icc ../rspl ../numlib ../plot ../xicc ../cgats ../spectro ../gamut ; |
| 26 |
|
| 27 |
# Gamut handling library |
| 28 |
Library libgamut : gamut.c ; |
| 29 |
|
| 30 |
# Gamut mapping library |
| 31 |
Library libgammap : gammap.c nearsmth.c ; |
| 32 |
|
| 33 |
LINKLIBS = libgammap libgamut ../xicc/libxicc ../rspl/librspl ../icc/libicc ../cgats/libcgats |
| 34 |
../plot/libplot ../numlib/libnum ../numlib/libui ../plot/libvrml ; |
| 35 |
|
| 36 |
# Utilities |
| 37 |
Main viewgam : viewgam.c ; |
| 38 |
|
| 39 |
# Link all the tests and utils with these libraries |
| 40 |
|
| 41 |
# Smoothed nearpoint test routine |
| 42 |
Main smthtest : smthtest.c ; |
| 43 |
|
| 44 |
# ICC V4 Reference Medium Gamut |
| 45 |
Main GenRMGam : GenRMGam.c ; |
| 46 |
|
| 47 |
# Generate reference medium gamut |
| 48 |
# (NoUpdate so that Cross Compile Win64 hack works) |
| 49 |
NNoUpdate RefMediumGamut.gam ; |
| 50 |
GenFile RefMediumGamut.gam : GenRMGam ; |
| 51 |
|
| 52 |
# Visual gamut |
| 53 |
Main GenVisGam : GenVisGam.c ; |
| 54 |
|
| 55 |
# Develop hue sensitive parameter interpolation */ |
| 56 |
#Main tttt : tttt.c ; |
| 57 |
|
| 58 |
LINKLIBS = libgammap libgamut ../icc/libicc ../cgats/libcgats ../xicc/libxicc |
| 59 |
../rspl/librspl ../plot/libplot ../plot/libvrml ../numlib/libnum ../numlib/libui ; |
| 60 |
|
| 61 |
# Mapping test routine |
| 62 |
Main maptest : maptest.c ; |
| 63 |
|
| 64 |
# Fake test gamut generatio |
| 65 |
Main fakegam : fakegam.c ; |
| 66 |
|
| 67 |
# Surfacing test routine |
| 68 |
Main surftest : surftest.c ; |
| 69 |
|
| 70 |
# Filtering test cpde |
| 71 |
#Main filt : filt.c ; |
| 72 |
|
| 73 |
#Main tt : tt.c ; |
| 74 |
|
| 75 |
if $(BUILD_JUNK) { |
| 76 |
|
| 77 |
# Gamut creation test routine |
| 78 |
Main gamtest : gamtest.c ; |
| 79 |
|
| 80 |
# Group finding test. |
| 81 |
Main gtest : gtest.c ; |
| 82 |
|
| 83 |
# Test routine |
| 84 |
Main test : test.c ; |
| 85 |
|
| 86 |
Main tt : tt.c ; |
| 87 |
|
| 88 |
# Atan aproximation test |
| 89 |
Main xtan : xtan.c ; |
| 90 |
|
| 91 |
# Bit vector class test |
| 92 |
Main bvtest : bvtest.c ; |
| 93 |
} |