summaryrefslogtreecommitdiff
path: root/data/profiles/Makefile.am
blob: 2742238e77c425f2b1e08bf1090d7fa1f203b10b (plain)
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
.NOTPARALLEL:

@INTLTOOL_XML_RULE@
noinst_DATA =					\
	AdobeRGB1998.xml			\
	AppleRGB.xml				\
	BestRGB.xml				\
	BetaRGB.xml				\
	Bluish.xml				\
	BruceRGB.xml				\
	CIE-RGB.xml				\
	ColorMatchRGB.xml			\
	Crayons.xml				\
	DonRGB4.xml				\
	ECI-RGBv2.xml				\
	EktaSpacePS5.xml			\
	Gamma5000K.xml				\
	Gamma5500K.xml				\
	Gamma6500K.xml				\
	NTSC-RGB.xml				\
	PAL-RGB.xml				\
	ProPhotoRGB.xml				\
	SMPTE-C-RGB.xml				\
	sRGB.xml				\
	SwappedRedAndGreen.xml			\
	WideGamutRGB.xml			\
	x11-colors.xml

profilesdir = $(datadir)/color/icc/colord
generatedprofiles =					\
	AdobeRGB1998.icc				\
	AppleRGB.icc					\
	BestRGB.icc					\
	BetaRGB.icc					\
	BruceRGB.icc					\
	CIE-RGB.icc					\
	ColorMatchRGB.icc				\
	DonRGB4.icc					\
	ECI-RGBv2.icc					\
	EktaSpacePS5.icc				\
	NTSC-RGB.icc					\
	PAL-RGB.icc					\
	ProPhotoRGB.icc					\
	SMPTE-C-RGB.icc					\
	sRGB.icc					\
	WideGamutRGB.icc				\
	SwappedRedAndGreen.icc				\
	Bluish.icc					\
	Gamma5000K.icc					\
	Gamma5500K.icc					\
	Gamma6500K.icc					\
	Crayons.icc					\
	x11-colors.icc

if CD_BUILD_PRINT_PROFILES
generatedprofiles +=					\
	ISOnewspaper26.icc				\
	FOGRA27L_coated.icc				\
	FOGRA28L_webcoated.icc				\
	FOGRA29L_uncoated.icc				\
	FOGRA30L_uncoated_yellowish.icc			\
	FOGRA39L_coated.icc				\
	FOGRA40L_SC_paper.icc				\
	GRACoL_TR006_coated.icc				\
	SNAP_TR002_newsprint.icc			\
	SWOP_TR003_coated_3.icc				\
	SWOP_TR005_coated_5.icc
endif

profiles_DATA =						\
	$(generatedprofiles)

AdobeRGB1998.icc: AdobeRGB1998.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/AdobeRGB1998.xml
AppleRGB.icc: AppleRGB.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/AppleRGB.xml
BestRGB.icc: BestRGB.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/BestRGB.xml
BetaRGB.icc: BetaRGB.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/BetaRGB.xml
BruceRGB.icc: BruceRGB.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/BruceRGB.xml
CIE-RGB.icc: CIE-RGB.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/CIE-RGB.xml
ColorMatchRGB.icc: ColorMatchRGB.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/ColorMatchRGB.xml
DonRGB4.icc: DonRGB4.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/DonRGB4.xml
ECI-RGBv2.icc: ECI-RGBv2.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/ECI-RGBv2.xml
EktaSpacePS5.icc: EktaSpacePS5.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/EktaSpacePS5.xml
NTSC-RGB.icc: NTSC-RGB.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/NTSC-RGB.xml
PAL-RGB.icc: PAL-RGB.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/PAL-RGB.xml
ProPhotoRGB.icc: ProPhotoRGB.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/ProPhotoRGB.xml
SMPTE-C-RGB.icc: SMPTE-C-RGB.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/SMPTE-C-RGB.xml
sRGB.icc: $(top_builddir)/client/cd-create-profile
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/sRGB.xml
WideGamutRGB.icc: WideGamutRGB.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/WideGamutRGB.xml
SwappedRedAndGreen.icc: SwappedRedAndGreen.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/SwappedRedAndGreen.xml
x11-colors.icc: x11-colors.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/x11-colors.xml
Crayons.icc: Crayons.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/Crayons.xml
Bluish.icc: Bluish.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/Bluish.xml
Gamma6500K.icc: Gamma6500K.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/Gamma6500K.xml
Gamma5500K.icc: Gamma5500K.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/Gamma5500K.xml
Gamma5000K.icc: Gamma5000K.xml
	$(AM_V_GEN)					\
	$(top_builddir)/client/cd-create-profile	\
		--output $@				\
		$(builddir)/Gamma5000K.xml

