• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#  Copyright 1999-2019 ImageMagick Studio LLC, a non-profit organization
2#  dedicated to making software imaging solutions freely available.
3#
4#  You may not use this file except in compliance with the License.  You may
5#  obtain a copy of the License at
6#
7#    https://imagemagick.org/script/license.php
8#
9#  Unless required by applicable law or agreed to in writing, software
10#  distributed under the License is distributed on an "AS IS" BASIS,
11#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12#  See the License for the specific language governing permissions and
13#  limitations under the License.
14#
15#  Makefile for building ImageMagick Coder library.
16
17# Where coder modules get installed
18codersdir = $(CODER_PATH)
19
20if DPS_DELEGATE
21MAGICKCORE_DPS_MODULES = coders/dps.la
22MAGICKCORE_DPS_SRCS = coders/dps.c
23endif
24
25if DJVU_DELEGATE
26MAGICKCORE_DJVU_MODULES = coders/djvu.la
27MAGICKCORE_DJVU_SRCS = coders/djvu.c
28endif
29
30if OPENEXR_DELEGATE
31MAGICKCORE_EXR_MODULES = coders/exr.la
32MAGICKCORE_EXR_SRCS = coders/exr.c
33endif
34
35if FLIF_DELEGATE
36MAGICKCORE_FLIF_MODULES = coders/flif.la
37MAGICKCORE_FLIF_SRCS = coders/flif.c
38endif
39
40if FPX_DELEGATE
41MAGICKCORE_FPX_MODULES = coders/fpx.la
42MAGICKCORE_FPX_SRCS = coders/fpx.c
43endif
44
45if HEIC_DELEGATE
46MAGICKCORE_HEIC_MODULES = coders/heic.la
47MAGICKCORE_HEIC_SRCS = coders/heic.c
48endif
49
50if JBIG_DELEGATE
51MAGICKCORE_JBIG_MODULES = coders/jbig.la
52MAGICKCORE_JBIG_SRCS = coders/jbig.c
53endif
54
55if JPEG_DELEGATE
56MAGICKCORE_JPEG_MODULES = coders/jpeg.la
57MAGICKCORE_JPEG_SRCS = coders/jpeg.c
58endif
59
60if LIBOPENJP2_DELEGATE
61MAGICKCORE_JP2_MODULES = coders/jp2.la
62MAGICKCORE_JP2_SRCS = coders/jp2.c
63endif
64
65if PNG_DELEGATE
66MAGICKCORE_PNG_MODULES = coders/png.la
67MAGICKCORE_PNG_SRCS = coders/png.c
68endif
69
70if TIFF_DELEGATE
71MAGICKCORE_TIFF_MODULES = coders/ept.la coders/tiff.la
72MAGICKCORE_TIFF_SRCS = coders/ept.c coders/tiff.c
73endif
74
75if WEBP_DELEGATE
76MAGICKCORE_WEBP_MODULES = coders/webp.la
77MAGICKCORE_WEBP_SRCS = coders/webp.c
78endif
79
80if WINGDI32_DELEGATE
81MAGICKCORE_GDI32_MODULES = coders/clipboard.la coders/emf.la
82MAGICKCORE_GDI32_SRCS = coders/clipboard.c coders/emf.c
83endif
84
85if WMF_DELEGATE
86MAGICKCORE_WMF_MODULES = coders/wmf.la
87MAGICKCORE_WMF_SRCS = coders/wmf.c
88endif
89
90if X11_DELEGATE
91MAGICKCORE_X11_MODULES = coders/x.la coders/xwd.la
92MAGICKCORE_X11_SRCS = coders/x.c coders/xwd.c
93endif
94
95MAGICK_CODER_CPPFLAGS = \
96	$(MODULECOMMONCPPFLAGS) \
97	$(MODULE_EXTRA_CPPFLAGS)
98
99MAGICKCORE_CODER_SRCS = \
100	coders/aai.c \
101	coders/art.c \
102	coders/avs.c \
103	coders/bgr.c \
104	coders/bmp.c \
105	coders/braille.c \
106	coders/cals.c \
107	coders/caption.c \
108	coders/cin.c \
109	coders/cip.c \
110	coders/clip.c \
111	coders/cmyk.c \
112	coders/cube.c \
113	coders/cut.c \
114	coders/dcm.c \
115	coders/dds.c \
116	coders/debug.c \
117	coders/dib.c \
118	coders/dng.c \
119	coders/dot.c \
120	coders/dpx.c \
121	coders/fax.c \
122	coders/fits.c \
123	coders/gif.c \
124	coders/gradient.c \
125	coders/gray.c \
126	coders/hald.c \
127	coders/hdr.c \
128	coders/histogram.c \
129	coders/hrz.c \
130	coders/html.c \
131	coders/icon.c \
132	coders/info.c \
133	coders/inline.c \
134	coders/ipl.c \
135	coders/jnx.c \
136	coders/json.c \
137	coders/label.c \
138	coders/mac.c \
139	coders/magick.c \
140	coders/map.c \
141	coders/mask.c \
142	coders/mat.c \
143	coders/matte.c \
144	coders/meta.c \
145	coders/miff.c \
146	coders/mono.c \
147	coders/mpc.c \
148	coders/mpeg.c \
149	coders/mpr.c \
150	coders/msl.c \
151	coders/mtv.c \
152	coders/mvg.c \
153	coders/null.c \
154	coders/otb.c \
155	coders/palm.c \
156	coders/pango.c \
157	coders/pattern.c \
158	coders/pcd.c \
159	coders/pcl.c \
160	coders/pcx.c \
161	coders/pdb.c \
162	coders/pdf.c \
163	coders/pes.c \
164	coders/pgx.c \
165	coders/pict.c \
166	coders/pix.c \
167	coders/plasma.c \
168	coders/pnm.c \
169	coders/ps.c \
170	coders/ps2.c \
171	coders/ps3.c \
172	coders/psd.c \
173	coders/psd-private.h \
174	coders/pwp.c \
175	coders/raw.c \
176	coders/rgb.c \
177	coders/rgf.c \
178	coders/rla.c \
179	coders/rle.c \
180	coders/scr.c \
181	coders/screenshot.c \
182	coders/sct.c \
183	coders/sfw.c \
184	coders/sgi.c \
185	coders/sixel.c \
186	coders/stegano.c \
187	coders/sun.c \
188	coders/svg.c \
189	coders/tga.c \
190	coders/thumbnail.c \
191	coders/tile.c \
192	coders/tim.c \
193	coders/ttf.c \
194	coders/txt.c \
195	coders/uil.c \
196	coders/url.c \
197	coders/uyvy.c \
198	coders/vicar.c \
199	coders/vid.c \
200	coders/viff.c \
201	coders/vips.c \
202	coders/wbmp.c \
203	coders/wpg.c \
204	coders/xbm.c \
205	coders/xc.c \
206	coders/xcf.c \
207	coders/xpm.c \
208	coders/xps.c \
209	coders/xtrn.c \
210	coders/ycbcr.c \
211	coders/yuv.c \
212	$(MAGICKCORE_DPS_SRCS) \
213	$(MAGICKCORE_DJVU_SRCS) \
214	$(MAGICKCORE_EXR_SRCS) \
215	$(MAGICKCORE_FLIF_SRCS) \
216	$(MAGICKCORE_FPX_SRCS) \
217	$(MAGICKCORE_GDI32_SRCS) \
218	$(MAGICKCORE_HEIC_SRCS) \
219	$(MAGICKCORE_JBIG_SRCS) \
220	$(MAGICKCORE_JPEG_SRCS) \
221	$(MAGICKCORE_JP2_SRCS) \
222	$(MAGICKCORE_PNG_SRCS) \
223	$(MAGICKCORE_TIFF_SRCS) \
224	$(MAGICKCORE_WEBP_SRCS) \
225	$(MAGICKCORE_WMF_SRCS) \
226	$(MAGICKCORE_X11_SRCS)
227
228CODERS_NOINST_HDRS = \
229	coders/aai.h \
230	coders/art.h \
231	coders/avs.h \
232	coders/bgr.h \
233	coders/bmp.h \
234	coders/braille.h \
235	coders/cals.h \
236	coders/caption.h \
237	coders/cin.h \
238	coders/cip.h \
239	coders/clipboard.h \
240	coders/clip.h \
241	coders/cmyk.h \
242	coders/coders.h \
243	coders/coders-list.h \
244	coders/coders-private.h \
245	coders/cube.h \
246	coders/cut.h \
247	coders/dcm.h \
248	coders/dds.h \
249	coders/debug.h \
250	coders/dib.h \
251	coders/djvu.h \
252	coders/dng.h \
253	coders/dot.h \
254	coders/dps.h \
255	coders/dpx.h \
256	coders/emf.h \
257	coders/ept.h \
258	coders/exr.h \
259	coders/fax.h \
260	coders/fits.h \
261	coders/flif.h \
262	coders/fpx.h \
263	coders/gif.h \
264	coders/gradient.h \
265	coders/gray.h \
266	coders/hald.h \
267	coders/hdr.h \
268	coders/heic.h \
269	coders/histogram.h \
270	coders/hrz.h \
271	coders/html.h \
272	coders/icon.h \
273	coders/info.h \
274	coders/inline.h \
275	coders/ipl.h \
276	coders/jbig.h \
277	coders/jnx.h \
278	coders/jp2.h \
279	coders/jpeg.h \
280	coders/json.h \
281	coders/label.h \
282	coders/mac.h \
283	coders/magick.h \
284	coders/map.h \
285	coders/mask.h \
286	coders/mat.h \
287	coders/matte.h \
288	coders/meta.h \
289	coders/miff.h \
290	coders/mono.h \
291	coders/mpc.h \
292	coders/mpeg.h \
293	coders/mpr.h \
294	coders/msl.h \
295	coders/mtv.h \
296	coders/mvg.h \
297	coders/null.h \
298	coders/otb.h \
299	coders/palm.h \
300	coders/pango.h \
301	coders/pattern.h \
302	coders/pcd.h \
303	coders/pcl.h \
304	coders/pcx.h \
305	coders/pdb.h \
306	coders/pdf.h \
307	coders/pes.h \
308	coders/pgx.h \
309	coders/pict.h \
310	coders/pix.h \
311	coders/plasma.h \
312	coders/png.h \
313	coders/pnm.h \
314	coders/ps2.h \
315	coders/ps3.h \
316	coders/psd.h \
317	coders/psd-private.h \
318	coders/ps.h \
319	coders/pwp.h \
320	coders/raw.h \
321	coders/rgb.h \
322	coders/rgf.h \
323	coders/rla.h \
324	coders/rle.h \
325	coders/screenshot.h \
326	coders/scr.h \
327	coders/sct.h \
328	coders/sfw.h \
329	coders/sgi.h \
330	coders/sixel.h \
331	coders/stegano.h \
332	coders/sun.h \
333	coders/svg.h \
334	coders/tga.h \
335	coders/thumbnail.h \
336	coders/tiff.h \
337	coders/tile.h \
338	coders/tim.h \
339	coders/ttf.h \
340	coders/txt.h \
341	coders/uil.h \
342	coders/url.h \
343	coders/uyvy.h \
344	coders/vicar.h \
345	coders/vid.h \
346	coders/viff.h \
347	coders/vips.h \
348	coders/wbmp.h \
349	coders/webp.h \
350	coders/wmf.h \
351	coders/wpg.h \
352	coders/xbm.h \
353	coders/xcf.h \
354	coders/xc.h \
355	coders/x.h \
356	coders/xpm.h \
357	coders/xps.h \
358	coders/xtrn.h \
359	coders/xwd.h \
360	coders/ycbcr.h \
361	coders/yuv.h
362
363if WITH_MODULES
364coders_LTLIBRARIES = \
365	coders/aai.la \
366	coders/art.la \
367	coders/avs.la \
368	coders/bgr.la \
369	coders/bmp.la \
370	coders/braille.la \
371	coders/cals.la \
372	coders/caption.la \
373	coders/cin.la \
374	coders/cip.la \
375	coders/clip.la \
376	coders/cmyk.la \
377	coders/cube.la \
378	coders/cut.la \
379	coders/dcm.la \
380	coders/dds.la \
381	coders/debug.la \
382	coders/dib.la \
383	coders/dng.la \
384	coders/dot.la \
385	coders/dpx.la \
386	coders/fax.la \
387	coders/fits.la \
388	coders/gif.la \
389	coders/gradient.la \
390	coders/gray.la \
391	coders/hald.la \
392	coders/hdr.la \
393	coders/histogram.la \
394	coders/hrz.la \
395	coders/html.la \
396	coders/icon.la \
397	coders/info.la \
398	coders/inline.la \
399	coders/ipl.la \
400	coders/jnx.la \
401	coders/json.la \
402	coders/label.la \
403	coders/mac.la \
404	coders/magick.la \
405	coders/map.la \
406	coders/mask.la \
407	coders/mat.la \
408	coders/matte.la \
409	coders/meta.la \
410	coders/miff.la \
411	coders/mono.la \
412	coders/mpc.la \
413	coders/mpeg.la \
414	coders/mpr.la \
415	coders/msl.la \
416	coders/mtv.la \
417	coders/mvg.la \
418	coders/null.la \
419	coders/otb.la \
420	coders/palm.la \
421	coders/pango.la \
422	coders/pattern.la \
423	coders/pcd.la \
424	coders/pcl.la \
425	coders/pcx.la \
426	coders/pdb.la \
427	coders/pdf.la \
428	coders/pes.la \
429	coders/pgx.la \
430	coders/pict.la \
431	coders/pix.la \
432	coders/plasma.la \
433	coders/pnm.la \
434	coders/ps.la \
435	coders/ps2.la \
436	coders/ps3.la \
437	coders/psd.la \
438	coders/pwp.la \
439	coders/raw.la \
440	coders/rgb.la \
441	coders/rgf.la \
442	coders/rla.la \
443	coders/rle.la \
444	coders/scr.la \
445	coders/sct.la \
446	coders/sfw.la \
447	coders/sgi.la \
448	coders/sixel.la \
449	coders/stegano.la \
450	coders/sun.la \
451	coders/svg.la \
452	coders/tga.la \
453	coders/thumbnail.la \
454	coders/tile.la \
455	coders/tim.la \
456	coders/ttf.la \
457	coders/txt.la \
458	coders/uil.la \
459	coders/url.la \
460	coders/uyvy.la \
461	coders/vicar.la \
462	coders/vid.la \
463	coders/viff.la \
464	coders/vips.la \
465	coders/wbmp.la \
466	coders/wpg.la \
467	coders/xbm.la \
468	coders/xc.la \
469	coders/xcf.la \
470	coders/xpm.la \
471	coders/xps.la \
472	coders/xtrn.la \
473	coders/ycbcr.la \
474	coders/yuv.la \
475	$(MAGICKCORE_DPS_MODULES) \
476	$(MAGICKCORE_DJVU_MODULES) \
477	$(MAGICKCORE_EXR_MODULES) \
478	$(MAGICKCORE_FLIF_MODULES) \
479	$(MAGICKCORE_FPX_MODULES) \
480	$(MAGICKCORE_GDI32_MODULES)  \
481	$(MAGICKCORE_HEIC_MODULES)  \
482	$(MAGICKCORE_JBIG_MODULES) \
483	$(MAGICKCORE_JPEG_MODULES) \
484	$(MAGICKCORE_JP2_MODULES) \
485	$(MAGICKCORE_PNG_MODULES) \
486	$(MAGICKCORE_TIFF_MODULES) \
487	$(MAGICKCORE_WEBP_MODULES) \
488	$(MAGICKCORE_WMF_MODULES) \
489	$(MAGICKCORE_X11_MODULES)
490else
491coders_LTLIBRARIES =
492endif # WITH_MODULES
493
494# AAI coder module
495coders_aai_la_SOURCES      = coders/aai.c
496coders_aai_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
497coders_aai_la_LDFLAGS      = $(MODULECOMMONFLAGS)
498coders_aai_la_LIBADD       = $(MAGICKCORE_LIBS)
499
500# ART coder module
501coders_art_la_SOURCES      = coders/art.c
502coders_art_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
503coders_art_la_LDFLAGS      = $(MODULECOMMONFLAGS)
504coders_art_la_LIBADD       = $(MAGICKCORE_LIBS)
505
506# AVS coder module
507coders_avs_la_SOURCES      = coders/avs.c
508coders_avs_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
509coders_avs_la_LDFLAGS      = $(MODULECOMMONFLAGS)
510coders_avs_la_LIBADD       = $(MAGICKCORE_LIBS)
511
512# BRG coder module
513coders_bgr_la_SOURCES      = coders/bgr.c
514coders_bgr_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
515coders_bgr_la_LDFLAGS      = $(MODULECOMMONFLAGS)
516coders_bgr_la_LIBADD       = $(MAGICKCORE_LIBS)
517
518# BMP coder module
519coders_bmp_la_SOURCES      = coders/bmp.c
520coders_bmp_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
521coders_bmp_la_LDFLAGS      = $(MODULECOMMONFLAGS)
522coders_bmp_la_LIBADD       = $(MAGICKCORE_LIBS)
523
524# BRAILLE coder module
525coders_braille_la_SOURCES  = coders/braille.c
526coders_braille_la_CPPFLAGS = $(MAGICK_CODER_CPPFLAGS)
527coders_braille_la_LDFLAGS  = $(MODULECOMMONFLAGS)
528coders_braille_la_LIBADD   = $(MAGICKCORE_LIBS)
529
530# CALS coder module
531coders_cals_la_SOURCES     = coders/cals.c
532coders_cals_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
533coders_cals_la_LDFLAGS     = $(MODULECOMMONFLAGS)
534coders_cals_la_LIBADD      = $(MAGICKCORE_LIBS) $(MATH_LIBS)
535
536# CAPTION coder module
537coders_caption_la_SOURCES  = coders/caption.c
538coders_caption_la_CPPFLAGS = $(MAGICK_CODER_CPPFLAGS)
539coders_caption_la_LDFLAGS  = $(MODULECOMMONFLAGS)
540coders_caption_la_LIBADD   = $(MAGICKCORE_LIBS) $(MATH_LIBS)
541
542# CINEON coder module
543coders_cin_la_SOURCES      = coders/cin.c
544coders_cin_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
545coders_cin_la_LDFLAGS      = $(MODULECOMMONFLAGS)
546coders_cin_la_LIBADD       = $(MAGICKCORE_LIBS)
547
548# CIP coder module
549coders_cip_la_SOURCES      = coders/cip.c
550coders_cip_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
551coders_cip_la_LDFLAGS      = $(MODULECOMMONFLAGS)
552coders_cip_la_LIBADD       = $(MAGICKCORE_LIBS)
553
554# CLIP coder module
555coders_clip_la_SOURCES     = coders/clip.c
556coders_clip_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
557coders_clip_la_LDFLAGS     = $(MODULECOMMONFLAGS)
558coders_clip_la_LIBADD      = $(MAGICKCORE_LIBS)
559
560# CLIPBOARD coder module
561coders_clipboard_la_SOURCES= coders/clipboard.c
562coders_clipboard_la_CPPFLAGS= $(MAGICK_CODER_CPPFLAGS)
563coders_clipboard_la_LDFLAGS= $(MODULECOMMONFLAGS)
564coders_clipboard_la_LIBADD = $(MAGICKCORE_LIBS) $(GDI32_LIBS)
565
566# CMYK coder module
567coders_cmyk_la_SOURCES     = coders/cmyk.c
568coders_cmyk_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
569coders_cmyk_la_LDFLAGS     = $(MODULECOMMONFLAGS)
570coders_cmyk_la_LIBADD      = $(MAGICKCORE_LIBS)
571
572# CUBE coder module
573coders_cube_la_SOURCES     = coders/cube.c
574coders_cube_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
575coders_cube_la_LDFLAGS     = $(MODULECOMMONFLAGS)
576coders_cube_la_LIBADD      = $(MAGICKCORE_LIBS) $(GOMP_LIBS)
577
578# CUT coder module
579coders_cut_la_SOURCES      = coders/cut.c
580coders_cut_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
581coders_cut_la_LDFLAGS      = $(MODULECOMMONFLAGS)
582coders_cut_la_LIBADD       = $(MAGICKCORE_LIBS)
583
584# DCM coder module
585coders_dcm_la_SOURCES      = coders/dcm.c
586coders_dcm_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
587coders_dcm_la_LDFLAGS      = $(MODULECOMMONFLAGS)
588coders_dcm_la_LIBADD       = $(MAGICKCORE_LIBS) $(MATH_LIBS)
589
590# DDS coder module
591coders_dds_la_SOURCES      = coders/dds.c
592coders_dds_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
593coders_dds_la_LDFLAGS      = $(MODULECOMMONFLAGS)
594coders_dds_la_LIBADD       = $(MAGICKCORE_LIBS)
595
596# DEBUG coder module
597coders_debug_la_SOURCES    = coders/debug.c
598coders_debug_la_CPPFLAGS   = $(MAGICK_CODER_CPPFLAGS)
599coders_debug_la_LDFLAGS    = $(MODULECOMMONFLAGS)
600coders_debug_la_LIBADD     = $(MAGICKCORE_LIBS)
601
602# DIB coder module
603coders_dib_la_SOURCES      = coders/dib.c
604coders_dib_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
605coders_dib_la_LDFLAGS      = $(MODULECOMMONFLAGS)
606coders_dib_la_LIBADD       = $(MAGICKCORE_LIBS)
607
608# DJVU coder module
609coders_djvu_la_SOURCES     = coders/djvu.c
610coders_djvu_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
611coders_djvu_la_LDFLAGS     = $(MODULECOMMONFLAGS)
612coders_djvu_la_LIBADD      = $(MAGICKCORE_LIBS) $(DJVU_LIBS) $(JPEG_LIBS) $(LZMA_LIBS) $(ZLIB_LIBS) $(MATH_LIBS)
613
614# DNG coder module
615coders_dng_la_SOURCES      = coders/dng.c
616coders_dng_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
617coders_dng_la_LDFLAGS      = $(MODULECOMMONFLAGS)
618coders_dng_la_LIBADD       = $(MAGICKCORE_LIBS) $(RAW_R_LIBS) $(GOMP_LIBS)
619
620# DPS coder module
621coders_dps_la_SOURCES      = coders/dps.c
622coders_dps_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
623coders_dps_la_LDFLAGS      = $(MODULECOMMONFLAGS)
624coders_dps_la_LIBADD       = $(MAGICKCORE_LIBS) $(DPS_LIBS) $(XEXT_LIBS) $(X11_LIBS)
625
626# DPX coder module
627coders_dpx_la_SOURCES      = coders/dpx.c
628coders_dpx_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
629coders_dpx_la_LDFLAGS      = $(MODULECOMMONFLAGS)
630coders_dpx_la_LIBADD       = $(MAGICKCORE_LIBS) $(GOMP_LIBS)
631
632# DOT coder module
633coders_dot_la_SOURCES      = coders/dot.c
634coders_dot_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS) $(GVC_CFLAGS)
635coders_dot_la_LDFLAGS      = $(MODULECOMMONFLAGS)
636coders_dot_la_LIBADD       = $(MAGICKCORE_LIBS) $(GVC_LIBS)
637
638# EMF coder module
639coders_emf_la_SOURCES      = coders/emf.c
640coders_emf_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
641coders_emf_la_LDFLAGS      = $(MODULECOMMONFLAGS)
642coders_emf_la_LIBADD       = $(MAGICKCORE_LIBS) $(GDI32_LIBS)
643
644# EPT coder module
645coders_ept_la_SOURCES      = coders/ept.c
646coders_ept_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
647coders_ept_la_LDFLAGS      = $(MODULECOMMONFLAGS)
648coders_ept_la_LIBADD       = $(MAGICKCORE_LIBS) $(MATH_LIBS)
649
650# EXR coder module
651coders_exr_la_SOURCES      = coders/exr.c
652coders_exr_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS) $(OPENEXR_CFLAGS)
653coders_exr_la_LDFLAGS      = $(MODULECOMMONFLAGS)
654coders_exr_la_LIBADD       = $(MAGICKCORE_LIBS) $(OPENEXR_LIBS) $(MATH_LIBS)
655
656# FAX coder module
657coders_fax_la_SOURCES      = coders/fax.c
658coders_fax_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
659coders_fax_la_LDFLAGS      = $(MODULECOMMONFLAGS)
660coders_fax_la_LIBADD       = $(MAGICKCORE_LIBS)
661
662# FITS coder module
663coders_fits_la_SOURCES     = coders/fits.c
664coders_fits_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
665coders_fits_la_LDFLAGS     = $(MODULECOMMONFLAGS)
666coders_fits_la_LIBADD      = $(MAGICKCORE_LIBS) $(MATH_LIBS)
667
668# FLIF coder module
669coders_flif_la_SOURCES      = coders/flif.c
670coders_flif_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
671coders_flif_la_LDFLAGS      = $(MODULECOMMONFLAGS)
672coders_flif_la_LIBADD       = $(MAGICKCORE_LIBS) $(FLIF_LIBS)
673
674# FPX coder module
675coders_fpx_la_SOURCES      = coders/fpx.c
676coders_fpx_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
677coders_fpx_la_LDFLAGS      = $(MODULECOMMONFLAGS)
678coders_fpx_la_LIBADD       = $(MAGICKCORE_LIBS) $(FPX_LIBS) $(MATH_LIBS) -lstdc++
679
680# GIF coder module
681coders_gif_la_SOURCES      = coders/gif.c
682coders_gif_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
683coders_gif_la_LDFLAGS      = $(MODULECOMMONFLAGS)
684coders_gif_la_LIBADD       = $(MAGICKCORE_LIBS)
685
686# GRAY coder module
687coders_gray_la_SOURCES     = coders/gray.c
688coders_gray_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
689coders_gray_la_LDFLAGS     = $(MODULECOMMONFLAGS)
690coders_gray_la_LIBADD      = $(MAGICKCORE_LIBS)
691
692# GRADIENT coder module
693coders_gradient_la_SOURCES = coders/gradient.c
694coders_gradient_la_CPPFLAGS= $(MAGICK_CODER_CPPFLAGS)
695coders_gradient_la_LDFLAGS = $(MODULECOMMONFLAGS)
696coders_gradient_la_LIBADD  = $(MAGICKCORE_LIBS)
697
698# HISTOGRAM coder module
699coders_histogram_la_SOURCES = coders/histogram.c
700coders_histogram_la_CPPFLAGS= $(MAGICK_CODER_CPPFLAGS)
701coders_histogram_la_LDFLAGS = $(MODULECOMMONFLAGS)
702coders_histogram_la_LIBADD  = $(MAGICKCORE_LIBS) $(MATH_LIBS)
703
704# HALD coder module
705coders_hald_la_SOURCES     = coders/hald.c
706coders_hald_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
707coders_hald_la_LDFLAGS     = $(MODULECOMMONFLAGS)
708coders_hald_la_LIBADD      = $(MAGICKCORE_LIBS) $(GOMP_LIBS)
709
710# HDR coder module
711coders_hdr_la_SOURCES      = coders/hdr.c
712coders_hdr_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
713coders_hdr_la_LDFLAGS      = $(MODULECOMMONFLAGS)
714coders_hdr_la_LIBADD       = $(MAGICKCORE_LIBS) $(GOMP_LIBS) $(MATH_LIBS)
715
716# HEIC coder module
717coders_heic_la_SOURCES     = coders/heic.c
718coders_heic_la_CPPFLAGS    = $(MODULE_CODER_CPPFLAGS)
719coders_heic_la_LDFLAGS     = $(MODULECOMMONFLAGS)
720coders_heic_la_LIBADD      = $(MAGICKCORE_LIBS) $(HEIF_LIBS)
721
722# HRZ coder module
723coders_hrz_la_SOURCES      = coders/hrz.c
724coders_hrz_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
725coders_hrz_la_LDFLAGS      = $(MODULECOMMONFLAGS)
726coders_hrz_la_LIBADD       = $(MAGICKCORE_LIBS)
727
728# HTML coder module
729coders_html_la_SOURCES     = coders/html.c
730coders_html_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
731coders_html_la_LDFLAGS     = $(MODULECOMMONFLAGS)
732coders_html_la_LIBADD      = $(MAGICKCORE_LIBS)
733
734# ICON coder module
735coders_icon_la_SOURCES     = coders/icon.c
736coders_icon_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
737coders_icon_la_LDFLAGS     = $(MODULECOMMONFLAGS)
738coders_icon_la_LIBADD      = $(MAGICKCORE_LIBS)
739
740# INFO coder module
741coders_info_la_SOURCES     = coders/info.c
742coders_info_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
743coders_info_la_LDFLAGS     = $(MODULECOMMONFLAGS)
744coders_info_la_LIBADD      = $(MAGICKCORE_LIBS)
745
746# INLINE coder module
747coders_inline_la_SOURCES   = coders/inline.c
748coders_inline_la_CPPFLAGS  = $(MAGICK_CODER_CPPFLAGS)
749coders_inline_la_LDFLAGS   = $(MODULECOMMONFLAGS)
750coders_inline_la_LIBADD    = $(MAGICKCORE_LIBS)
751
752# IPL coder module
753coders_ipl_la_SOURCES      = coders/ipl.c
754coders_ipl_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
755coders_ipl_la_LDFLAGS      = $(MODULECOMMONFLAGS)
756coders_ipl_la_LIBADD       = $(MAGICKCORE_LIBS)
757
758# JBIG coder module
759coders_jbig_la_SOURCES     = coders/jbig.c
760coders_jbig_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
761coders_jbig_la_LDFLAGS     = $(MODULECOMMONFLAGS)
762coders_jbig_la_LIBADD      = $(MAGICKCORE_LIBS) $(JBIG_LIBS) $(MATH_LIBS)
763
764# JPEG coder module
765coders_jpeg_la_SOURCES     = coders/jpeg.c
766coders_jpeg_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
767coders_jpeg_la_LDFLAGS     = $(MODULECOMMONFLAGS)
768coders_jpeg_la_LIBADD      = $(MAGICKCORE_LIBS) $(JPEG_LIBS) $(MATH_LIBS)
769
770# JPEG 2000 coder module
771coders_jp2_la_SOURCES      = coders/jp2.c
772coders_jp2_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS) $(LIBOPENJP2_CFLAGS)
773coders_jp2_la_LDFLAGS      = $(MODULECOMMONFLAGS)
774coders_jp2_la_LIBADD       = $(MAGICKCORE_LIBS) $(LIBOPENJP2_LIBS) $(MATH_LIBS)
775
776# JNX coder module
777coders_jnx_la_SOURCES      = coders/jnx.c
778coders_jnx_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
779coders_jnx_la_LDFLAGS      = $(MODULECOMMONFLAGS)
780coders_jnx_la_LIBADD       = $(MAGICKCORE_LIBS)
781
782# JSON coder module
783coders_json_la_SOURCES     = coders/json.c
784coders_json_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
785coders_json_la_LDFLAGS     = $(MODULECOMMONFLAGS)
786coders_json_la_LIBADD      = $(MAGICKCORE_LIBS)
787
788# LABEL coder module
789coders_label_la_SOURCES    = coders/label.c
790coders_label_la_CPPFLAGS   = $(MAGICK_CODER_CPPFLAGS)
791coders_label_la_LDFLAGS    = $(MODULECOMMONFLAGS)
792coders_label_la_LIBADD     = $(MAGICKCORE_LIBS) $(MATH_LIBS)
793
794# MAC coder module
795coders_mac_la_SOURCES      = coders/mac.c
796coders_mac_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
797coders_mac_la_LDFLAGS      = $(MODULECOMMONFLAGS)
798coders_mac_la_LIBADD       = $(MAGICKCORE_LIBS)
799
800# MAGICK coder module
801coders_magick_la_SOURCES   = coders/magick.c
802coders_magick_la_CPPFLAGS  = $(MAGICK_CODER_CPPFLAGS)
803coders_magick_la_LDFLAGS   = $(MODULECOMMONFLAGS)
804coders_magick_la_LIBADD    = $(MAGICKCORE_LIBS)
805
806# MAP coder module
807coders_map_la_SOURCES      = coders/map.c
808coders_map_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
809coders_map_la_LDFLAGS      = $(MODULECOMMONFLAGS)
810coders_map_la_LIBADD       = $(MAGICKCORE_LIBS)
811
812# MASK coder module
813coders_mask_la_SOURCES     = coders/mask.c
814coders_mask_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
815coders_mask_la_LDFLAGS     = $(MODULECOMMONFLAGS)
816coders_mask_la_LIBADD      = $(MAGICKCORE_LIBS)
817
818# MAT coder module
819coders_mat_la_SOURCES      = coders/mat.c
820coders_mat_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
821coders_mat_la_LDFLAGS      = $(MODULECOMMONFLAGS)
822coders_mat_la_LIBADD       = $(MAGICKCORE_LIBS) $(LZMA_LIBS) $(ZLIB_LIBS) $(MATH_LIBS)
823
824# MATTE coder module
825coders_matte_la_SOURCES    = coders/matte.c
826coders_matte_la_CPPFLAGS   = $(MAGICK_CODER_CPPFLAGS)
827coders_matte_la_LDFLAGS    = $(MODULECOMMONFLAGS)
828coders_matte_la_LIBADD     = $(MAGICKCORE_LIBS)
829
830# META coder module
831coders_meta_la_SOURCES     = coders/meta.c
832coders_meta_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
833coders_meta_la_LDFLAGS     = $(MODULECOMMONFLAGS)
834coders_meta_la_LIBADD      = $(MAGICKCORE_LIBS)
835
836# MIFF coder module
837coders_miff_la_SOURCES     = coders/miff.c
838coders_miff_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
839coders_miff_la_LDFLAGS     = $(MODULECOMMONFLAGS)
840coders_miff_la_LIBADD      = $(MAGICKCORE_LIBS) $(LZMA_LIBS) $(ZLIB_LIBS) $(BZLIB_LIBS)
841
842# MONO coder module
843coders_mono_la_SOURCES     = coders/mono.c
844coders_mono_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
845coders_mono_la_LDFLAGS     = $(MODULECOMMONFLAGS)
846coders_mono_la_LIBADD      = $(MAGICKCORE_LIBS)
847
848# MPC coder module
849coders_mpc_la_SOURCES      = coders/mpc.c
850coders_mpc_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
851coders_mpc_la_LDFLAGS      = $(MODULECOMMONFLAGS)
852coders_mpc_la_LIBADD       = $(MAGICKCORE_LIBS)
853
854# MPEG coder module
855coders_mpeg_la_SOURCES     = coders/mpeg.c
856coders_mpeg_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
857coders_mpeg_la_LDFLAGS     = $(MODULECOMMONFLAGS)
858coders_mpeg_la_LIBADD      = $(MAGICKCORE_LIBS)
859
860# MPR coder module
861coders_mpr_la_SOURCES      = coders/mpr.c
862coders_mpr_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
863coders_mpr_la_LDFLAGS      = $(MODULECOMMONFLAGS)
864coders_mpr_la_LIBADD       = $(MAGICKCORE_LIBS)
865
866# MSL coder module
867coders_msl_la_SOURCES      = coders/msl.c
868coders_msl_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
869coders_msl_la_LDFLAGS      = $(MODULECOMMONFLAGS)
870coders_msl_la_LIBADD       = $(MAGICKCORE_LIBS) $(XML_LIBS) $(LZMA_LIBS) $(ZLIB_LIBS) $(MATH_LIBS)
871
872# MTV coder module
873coders_mtv_la_SOURCES      = coders/mtv.c
874coders_mtv_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
875coders_mtv_la_LDFLAGS      = $(MODULECOMMONFLAGS)
876coders_mtv_la_LIBADD       = $(MAGICKCORE_LIBS)
877
878# MVG coder module
879coders_mvg_la_SOURCES      = coders/mvg.c
880coders_mvg_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
881coders_mvg_la_LDFLAGS      = $(MODULECOMMONFLAGS)
882coders_mvg_la_LIBADD       = $(MAGICKCORE_LIBS) $(MATH_LIBS)
883
884# NULL coder module
885coders_null_la_SOURCES     = coders/null.c
886coders_null_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
887coders_null_la_LDFLAGS     = $(MODULECOMMONFLAGS)
888coders_null_la_LIBADD      = $(MAGICKCORE_LIBS)
889
890# OTB coder module
891coders_otb_la_SOURCES      = coders/otb.c
892coders_otb_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
893coders_otb_la_LDFLAGS      = $(MODULECOMMONFLAGS)
894coders_otb_la_LIBADD       = $(MAGICKCORE_LIBS)
895
896# PALM coder module
897coders_palm_la_SOURCES     = coders/palm.c
898coders_palm_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
899coders_palm_la_LDFLAGS     = $(MODULECOMMONFLAGS)
900coders_palm_la_LIBADD      = $(MAGICKCORE_LIBS)
901
902# PANGO coder module
903coders_pango_la_SOURCES    = coders/pango.c
904coders_pango_la_CPPFLAGS   = $(MAGICK_CODER_CPPFLAGS) $(PANGO_CFLAGS)
905coders_pango_la_LDFLAGS    = $(MODULECOMMONFLAGS)
906coders_pango_la_LIBADD     = $(MAGICKCORE_LIBS) $(PANGO_LIBS)
907
908# Pattern module
909coders_pattern_la_SOURCES  = coders/pattern.c
910coders_pattern_la_CPPFLAGS = $(MAGICK_CODER_CPPFLAGS)
911coders_pattern_la_LDFLAGS  = $(MODULECOMMONFLAGS)
912coders_pattern_la_LIBADD   = $(MAGICKCORE_LIBS)
913
914# PCD coder module
915coders_pcd_la_SOURCES      = coders/pcd.c
916coders_pcd_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
917coders_pcd_la_LDFLAGS      = $(MODULECOMMONFLAGS)
918coders_pcd_la_LIBADD       = $(MAGICKCORE_LIBS)
919
920# PCL coder module
921coders_pcl_la_SOURCES      = coders/pcl.c
922coders_pcl_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
923coders_pcl_la_LDFLAGS      = $(MODULECOMMONFLAGS)
924coders_pcl_la_LIBADD       = $(MAGICKCORE_LIBS) $(MATH_LIBS)
925
926# PCX coder module
927coders_pcx_la_SOURCES      = coders/pcx.c
928coders_pcx_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
929coders_pcx_la_LDFLAGS      = $(MODULECOMMONFLAGS)
930coders_pcx_la_LIBADD       = $(MAGICKCORE_LIBS)
931
932# PDB coder module
933coders_pdb_la_SOURCES      = coders/pdb.c
934coders_pdb_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
935coders_pdb_la_LDFLAGS      = $(MODULECOMMONFLAGS)
936coders_pdb_la_LIBADD       = $(MAGICKCORE_LIBS)
937
938# PDF coder module
939coders_pdf_la_SOURCES      = coders/pdf.c
940coders_pdf_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
941coders_pdf_la_LDFLAGS      = $(MODULECOMMONFLAGS)
942coders_pdf_la_LIBADD       = $(MAGICKCORE_LIBS) $(JBIG_LIBS) $(JPEG_LIBS) $(LZMA_LIBS) $(ZLIB_LIBS) $(GS_LIBS) $(MATH_LIBS)
943
944# PES coder module
945coders_pes_la_SOURCES      = coders/pes.c
946coders_pes_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
947coders_pes_la_LDFLAGS      = $(MODULECOMMONFLAGS)
948coders_pes_la_LIBADD       = $(MAGICKCORE_LIBS)
949
950# PGX coder module
951coders_pgx_la_SOURCES      = coders/pgx.c
952coders_pgx_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
953coders_pgx_la_LDFLAGS      = $(MODULECOMMONFLAGS)
954coders_pgx_la_LIBADD       = $(MAGICKCORE_LIBS)
955
956# PICT coder module
957coders_pict_la_SOURCES     = coders/pict.c
958coders_pict_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
959coders_pict_la_LDFLAGS     = $(MODULECOMMONFLAGS)
960coders_pict_la_LIBADD      = $(MAGICKCORE_LIBS)
961
962# PIX coder module
963coders_pix_la_SOURCES      = coders/pix.c
964coders_pix_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
965coders_pix_la_LDFLAGS      = $(MODULECOMMONFLAGS)
966coders_pix_la_LIBADD       = $(MAGICKCORE_LIBS)
967
968# PNG coder module
969coders_png_la_SOURCES      = coders/png.c
970coders_png_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
971coders_png_la_LDFLAGS      = $(MODULECOMMONFLAGS)
972coders_png_la_LIBADD       = $(MAGICKCORE_LIBS) $(PNG_LIBS) $(JPEG_LIBS) $(LZMA_LIBS) $(ZLIB_LIBS) $(MATH_LIBS)
973
974# PLASMA coder module
975coders_plasma_la_SOURCES   = coders/plasma.c
976coders_plasma_la_CPPFLAGS  = $(MAGICK_CODER_CPPFLAGS)
977coders_plasma_la_LDFLAGS   = $(MODULECOMMONFLAGS)
978coders_plasma_la_LIBADD    = $(MAGICKCORE_LIBS) $(MATH_LIBS)
979
980# PNM coder module
981coders_pnm_la_SOURCES      = coders/pnm.c
982coders_pnm_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
983coders_pnm_la_LDFLAGS      = $(MODULECOMMONFLAGS)
984coders_pnm_la_LIBADD       = $(MAGICKCORE_LIBS) $(GOMP_LIBS)
985
986# PS coder module
987coders_ps_la_SOURCES       = coders/ps.c
988coders_ps_la_CPPFLAGS      = $(MAGICK_CODER_CPPFLAGS)
989coders_ps_la_LDFLAGS       = $(MODULECOMMONFLAGS)
990coders_ps_la_LIBADD        = $(MAGICKCORE_LIBS) $(GS_LIBS) $(MATH_LIBS)
991
992# PS2 coder module
993coders_ps2_la_SOURCES      = coders/ps2.c
994coders_ps2_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
995coders_ps2_la_LDFLAGS      = $(MODULECOMMONFLAGS)
996coders_ps2_la_LIBADD       = $(MAGICKCORE_LIBS) $(JBIG_LIBS) $(JPEG_LIBS) $(LZMA_LIBS) $(ZLIB_LIBS) $(ZSTD_LIBS) $(WEBPMUX_LIBS) $(WEBP_LIBS) $(MATH_LIBS)
997
998# PS3 coder module
999coders_ps3_la_SOURCES      = coders/ps3.c
1000coders_ps3_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1001coders_ps3_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1002coders_ps3_la_LIBADD       = $(MAGICKCORE_LIBS) $(JBIG_LIBS) $(JPEG_LIBS) $(LZMA_LIBS) $(ZLIB_LIBS) $(ZSTD_LIBS) $(WEBPMUX_LIBS) $(WEBP_LIBS) $(MATH_LIBS)
1003
1004# PSD coder module
1005coders_psd_la_SOURCES      = coders/psd.c coders/psd-private.h
1006coders_psd_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1007coders_psd_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1008coders_psd_la_LIBADD       = $(MAGICKCORE_LIBS)
1009
1010# PWP coder module
1011coders_pwp_la_SOURCES      = coders/pwp.c
1012coders_pwp_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1013coders_pwp_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1014coders_pwp_la_LIBADD       = $(MAGICKCORE_LIBS)
1015
1016# RAW coder module
1017coders_raw_la_SOURCES      = coders/raw.c
1018coders_raw_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1019coders_raw_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1020coders_raw_la_LIBADD       = $(MAGICKCORE_LIBS)
1021
1022# RGB coder module
1023coders_rgb_la_SOURCES      = coders/rgb.c
1024coders_rgb_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1025coders_rgb_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1026coders_rgb_la_LIBADD       = $(MAGICKCORE_LIBS)
1027
1028# RGF coder module
1029coders_rgf_la_SOURCES      = coders/rgf.c
1030coders_rgf_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1031coders_rgf_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1032coders_rgf_la_LIBADD       = $(MAGICKCORE_LIBS)
1033
1034# RLA coder module
1035coders_rla_la_SOURCES      = coders/rla.c
1036coders_rla_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1037coders_rla_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1038coders_rla_la_LIBADD       = $(MAGICKCORE_LIBS)
1039
1040# RLE coder module
1041coders_rle_la_SOURCES      = coders/rle.c
1042coders_rle_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1043coders_rle_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1044coders_rle_la_LIBADD       = $(MAGICKCORE_LIBS)
1045
1046# SCT coder module
1047coders_sct_la_SOURCES      = coders/sct.c
1048coders_sct_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1049coders_sct_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1050coders_sct_la_LIBADD       = $(MAGICKCORE_LIBS)
1051
1052# SFW coder module
1053coders_sfw_la_SOURCES      = coders/sfw.c
1054coders_sfw_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1055coders_sfw_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1056coders_sfw_la_LIBADD       = $(MAGICKCORE_LIBS)
1057
1058# SGI coder module
1059coders_sgi_la_SOURCES      = coders/sgi.c
1060coders_sgi_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1061coders_sgi_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1062coders_sgi_la_LIBADD       = $(MAGICKCORE_LIBS)
1063
1064# SIXEL coder module
1065coders_sixel_la_SOURCES    = coders/sixel.c
1066coders_sixel_la_CPPFLAGS   = $(MAGICK_CODER_CPPFLAGS)
1067coders_sixel_la_LDFLAGS    = $(MODULECOMMONFLAGS)
1068coders_sixel_la_LIBADD     = $(MAGICKCORE_LIBS)
1069
1070# STEGANO coder module
1071coders_stegano_la_SOURCES  = coders/stegano.c
1072coders_stegano_la_CPPFLAGS = $(MAGICK_CODER_CPPFLAGS)
1073coders_stegano_la_LDFLAGS  = $(MODULECOMMONFLAGS)
1074coders_stegano_la_LIBADD   = $(MAGICKCORE_LIBS)
1075
1076# SUN coder module
1077coders_sun_la_SOURCES      = coders/sun.c
1078coders_sun_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1079coders_sun_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1080coders_sun_la_LIBADD       = $(MAGICKCORE_LIBS)
1081
1082# SCR coder module
1083coders_scr_la_SOURCES      = coders/scr.c
1084coders_scr_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1085coders_scr_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1086coders_scr_la_LIBADD       = $(MAGICKCORE_LIBS)
1087
1088# SVG coder module
1089coders_svg_la_SOURCES      = coders/svg.c
1090coders_svg_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS) $(RSVG_CFLAGS) $(CAIRO_SVG_CFLAGS)
1091coders_svg_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1092coders_svg_la_LIBADD       = $(MAGICKCORE_LIBS) $(AUTOTRACE_LIBS) $(RSVG_LIBS) $(XML_LIBS) $(LZMA_LIBS) $(ZLIB_LIBS) $(MATH_LIBS)
1093
1094# TGA coder module
1095coders_tga_la_SOURCES      = coders/tga.c
1096coders_tga_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1097coders_tga_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1098coders_tga_la_LIBADD       = $(MAGICKCORE_LIBS)
1099
1100# THUMBNAIL coder module
1101coders_thumbnail_la_SOURCES= coders/thumbnail.c
1102coders_thumbnail_la_CPPFLAGS= $(MAGICK_CODER_CPPFLAGS)
1103coders_thumbnail_la_LDFLAGS= $(MODULECOMMONFLAGS)
1104coders_thumbnail_la_LIBADD = $(MAGICKCORE_LIBS)
1105
1106# TIFF coder module
1107coders_tiff_la_SOURCES     = coders/tiff.c coders/psd.c coders/psd-private.h
1108coders_tiff_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
1109coders_tiff_la_LDFLAGS     = $(MODULECOMMONFLAGS)
1110coders_tiff_la_LIBADD      = $(MAGICKCORE_LIBS) $(TIFF_LIBS) $(JBIG_LIBS) $(JPEG_LIBS) $(LZMA_LIBS) $(ZLIB_LIBS) $(ZSTD_LIBS) $(WEBPMUX_LIBS) $(WEBP_LIBS) $(MATH_LIBS)
1111
1112# TILE coder module
1113coders_tile_la_SOURCES     = coders/tile.c
1114coders_tile_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
1115coders_tile_la_LDFLAGS     = $(MODULECOMMONFLAGS)
1116coders_tile_la_LIBADD      = $(MAGICKCORE_LIBS)
1117
1118# TIM coder module
1119coders_tim_la_SOURCES      = coders/tim.c
1120coders_tim_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1121coders_tim_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1122coders_tim_la_LIBADD       = $(MAGICKCORE_LIBS)
1123
1124# TTF coder module
1125coders_ttf_la_SOURCES      = coders/ttf.c
1126coders_ttf_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1127coders_ttf_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1128coders_ttf_la_LIBADD       = $(MAGICKCORE_LIBS)
1129
1130# TXT coder module
1131coders_txt_la_SOURCES      = coders/txt.c
1132coders_txt_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1133coders_txt_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1134coders_txt_la_LIBADD       = $(MAGICKCORE_LIBS) $(MATH_LIBS)
1135
1136# UIL coder module
1137coders_uil_la_SOURCES      = coders/uil.c
1138coders_uil_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1139coders_uil_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1140coders_uil_la_LIBADD       = $(MAGICKCORE_LIBS)
1141
1142# URL coder module
1143coders_url_la_SOURCES      = coders/url.c
1144coders_url_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1145coders_url_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1146coders_url_la_LIBADD       = $(MAGICKCORE_LIBS) $(XML_LIBS) $(LZMA_LIBS) $(ZLIB_LIBS) $(MATH_LIBS)
1147
1148# UYVY coder module
1149coders_uyvy_la_SOURCES     = coders/uyvy.c
1150coders_uyvy_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
1151coders_uyvy_la_LDFLAGS     = $(MODULECOMMONFLAGS)
1152coders_uyvy_la_LIBADD      = $(MAGICKCORE_LIBS)
1153
1154# VICAR coder module
1155coders_vicar_la_SOURCES    = coders/vicar.c
1156coders_vicar_la_CPPFLAGS   = $(MAGICK_CODER_CPPFLAGS)
1157coders_vicar_la_LDFLAGS    = $(MODULECOMMONFLAGS)
1158coders_vicar_la_LIBADD     = $(MAGICKCORE_LIBS)
1159
1160# VID coder module
1161coders_vid_la_SOURCES      = coders/vid.c
1162coders_vid_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1163coders_vid_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1164coders_vid_la_LIBADD       = $(MAGICKCORE_LIBS)
1165
1166# VIFF coder module
1167coders_viff_la_SOURCES     = coders/viff.c
1168coders_viff_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
1169coders_viff_la_LDFLAGS     = $(MODULECOMMONFLAGS)
1170coders_viff_la_LIBADD      = $(MAGICKCORE_LIBS)
1171
1172# VIPS coder module
1173coders_vips_la_SOURCES     = coders/vips.c
1174coders_vips_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
1175coders_vips_la_LDFLAGS     = $(MODULECOMMONFLAGS)
1176coders_vips_la_LIBADD      = $(MAGICKCORE_LIBS)
1177
1178# WBMP coder module
1179coders_wbmp_la_SOURCES     = coders/wbmp.c
1180coders_wbmp_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
1181coders_wbmp_la_LDFLAGS     = $(MODULECOMMONFLAGS)
1182coders_wbmp_la_LIBADD      = $(MAGICKCORE_LIBS)
1183
1184# WEBP coder module
1185coders_webp_la_SOURCES     = coders/webp.c
1186coders_webp_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
1187coders_webp_la_LDFLAGS     = $(MODULECOMMONFLAGS)
1188coders_webp_la_LIBADD      = $(MAGICKCORE_LIBS) $(WEBPMUX_LIBS) $(WEBP_LIBS) $(MATH_LIBS)
1189
1190# WMF coder module
1191coders_wmf_la_SOURCES      = coders/wmf.c
1192coders_wmf_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1193coders_wmf_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1194coders_wmf_la_LIBADD       = $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS) $(WMF_LIBS) $(MATH_LIBS)
1195
1196# WPG coder module
1197coders_wpg_la_SOURCES      = coders/wpg.c
1198coders_wpg_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1199coders_wpg_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1200coders_wpg_la_LIBADD       = $(MAGICKCORE_LIBS)
1201
1202# X coder module
1203coders_x_la_SOURCES        = coders/x.c
1204coders_x_la_CPPFLAGS       = $(MAGICK_CODER_CPPFLAGS)
1205coders_x_la_LDFLAGS        = $(MODULECOMMONFLAGS)
1206coders_x_la_LIBADD         = $(MAGICKCORE_LIBS) $(X11_LIBS)
1207
1208# XBM coder module
1209coders_xbm_la_SOURCES      = coders/xbm.c
1210coders_xbm_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1211coders_xbm_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1212coders_xbm_la_LIBADD       = $(MAGICKCORE_LIBS)
1213
1214# XC coder module
1215coders_xc_la_SOURCES       = coders/xc.c
1216coders_xc_la_CPPFLAGS      = $(MAGICK_CODER_CPPFLAGS)
1217coders_xc_la_LDFLAGS       = $(MODULECOMMONFLAGS)
1218coders_xc_la_LIBADD        = $(MAGICKCORE_LIBS)
1219
1220# XCF coder module
1221coders_xcf_la_SOURCES      = coders/xcf.c
1222coders_xcf_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1223coders_xcf_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1224coders_xcf_la_LIBADD       = $(MAGICKCORE_LIBS)
1225
1226# XPM coder module
1227coders_xpm_la_SOURCES      = coders/xpm.c
1228coders_xpm_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1229coders_xpm_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1230coders_xpm_la_LIBADD       = $(MAGICKCORE_LIBS)
1231
1232# XPS coder module
1233coders_xps_la_SOURCES      = coders/xps.c
1234coders_xps_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1235coders_xps_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1236coders_xps_la_LIBADD       = $(MAGICKCORE_LIBS) $(MUPDF_LIBS) $(FREETYPE_LIBS) $(MATH_LIBS)
1237
1238# XPS coder module
1239coders_xtrn_la_SOURCES     = coders/xtrn.c
1240coders_xtrn_la_CPPFLAGS    = $(MAGICK_CODER_CPPFLAGS)
1241coders_xtrn_la_LDFLAGS     = $(MODULECOMMONFLAGS)
1242coders_xtrn_la_LIBADD      = $(MAGICKCORE_LIBS) $(OLE_LIBS)
1243
1244# XWD coder module
1245coders_xwd_la_SOURCES      = coders/xwd.c
1246coders_xwd_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1247coders_xwd_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1248coders_xwd_la_LIBADD       = $(MAGICKCORE_LIBS) $(X11_LIBS)
1249
1250# YCBCR coder module
1251coders_ycbcr_la_SOURCES    = coders/ycbcr.c
1252coders_ycbcr_la_CPPFLAGS   = $(MAGICK_CODER_CPPFLAGS)
1253coders_ycbcr_la_LDFLAGS    = $(MODULECOMMONFLAGS)
1254coders_ycbcr_la_LIBADD     = $(MAGICKCORE_LIBS)
1255
1256# YUV coder module
1257coders_yuv_la_SOURCES      = coders/yuv.c
1258coders_yuv_la_CPPFLAGS     = $(MAGICK_CODER_CPPFLAGS)
1259coders_yuv_la_LDFLAGS      = $(MODULECOMMONFLAGS)
1260coders_yuv_la_LIBADD       = $(MAGICKCORE_LIBS)
1261