Imported from libpng-1.4.0beta10.tar

This commit is contained in:
Glenn Randers-Pehrson
2006-07-12 13:33:47 -05:00
parent e826d7e200
commit 3424ee7354
51 changed files with 180 additions and 146 deletions

View File

@@ -8,7 +8,7 @@
# Modeled after libxml-config.
version=1.4.0beta9
version=1.4.0beta10
prefix=""
libdir=""
libs=""

View File

@@ -5,6 +5,6 @@ includedir=@includedir@/libpng14
Name: libpng
Description: Loads and saves PNG files
Version: 1.4.0beta9
Version: 1.4.0beta10
Libs: -L${libdir} -lpng14
Cflags: -I${includedir}

View File

@@ -8,7 +8,7 @@
# Library name:
LIBNAME=libpng14
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
# Shared library names:

View File

@@ -8,7 +8,7 @@
# Library name:
LIBNAME=libpng14
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
# Shared library names:

View File

@@ -10,7 +10,6 @@ CMHGflags =
LibFileflags = -c -l -o $@
Squeezeflags = -o $@
# Final targets:
@.libpng-lib: @.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
@.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngrtran \

View File

@@ -20,7 +20,7 @@ LN_SF = ln -f -s
LIBNAME=libpng14
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
prefix=/usr/local

View File

@@ -8,7 +8,7 @@
# Library name:
LIBNAME=libpng14
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
# Shared library names:

View File

