1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
|
#PREF_CCFLAGS = $(CCOPTFLAG) ; # Turn optimisation on
PREF_CCFLAGS = $(CCDEBUGFLAG) ; # Debugging flags
#PREF_CCFLAGS = $(CCHEAPDEBUG) ; # Heap Debugging flags
PREF_LINKFLAGS = $(LINKDEBUGFLAG) ;
#Products
Libraries = libprof ;
Executables = cb2ti3 kodak2ti3 txt2ti3 cxf2ti3 ls2ti3 splitti3 mppcheck mppprof
profcheck invprofcheck colverify colprof printcal applycal iccvcgt ;
Headers = prof.h ;
Samples = example.sp example121.sp 3dap5k.sp GTIPlus.sp Office.sp Trulux.sp TruluxPlus.sp
D50_0.0.sp D50_0.1.sp D50_0.3.sp D50_0.5.sp D50_0.7.sp D50_1.0.sp D50_1.2.sp
D50_1.5.sp D50_1.7.sp D50_2.0.sp D50_2.5.sp D50_3.0.sp CIE_C.sp F1.sp F5.sp F8.sp ;
if [ GLOB [ NormPaths . ] : mpp2prof.c ] {
Executables += mpp2prof ;
}
#Install
InstallBin $(DESTDIR)$(PREFIX)/bin : $(Executables) ;
InstallFile $(DESTDIR)$(PREFIX)/$(REFSUBDIR) : $(Samples) ;
#InstallFile $(DESTDIR)$(PREFIX)/h : $(Headers) ;
#InstallLib $(DESTDIR)$(PREFIX)/lib : $(Libraries) ;
HDRS = ../h ../icc ../cgats ../rspl
../numlib ../gamut ../xicc ../spectro
../target ../plot ;
# PROF library
Library libprof : profin.c profout.c ;
LINKLIBS = ../rspl/librspl ../icc/libicc ../cgats/libcgats ../spectro/libconv ../numlib/libnum
../plot/libplot ../plot/libvrml ../numlib/libui ;
LINKFLAGS += $(GUILINKFLAGS) ;
# Simple profile generator
Main simpprof : simpprof.c ;
#Kodak raw profile data to Argyll CGATS format converter
Main kodak2ti3 : kodak2ti3.c ;
#Colorblind raw profile data to Argyll CGATS format converter
Main cb2ti3 : cb2ti3.c ;
# the gcc linker is retarded, and can't link to things it's gone past, hence 2 x libxicc...
LINKLIBS = ../xicc/libxicc ../spectro/libinsttypes ../spectro/libdisptechs ../xicc/libxicc ../gamut/libgamut $(LINKLIBS) ;
#Gretag/Logo raw CMYK profile data to Argyll CGATS format converter
Main txt2ti3 : txt2ti3.c ;
#CxF to Argyll CGATS format
Main cxf2ti3 : cxf2ti3.c : : : ../xml : : ../xml/libmxml ;
#LightSpace to Argyll CGATS format
Main ls2ti3 : ls2ti3.c : : : ../xml : : ../xml/libmxml ;
#Split a .ti3 into two pieces randomly
Main splitti3 : splitti3.c ;
# Profile checker
Main profcheck : profcheck.c ;
# Reverse Profile checker
Main invprofcheck : invprofcheck.c ;
# Model Printer Profile generator
Main mppprof : mppprof.c ;
# Model Printer Profile checker
Main mppcheck : mppcheck.c ;
# Model Printer Profile #2 generator
if [ GLOB [ NormPaths . ] : mpp2prof.c ] {
Main mpp2prof : mpp2prof.c ;
}
LINKLIBS = ../plot/libvrml $(LINKLIBS) ;
# Verifyer
Main colverify : colverify.c ;
LINKLIBS = libprof ../gamut/libgammap $(LINKLIBS) $(TIFFLIB) $(JPEGLIB) ;
# Full profile generator
Main colprof : colprof.c : : : $(TIFFINC) $(JPEGINC) ;
# Print calibration
Main printcal : printcal.c : : : $(TIFFINC) $(JPEGINC) ;
# Applying calibration
Main applycal : applycal.c ;
# Changing an ICC profile vcgt
Main iccvcgt : iccvcgt.c ;
# Optimised Separation Generator
#Main sepgen : sepgen.c ;
# Test code
if $(HOME) = "d:\\usr\\graeme" && $(PWD) = "/src/argyll/profile" {
Main specinpprof : specinpprof.c ;
}
# Development code
if [ GLOB [ NormPaths . ] : retargti3.c ] {
Main retargti3 : retargti3.c ;
}
if [ GLOB [ NormPaths . ] : nmod2.c ] {
Main nmod2 : nmod2.c ;
}
if [ GLOB [ NormPaths . ] : nmod7.c ] {
Main nmod7 : nmod7.c ;
}
|