]> granicus.if.org Git - imagemagick/blob - wand/Makefile.am
(no commit message)
[imagemagick] / wand / Makefile.am
1 #  Copyright 1999-2009 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 #  Copyright (C) 2003 - 2008 GraphicsMagick Group
16 #
17 #  Makefile for building MagickWand API.
18 #
19
20 wandincdir = $(topincludedir)/wand
21
22 WAND_SOURCES = \
23         wand/MagickWand.h \
24   wand/animate.c \
25         wand/animate.h \
26   wand/compare.c \
27         wand/compare.h \
28   wand/composite.c \
29         wand/composite.h \
30   wand/conjure.c \
31         wand/conjure.h \
32   wand/convert.c \
33         wand/convert.h \
34         wand/deprecate.h \
35         wand/deprecate.c \
36   wand/display.c \
37         wand/display.h \
38   wand/drawing-wand.c \
39         wand/drawing-wand.h \
40   wand/identify.c \
41         wand/identify.h \
42   wand/import.c \
43         wand/import.h \
44         wand/magick-image.c \
45         wand/magick-image.h \
46         wand/magick-property.c \
47         wand/magick-property.h \
48         wand/magick-wand.c \
49         wand/magick-wand.h \
50         wand/magick-wand-private.h \
51   wand/mogrify.c \
52         wand/mogrify.h \
53         wand/mogrify-private.h \
54   wand/montage.c \
55         wand/montage.h \
56         wand/pixel-iterator.c \
57         wand/pixel-iterator.h \
58         wand/pixel-view.c \
59         wand/pixel-view.h \
60         wand/pixel-wand.c \
61         wand/pixel-wand.h \
62         wand/pixel-wand-private.h \
63         wand/stream.c \
64         wand/stream.h \
65         wand/studio.h \
66         wand/wand.c \
67         wand/wand.h
68
69 WAND_INCLUDE_HDRS = \
70         wand/MagickWand.h \
71         wand/animate.h \
72         wand/compare.h \
73         wand/composite.h \
74         wand/conjure.h \
75         wand/convert.h \
76         wand/deprecate.h \
77         wand/display.h \
78         wand/drawing-wand.h \
79         wand/identify.h \
80         wand/import.h \
81         wand/magick-image.h \
82         wand/magick-property.h \
83         wand/magick-wand.h \
84         wand/magick_wand.h \
85         wand/mogrify.h \
86         wand/montage.h \
87         wand/pixel-iterator.h \
88         wand/pixel-view.h \
89         wand/pixel-wand.h \
90         wand/stream.h
91
92 WAND_NOINST_HDRS = \
93   wand/mogrify-private.h \
94   wand/magick-wand-private.h \
95   wand/pixel-wand-private.h \
96   wand/studio.h \
97   wand/wand.h
98
99 # Headers which are installed
100 wandinc_HEADERS = \
101         $(WAND_INCLUDE_HDRS)
102
103 WAND_BIN_SCRPTS = \
104         wand/Wand-config \
105         wand/MagickWand-config
106
107 WAND_PKGCONFIG = \
108         wand/MagickWand.pc \
109         wand/Wand.pc
110
111 WAND_MANS = \
112         wand/MagickWand-config.1 \
113         wand/Wand-config.1
114
115 WAND_BUILT_SRCS = 
116
117 MAGICKWAND_LIBS = wand/libMagickWand.la
118
119 wand_libMagickWand_la_SOURCES = $(WAND_SOURCES)
120 wand_libMagickWand_la_CPPFLAGS = $(LIBRARY_EXTRA_CPPFLAGS)
121 wand_libMagickWand_la_LDFLAGS = -no-undefined -export-symbols-regex ".*" \
122   -version-info \
123   $(MAGICK_LIBRARY_CURRENT):$(MAGICK_LIBRARY_REVISION):$(MAGICK_LIBRARY_AGE)
124 wand_libMagickWand_la_LIBADD = $(MAGICKCORE_LIBS) $(X11_LIBS) $(GOMP_LIBS) $(MATH_LIBS)
125
126 WAND_EXTRA_DIST = \
127         wand/ChangeLog \
128         wand/input_256c.miff \
129         wand/input_bilevel.miff \
130         wand/input_gray.miff \
131         wand/input_truecolor.miff \
132   wand/MagickWand-config.1 \
133         wand/MagickWand.pc.in \
134         wand/sequence.miff \
135   wand/Wand-config.1 \
136         wand/Wand.pc.in  \
137         wand/common.sh \
138         $(WAND_TESTS)
139
140 wand_drawtest_SOURCES      = wand/drawtest.c
141 wand_drawtest_LDFLAGS      = $(LDFLAGS)
142 wand_drawtest_LDADD        = $(MAGICKWAND_LIBS)
143
144 wand_wandtest_SOURCES      = wand/wandtest.c
145 wand_wandtest_LDFLAGS      = $(LDFLAGS)
146 wand_wandtest_LDADD        = $(MAGICKWAND_LIBS)
147
148 WAND_CHECK_PGRMS = \
149         wand/drawtest \
150         wand/wandtest
151
152 WAND_TESTS = \
153         wand/drawtest.sh \
154         wand/wandtest.sh
155
156 WAND_CLEANFILES = \
157         wand/*_out.*