if CD_BUILD_PRINT_PROFILES
colprof_manufacturer = "Argyll Color Management System"
colprof_options = -nc -v -qh -bh
copyright = "This profile is free of known copyright restrictions."
license = "CC0"

FOGRA27L_coated.icc: FOGRA27L.ti3
	$(AM_V_GEN)						\
	${COLPROF} -kp 0 .3 .94 .94 .48 -l300			\
		$(colprof_options)				\
		-A $(colprof_manufacturer)			\
		-C $(copyright)					\
		-D "FOGRA27L Coated"				\
		-O $@ $(top_srcdir)/data/profiles/FOGRA27L;
	$(top_builddir)/client/cd-fix-profile md-add License $(license) $@;
	$(top_builddir)/client/cd-fix-profile md-add DATA_source standard $@;
	$(top_builddir)/client/cd-fix-profile md-add STANDARD_space fogra27l $@
FOGRA28L_webcoated.icc: FOGRA28L.ti3
	$(AM_V_GEN)						\
	${COLPROF} -kp 0 .3 .94 .94 .48 -l300			\
		$(colprof_options)				\
		-A $(colprof_manufacturer)			\
		-C $(copyright)					\
		-D "FOGRA28L Web Coated"			\
		-O $@ $(top_srcdir)/data/profiles/FOGRA28L;
	$(top_builddir)/client/cd-fix-profile md-add License $(license) $@;
	$(top_builddir)/client/cd-fix-profile md-add DATA_source standard $@;
	$(top_builddir)/client/cd-fix-profile md-add STANDARD_space fogra28l $@
FOGRA29L_uncoated.icc: FOGRA29L.ti3
	$(AM_V_GEN)						\
	${COLPROF} -kp 0 .3 .94 .94 .48 -l300			\
		$(colprof_options)				\
		-A $(colprof_manufacturer)			\
		-C $(copyright)					\
		-D "FOGRA29L Uncoated"				\
		-O $@ $(top_srcdir)/data/profiles/FOGRA29L;
	$(top_builddir)/client/cd-fix-profile md-add License $(license) $@;
	$(top_builddir)/client/cd-fix-profile md-add DATA_source standard $@;
	$(top_builddir)/client/cd-fix-profile md-add STANDARD_space fogra29l $@
FOGRA30L_uncoated_yellowish.icc: FOGRA30L.ti3
	$(AM_V_GEN)						\
	${COLPROF} -kp 0 .3 1. 1. .48 -l340			\
		$(colprof_options)				\
		-A $(colprof_manufacturer)			\
		-C $(copyright)					\
		-D "FOGRA30L Uncoated Yellowish"		\
		-O $@ $(top_srcdir)/data/profiles/FOGRA30L;
	$(top_builddir)/client/cd-fix-profile md-add License $(license) $@;
	$(top_builddir)/client/cd-fix-profile md-add DATA_source standard $@;
	$(top_builddir)/client/cd-fix-profile md-add STANDARD_space fogra30l $@
FOGRA39L_coated.icc: FOGRA39L.ti3
	$(AM_V_GEN)						\
	${COLPROF} -kp 0 .3 .94 .94 .48 -l300			\
		$(colprof_options)				\
		-A $(colprof_manufacturer)			\
		-C $(copyright)					\
		-D "FOGRA39L Coated"				\
		-O $@ $(top_srcdir)/data/profiles/FOGRA39L;
	$(top_builddir)/client/cd-fix-profile md-add License $(license) $@;
	$(top_builddir)/client/cd-fix-profile md-add DATA_source standard $@;
	$(top_builddir)/client/cd-fix-profile md-add STANDARD_space fogra39l $@
FOGRA40L_SC_paper.icc: FOGRA40L.ti3
	$(AM_V_GEN)						\
	${COLPROF} -kp 0 .3 1. 1. .48 -l340			\
		$(colprof_options)				\
		-A $(colprof_manufacturer)			\
		-C $(copyright)					\
		-D "FOGRA40L SC Paper"				\
		-O $@ $(top_srcdir)/data/profiles/FOGRA40L;
	$(top_builddir)/client/cd-fix-profile md-add License $(license) $@;
	$(top_builddir)/client/cd-fix-profile md-add DATA_source standard $@;
	$(top_builddir)/client/cd-fix-profile md-add STANDARD_space fogra40l $@
