]> granicus.if.org Git - imagemagick/blob - magick/Makefile.am
Remove previous geometry changes
[imagemagick] / magick / Makefile.am
1 #  Copyright 1999-2010 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 #    http://www.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 the MagickCore API.
16
17
18 magickincdir = $(topincludedir)/magick
19
20 # Headers which are installed
21 magickinc_HEADERS = \
22         $(MAGICK_INCLUDE_HDRS)
23
24 MAGICK_BIN_SCRPTS = \
25   magick/Magick-config \
26   magick/MagickCore-config
27
28 MAGICK_PKGCONFIG = \
29   magick/ImageMagick.pc \
30   magick/MagickCore.pc
31
32 OSX_GCOV_LDFLAG = @OSX_GCOV_LDFLAG@
33
34 MAGICK_MANS = \
35   magick/Magick-config.1 \
36   magick/MagickCore-config.1
37
38 MAGICKCORE_LIBS = magick/libMagickCore.la
39
40 if WITH_MODULES
41 magick_libMagickCore_la_SOURCES = $(MAGICK_BASE_SRCS) $(MAGICK_PLATFORM_SRCS)
42 magick_libMagickCore_la_LIBADD = $(MAGICK_DEP_LIBS) $(MAGICK_LIBLTDL)
43 else
44 magick_libMagickCore_la_SOURCES = $(MAGICK_BASE_SRCS) $(MAGICK_PLATFORM_SRCS) $(MAGICK_CODER_SRCS) $(MAGICK_FILTER_SRCS)
45 magick_libMagickCore_la_LIBADD = $(MAGICK_DEP_LIBS) $(MAGICK_LIBLTDL)
46 endif # WITH_MODULES
47 magick_libMagickCore_la_CPPFLAGS = -I$(top_builddir)/ltdl -I$(top_srcdir)/ltdl $(LIBRARY_EXTRA_CPPFLAGS)
48 magick_libMagickCore_la_LDFLAGS = -no-undefined -export-symbols-regex ".*" \
49   $(OSX_GCOV_LDFLAG) -version-info \
50   $(MAGICK_LIBRARY_CURRENT):$(MAGICK_LIBRARY_REVISION):$(MAGICK_LIBRARY_AGE)
51 magick_libMagickCore_la_DEPENDENCIES = $(MAGICK_LTDLDEPS)
52
53 # Library base sources
54 MAGICK_BASE_SRCS = \
55         magick/ImageMagick.h \
56         magick/MagickCore.h \
57         magick/accelerate.c \
58         magick/accelerate.h \
59         magick/animate.c \
60         magick/animate.h \
61         magick/animate-private.h \
62         magick/annotate.c \
63         magick/annotate.h \
64         magick/api.h \
65         magick/artifact.c \
66         magick/artifact.h \
67         magick/attribute.c \
68         magick/attribute.h \
69         magick/blob.c \
70         magick/blob.h \
71         magick/blob-private.h \
72         magick/cache.c \
73         magick/cache.h \
74         magick/cache-private.h \
75         magick/cache-view.c \
76         magick/cache-view.h \
77         magick/cipher.c \
78         magick/cipher.h \
79         magick/client.c \
80         magick/client.h \
81         magick/coder.c \
82         magick/coder.h \
83         magick/color.c \
84         magick/color.h \
85         magick/color-private.h \
86         magick/colormap.c \
87         magick/colormap.h \
88         magick/colormap-private.h \
89         magick/colorspace.c \
90         magick/colorspace.h \
91         magick/colorspace-private.h \
92         magick/compare.c \
93         magick/compare.h \
94         magick/composite.c \
95         magick/composite.h \
96         magick/composite-private.h \
97         magick/compress.c \
98         magick/compress.h \
99         magick/configure.c \
100         magick/configure.h \
101         magick/constitute.c \
102         magick/constitute.h \
103         magick/decorate.c \
104         magick/decorate.h \
105         magick/delegate.c \
106         magick/delegate.h \
107         magick/delegate-private.h \
108         magick/deprecate.c \
109         magick/deprecate.h \
110         magick/display.c \
111         magick/display.h \
112         magick/display-private.h \
113         magick/distort.c \
114         magick/distort.h \
115         magick/draw.c \
116         magick/draw.h \
117         magick/draw-private.h \
118         magick/effect.c \
119         magick/effect.h \
120         magick/enhance.c \
121         magick/enhance.h \
122         magick/exception.c \
123         magick/exception.h \
124         magick/exception-private.h \
125         magick/feature.c \
126         magick/feature.h \
127         magick/fourier.c \
128         magick/fourier.h \
129         magick/fx.c \
130         magick/fx.h \
131         magick/fx-private.h \
132         magick/gem.c \
133         magick/gem.h \
134         magick/geometry.c \
135         magick/geometry.h \
136         magick/hashmap.c \
137         magick/hashmap.h \
138         magick/histogram.c \
139         magick/histogram.h \
140         magick/identify.c \
141         magick/identify.h \
142         magick/image.c \
143         magick/image.h \
144         magick/image-private.h \
145         magick/layer.c \
146         magick/layer.h \
147         magick/list.c \
148         magick/list.h \
149         magick/locale.c \
150         magick/locale_.h \
151         magick/log.c \
152         magick/log.h \
153         magick/mac.h \
154         magick/magic.c \
155         magick/magic.h \
156         magick/magick.c \
157         magick/magick-config.h \
158         magick/magick-type.h \
159         magick/magick.h \
160         magick/matrix.c \
161         magick/matrix.h \
162         magick/memory.c \
163         magick/memory_.h \
164         magick/methods.h \
165         magick/mime.c \
166         magick/mime.h \
167         magick/module.c \
168         magick/module.h \
169         magick/monitor.c \
170         magick/monitor.h \
171         magick/monitor-private.h \
172         magick/montage.c \
173         magick/montage.h \
174         magick/morphology.c \
175         magick/morphology.h \
176         magick/morphology-private.h \
177         magick/nt-base.h \
178         magick/nt-feature.h \
179         magick/option.c \
180         magick/option.h \
181         magick/paint.c \
182         magick/paint.h \
183         magick/pixel.c \
184         magick/pixel.h \
185         magick/pixel-private.h \
186         magick/policy.c \
187         magick/policy.h \
188         magick/PreRvIcccm.c \
189         magick/PreRvIcccm.h \
190         magick/prepress.c \
191         magick/prepress.h \
192         magick/property.c \
193         magick/property.h \
194         magick/profile.c \
195         magick/profile.h \
196         magick/quantize.c \
197         magick/quantize.h \
198         magick/quantum.c \
199         magick/quantum.h \
200         magick/quantum-export.c \
201         magick/quantum-import.c \
202         magick/quantum-private.h \
203         magick/random.c \
204         magick/random_.h \
205         magick/random-private.h \
206         magick/registry.c \
207         magick/registry.h \
208         magick/resample.c \
209         magick/resample.h \
210         magick/resample-private.h \
211         magick/resize.c \
212         magick/resize.h \
213         magick/resize-private.h \
214         magick/resource.c \
215         magick/resource_.h \
216         magick/segment.c \
217         magick/segment.h \
218         magick/semaphore.c \
219         magick/semaphore.h \
220         magick/shear.c \
221         magick/shear.h \
222         magick/signature.c \
223         magick/signature.h \
224         magick/signature-private.h \
225         magick/splay-tree.c \
226         magick/splay-tree.h \
227         magick/static.c \
228         magick/static.h \
229         magick/statistic.c \
230         magick/statistic.h \
231         magick/stream.c \
232         magick/stream.h \
233         magick/stream-private.h \
234         magick/string.c \
235         magick/string_.h \
236         magick/string-private.h \
237         magick/studio.h \
238         magick/thread.c \
239         magick/thread_.h \
240         magick/thread-private.h \
241         magick/timer.c \
242         magick/timer.h \
243         magick/token.c \
244         magick/token.h \
245         magick/token-private.h \
246         magick/transform.c \
247         magick/transform.h \
248         magick/threshold.c \
249         magick/threshold.h \
250         magick/type.c \
251         magick/type.h \
252         magick/utility.c \
253         magick/utility.h \
254         magick/version.c \
255         magick/version.h \
256         magick/vms.h \
257         magick/widget.c \
258         magick/widget.h \
259         magick/xml-tree.c \
260         magick/xml-tree.h \
261         magick/xwindow.c \
262         magick/xwindow.h 
263
264 if WIN32_NATIVE_BUILD
265 MAGICK_PLATFORM_SRCS = \
266         magick/nt-base.c \
267         magick/nt-base.h \
268         magick/nt-feature.c \
269         magick/nt-feature.h
270 else
271 if CYGWIN_BUILD
272 MAGICK_PLATFORM_SRCS = \
273         magick/nt-feature.c \
274         magick/nt-feature.h
275 else
276 MAGICK_PLATFORM_SRCS =
277 endif # if CYGWIN_BUILD
278 endif # if WIN32_NATIVE_BUILD
279
280 MAGICK_INCLUDE_HDRS = \
281         magick/ImageMagick.h \
282         magick/MagickCore.h \
283         magick/PreRvIcccm.h \
284         magick/accelerate.h \
285         magick/animate.h \
286         magick/annotate.h \
287         magick/api.h \
288         magick/artifact.h \
289         magick/attribute.h \
290         magick/blob.h \
291         magick/cache.h \
292         magick/cache-view.h \
293         magick/cipher.h \
294         magick/client.h \
295         magick/coder.h \
296         magick/color.h \
297         magick/colormap.h \
298         magick/colorspace.h \
299         magick/compare.h \
300         magick/composite.h \
301         magick/compress.h \
302         magick/configure.h \
303         magick/constitute.h \
304         magick/decorate.h \
305         magick/delegate.h \
306         magick/deprecate.h \
307         magick/display.h \
308         magick/distort.h \
309         magick/draw.h \
310         magick/effect.h \
311         magick/enhance.h \
312         magick/exception.h \
313         magick/feature.h \
314         magick/fourier.h \
315         magick/fx.h \
316         magick/gem.h \
317         magick/geometry.h \
318         magick/hashmap.h \
319         magick/histogram.h \
320         magick/identify.h \
321         magick/image.h \
322         magick/layer.h \
323         magick/list.h \
324         magick/locale_.h \
325         magick/log.h \
326         magick/magic.h \
327         magick/magick.h \
328         magick/magick-config.h \
329         magick/magick-type.h \
330         magick/matrix.h \
331         magick/memory_.h \
332         magick/methods.h \
333         magick/mime.h \
334         magick/module.h \
335         magick/monitor.h \
336         magick/montage.h \
337         magick/morphology.h \
338         magick/option.h \
339         magick/paint.h \
340         magick/pixel.h \
341         magick/policy.h \
342         magick/prepress.h \
343         magick/profile.h \
344         magick/property.h \
345         magick/quantize.h \
346         magick/quantum.h \
347         magick/random_.h \
348         magick/registry.h \
349         magick/resample.h \
350         magick/resize.h \
351         magick/resource_.h \
352         magick/segment.h \
353         magick/semaphore.h \
354         magick/shear.h \
355         magick/signature.h \
356         magick/splay-tree.h \
357         magick/statistic.h \
358         magick/stream.h \
359         magick/string_.h \
360         magick/timer.h \
361         magick/token.h \
362         magick/transform.h \
363         magick/threshold.h \
364         magick/type.h \
365         magick/utility.h \
366         magick/version.h \
367         magick/widget.h \
368         magick/xml-tree.h \
369         magick/xwindow.h
370
371 MAGICK_NOINST_HDRS = \
372         magick/animate-private.h \
373         magick/blob-private.h \
374         magick/cache-private.h \
375         magick/color-private.h \
376         magick/colormap-private.h \
377         magick/colorspace-private.h \
378         magick/composite-private.h \
379         magick/delegate-private.h \
380         magick/display-private.h \
381         magick/draw-private.h \
382         magick/exception-private.h \
383         magick/fx-private.h \
384         magick/image-private.h \
385         magick/mac.h \
386         magick/mime-private.h \
387         magick/monitor-private.h \
388         magick/morphology-private.h \
389         magick/nt-base.h \
390         magick/nt-feature.h \
391         magick/pixel-private.h \
392         magick/quantum-private.h \
393         magick/random-private.h \
394         magick/resample-private.h \
395         magick/resize-private.h \
396         magick/signature-private.h \
397         magick/static.h \
398         magick/stream-private.h \
399         magick/string-private.h \
400         magick/studio.h \
401         magick/thread_.h \
402         magick/thread-private.h \
403         magick/token-private.h \
404         magick/xwindow-private.h \
405         magick/vms.h
406
407 MAGICK_EXTRA_DIST = \
408         magick/Magick-config.in \
409         magick/MagickCore-config.in \
410         $(MAGICK_MANS) \
411         magick/ImageMagick.pc.in \
412         magick/MagickCore.pc.in \
413         magick/Make.com \
414         magick/config.h_vms \
415         magick/mac.c \
416         magick/nt-base.c \
417         magick/nt-feature.c \
418         magick/vms.c \
419         magick/xwdfile.h_vms 
420
421 # Install magick-config.h
422 MAGICK_INSTALL_DATA_LOCAL_TARGETS = magick-install-data-local
423 magick-install-data-local:
424         $(mkinstalldirs) $(DESTDIR)$(magickincdir)
425         $(INSTALL_HEADER) magick/magick-config.h $(DESTDIR)$(magickincdir)/magick-config.h
426
427 # Uninstall magick-config.h
428 MAGICK_UNINSTALL_LOCAL_TARGETS = magick-uninstall-local
429 magick-uninstall-local:
430         rm -f $(DESTDIR)$(magickincdir)/magick-config.h
431