[devel] Revise scripts to work with pnglibconf.h

This commit is contained in:
Glenn Randers-Pehrson
2010-04-17 08:17:51 -05:00
parent 98b4f0032b
commit 725314432d
48 changed files with 923 additions and 666 deletions

View File

@@ -6,8 +6,6 @@
# For conditions of distribution and use, see the disclaimer
# and license in png.h
#
# Note: Use #define PNG_READ_BIG_ENDIAN_SUPPORTED in pngconf.h
#
# Location/path of zlib include files
ZLIB=/zlib
#compiler
@@ -26,6 +24,8 @@ LDLIBS= libpng.lib libgz.lib LIB:scm.lib LIB:sc.lib Lib:amiga.lib
LN= slink
# file deletion command
RM= delete quiet
# file copy command?
CP= copy
# library (.lib) file creation command
AR= oml
# make directory command
@@ -41,6 +41,11 @@ libpng.lib: $(OBJS)
-$(RM) libpng.lib
$(AR) libpng.lib r $(OBJS)
$(OBJS): pngpriv.h png.h pngconf.h pnglibconf.h pnginfo.h pngstruct.h pngdebug.h
pnglibconf.h: scripts/pnglibconf.h
$(CP) scripts/pnglibconf.h pnglibconf.h
pngtest: pngtest.o libpng.lib
$(LN) <WITH <
$(LDFLAGS)