Imported from libpng-1.2.5beta1.tar

This commit is contained in:
Glenn Randers-Pehrson
2002-08-06 18:06:11 -05:00
parent 484a8a10fe
commit 859665d847
64 changed files with 225 additions and 164 deletions

View File

@@ -17,7 +17,7 @@ LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lz -lm
RANLIB=ranlib
PNGMAJ = 0
PNGMIN = 1.2.4
PNGMIN = 1.2.5beta1
PNGVER = $(PNGMAJ).$(PNGMIN)
LIBNAME = libpng12
@@ -57,7 +57,7 @@ OBJSDLL = $(OBJS:.o=.pic.o)
all: libpng.a $(LIBNAME).sl pngtest libpng.pc libpng-config
libpng.a: $(OBJS)
ar rc $@ $(OBJS)
ar rc $@ $(OBJS)
$(RANLIB) $@
libpng.pc:
@@ -81,8 +81,7 @@ $(LIBNAME).sl.$(PNGMAJ): $(LIBNAME).sl.$(PNGVER)
$(LIBNAME).sl.$(PNGVER): $(OBJSDLL)
$(LD) -b -L$(ZLIBLIB) +s +b $(ZLIBLIB) \
+h $(LIBNAME).sl.$(PNGMAJ) -o $(LIBNAME).sl.$(PNGVER) \
$(OBJSDLL) -lz
+h $(LIBNAME).sl.$(PNGMAJ) -o $(LIBNAME).sl.$(PNGVER) $(OBJSDLL) -lz
pngtest: pngtest.o libpng.a
$(CC) -o pngtest $(CCFLAGS) pngtest.o $(LDFLAGS)