diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-02-23 09:59:15 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-02-23 09:59:15 +0000 |
commit | 69e7bc1b72c737269bb1c37c036d81381985aa40 (patch) | |
tree | f193a939fb351fc7cc8148182f9b6da5139653f4 /Build/source/libs/libpng/libpng-1.5.7/scripts/pnglibconf.mak | |
parent | b657ca289d4a7746f931eb00a40cb09ddb78e925 (diff) |
libpng 1.5.9
git-svn-id: svn://tug.org/texlive/trunk@25480 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/libpng/libpng-1.5.7/scripts/pnglibconf.mak')
-rwxr-xr-x | Build/source/libs/libpng/libpng-1.5.7/scripts/pnglibconf.mak | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/Build/source/libs/libpng/libpng-1.5.7/scripts/pnglibconf.mak b/Build/source/libs/libpng/libpng-1.5.7/scripts/pnglibconf.mak deleted file mode 100755 index c04578f31d9..00000000000 --- a/Build/source/libs/libpng/libpng-1.5.7/scripts/pnglibconf.mak +++ /dev/null @@ -1,58 +0,0 @@ -#!/usr/bin/make -f -# pnglibconf.mak - standard make lines for pnglibconf.h -# -# These lines are copied from Makefile.am, they illustrate -# how to automate the build of pnglibconf.h from scripts/pnglibconf.dfa -# given 'awk' and 'sed' - -# Override as appropriate, these definitions can be overridden on -# the make command line (AWK='nawk' for example). -AWK = gawk -AWK = mawk -AWK = nawk -AWK = one-true-awk -AWK = awk # Crashes on SunOS 5.10 - use 'nawk' -CPP = $(CC) -E # Does not work on SUN OS 5.10 - use /lib/cpp -SED = sed - -COPY = cp -DELETE = rm -f -ECHO = echo -DFA_XTRA = # Appended to scripts/options.awk - -# CPPFLAGS should contain the options to control the result, -# but DEFS and CFLAGS are also supported here, override -# as appropriate -DFNFLAGS = $(DEFS) $(CPPFLAGS) $(CFLAGS) - -# srcdir is a defacto standard for the location of the source -srcdir = . - -# The standard pnglibconf.h exists as scripts/pnglibconf.h.prebuilt, -# copy this if the following doesn't work. -pnglibconf.h: pnglibconf.dfn - $(DELETE) $@ dfn.c dfn1.out dfn2.out dfn3.out - $(ECHO) '#include "pnglibconf.dfn"' >dfn.c - $(CPP) $(DFNFLAGS) dfn.c >dfn1.out - $(ECHO) "If 'cpp -e' crashes try /lib/cpp (e.g. CPP='/lib/cpp')" >&2 - $(SED) -n -e 's|^.*PNG_DEFN_MAGIC *-\(.*\)- *PNG_DEFN_END.*$$|\1|p'\ - dfn1.out >dfn2.out - $(SED) -e 's| *PNG_JOIN *||g' -e 's| *$$||' dfn2.out >dfn3.out - $(COPY) dfn3.out $@ - $(DELETE) dfn.c dfn1.out dfn2.out dfn3.out - -pnglibconf.dfn: $(srcdir)/scripts/pnglibconf.dfa $(srcdir)/scripts/options.awk $(srcdir)/pngconf.h - $(DELETE) $@ dfn1.out dfn2.out - $(ECHO) "Calling $(AWK) from scripts/pnglibconf.mak" >&2 - $(ECHO) "If 'awk' crashes try a better awk (e.g. AWK='nawk')" >&2 - $(AWK) -f $(srcdir)/scripts/options.awk out=dfn1.out version=search\ - $(srcdir)/pngconf.h $(srcdir)/scripts/pnglibconf.dfa\ - $(DFA_XTRA) 1>&2 - $(AWK) -f $(srcdir)/scripts/options.awk out=dfn2.out dfn1.out 1>&2 - $(COPY) dfn2.out $@ - $(DELETE) dfn1.out dfn2.out - -clean-pnglibconf: - $(DELETE) pnglibconf.h pnglibconf.dfn dfn.c dfn1.out dfn2.out dfn3.out - -clean: clean-pnglibconf |