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