[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

@@ -12,7 +12,7 @@ ZLIBLIB=/usr/local/lib
ZLIBINC=/usr/local/include
PNGMAJ = 0
PNGMIN = 1.0.15rc2
PNGMIN = 1.0.15rc3
PNGVER = $(PNGMAJ).$(PNGMIN)
ALIGN=
@@ -77,9 +77,7 @@ libpng.pc:
libpng-config:
( cat scripts/libpng-config-head.in; \
echo prefix=\"$(prefix)\"; \
echo cppflags=\"-I$(INCPATH)/$(LIBNAME)\"; \
echo cflags=\"\"; \
echo ldflags=\"-Wl,-soname=$(LIBNAME).so.$(PNGMAJ)\"; \
echo I_opts=\"-I$(INCPATH)/$(LIBNAME)\"; \
echo libs=\"-lpng10 -lz -lm\"; \
cat scripts/libpng-config-body.in ) > libpng-config
chmod +x libpng-config
@@ -170,9 +168,9 @@ install: install-static install-shared install-man install-config
test-installed:
$(CC) $(CFLAGS) \
`$(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: