diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-08-01 10:09:21 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-08-01 10:09:21 +0000 |
commit | 363d3d71fd0f22f3bf2c2c82f09e158db181d630 (patch) | |
tree | ebdbd833c6c61ec32ae5bde26d2448a8f1813ff1 /Build/source/libs/libpng/libpng-1.6.18/scripts/makefile.amiga | |
parent | 0fd479f40c7c1e76c7de05bbf63588df3d00b9ff (diff) |
libpng 1.6.18
git-svn-id: svn://tug.org/texlive/trunk@38018 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/libpng/libpng-1.6.18/scripts/makefile.amiga')
-rw-r--r-- | Build/source/libs/libpng/libpng-1.6.18/scripts/makefile.amiga | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/Build/source/libs/libpng/libpng-1.6.18/scripts/makefile.amiga b/Build/source/libs/libpng/libpng-1.6.18/scripts/makefile.amiga new file mode 100644 index 00000000000..16a4bd5d331 --- /dev/null +++ b/Build/source/libs/libpng/libpng-1.6.18/scripts/makefile.amiga @@ -0,0 +1,58 @@ +# Commodore Amiga Makefile +# makefile for libpng and SAS C V6.5x compiler +# Copyright (C) 1995-2000 Wolf Faust +# +# This code is released under the libpng license. +# For conditions of distribution and use, see the disclaimer +# and license in png.h +# +# Location/path of zlib include files +ZLIB=/zlib +#compiler +CC=sc +#compiler flags +# WARNING: a bug in V6.51 causes bad code with OPTGO +# So use V6.55 or set NOOPTGO!!!!!!!!! +CFLAGS= NOSTKCHK PARMS=REG OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL\ + OPTLOOP OPTRDEP=4 OPTDEP=4 OPTCOMP=4 INCLUDEDIR=$(ZLIB) \ + DEFINE=PNG_INTERNAL +#linker flags +LDFLAGS= SD ND BATCH +#link libs +LDLIBS= libpng.lib libgz.lib LIB:scm.lib LIB:sc.lib Lib:amiga.lib +# linker +LN= slink +# file deletion command +RM= delete quiet +# library (.lib) file creation command +AR= oml +# make directory command +MKDIR= makedir + +# Pre-built configuration +# See scripts/pnglibconf.mak for more options +PNGLIBCONF_H_PREBUILT = scripts/pnglibconf.h.prebuilt + +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 + +all: libpng.lib pngtest + +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: $(PNGLIBCONF_H_PREBUILT) +COPY $(PNGLIBCONF_H_PREBUILT) TO pnglibconf.h + +pngtest: pngtest.o libpng.lib +$(LN) <WITH < +$(LDFLAGS) +TO pngtest +FROM LIB:c.o pngtest.o +LIB $(LDLIBS) +< + |