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