GRACoL_TR006_coated.icc: TR006.ti3
	$(AM_V_GEN)						\
	${COLPROF} -kp 0 .3 .94 .94 .48 -l300			\
		$(colprof_options)				\
		-A $(colprof_manufacturer)			\
		-C $(copyright)					\
		-D "GRACoL TR006 Coated"			\
		-O $@ $(top_srcdir)/data/profiles/TR006;
	$(top_builddir)/client/cd-fix-profile md-add License $(license) $@;
	$(top_builddir)/client/cd-fix-profile md-add DATA_source standard $@;
	$(top_builddir)/client/cd-fix-profile md-add STANDARD_space tr006 $@
SNAP_TR002_newsprint.icc: TR002.ti3
	$(AM_V_GEN)						\
	${COLPROF} -kp 0 .4 1. 1. .1 -l320			\
		$(colprof_options)				\
		-A $(colprof_manufacturer)			\
		-C $(copyright)					\
		-D "SNAP TR002 Newsprint"			\
		-O $@ $(top_srcdir)/data/profiles/TR002;
	$(top_builddir)/client/cd-fix-profile md-add License $(license) $@;
	$(top_builddir)/client/cd-fix-profile md-add DATA_source standard $@;
	$(top_builddir)/client/cd-fix-profile md-add STANDARD_space tr002 $@
SWOP_TR003_coated_3.icc: TR003.ti3
	$(AM_V_GEN)						\
	${COLPROF} -kp 0 .3 .94 .94 .4 -l300			\
		$(colprof_options)				\
		-A $(colprof_manufacturer)			\
		-C $(copyright)					\
		-D "SWOP TR003 Coated"				\
		-O $@ $(top_srcdir)/data/profiles/TR003;
	$(top_builddir)/client/cd-fix-profile md-add License $(license) $@;
	$(top_builddir)/client/cd-fix-profile md-add DATA_source standard $@;
	$(top_builddir)/client/cd-fix-profile md-add STANDARD_space tr003 $@
SWOP_TR005_coated_5.icc: TR005.ti3
	$(AM_V_GEN)						\
	${COLPROF} -kp 0 .3 .94 .94 .48 -l300			\
		$(colprof_options)				\
		-A $(colprof_manufacturer)			\
		-C $(copyright)					\
		-D "SWOP TR005 Coated"				\
		-O $@ $(top_srcdir)/data/profiles/TR005;
	$(top_builddir)/client/cd-fix-profile md-add License $(license) $@;
	$(top_builddir)/client/cd-fix-profile md-add DATA_source standard $@;
	$(top_builddir)/client/cd-fix-profile md-add STANDARD_space tr005 $@

# Total Ink = 230%, Maximum Black = 95%
ISOnewspaper26.icc: IFRA26S.ti3
	$(AM_V_GEN)						\
	${COLPROF} -kr -l230 -L100 -cpp -dpp			\
		$(colprof_options)				\
		-A $(colprof_manufacturer)			\
		-C $(copyright)					\
		-D "IFRA26 Newsprint"				\
		-O $@ $(top_srcdir)/data/profiles/IFRA26S;
	$(top_builddir)/client/cd-fix-profile md-add License $(license) $@;
	$(top_builddir)/client/cd-fix-profile md-add DATA_source standard $@;
	$(top_builddir)/client/cd-fix-profile md-add STANDARD_space ifra26 $@
endif

sourcedata =						\
	AdobeRGB1998.xml.in				\
	AppleRGB.xml.in					\
	BestRGB.xml.in					\
	BetaRGB.xml.in					\
	Bluish.xml.in					\
	BruceRGB.xml.in					\
	CIE-RGB.xml.in					\
	ColorMatchRGB.xml.in				\
	Crayons.xml.in					\
	DonRGB4.xml.in					\
	ECI-RGBv2.xml.in				\
	EktaSpacePS5.xml.in				\
	Gamma5000K.xml.in				\
	Gamma5500K.xml.in				\
	Gamma6500K.xml.in				\
	NTSC-RGB.xml.in					\
	PAL-RGB.xml.in					\
	ProPhotoRGB.xml.in				\
	SMPTE-C-RGB.xml.in				\
	sRGB.xml.in					\
	SwappedRedAndGreen.xml.in			\
	WideGamutRGB.xml.in				\
	x11-colors.xml.in				\
	FOGRA27L.ti3					\
	FOGRA28L.ti3					\
	FOGRA29L.ti3					\
	FOGRA30L.ti3					\
	FOGRA39L.ti3					\
	FOGRA40L.ti3					\
	IFRA26S.ti3					\
	TR002.ti3					\
	TR003.ti3					\
	TR005.ti3					\
	TR006.ti3

CLEANFILES =						\
	$(generatedprofiles)

DISTCLEANFILES =					\
	$(noinst_DATA)

EXTRA_DIST =						\
	$(sourcedata)

-include $(top_srcdir)/git.mk