• 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#    http://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 MagickWand API.
16#
17
18MagickWandincdir = $(INCLUDE_PATH)/MagickWand
19
20MAGICKWAND_CPPFLAGS = $(AM_CPPFLAGS)
21
22MAGICKWAND_SOURCES = \
23	MagickWand/MagickWand.h \
24	MagickWand/animate.c \
25	MagickWand/animate.h \
26	MagickWand/compare.c \
27	MagickWand/compare.h \
28	MagickWand/composite.c \
29	MagickWand/composite.h \
30	MagickWand/conjure.c \
31	MagickWand/conjure.h \
32	MagickWand/convert.c \
33	MagickWand/convert.h \
34	MagickWand/deprecate.h \
35	MagickWand/deprecate.c \
36	MagickWand/display.c \
37	MagickWand/display.h \
38	MagickWand/drawing-wand.c \
39	MagickWand/drawing-wand.h \
40	MagickWand/identify.c \
41	MagickWand/identify.h \
42	MagickWand/import.c \
43	MagickWand/import.h \
44	MagickWand/magick-cli.c \
45	MagickWand/magick-cli.h \
46	MagickWand/magick-image.c \
47	MagickWand/magick-image.h \
48	MagickWand/magick-property.c \
49	MagickWand/magick-property.h \
50	MagickWand/magick-wand.c \
51	MagickWand/magick-wand-private.h \
52	MagickWand/method-attribute.h \
53	MagickWand/mogrify.c \
54	MagickWand/mogrify.h \
55	MagickWand/mogrify-private.h \
56	MagickWand/montage.c \
57	MagickWand/montage.h \
58	MagickWand/operation.c \
59	MagickWand/operation.h \
60	MagickWand/operation-private.h \
61	MagickWand/pixel-iterator.c \
62	MagickWand/pixel-iterator.h \
63	MagickWand/pixel-wand.c \
64	MagickWand/pixel-wand.h \
65	MagickWand/pixel-wand-private.h \
66	MagickWand/script-token.c \
67	MagickWand/script-token.h \
68	MagickWand/stream.c \
69	MagickWand/stream.h \
70	MagickWand/studio.h \
71	MagickWand/wand.c \
72	MagickWand/wand.h \
73	MagickWand/wandcli.c \
74	MagickWand/wandcli.h \
75	MagickWand/wandcli-private.h \
76	MagickWand/wand-view.c \
77	MagickWand/wand-view.h
78
79MAGICKWAND_INCLUDE_HDRS = \
80	MagickWand/MagickWand.h \
81	MagickWand/animate.h \
82	MagickWand/compare.h \
83	MagickWand/composite.h \
84	MagickWand/conjure.h \
85	MagickWand/convert.h \
86	MagickWand/deprecate.h \
87	MagickWand/display.h \
88	MagickWand/drawing-wand.h \
89	MagickWand/identify.h \
90	MagickWand/import.h \
91	MagickWand/magick-cli.h \
92	MagickWand/magick-image.h \
93	MagickWand/magick-property.h \
94	MagickWand/method-attribute.h \
95	MagickWand/mogrify.h \
96	MagickWand/montage.h \
97	MagickWand/operation.h \
98	MagickWand/pixel-iterator.h \
99	MagickWand/pixel-wand.h \
100	MagickWand/stream.h \
101	MagickWand/wandcli.h \
102	MagickWand/wand-view.h
103
104MAGICKWAND_NOINST_HDRS = \
105	MagickWand/mogrify-private.h \
106	MagickWand/magick-wand-private.h \
107	MagickWand/operation-private.h \
108	MagickWand/pixel-wand-private.h \
109	MagickWand/script-token.h \
110	MagickWand/studio.h \
111	MagickWand/wand.h \
112	MagickWand/wandcli-private.h
113
114# Headers which are installed
115MagickWandinc_HEADERS = \
116	$(MAGICKWAND_INCLUDE_HDRS)
117
118MAGICKWAND_BIN_SCRPTS = \
119	MagickWand/MagickWand-config
120
121MAGICKWAND_PKGCONFIG = \
122	MagickWand/MagickWand.pc \
123	MagickWand/MagickWand-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@.pc
124
125MAGICKWAND_MANS = \
126	MagickWand/MagickWand-config.1
127
128MAGICKWAND_BUILT_SRCS =
129
130MAGICKWAND_LIBS = MagickWand/libMagickWand-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@.la
131
132MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_SOURCES = $(MAGICKWAND_SOURCES)
133MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_CPPFLAGS = $(MAGICKWAND_CPPFLAGS) $(LIBRARY_EXTRA_CPPFLAGS)
134
135if HAVE_LD_VERSION_SCRIPT
136MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_LDFLAGS_VERSION =  -Wl,--version-script=$(top_srcdir)/MagickWand/libMagickWand.map
137else
138MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_LDFLAGS_VERSION = -export-symbols-regex ".*"
139endif
140
141MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_LDFLAGS = -no-undefined \
142  $(MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_LDFLAGS_VERSION) $(MAGICK_LT_RELEASE_OPTS) \
143	-version-info \
144	$(MAGICK_LIBRARY_CURRENT):$(MAGICK_LIBRARY_REVISION):$(MAGICK_LIBRARY_AGE)
145MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_LIBADD = $(MAGICKCORE_LIBS) $(X11_LIBS) $(GOMP_LIBS) $(MATH_LIBS)
146
147MAGICKWAND_EXTRA_DIST = \
148	MagickWand/ChangeLog \
149	MagickWand/libMagickWand.map \
150	MagickWand/MagickWand-config.1 \
151	MagickWand/MagickWand.pc.in
152
153MAGICKWAND_CLEANFILES =
154