Imported from libpng-1.2.3rc6.tar

This commit is contained in:
Glenn Randers-Pehrson
2002-05-13 18:17:09 -05:00
parent 837a3d1745
commit 22f28966c4
63 changed files with 210 additions and 301 deletions

View File

@@ -5,7 +5,7 @@
LIBNAME = libpng12
PNGMAJ = 0
PNGMIN = 1.2.3rc5
PNGMIN = 1.2.3rc6
PNGVER = $(PNGMAJ).$(PNGMIN)
CC=gcc
@@ -77,17 +77,13 @@ libpng.pc:
libpng-config:
( cat scripts/libpng-config-head.in; \
echo prefix=\"$(prefix)\"; \
echo cppflags=\"-I$(INCPATH)/libpng12"; \
echo cppflags=\"-I$(INCPATH)/$(LIBNAME)\"; \
echo cflags=\"\"; \
echo ldflags=\"-L$(LIBPATH) -Wl,-rpath,$(LIBPATH)"; \
echo ldflags=\"-L$(LIBPATH) -Wl,-rpath,$(LIBPATH)\"; \
echo libs=\"-lpng12 -lz -lm\"; \
cat scripts/libpng-config-body.in ) > libpng-config
chmod +x libpng-config
cat scripts/libpng-config.in | sed -e s\!@PREFIX@!$(prefix)! > \
-e s!\#LIBS!-lm! > libpng-config
chmod +x libpng-config
$(LIBNAME).so: $(LIBNAME).so.$(PNGMAJ)
ln -sf $(LIBNAME).so.$(PNGMAJ) $(LIBNAME).so