blob: 9981cf940aa3c8c263452912bc5a0efc53479551 [file] [log] [blame]
Cristyf6ff9ea2016-12-05 09:53:35 -05001# Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
cristy4c08aed2011-07-01 19:47:50 +00002# 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 MagickWand API.
16#
17
cristy2a11bef2011-10-28 18:33:11 +000018MagickWandincdir = $(INCLUDE_PATH)/MagickWand
cristy4c08aed2011-07-01 19:47:50 +000019
cristy30841e62014-05-19 00:45:15 +000020MAGICKWAND_CPPFLAGS = $(AM_CPPFLAGS)
21
cristy4c08aed2011-07-01 19:47:50 +000022MAGICKWAND_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 \
anthony1cdc5b72012-03-03 02:31:18 +000044 MagickWand/magick-cli.c \
45 MagickWand/magick-cli.h \
cristy4c08aed2011-07-01 19:47:50 +000046 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 \
cristyb2b54812012-02-19 18:15:55 +000052 MagickWand/method-attribute.h \
cristy4c08aed2011-07-01 19:47:50 +000053 MagickWand/mogrify.c \
54 MagickWand/mogrify.h \
55 MagickWand/mogrify-private.h \
56 MagickWand/montage.c \
57 MagickWand/montage.h \
cristy0a0ca4f2011-09-28 01:15:28 +000058 MagickWand/operation.c \
59 MagickWand/operation.h \
cristyfe831852013-02-12 14:56:07 +000060 MagickWand/operation-private.h \
cristy4c08aed2011-07-01 19:47:50 +000061 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 \
anthony1cdc5b72012-03-03 02:31:18 +000066 MagickWand/script-token.c \
67 MagickWand/script-token.h \
cristy4c08aed2011-07-01 19:47:50 +000068 MagickWand/stream.c \
69 MagickWand/stream.h \
70 MagickWand/studio.h \
71 MagickWand/wand.c \
72 MagickWand/wand.h \
anthony756cd0d2012-04-08 12:41:44 +000073 MagickWand/wandcli.c \
74 MagickWand/wandcli.h \
75 MagickWand/wandcli-private.h \
cristy4c08aed2011-07-01 19:47:50 +000076 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 \
cristyde3fc5d2012-02-12 15:40:47 +000091 MagickWand/magick-cli.h \
cristy4c08aed2011-07-01 19:47:50 +000092 MagickWand/magick-image.h \
93 MagickWand/magick-property.h \
cristyb2b54812012-02-19 18:15:55 +000094 MagickWand/method-attribute.h \
cristy4c08aed2011-07-01 19:47:50 +000095 MagickWand/mogrify.h \
96 MagickWand/montage.h \
cristy0a0ca4f2011-09-28 01:15:28 +000097 MagickWand/operation.h \
cristy4c08aed2011-07-01 19:47:50 +000098 MagickWand/pixel-iterator.h \
99 MagickWand/pixel-wand.h \
100 MagickWand/stream.h \
anthony756cd0d2012-04-08 12:41:44 +0000101 MagickWand/wandcli.h \
cristy4c08aed2011-07-01 19:47:50 +0000102 MagickWand/wand-view.h
103
104MAGICKWAND_NOINST_HDRS = \
105 MagickWand/mogrify-private.h \
106 MagickWand/magick-wand-private.h \
cristyfe831852013-02-12 14:56:07 +0000107 MagickWand/operation-private.h \
cristy4c08aed2011-07-01 19:47:50 +0000108 MagickWand/pixel-wand-private.h \
anthony1cdc5b72012-03-03 02:31:18 +0000109 MagickWand/script-token.h \
cristy4c08aed2011-07-01 19:47:50 +0000110 MagickWand/studio.h \
anthony8c6f51d2012-04-10 11:54:51 +0000111 MagickWand/wand.h \
cristye73514f2012-04-09 11:22:43 +0000112 MagickWand/wandcli-private.h
cristy4c08aed2011-07-01 19:47:50 +0000113
114# Headers which are installed
115MagickWandinc_HEADERS = \
116 $(MAGICKWAND_INCLUDE_HDRS)
117
118MAGICKWAND_BIN_SCRPTS = \
119 MagickWand/MagickWand-config
120
121MAGICKWAND_PKGCONFIG = \
cristycc22d1d2012-12-10 13:03:25 +0000122 MagickWand/MagickWand.pc \
cristyfcb67232013-02-13 19:43:00 +0000123 MagickWand/MagickWand-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@.pc
cristy4c08aed2011-07-01 19:47:50 +0000124
125MAGICKWAND_MANS = \
126 MagickWand/MagickWand-config.1
127
128MAGICKWAND_BUILT_SRCS =
129
cristyfcb67232013-02-13 19:43:00 +0000130MAGICKWAND_LIBS = MagickWand/libMagickWand-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@.la
cristy4c08aed2011-07-01 19:47:50 +0000131
cristyfcb67232013-02-13 19:43:00 +0000132MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_SOURCES = $(MAGICKWAND_SOURCES)
cristya9e02e52014-06-22 13:52:31 +0000133MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_CPPFLAGS = $(MAGICKWAND_CPPFLAGS) $(LIBRARY_EXTRA_CPPFLAGS)
cristyc18c5092012-11-28 22:00:53 +0000134
cristy9e198352012-11-29 00:46:53 +0000135if HAVE_LD_VERSION_SCRIPT
cristyfcb67232013-02-13 19:43:00 +0000136MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_LDFLAGS_VERSION = -Wl,--version-script=$(top_srcdir)/MagickWand/libMagickWand.map
cristy9e198352012-11-29 00:46:53 +0000137else
cristyfcb67232013-02-13 19:43:00 +0000138MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_LDFLAGS_VERSION = -export-symbols-regex ".*"
cristy9e198352012-11-29 00:46:53 +0000139endif
140
cristyfcb67232013-02-13 19:43:00 +0000141MagickWand_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) \
Cristy76f8c472017-07-12 13:22:11 -0400143 -version-info \
cristy4c08aed2011-07-01 19:47:50 +0000144 $(MAGICK_LIBRARY_CURRENT):$(MAGICK_LIBRARY_REVISION):$(MAGICK_LIBRARY_AGE)
cristyfcb67232013-02-13 19:43:00 +0000145MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_LIBADD = $(MAGICKCORE_LIBS) $(X11_LIBS) $(GOMP_LIBS) $(MATH_LIBS)
cristy4c08aed2011-07-01 19:47:50 +0000146
147MAGICKWAND_EXTRA_DIST = \
148 MagickWand/ChangeLog \
cristy9b86f202012-11-28 21:55:35 +0000149 MagickWand/libMagickWand.map \
cristy4c08aed2011-07-01 19:47:50 +0000150 MagickWand/MagickWand-config.1 \
cristy04fb5db2012-08-21 15:58:33 +0000151 MagickWand/MagickWand.pc.in
cristy4c08aed2011-07-01 19:47:50 +0000152
cristy04fb5db2012-08-21 15:58:33 +0000153MAGICKWAND_CLEANFILES =