-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathMakefile
More file actions
212 lines (193 loc) · 5 KB
/
Makefile
File metadata and controls
212 lines (193 loc) · 5 KB
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
TOP = ../../..
include $(TOP)/configure/CONFIG
ifeq ($(WITH_GRAPHICSMAGICK),YES)
ifeq ($(GRAPHICSMAGICK_EXTERNAL),NO)
LIBRARY = coders
ifeq (windows-x64, $(findstring windows-x64, $(T_A)))
USR_CFLAGS_WIN32 += -DWIN64
endif
ifeq (win32-x86, $(findstring win32-x86, $(T_A)))
USR_CFLAGS_WIN32 += -DWIN32
endif
USR_CFLAGS_WIN32 += -D_VISUALC_
ifeq ($(SHARED_LIBRARIES),YES)
USR_CFLAGS_WIN32 += -D_DLL
else
USR_CFLAGS_WIN32 += -D_LIB
USR_CFLAGS += -DLIBXML_STATIC
endif
USR_CFLAGS += -DHAVE_VSNPRINTF
ifeq ($(GRAPHICSMAGICK_PREFIX_SYMBOLS),YES)
USR_CFLAGS += -DPREFIX_MAGICK_SYMBOLS
endif
USR_INCLUDES += -I$(TOP)/supportApp/GraphicsMagickSrc
USR_INCLUDES += -I$(TOP)/supportApp/GraphicsMagickSrc/jbig/libjbig
USR_INCLUDES += -I$(TOP)/supportApp/GraphicsMagickSrc/jp2/src/libjasper/include
USR_INCLUDES += -I$(TOP)/supportApp/GraphicsMagickSrc/bzlib
USR_INCLUDES += -I$(TOP)/supportApp/GraphicsMagickSrc/png
USR_INCLUDES += -I$(TOP)/supportApp/GraphicsMagickSrc/webp/src
USR_INCLUDES += -I$(TOP)/supportApp/GraphicsMagickSrc/ttf/include
USR_INCLUDES += -I$(TOP)/supportApp/GraphicsMagickSrc/wmf/include
INC += static.h
LIB_SRCS += art.c
LIB_SRCS += avi.c
LIB_SRCS += avs.c
LIB_SRCS += bmp.c
LIB_SRCS += cals.c
LIB_SRCS += caption.c
LIB_SRCS += cineon.c
LIB_SRCS += clipboard.c
LIB_SRCS += cmyk.c
LIB_SRCS += cut.c
LIB_SRCS += dcm.c
LIB_SRCS += dcraw.c
LIB_SRCS += dib.c
LIB_SRCS += dps.c
LIB_SRCS += dpx.c
LIB_SRCS += emf.c
LIB_SRCS += ept.c
LIB_SRCS += fax.c
LIB_SRCS += fits.c
LIB_SRCS += fpx.c
LIB_SRCS += gif.c
LIB_SRCS += gradient.c
LIB_SRCS += gray.c
LIB_SRCS += hdf.c
LIB_SRCS += histogram.c
LIB_SRCS += hrz.c
LIB_SRCS += html.c
LIB_SRCS += icon.c
LIB_SRCS += identity.c
LIB_SRCS += info.c
LIB_SRCS += jbig.c
LIB_SRCS += jnx.c
LIB_SRCS += jp2.c
LIB_SRCS += jpeg.c
LIB_SRCS += label.c
LIB_SRCS += locale.c
LIB_SRCS += logo.c
LIB_SRCS += mac.c
LIB_SRCS += map.c
LIB_SRCS += mat.c
LIB_SRCS += matte.c
LIB_SRCS += meta.c
LIB_SRCS += miff.c
LIB_SRCS += mono.c
LIB_SRCS += mpc.c
LIB_SRCS += mpeg.c
LIB_SRCS += mpr.c
LIB_SRCS += msl.c
LIB_SRCS += mtv.c
LIB_SRCS += mvg.c
LIB_SRCS += null.c
LIB_SRCS += otb.c
LIB_SRCS += palm.c
LIB_SRCS += pcd.c
LIB_SRCS += pcl.c
LIB_SRCS += pcx.c
LIB_SRCS += pdb.c
LIB_SRCS += pdf.c
LIB_SRCS += pict.c
LIB_SRCS += pix.c
LIB_SRCS += plasma.c
LIB_SRCS += png.c
LIB_SRCS += pnm.c
LIB_SRCS += preview.c
LIB_SRCS += ps.c
LIB_SRCS += ps2.c
LIB_SRCS += ps3.c
LIB_SRCS += psd.c
LIB_SRCS += pwp.c
LIB_SRCS += rgb.c
LIB_SRCS += rla.c
LIB_SRCS += rle.c
LIB_SRCS += sct.c
LIB_SRCS += sfw.c
LIB_SRCS += sgi.c
LIB_SRCS += stegano.c
LIB_SRCS += sun.c
LIB_SRCS += svg.c
LIB_SRCS += tga.c
LIB_SRCS += tiff.c
LIB_SRCS += tile.c
LIB_SRCS += tim.c
LIB_SRCS += topol.c
LIB_SRCS += ttf.c
LIB_SRCS += txt.c
LIB_SRCS += uil.c
LIB_SRCS += url.c
LIB_SRCS += uyvy.c
LIB_SRCS += vicar.c
LIB_SRCS += vid.c
LIB_SRCS += viff.c
LIB_SRCS += wbmp.c
LIB_SRCS += webp.c
LIB_SRCS += wmf.c
LIB_SRCS += wpg.c
LIB_SRCS += x.c
LIB_SRCS += xbm.c
LIB_SRCS += xc.c
LIB_SRCS += xcf.c
LIB_SRCS += xpm.c
LIB_SRCS += xtrn.c
LIB_SRCS += xwd.c
LIB_SRCS += yuv.c
LIB_SRCS += static.c
LIB_LIBS += bzlib jbig jp2 Magick png ttf webp wmf
ifeq ($(TIFF_EXTERNAL), NO)
LIB_LIBS += tiff
else
ifdef TIFF_INCLUDE
USR_INCLUDES += $(addprefix -I, $(TIFF_INCLUDE))
endif
ifdef TIFF_LIB
jpeg_DIR = $(TIFF_LIB)
LIB_LIBS += tiff
else
LIB_SYS_LIBS += tiff
endif
endif
ifeq ($(JPEG_EXTERNAL), NO)
LIB_LIBS += jpeg
else
ifdef JPEG_INCLUDE
USR_INCLUDES += $(addprefix -I, $(JPEG_INCLUDE))
endif
ifdef JPEG_LIB
jpeg_DIR = $(JPEG_LIB)
LIB_LIBS += jpeg
else
LIB_SYS_LIBS += jpeg
endif
endif
ifeq ($(XML2_EXTERNAL), NO)
LIB_LIBS += xml2
else
ifdef XML2_INCLUDE
USR_INCLUDES += $(addprefix -I, $(XML2_INCLUDE))
endif
ifdef XML2_LIB
xml2_DIR = $(XML2_LIB)
LIB_LIBS += xml2
else
LIB_SYS_LIBS += xml2
endif
endif
LIB_LIBS += nanohttp_stream
ifeq ($(ZLIB_EXTERNAL),NO)
LIB_LIBS += zlib
else
ifdef ZLIB_INCLUDE
USR_INCLUDES += $(addprefix -I, $(ZLIB_INCLUDE))
endif
ifdef ZLIB_LIB
z_DIR = $(ZLIB_LIB)
LIB_LIBS += z
else
LIB_SYS_LIBS += z
endif
endif
LIB_SYS_LIBS_WIN32 += user32 gdi32 oleaut32
endif # ($(GRAPHICSMAGICK_EXTERNAL),NO)
endif # ($(WITH_GRAPHICSMAGICK),YES)
include $(TOP)/configure/RULES