Imported from libpng-1.2.20rc4.tar

This commit is contained in:
Glenn Randers-Pehrson
2007-09-01 15:12:50 -05:00
parent 9cc7b03503
commit d20666a228
60 changed files with 204 additions and 11915 deletions

View File

@@ -31,9 +31,6 @@ endif
DESTDIR=
# To disable assembler optimizations, add '-DPNG_NO_MMX_CODE' to
# $CFLAGS. To enable, add pnggccrd.o to the dependencies.
CC=gcc
ifdef MINGW
MINGW_CCFLAGS=-mno-cygwin -I/usr/include/mingw
@@ -77,7 +74,7 @@ CFLAGS= $(strip $(MINGW_CCFLAGS) $(addprefix -I,$(ZLIBINC)) \
LIBNAME = libpng12
PNGMAJ = 0
CYGDLL = 12
PNGMIN = 1.2.20rc3
PNGMIN = 1.2.20rc4
PNGVER = $(PNGMAJ).$(PNGMIN)
SHAREDLIB=cygpng$(CYGDLL).dll
@@ -112,7 +109,7 @@ DL =$(D)$(LIBPATH)
OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \
pngwtran.o pngmem.o pngerror.o pngpread.o # pnggccrd.o
pngwtran.o pngmem.o pngerror.o pngpread.o
OBJSDLL = $(OBJS:.o=.pic.o)
@@ -156,20 +153,6 @@ shared: all-shared
all-static: $(STATLIB) pngtest-stat$(EXE)
all-shared: $(SHAREDLIB) pngtest$(EXE)
# pnggccrd.o: pnggccrd.c png.h pngconf.h
# @echo ""
# @echo ' You can ignore the "control reaches end of non-void function"'
# @echo ' warning and "<variable> defined but not used" warnings:'
# @echo ""
# $(CC) -c $(CFLAGS) -o $@ $<
# pnggccrd.pic.o: pnggccrd.c png.h pngconf.h
# @echo ""
# @echo ' You can ignore the "control reaches end of non-void function"'
# @echo ' warning and "<variable> defined but not used" warnings:'
# @echo ""
# $(CC) -c $(CFLAGS) -DPNG_BUILD_DLL -o $@ $<
$(STATLIB): $(OBJS)
ar rc $@ $(OBJS)
$(RANLIB) $@