@@ -65,7 +65,7 @@ CFLAGS= $(strip $(MINGW_CCFLAGS) $(addprefix -I,$(ZLIBINC)) \
LIBNAME = libpng14
PNGMAJ = 1
CYGDLL = 14
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
SHAREDLIB=cygpng$(CYGDLL).dll
@@ -112,12 +112,13 @@ OBJSDLL = $(OBJS:.o=.pic.o)
%.pic.o : %.c
$(CC) -c $(CFLAGS) -o $@ $<
all: all-static all-shared libpng.pc libpng-config libpng.pc libpng-config
all: all-static all-shared libpng.pc libpng-config libpng.pc libpng-config \
pngconf.h
pngconf.h.in:
pngconf.h.in: pngconf.h
cat pngconf.h > pngconf.h.in
pngconf.h: pngconf.h.in
pngconf.h: pngconf.h.in
sed "/Makefile-supplied defines go here:/q" pngconf.h.in > pngconf.h
/* if you don't want to use the intel MMX code, uncomment this */

View File

@@ -19,7 +19,7 @@ ZLIBINC=../zlib
# Library name:
LIBNAME = libpng14
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
# Shared library names:

View File

@@ -5,7 +5,7 @@
# Library name:
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
LIBNAME = libpng14

View File

@@ -12,7 +12,7 @@
# Library name:
LIBNAME = libpng14
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
# Shared library names:

View File

@@ -24,7 +24,9 @@ SYMLINKS= libpng/png.h ${INCSDIR}/../png.h \
LDADD+= -lm -lz
DPADD+= ${LIBM} ${LIBZ}
pngconf.h.in:
all: pngconf.h
pngconf.h.in: pngconf.h
cat pngconf.h > pngconf.h.in
pngconf.h: pngconf.h.in

View File

@@ -16,7 +16,7 @@
# Library name:
LIBNAME = libpng14
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
# Shared library names:
@@ -103,9 +103,10 @@ OBJSDLL = $(OBJS:.o=.pic.o)
.c.pic.o:
$(CC) -c $(CFLAGS) -fPIC -o $@ $*.c
all: libpng.a $(LIBSO) pngtest pngtest-static libpng.pc libpng-config
all: libpng.a $(LIBSO) pngtest pngtest-static libpng.pc libpng-config \
pngconf.h
pngconf.h.in:
pngconf.h.in: pngconf.h
cat pngconf.h > pngconf.h.in
# Remove the line with #define PNG_THREAD_UNSAFE_OK if you need thread safety

View File

@@ -18,7 +18,7 @@ ZLIBINC=/opt/zlib/include
# Library name:
LIBNAME = libpng14
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
# Shared library names:

View File

@@ -8,7 +8,7 @@
# Library name:
LIBNAME = libpng14
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
# Shared library names:

View File

@@ -18,7 +18,7 @@ ZLIBINC=/opt/zlib/include
# Library name:
LIBNAME = libpng14
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
# Shared library names:

View File

@@ -46,9 +46,9 @@ pngmem$(O) pngpread$(O) pngread$(O) pngerror$(O) pngwrite$(O) \
pngrtran$(O) pngwtran$(O) pngrio$(O) pngwio$(O) pngvcrd$(O)
all: test
all: test pngconf.h
pngconf.h.in:
pngconf.h.in: pngconf.h
cat pngconf.h > pngconf.h.in
# Remove the line with #define PNG_THREAD_UNSAFE_OK if you need thread safety

View File

@@ -6,7 +6,7 @@
# Library name:
LIBNAME = libpng14
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
# Shared library names:

View File

@@ -66,7 +66,7 @@ CFLAGS= $(strip $(MINGW_CCFLAGS) $(addprefix -I,$(ZLIBINC)) \
LIBNAME = libpng14
PNGMAJ = 1
MINGDLL = 14
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
SHAREDLIB=libpng$(MINGDLL).dll
@@ -113,9 +113,10 @@ OBJSDLL = $(OBJS:.o=.pic.o)
%.pic.o : %.c
$(CC) -c $(CFLAGS) -o $@ $<
all: all-static all-shared libpng.pc libpng-config libpng.pc libpng-config
all: all-static all-shared libpng.pc libpng-config libpng.pc libpng-config \
pngconf.h
pngconf.h.in:
pngconf.h.in: pngconf.h
cat pngconf.h > pngconf.h.in
pngconf.h: pngconf.h.in

View File

@@ -14,7 +14,7 @@ INCSDIR=${LOCALBASE}/include/libpng14
LIB= png12
SHLIB_MAJOR= 0
SHLIB_MINOR= 1.4.0beta9
SHLIB_MINOR= 1.4.0beta10
SRCS= pnggccrd.c png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \
pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \
pngwtran.c pngmem.c pngerror.c pngpread.c
@@ -25,7 +25,9 @@ CPPFLAGS+=-I${.CURDIR}
CLEANFILES+=pngtest.o pngtest
pngconf.h.in:
all: pngconf.h
pngconf.h.in: pngconf.h
cat pngconf.h > pngconf.h.in
pngconf.h: pngconf.h.in

View File

@@ -13,7 +13,7 @@ INCSDIR=${LOCALBASE}/include/libpng
LIB= png
SHLIB_MAJOR= 3
SHLIB_MINOR= 1.4.0beta9
SHLIB_MINOR= 1.4.0beta10
SRCS= pnggccrd.c png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \
pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \
pngwtran.c pngmem.c pngerror.c pngpread.c
@@ -24,10 +24,12 @@ CPPFLAGS+=-I${.CURDIR}
CLEANFILES+=pngtest.o pngtest
pngconf.h.in:
all: pngconf.h
pngconf.h.in: pngconf.h
cat pngconf.h > pngconf.h.in
pngconf.h: pngconf.h.in
pngconf.h: pngconf.h.in
sed "/Makefile-supplied defines go here:/q" pngconf.h.in > pngconf.h
/* if you don't want to use the intel MMX code, uncomment this */

View File

@@ -8,7 +8,7 @@ LIBDIR= ${PREFIX}/lib
MANDIR= ${PREFIX}/man/cat
SHLIB_MAJOR= 0
SHLIB_MINOR= 1.4.0beta9
SHLIB_MINOR= 1.4.0beta10
LIB= png
SRCS= png.c pngerror.c pnggccrd.c pngget.c pngmem.c pngpread.c \
@@ -20,10 +20,12 @@ HDRS= png.h pngconf.h
CFLAGS+= -Wall
CPPFLAGS+= -I${.CURDIR}
pngconf.h.in:
all: pngconf.h
pngconf.h.in: pngconf.h
cat pngconf.h > pngconf.h.in
pngconf.h: pngconf.h.in
pngconf.h: pngconf.h.in
sed "/Makefile-supplied defines go here:/q" pngconf.h.in > pngconf.h
/* if you want to use the intel assembler code, remove this */

View File

@@ -9,7 +9,7 @@
# Library name:
LIBNAME = libpng14
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
# Shared library names:

View File

@@ -6,7 +6,7 @@
# Library name:
LIBNAME=libpng14
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
# Shared library names:

View File

@@ -6,7 +6,7 @@
# Library name:
LIBNAME=libpng14
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
# Shared library names:
@@ -76,12 +76,12 @@ OBJS = pnggccrd.o 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
all: libpng.a pngtest shared libpng.pc libpng-config
all: libpng.a pngtest shared libpng.pc libpng-config pngconf.h
pngconf.h.in:
pngconf.h.in: pngconf.h
cat pngconf.h > pngconf.h.in
pngconf.h: pngconf.h.in
pngconf.h: pngconf.h.in
sed "/Makefile-supplied defines go here:/q" pngconf.h.in > pngconf.h
/* if you don't want to use the intel MMX code, uncomment this */
@@ -238,5 +238,4 @@ pngwrite.o: png.h pngconf.h pngintrn.h
pngwtran.o: png.h pngconf.h pngintrn.h
pngwutil.o: png.h pngconf.h pngintrn.h
pngpread.o: png.h pngconf.h pngintrn.h
pnggccrd.o: png.h pngconf.h pngintrn.h

View File

@@ -8,7 +8,7 @@
# Library name:
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
LIBNAME = libpng14

View File

@@ -8,7 +8,7 @@
# Library name:
LIBNAME = libpng14
PNGMAJ = 1
PNGMIN = 1.4.0beta9
PNGMIN = 1.4.0beta10
PNGVER = $(PNGMAJ).$(PNGMIN)
# Shared library names:
@@ -76,12 +76,12 @@ OBJSDLL = $(OBJS:.o=.pic.o)
.c.pic.o:
$(CC) -c $(CFLAGS) -fPIC -o $@ $*.c
all: libpng.a $(LIBSO) pngtest libpng.pc libpng-config
all: libpng.a $(LIBSO) pngtest libpng.pc libpng-config pngconf.h
pngconf.h.in:
pngconf.h.in: pngconf.h
cat pngconf.h > pngconf.h.in
pngconf.h: pngconf.h.in
pngconf.h: pngconf.h.in
sed "/Makefile-supplied defines go here:/q" pngconf.h.in > pngconf.h
echo "#define PNG_NO_MMX_CODE" >> pngconf.h
sed "1,/Makefile-supplied defines go here:/d" pngconf.h.in >> pngconf.h

View File

@@ -31,12 +31,12 @@ OBJS4 = pngvcrd$(O)
OBJS = $(OBJS1) $(OBJS2) $(OBJS3) $(OBJS4)
# Targets
all: libpng.lib
all: libpng.lib pngconf.h
pngconf.h.in:
pngconf.h.in: pngconf.h
cat pngconf.h > pngconf.h.in
pngconf.h: pngconf.h.in
pngconf.h: pngconf.h.in
sed "/Makefile-supplied defines go here:/q" pngconf.h.in > pngconf.h
echo "#define PNG_USE_PNGVCRD" >> pngconf.h
sed "1,/Makefile-supplied defines go here:/d" pngconf.h.in >> pngconf.h

View File

@@ -30,12 +30,12 @@ OBJS3 = pngtrans$(O) pngwio$(O) pngwrite$(O) pngwtran$(O) pngwutil$(O)
OBJS = $(OBJS1) $(OBJS2) $(OBJS3)
# Targets
all: libpng.lib
all: libpng.lib pngconf.h
pngconf.h.in:
pngconf.h.in: pngconf.h
cat pngconf.h > pngconf.h.in
pngconf.h: pngconf.h.in
pngconf.h: pngconf.h.in
sed "/Makefile-supplied defines go here:/q" pngconf.h.in > pngconf.h
echo "#define PNG_NO_MMX_CODE" >> pngconf.h
sed "1,/Makefile-supplied defines go here:/d" pngconf.h.in >> pngconf.h

View File

@@ -2,7 +2,7 @@
; PNG.LIB module definition file for OS/2
;----------------------------------------
; Version 1.4.0beta9
; Version 1.4.0beta10
LIBRARY PNG
DESCRIPTION "PNG image compression library for OS/2"

View File

@@ -5,7 +5,7 @@
LIBRARY
EXPORTS
;Version 1.4.0beta9
;Version 1.4.0beta10
png_build_grayscale_palette
png_chunk_error
png_chunk_warning