summaryrefslogtreecommitdiff
path: root/scripts/makefile.amiga
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2000-06-24 07:42:42 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-04-06 16:05:18 -0500
commit1394480f4b6567279e5a41b38277407fb9b50abd (patch)
tree09173a743d400e2b506197ac80a158121b3f2b8a /scripts/makefile.amiga
parent1f2d559f70c0aad278aa28bcf723cfd5e00e0825 (diff)
downloadlibpng-1394480f4b6567279e5a41b38277407fb9b50abd.tar.gz
Imported from libpng-1.0.7beta18.tarv1.0.7beta18
Diffstat (limited to 'scripts/makefile.amiga')
-rw-r--r--scripts/makefile.amiga19
1 files changed, 12 insertions, 7 deletions
diff --git a/scripts/makefile.amiga b/scripts/makefile.amiga
index f92af3e9c..458708811 100644
--- a/scripts/makefile.amiga
+++ b/scripts/makefile.amiga
@@ -1,15 +1,20 @@
# Commodore Amiga Makefile
-# makefile for libpng and SAS C V6.55 compiler
-# Copyright (C) 1995 Wolf Faust
+# makefile for libpng and SAS C V6.5x compiler
+# Copyright (C) 1995-2000 Wolf Faust
# For conditions of distribution and use, see copyright notice in png.h
-
+#
+# Note: Use #define PNG_READ_BIG_ENDIAN_SUPPORTED in pngconf.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 DEFINE=PNG_INTERNAL
+ OPTLOOP OPTRDEP=4 OPTDEP=4 OPTCOMP=4 INCLUDEDIR=$(ZLIB) \
+ DEFINE=PNG_INTERNAL
#linker flags
LDFLAGS= SD ND BATCH
#link libs
@@ -23,8 +28,9 @@ AR= oml
# make directory command
MKDIR= makedir
-OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o pngpread.o \
-pngread.o pngerror.o pngwrite.o pngrtran.o pngwtran.o pngrio.o pngwio.o pngmem.o
+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
@@ -40,4 +46,3 @@ FROM LIB:c.o pngtest.o
LIB $(LDLIBS)
<
-