mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Imported from libpng-1.2.20rc4.tar
This commit is contained in:
@@ -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) $@
|
||||
|
||||
Reference in New Issue
Block a user