Imported from libpng-1.2.6beta3.tar

This commit is contained in:
Glenn Randers-Pehrson
2004-07-17 22:45:44 -05:00
parent 761bf9f06f
commit 5b5dcf8b88
103 changed files with 3153 additions and 4254 deletions

View File

@@ -16,17 +16,15 @@ ZLIBINC=/opt/zlib/include
# SHAREDLIB=libz.sl
CC=cc
AR=ar
ARFLAGS=rc
RANLIB=ranlib
CFLAGS=-I$(ZLIBINC) -O -Ae +DA1.1 +DS2.0
# Caution: be sure you have built zlib with the same CFLAGS.
CCFLAGS=-I$(ZLIBINC) -O -Ae +DA1.1 +DS2.0
LDFLAGS=-L$(ZLIBLIB) libpng.a -lz -lm
LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lz -lm
RANLIB=ranlib
PNGMAJ = 0
PNGMIN = 1.2.6beta2
PNGMIN = 1.2.5
PNGVER = $(PNGMAJ).$(PNGMIN)
LIBNAME = libpng12
@@ -66,7 +64,7 @@ OBJSDLL = $(OBJS:.o=.pic.o)
all: libpng.a $(LIBNAME).sl pngtest libpng.pc libpng-config
libpng.a: $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)
ar rc $@ $(OBJS)
$(RANLIB) $@
libpng.pc: