Debian Codegraph @

xicc/Jamfile

raw
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) ; # Link debugging flags
6
7 #Products
8 Libraries = libxicc libxcolorants libxutils ;
9 Executables = fakeCMY iccgamut mpplu revfix tiffgamut xicclu extracticc extractttag specplot ;
10 Headers = xicc.h ;
11 ExeDoc = License.txt ;
12
13 #Install
14 InstallBin $(DESTDIR)$(PREFIX)/bin : $(Executables) ;
15 InstallFile $(DESTDIR)$(PREFIX)/bin : $(ExeDoc) ;
16 #InstallFile $(DESTDIR)$(PREFIX)/h : $(Headers) ;
17 #InstallLib $(DESTDIR)$(PREFIX)/lib : $(Libraries) ;
18
19 if $(USE_PLOT) = true {
20 DEFINES += EN_PLOT ;
21 } else {
22 UNDEFS += $(UNDEFFLAG)EN_PLOT ;
23 }
24
25 HDRS = ../h ../icc ../rspl ../cgats ../numlib ../gamut ../spectro ../profile
26 ../plot ../render $(TIFFINC) $(JPEGINC) $(LibWinH) ;
27
28 # XICC library
29 Library libxicc : xicc.c xspect.c xcolorants.c xutils.c iccjpeg.c
30 xcam.c cam97s3.c cam02.c mpp.c ccmx.c ccss.c xfit.c moncurve.c xcal.c
31 bt1886.c tm3015.c ;
32
33 # colorant library. Use instead of libxicc
34 Object xcolorants2 : xcolorants.c ;
35 LibraryFromObjects libxcolorants : xcolorants2 ;
36
37 # standalone utilities library. Use instead of libxicc
38 Object xutils2 : xutils.c ;
39 Object iccjpeg2 : iccjpeg.c ;
40 LibraryFromObjects libxutils : xutils2 iccjpeg2 ;
41
42 # mpp #2 $(MPP2LIBSRC)
43 if [ GLOB [ NormPaths . ] : mpp2.c ] {
44 Library libmpp2 : mpp2.c ;
45 LIBMPP2 += libmpp2 ;
46 }
47
48 # Utilities / test programs
49
50 LINKLIBS = libxicc ../spectro/libinsttypes ../gamut/libgamut ../rspl/librspl
51 ../cgats/libcgats ../icc/libicc ../plot/libplot ../plot/libvrml $(LIBMPP2)
52 ../spectro/libconv ../numlib/libnum ../numlib/libui
53 $(TIFFLIB) $(JPEGLIB) ;
54
55 LINKFLAGS += $(GUILINKFLAGS) ;
56
57 # Not created yet
58 #Main xicctest : xicctest.c ;
59
60 # Not created yet
61 #Main xlutest : xlutest.c ;
62
63 # expanded version of icclu
64 Main xicclu : xicclu.c ;
65
66 # expanded version of iccgamut - does Jab and ink limiting
67 Main iccgamut : iccgamut.c ;
68
69 # tiff file gamut utility
70 Main tiffgamut : tiffgamut.c : : : $(TIFFINC) $(JPEGINC) : : ;
71
72 # diagnostic utility
73 if [ GLOB [ NormPaths . ] : tiffgmts.c ] {
74 Main tiffgmts : tiffgmts.c : : : $(TIFFINC) $(JPEGINC) : : ../plot/libvrml ;
75 }
76
77 # Reverse profile fixer
78 Main revfix : revfix.c ;
79
80 # MPP lookup test utility
81 Main mpplu : mpplu.c ;
82
83 # Embedded ICC profile extractor
84 Main extracticc : extracticc.c : : : $(TIFFINC) $(JPEGINC) : : ;
85
86 # Text tag from ICC profile extracto
87 Main extractttag : extractttag.c : : : $(TIFFINC) $(JPEGINC) : : ;
88
89 # xcolorant lookup test
90 Main xcolorantslu : xcolorantslu.c ;
91
92 # Individual stand alone test of IES TM-30-15 */
93 MainVariant tm3015 : tm3015.c : : STANDALONE_TEST ;
94
95 #test program for viewing inverse algorithm
96 #Should be in JUNK ??
97 Main fbview : fbview.c ;
98
99 Main fakeCMY : fakeCMY.c : : : ../target ;
100
101 Main xfbview : xfbview.c ;
102
103 Main icheck : icheck.c ;
104
105 # Test FWA in xspect
106 Main spectest : spectest.c ;
107
108 # Test FWA in xspect 2
109 Main spectest2 : spectest2.c : : : : : ../spectro/libinsttypes ;
110
111 # Spectral plotting and CCT test
112 Main ccttest : ccttest.c ;
113
114 # transfer curve plotting
115 Main transplot : transplot.c ;
116
117 # CGATS .ti3 plotting
118 Main cgatsplot : cgatsplot.c ;
119
120 # per channel curve testing
121 Main cv : cv.c ;
122
123 # per channel curve fitting testing
124 Main cvtest : cvtest.c ;
125
126 # per channel curve fitting testing
127 Main cvtest : cvtest.c ;
128
129 # Generate sub sampled illuminants or observers */
130 Main specsubsamp : specsubsamp.c ;
131
132 # Plot spectrum and test CCT spectrum code and illuminant utility
133 Main specplot : specplot.c ;
134
135 # CAM test routines
136 Main bluelin : bluelin.c ;
137 Main cam02test : cam02test.c ;
138 Main cam02test : cam02test.c ;
139
140 # Test utility for moncurve
141 Main monctest : monctest.c ;
142
143 #Main cam02vecplot : cam02vecplot.c : : : : : ../plot/libvrml ;
144
145 #Home = ' d:\usr\graeme ' and PWD = ' /src/argyll/xicc '
146 if $(HOME) = "D:\\usr\\graeme" && $(PWD) = "/src/argyll/xicc" {
147 Echo "Creating test utilities" ;
148 #Create test TIFF file for cam02 conversion
149 Main cam02plot : cam02plot.c : : : $(TIFFINC) $(JPEGINC) : : ;
150 Main cam02logplot : cam02logplot.c : : : $(TIFFINC) $(JPEGINC) : : ;
151 Main cam02delplot : cam02delplot.c : : : $(TIFFINC) $(JPEGINC) : : ;
152 Main cam02vecplot : cam02vecplot.c : : : : : ../plot/libvrml ;
153 Main cusptest : cusptest.c : : : : : ../plot/libvrml ;
154 }
155
156 #Main t : t.c ;
157
158 # diagnostic utility
159 if [ GLOB [ NormPaths . ] : tennm.c ] {
160 Main tennm : tennm.c ;
161 }
162
163 if [ GLOB [ NormPaths . ] : cam16.c ] {
164 Main cam16vecplot : cam16vecplot.c cam16.c ;
165 }
166
167 if [ GLOB [ NormPaths . ] : voltest.c ] {
168 Main voltest : voltest.c ;
169 }
170
171 if [ GLOB [ NormPaths . ] : areatest.c ] {
172 Main areatest : areatest.c ;
173 }
174
175 if [ GLOB [ NormPaths . ] : chebtest.c ] {
176 Main chebtest : chebtest.c ;
177 }
178
179 #Main Lpttune : Lpttune.c ;
180
181 if $(BUILD_JUNK) {
182
183 LINKLIBS += ../render/librender ;
184
185 Main Lpttune : Lpttune.c ;
186
187 Main illlocus : illlocus.c ;
188 Main illlocus2 : illlocus2.c ;
189
190 Main slocustest : slocustest.c ;
191
192 MainsFromSources t1.c t2.c t22.c t23.c t24.c t3.c ;
193
194 Main test : test.c ;
195
196 Main t : t.c ;
197
198 # CAM97s3 matrix inversion calc
199 Main cammatrix : cammatrix.c ;
200
201 # test matrix deriv version
202 Main t : t.c ;
203
204 # Develop conjgrad version of code for profile
205 Main tt3 : tt3.c ;
206
207 # test icx_icc_cv_to_colorant_comb()
208 Main tcc : tcc.c ;
209
210 # Develop conjgrad version of code for profile
211 Main tt4 : tt4.c ;
212
213 # Test viewing conditions extractor
214 Main vctest : vctest.c ;
215
216 # ~~~ test code
217 Main lseptest : lseptest.c ;
218
219 # ~~~ test code
220 Main llseptest : llseptest.c ;
221
222 if [ GLOB [ NormPaths . ] : berntest.c ] {
223 Main berntest : berntest.c ;
224 }
225
226 if [ GLOB [ NormPaths . ] : chebytest.c ] {
227 Main chebytest : chebytest.c ;
228 }
229 }
230