Cristy | f6ff9ea | 2016-12-05 09:53:35 -0500 | [diff] [blame] | 1 | # Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 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 MagickWand API. |
| 16 | # |
| 17 | |
cristy | 2a11bef | 2011-10-28 18:33:11 +0000 | [diff] [blame] | 18 | MagickWandincdir = $(INCLUDE_PATH)/MagickWand |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 19 | |
cristy | 30841e6 | 2014-05-19 00:45:15 +0000 | [diff] [blame] | 20 | MAGICKWAND_CPPFLAGS = $(AM_CPPFLAGS) |
| 21 | |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 22 | MAGICKWAND_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 \ |
anthony | 1cdc5b7 | 2012-03-03 02:31:18 +0000 | [diff] [blame] | 44 | MagickWand/magick-cli.c \ |
| 45 | MagickWand/magick-cli.h \ |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 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 \ |
cristy | b2b5481 | 2012-02-19 18:15:55 +0000 | [diff] [blame] | 52 | MagickWand/method-attribute.h \ |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 53 | MagickWand/mogrify.c \ |
| 54 | MagickWand/mogrify.h \ |
| 55 | MagickWand/mogrify-private.h \ |
| 56 | MagickWand/montage.c \ |
| 57 | MagickWand/montage.h \ |
cristy | 0a0ca4f | 2011-09-28 01:15:28 +0000 | [diff] [blame] | 58 | MagickWand/operation.c \ |
| 59 | MagickWand/operation.h \ |
cristy | fe83185 | 2013-02-12 14:56:07 +0000 | [diff] [blame] | 60 | MagickWand/operation-private.h \ |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 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 \ |
anthony | 1cdc5b7 | 2012-03-03 02:31:18 +0000 | [diff] [blame] | 66 | MagickWand/script-token.c \ |
| 67 | MagickWand/script-token.h \ |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 68 | MagickWand/stream.c \ |
| 69 | MagickWand/stream.h \ |
| 70 | MagickWand/studio.h \ |
| 71 | MagickWand/wand.c \ |
| 72 | MagickWand/wand.h \ |
anthony | 756cd0d | 2012-04-08 12:41:44 +0000 | [diff] [blame] | 73 | MagickWand/wandcli.c \ |
| 74 | MagickWand/wandcli.h \ |
| 75 | MagickWand/wandcli-private.h \ |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 76 | MagickWand/wand-view.c \ |
| 77 | MagickWand/wand-view.h |
| 78 | |
| 79 | MAGICKWAND_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 \ |
cristy | de3fc5d | 2012-02-12 15:40:47 +0000 | [diff] [blame] | 91 | MagickWand/magick-cli.h \ |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 92 | MagickWand/magick-image.h \ |
| 93 | MagickWand/magick-property.h \ |
cristy | b2b5481 | 2012-02-19 18:15:55 +0000 | [diff] [blame] | 94 | MagickWand/method-attribute.h \ |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 95 | MagickWand/mogrify.h \ |
| 96 | MagickWand/montage.h \ |
cristy | 0a0ca4f | 2011-09-28 01:15:28 +0000 | [diff] [blame] | 97 | MagickWand/operation.h \ |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 98 | MagickWand/pixel-iterator.h \ |
| 99 | MagickWand/pixel-wand.h \ |
| 100 | MagickWand/stream.h \ |
anthony | 756cd0d | 2012-04-08 12:41:44 +0000 | [diff] [blame] | 101 | MagickWand/wandcli.h \ |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 102 | MagickWand/wand-view.h |
| 103 | |
| 104 | MAGICKWAND_NOINST_HDRS = \ |
| 105 | MagickWand/mogrify-private.h \ |
| 106 | MagickWand/magick-wand-private.h \ |
cristy | fe83185 | 2013-02-12 14:56:07 +0000 | [diff] [blame] | 107 | MagickWand/operation-private.h \ |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 108 | MagickWand/pixel-wand-private.h \ |
anthony | 1cdc5b7 | 2012-03-03 02:31:18 +0000 | [diff] [blame] | 109 | MagickWand/script-token.h \ |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 110 | MagickWand/studio.h \ |
anthony | 8c6f51d | 2012-04-10 11:54:51 +0000 | [diff] [blame] | 111 | MagickWand/wand.h \ |
cristy | e73514f | 2012-04-09 11:22:43 +0000 | [diff] [blame] | 112 | MagickWand/wandcli-private.h |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 113 | |
| 114 | # Headers which are installed |
| 115 | MagickWandinc_HEADERS = \ |
| 116 | $(MAGICKWAND_INCLUDE_HDRS) |
| 117 | |
| 118 | MAGICKWAND_BIN_SCRPTS = \ |
| 119 | MagickWand/MagickWand-config |
| 120 | |
| 121 | MAGICKWAND_PKGCONFIG = \ |
cristy | cc22d1d | 2012-12-10 13:03:25 +0000 | [diff] [blame] | 122 | MagickWand/MagickWand.pc \ |
cristy | fcb6723 | 2013-02-13 19:43:00 +0000 | [diff] [blame] | 123 | MagickWand/MagickWand-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@.pc |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 124 | |
| 125 | MAGICKWAND_MANS = \ |
| 126 | MagickWand/MagickWand-config.1 |
| 127 | |
| 128 | MAGICKWAND_BUILT_SRCS = |
| 129 | |
cristy | fcb6723 | 2013-02-13 19:43:00 +0000 | [diff] [blame] | 130 | MAGICKWAND_LIBS = MagickWand/libMagickWand-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@.la |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 131 | |
cristy | fcb6723 | 2013-02-13 19:43:00 +0000 | [diff] [blame] | 132 | MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_SOURCES = $(MAGICKWAND_SOURCES) |
cristy | a9e02e5 | 2014-06-22 13:52:31 +0000 | [diff] [blame] | 133 | MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_CPPFLAGS = $(MAGICKWAND_CPPFLAGS) $(LIBRARY_EXTRA_CPPFLAGS) |
cristy | c18c509 | 2012-11-28 22:00:53 +0000 | [diff] [blame] | 134 | |
cristy | 9e19835 | 2012-11-29 00:46:53 +0000 | [diff] [blame] | 135 | if HAVE_LD_VERSION_SCRIPT |
cristy | fcb6723 | 2013-02-13 19:43:00 +0000 | [diff] [blame] | 136 | MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_LDFLAGS_VERSION = -Wl,--version-script=$(top_srcdir)/MagickWand/libMagickWand.map |
cristy | 9e19835 | 2012-11-29 00:46:53 +0000 | [diff] [blame] | 137 | else |
cristy | fcb6723 | 2013-02-13 19:43:00 +0000 | [diff] [blame] | 138 | MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_LDFLAGS_VERSION = -export-symbols-regex ".*" |
cristy | 9e19835 | 2012-11-29 00:46:53 +0000 | [diff] [blame] | 139 | endif |
| 140 | |
cristy | fcb6723 | 2013-02-13 19:43:00 +0000 | [diff] [blame] | 141 | MagickWand_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) \ |
Cristy | 76f8c47 | 2017-07-12 13:22:11 -0400 | [diff] [blame] | 143 | -version-info \ |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 144 | $(MAGICK_LIBRARY_CURRENT):$(MAGICK_LIBRARY_REVISION):$(MAGICK_LIBRARY_AGE) |
cristy | fcb6723 | 2013-02-13 19:43:00 +0000 | [diff] [blame] | 145 | MagickWand_libMagickWand_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_LIBADD = $(MAGICKCORE_LIBS) $(X11_LIBS) $(GOMP_LIBS) $(MATH_LIBS) |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 146 | |
| 147 | MAGICKWAND_EXTRA_DIST = \ |
| 148 | MagickWand/ChangeLog \ |
cristy | 9b86f20 | 2012-11-28 21:55:35 +0000 | [diff] [blame] | 149 | MagickWand/libMagickWand.map \ |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 150 | MagickWand/MagickWand-config.1 \ |
cristy | 04fb5db | 2012-08-21 15:58:33 +0000 | [diff] [blame] | 151 | MagickWand/MagickWand.pc.in |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 152 | |
cristy | 04fb5db | 2012-08-21 15:58:33 +0000 | [diff] [blame] | 153 | MAGICKWAND_CLEANFILES = |