diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2001-05-14 09:20:53 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-04-06 16:06:14 -0500 |
commit | e68f5a361bf09f8b92ce1c77f6b083018512565a (patch) | |
tree | f76970eed3a94341b31a158be308161ca0f0912d /scripts/makefile.cygwin | |
parent | 328353990f44b8cd7885b9adfc9df8c5508f1632 (diff) | |
download | libpng-e68f5a361bf09f8b92ce1c77f6b083018512565a.tar.gz |
Imported from libpng-1.0.12beta1.tarv1.0.12beta1
Diffstat (limited to 'scripts/makefile.cygwin')
-rw-r--r-- | scripts/makefile.cygwin | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/makefile.cygwin b/scripts/makefile.cygwin index 76ac4bf56..c88c98436 100644 --- a/scripts/makefile.cygwin +++ b/scripts/makefile.cygwin @@ -38,10 +38,10 @@ CFLAGS=-I$(ZLIBINC) -Wall -O3 $(ALIGN) -funroll-loops \ # read libpng.txt or png.h to see why PNGMAJ is 2. You should not # have to change it. PNGMAJ = 2 -#PNGDLL = $1# msvc -PNGDLL = 2# cygwin 1.0.11 -PNGMIN = 1.0.11 -PNGMIN_BASE = 1.0.11 +#PNGDLL = $2# msvc +PNGDLL = 2# cygwin 1.0.12beta1 +PNGMIN = 1.0.12beta1 +PNGMIN_BASE = 1.0.12 PNGVER = $(PNGMAJ).$(PNGMIN) SHAREDLIB=cygpng$(PNGDLL).dll @@ -108,7 +108,8 @@ $(STATLIB): $(OBJS) $(RANLIB) $@ $(SHAREDDEF): projects/msvc/png32ms.def - cat $< | sed -e '1{G;s/^\(.*\)\(\n\)/EXPORTS/;};2,/^EXPORTS/d' > $@ + cat $< | sed -e '1{G;s/^\(.*\)\(\n\)/EXPORTS/;};2,/^EXPORTS/d' | \ + sed -e 's/\([^;]*\);/;/' > $@ $(SHAREDLIB): $(OBJSDLL) $(SHAREDDEF) $(LDSHARED) -o $@ $(LDEXTRA) $(OBJSDLL) -L. -L$(ZLIBLIB) -lz |