[libpng10] Imported from libpng-1.0.15rc3.tar

This commit is contained in:
Glenn Randers-Pehrson
2002-09-17 23:06:26 -05:00
parent 0e928a62e9
commit 3bdb7fed6e
62 changed files with 246 additions and 212 deletions

View File

@@ -5,7 +5,7 @@
LIBNAME = libpng10
PNGMAJ = 0
PNGMIN = 1.0.15rc2
PNGMIN = 1.0.15rc3
PNGVER = $(PNGMAJ).$(PNGMIN)
CC=gcc
@@ -83,9 +83,9 @@ libpng.pc:
libpng-config:
( cat scripts/libpng-config-head.in; \
echo prefix=\"$(prefix)\"; \
echo cppflags=\"-I$(INCPATH)/$(LIBNAME)\"; \
echo cflags=\"\"; \
echo ldflags=\"-L$(LIBPATH) -Wl,-rpath,$(LIBPATH)\"; \
echo I_opts=\"-I$(INCPATH)/$(LIBNAME)\"; \
echo L_opts=\"-L$(LIBPATH)\"; \
echo R_opts=\"-Wl,-rpath,$(LIBPATH)\"; \
echo libs=\"-lpng10 -lz -lm\"; \
cat scripts/libpng-config-body.in ) > libpng-config
chmod +x libpng-config
@@ -187,9 +187,9 @@ install: install-static install-shared install-man install-config
test-installed:
$(CC) -I$(ZLIBINC) \
`$(BINPATH)/libpng10-config --cppflags --cflags` pngtest.c \
`$(BINPATH)/libpng10-config --cflags` pngtest.c \
-L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) \
-o pngtesti `$(BINPATH)/libpng10-config --ldflags --libs`
-o pngtesti `$(BINPATH)/libpng10-config --ldflags`
./pngtesti pngtest.png
clean: