The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 1 | # Makefile.am: |
| 2 | # Source file for Makefile.in (and hence Makefile) |
| 3 | # |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 4 | |
| 5 | PNGLIB_BASENAME= libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ |
| 6 | |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 7 | ACLOCAL_AMFLAGS = -I scripts |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 8 | |
| 9 | # test programs - run on make check, make distcheck |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 10 | check_PROGRAMS= pngtest pngunknown pngstest pngvalid |
| 11 | |
| 12 | # Utilities - installed |
| 13 | bin_PROGRAMS= pngfix png-fix-itxt |
| 14 | |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 15 | pngtest_SOURCES = pngtest.c |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 16 | pngtest_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la |
| 17 | |
| 18 | pngvalid_SOURCES = contrib/libtests/pngvalid.c |
| 19 | pngvalid_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la |
| 20 | |
| 21 | pngstest_SOURCES = contrib/libtests/pngstest.c |
| 22 | pngstest_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la |
| 23 | |
| 24 | pngunknown_SOURCES = contrib/libtests/pngunknown.c |
| 25 | pngunknown_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la |
| 26 | |
| 27 | pngfix_SOURCES = contrib/tools/pngfix.c |
| 28 | pngfix_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la |
| 29 | |
| 30 | png_fix_itxt_SOURCES = contrib/tools/png-fix-itxt.c |
| 31 | |
| 32 | # Generally these are single line shell scripts to run a test with a particular |
| 33 | # set of parameters: |
| 34 | TESTS =\ |
| 35 | tests/pngtest\ |
| 36 | tests/pngvalid-gamma-16-to-8 tests/pngvalid-gamma-alpha-mode\ |
| 37 | tests/pngvalid-gamma-background tests/pngvalid-gamma-expand16-alpha-mode\ |
| 38 | tests/pngvalid-gamma-expand16-background\ |
| 39 | tests/pngvalid-gamma-expand16-transform tests/pngvalid-gamma-sbit\ |
| 40 | tests/pngvalid-gamma-threshold tests/pngvalid-gamma-transform\ |
| 41 | tests/pngvalid-progressive-interlace-size\ |
| 42 | tests/pngvalid-progressive-interlace-standard\ |
| 43 | tests/pngvalid-progressive-interlace-transform\ |
| 44 | tests/pngvalid-progressive-standard tests/pngvalid-standard\ |
| 45 | tests/pngstest-0g01 tests/pngstest-0g02 tests/pngstest-0g04\ |
| 46 | tests/pngstest-0g08 tests/pngstest-0g16 tests/pngstest-2c08\ |
| 47 | tests/pngstest-2c16 tests/pngstest-3p01 tests/pngstest-3p02\ |
| 48 | tests/pngstest-3p04 tests/pngstest-3p08 tests/pngstest-4a08\ |
| 49 | tests/pngstest-4a16 tests/pngstest-6a08 tests/pngstest-6a16\ |
| 50 | tests/pngstest-error tests/pngunknown-IDAT\ |
| 51 | tests/pngunknown-discard tests/pngunknown-if-safe tests/pngunknown-sAPI\ |
| 52 | tests/pngunknown-sTER tests/pngunknown-save tests/pngunknown-vpAg |
| 53 | |
| 54 | # These tests are expected, and required, to fail: |
| 55 | XFAIL_TESTS = tests/pngstest-error |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 56 | |
| 57 | # man pages |
| 58 | dist_man_MANS= libpng.3 libpngpf.3 png.5 |
| 59 | |
| 60 | # generate the -config scripts if required |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 61 | binconfigs= libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config |
| 62 | EXTRA_SCRIPTS= libpng-config libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 63 | bin_SCRIPTS= @binconfigs@ |
| 64 | |
| 65 | # rules to build libpng, only build the old library on request |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 66 | lib_LTLIBRARIES=libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la |
| 67 | # EXTRA_LTLIBRARIES= libpng.la |
| 68 | libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES = png.c pngerror.c\ |
| 69 | pngget.c pngmem.c pngpread.c pngread.c pngrio.c pngrtran.c pngrutil.c\ |
| 70 | pngset.c pngtrans.c pngwio.c pngwrite.c pngwtran.c pngwutil.c\ |
| 71 | png.h pngconf.h pngdebug.h pnginfo.h pngpriv.h pngstruct.h pngusr.dfa |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 72 | |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 73 | if PNG_ARM_NEON |
| 74 | libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES += arm/arm_init.c\ |
| 75 | arm/filter_neon.S |
| 76 | endif |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 77 | |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 78 | nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES = pnglibconf.h |
| 79 | |
| 80 | libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS = -no-undefined -export-dynamic \ |
| 81 | -version-number @PNGLIB_MAJOR@@PNGLIB_MINOR@:@PNGLIB_RELEASE@:0 |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 82 | |
| 83 | if HAVE_LD_VERSION_SCRIPT |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 84 | # Versioned symbols and restricted exports |
| 85 | if HAVE_SOLARIS_LD |
| 86 | libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS += -Wl,-M -Wl,libpng.vers |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 87 | else |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 88 | libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS += -Wl,--version-script=libpng.vers |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 89 | endif |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 90 | |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 91 | libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.vers |
| 92 | else |
| 93 | # Only restricted exports when possible |
| 94 | libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS += -export-symbols libpng.sym |
| 95 | libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.sym |
| 96 | endif |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 97 | |
| 98 | #distribute headers in /usr/include/libpng/* |
| 99 | pkgincludedir= $(includedir)/$(PNGLIB_BASENAME) |
| 100 | pkginclude_HEADERS= png.h pngconf.h |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 101 | nodist_pkginclude_HEADERS= pnglibconf.h |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 102 | |
| 103 | # pkg-config stuff, note that libpng.pc is always required in order |
| 104 | # to get the correct library |
| 105 | pkgconfigdir = @pkgconfigdir@ |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 106 | pkgconfig_DATA = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 107 | |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 108 | # Extra source distribution files, '${srcdir}' is used below to stop build files |
| 109 | # from those directories being included. This only works if the configure is |
| 110 | # not done in the source directory! |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 111 | EXTRA_DIST= \ |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 112 | ANNOUNCE CHANGES INSTALL LICENSE README TODO \ |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 113 | pngtest.png pngbar.png pngnow.png pngbar.jpg autogen.sh \ |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 114 | ${srcdir}/contrib ${srcdir}/projects ${srcdir}/scripts \ |
| 115 | $(TESTS) $(XFAIL_TESTS) tests/pngstest \ |
| 116 | CMakeLists.txt example.c libpng-manual.txt |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 117 | |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 118 | SCRIPT_CLEANFILES=scripts/*.out scripts/*.chk scripts/pnglibconf.dfn |
| 119 | |
| 120 | CLEANFILES= *.tf? pngout.png libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc \ |
| 121 | libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config libpng.vers libpng.sym \ |
| 122 | check.new pnglibconf.* pngprefix.h symbols.new pngtest-log.txt \ |
| 123 | $(SCRIPT_CLEANFILES) |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 124 | |
| 125 | MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \ |
| 126 | config.sub configure depcomp install-sh ltmain.sh missing |
| 127 | |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 128 | # PNG_COPTS give extra options for the C compiler to be used on all compilation |
| 129 | # steps (unless targe_CFLAGS is specified; that will take precedence over |
| 130 | # AM_CFLAGS) |
| 131 | PNG_COPTS = @PNG_COPTS@ |
| 132 | AM_CFLAGS = ${PNG_COPTS} |
| 133 | |
| 134 | # DFNCPP is normally just CPP - the C preprocessor - but on Solaris and maybe |
| 135 | # other operating systems (NeXT?) the C preprocessor selected by configure |
| 136 | # checks input tokens for validity - effectively it performs part of the ANSI-C |
| 137 | # parsing - and therefore fails with the .df files. configure.ac has special |
| 138 | # checks for this and sets DFNCPP appropriately. |
| 139 | DFNCPP = @DFNCPP@ |
| 140 | |
| 141 | SUFFIXES = .chk .dfn .out |
| 142 | |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 143 | $(PNGLIB_BASENAME).pc: libpng.pc |
| 144 | cp libpng.pc $@ |
| 145 | |
| 146 | $(PNGLIB_BASENAME)-config: libpng-config |
| 147 | cp libpng-config $@ |
| 148 | |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 149 | scripts/sym.out scripts/vers.out: png.h pngconf.h pnglibconf.h |
| 150 | scripts/prefix.out: png.h pngconf.h pnglibconf.out |
| 151 | scripts/symbols.out: png.h pngconf.h $(srcdir)/scripts/pnglibconf.h.prebuilt |
| 152 | scripts/intprefix.out: pnglibconf.h |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 153 | |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 154 | libpng.sym: scripts/sym.out |
| 155 | rm -f $@ |
| 156 | cp $? $@ |
| 157 | libpng.vers: scripts/vers.out |
| 158 | rm -f $@ |
| 159 | cp $? $@ |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 160 | |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 161 | if DO_PNG_PREFIX |
| 162 | # Rename functions in scripts/prefix.out with a PNG_PREFIX prefix. |
| 163 | # Rename macros in scripts/macro.lst from PNG_PREFIXpng_ to PNG_ (the actual |
| 164 | # implementation of the macro). |
| 165 | pnglibconf.h: pnglibconf.out scripts/prefix.out scripts/macro.lst |
| 166 | rm -f $@ |
| 167 | $(AWK) 's==0 && NR>1{print prev}\ |
| 168 | s==0{prev=$$0}\ |
| 169 | s==1{print "#define", $$1, "@PNG_PREFIX@" $$1}\ |
| 170 | s==2{print "#define @PNG_PREFIX@png_" $$1, "PNG_" $$1}\ |
| 171 | END{print prev}' s=0 pnglibconf.out s=1 scripts/prefix.out\ |
| 172 | s=2 ${srcdir}/scripts/macro.lst >pnglibconf.tf8 |
| 173 | mv pnglibconf.tf8 $@ |
| 174 | |
| 175 | pngprefix.h: scripts/intprefix.out |
| 176 | rm -f pngprefix.tf1 |
| 177 | $(AWK) '{print "#define", $$1, "@PNG_PREFIX@" $$1}' $? >pngprefix.tf1 |
| 178 | mv pngprefix.tf1 $@ |
| 179 | else |
| 180 | pnglibconf.h: pnglibconf.out |
| 181 | rm -f $@ |
| 182 | cp $? $@ |
| 183 | |
| 184 | pngprefix.h: # is empty |
| 185 | :>$@ |
| 186 | endif |
| 187 | |
| 188 | $(srcdir)/scripts/pnglibconf.h.prebuilt: |
| 189 | @echo "Attempting to build $@" >&2 |
| 190 | @echo "This is a machine generated file, but if you want to make" >&2 |
| 191 | @echo "a new one simply make 'scripts/pnglibconf.out', copy that" >&2 |
| 192 | @echo "AND set PNG_ZLIB_VERNUM to 0 (you MUST do this)" >&2 |
| 193 | @exit 1 |
| 194 | |
| 195 | # The following is necessary to ensure that the local pnglibconf.h is used, not |
| 196 | # an installed one (this can happen immediately after on a clean system if |
| 197 | # 'make test' is the first thing the user does.) |
| 198 | pngstest.o pngvalid.o pngtest.o pngunknown.o timepng.o: pnglibconf.h |
| 199 | pngfix.o png-fix-itxt.o: pnglibconf.h |
| 200 | |
| 201 | # We must use -DPNG_NO_USE_READ_MACROS here even when the library may actually |
| 202 | # be built with PNG_USE_READ_MACROS; this prevents the read macros from |
| 203 | # interfering with the symbol file format. |
| 204 | SYMBOL_CFLAGS = -DPNGLIB_LIBNAME='PNG@PNGLIB_MAJOR@@PNGLIB_MINOR@_0'\ |
| 205 | -DPNGLIB_VERSION='@PNGLIB_VERSION@'\ |
| 206 | -DSYMBOL_PREFIX='$(SYMBOL_PREFIX)'\ |
| 207 | -DPNG_NO_USE_READ_MACROS -DPNG_BUILDING_SYMBOL_TABLE |
| 208 | |
| 209 | if DO_PNG_PREFIX |
| 210 | SYMBOL_CFLAGS += -DPNG_PREFIX='@PNG_PREFIX@' |
| 211 | endif |
| 212 | |
| 213 | .dfn.out: |
| 214 | rm -f $@ $*.c $*.tf[12] |
| 215 | test -d scripts || mkdir scripts || test -d scripts |
| 216 | echo '#include "$<"' >$*.c |
| 217 | $(DFNCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)\ |
| 218 | $(CPPFLAGS) $(SYMBOL_CFLAGS) $*.c > $*.tf1 |
| 219 | $(AWK) -f "${srcdir}/scripts/dfn.awk" out="$*.tf2" $*.tf1 1>&2 |
| 220 | rm -f $*.c $*.tf1 |
| 221 | mv $*.tf2 $@ |
| 222 | |
| 223 | # The .dfn file for pnglibconf.h is machine generated |
| 224 | pnglibconf.dfn: scripts/pnglibconf.dfa scripts/options.awk pngconf.h pngusr.dfa $(DFA_XTRA) |
| 225 | rm -f $@ $*.tf[45] |
| 226 | $(AWK) -f ${srcdir}/scripts/options.awk out=$*.tf4 version=search\ |
| 227 | ${srcdir}/pngconf.h ${srcdir}/scripts/pnglibconf.dfa\ |
| 228 | ${srcdir}/pngusr.dfa $(DFA_XTRA) 1>&2 |
| 229 | $(AWK) -f ${srcdir}/scripts/options.awk out=$*.tf5 $*.tf4 1>&2 |
| 230 | rm $*.tf4 |
| 231 | mv $*.tf5 $@ |
| 232 | |
| 233 | # Symbol checks (.def and .out files should match) |
| 234 | scripts/symbols.chk: scripts/checksym.awk scripts/symbols.def scripts/symbols.out |
| 235 | |
| 236 | .out.chk: |
| 237 | rm -f $@ $*.new |
| 238 | $(AWK) -f ${srcdir}/scripts/checksym.awk ${srcdir}/scripts/${*F}.def\ |
| 239 | of="$*.new" $< >&2 |
| 240 | mv $*.new $@ |
| 241 | |
| 242 | # used on demand to regenerate the standard header, CPPFLAGS should |
| 243 | # be empty - no non-standard defines |
| 244 | scripts/pnglibconf.dfn: scripts/pnglibconf.dfa scripts/options.awk pngconf.h |
| 245 | rm -f $@ pnglibconf.tf[67] |
| 246 | test -z "$(CPPFLAGS)" |
| 247 | echo "com @PNGLIB_VERSION@ STANDARD API DEFINITION" |\ |
| 248 | $(AWK) -f ${srcdir}/scripts/options.awk out=pnglibconf.tf6\ |
| 249 | logunsupported=1 version=search ${srcdir}/pngconf.h -\ |
| 250 | ${srcdir}/scripts/pnglibconf.dfa 1>&2 |
| 251 | $(AWK) -f ${srcdir}/scripts/options.awk out=pnglibconf.tf7\ |
| 252 | pnglibconf.tf6 1>&2 |
| 253 | rm pnglibconf.tf6 |
| 254 | mv pnglibconf.tf7 $@ |
| 255 | |
| 256 | $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS): png.h pngconf.h \ |
| 257 | pnglibconf.h pngpriv.h pngdebug.h pnginfo.h pngstruct.h pngprefix.h |
| 258 | |
| 259 | test: check-am |
| 260 | |
| 261 | # Extra checks |
| 262 | check: scripts/symbols.chk |
| 263 | |
| 264 | # Don't distribute the generated script files |
| 265 | dist-hook: |
| 266 | cd '$(top_distdir)'; rm -f $(SCRIPT_CLEANFILES) |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 267 | |
| 268 | # install the .../include headers as links to the new ones |
| 269 | install-data-hook: |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 270 | cd '$(DESTDIR)$(includedir)'; rm -f png.h pngconf.h pnglibconf.h |
| 271 | cd '$(DESTDIR)$(includedir)'; $(LN_S) $(PNGLIB_BASENAME)/png.h png.h |
| 272 | cd '$(DESTDIR)$(includedir)'; $(LN_S) $(PNGLIB_BASENAME)/pngconf.h \ |
| 273 | pngconf.h |
| 274 | cd '$(DESTDIR)$(includedir)'; $(LN_S) $(PNGLIB_BASENAME)/pnglibconf.h \ |
| 275 | pnglibconf.h |
| 276 | cd '$(DESTDIR)$(pkgconfigdir)'; rm -f libpng.pc |
| 277 | cd '$(DESTDIR)$(pkgconfigdir)'; $(LN_S) $(PNGLIB_BASENAME).pc libpng.pc |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 278 | |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 279 | # do evil things to libpng to cause libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ to be used |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 280 | install-exec-hook: |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 281 | cd '$(DESTDIR)$(bindir)'; rm -f libpng-config |
| 282 | cd '$(DESTDIR)$(bindir)';\ |
| 283 | $(LN_S) $(PNGLIB_BASENAME)-config libpng-config |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 284 | @set -x;\ |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 285 | cd '$(DESTDIR)$(libdir)';\ |
| 286 | for ext in a la so so.@PNGLIB_MAJOR@@PNGLIB_MINOR@.@PNGLIB_RELEASE@\ |
| 287 | sl dylib dll.a; do\ |
The Android Open Source Project | 893912b | 2009-03-03 19:30:05 -0800 | [diff] [blame] | 288 | rm -f libpng.$$ext;\ |
| 289 | if test -f $(PNGLIB_BASENAME).$$ext; then\ |
| 290 | $(LN_S) $(PNGLIB_BASENAME).$$ext libpng.$$ext;\ |
| 291 | fi;\ |
| 292 | done |
| 293 | |
| 294 | uninstall-hook: |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame^] | 295 | cd '$(DESTDIR)$(includedir)'; rm -f png.h pngconf.h pnglibconf.h |
| 296 | rm -f '$(DESTDIR)$(pkgconfigdir)/libpng.pc' |
| 297 | rm -f '$(DESTDIR)$(bindir)/libpng-config' |
| 298 | rm -f '$(DESTDIR)$(libdir)/libpng.a' |
| 299 | rm -f '$(DESTDIR)$(libdir)/libpng.la' |
| 300 | rm -f '$(DESTDIR)$(libdir)/libpng.so' |
| 301 | rm -f '$(DESTDIR)$(libdir)/libpng.so.@PNGLIB_MAJOR@@PNGLIB_MINOR@.@PNGLIB_RELEASE@' |
| 302 | rm -f '$(DESTDIR)$(libdir)/libpng.sl' |
| 303 | rm -f '$(DESTDIR)$(libdir)/libpng.dylib' |
| 304 | rm -f '$(DESTDIR)$(libdir)/libpng.dll.a' |