summaryrefslogtreecommitdiffhomepage
path: root/libpng/scripts/smakefile.ppc
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-09-29 21:56:06 +0200
committerAki <please@ignore.pl>2021-09-29 21:56:06 +0200
commit740dcb396658606b435d42203e729de96e1814ad (patch)
treeb8446f1320d5836cc258b873cec378d6f735829e /libpng/scripts/smakefile.ppc
parentc5337fbb15c93d63739abbef259e8cc8db117877 (diff)
parent32d5cbb90bcca185eb2f96307f1fc644c612178d (diff)
downloadstarshatter-740dcb396658606b435d42203e729de96e1814ad.zip
starshatter-740dcb396658606b435d42203e729de96e1814ad.tar.gz
starshatter-740dcb396658606b435d42203e729de96e1814ad.tar.bz2
Merge commit '32d5cbb90bcca185eb2f96307f1fc644c612178d' as 'libpng'
Diffstat (limited to 'libpng/scripts/smakefile.ppc')
-rw-r--r--libpng/scripts/smakefile.ppc34
1 files changed, 34 insertions, 0 deletions
diff --git a/libpng/scripts/smakefile.ppc b/libpng/scripts/smakefile.ppc
new file mode 100644
index 0000000..2e7380b
--- /dev/null
+++ b/libpng/scripts/smakefile.ppc
@@ -0,0 +1,34 @@
+# Amiga powerUP (TM) Makefile
+# makefile for libpng and SAS C V6.58/7.00 PPC compiler
+# Copyright (C) 1998 by Andreas R. Kleinert
+#
+# This code is released under the libpng license.
+# For conditions of distribution and use, see the disclaimer
+# and license in png.h
+
+CC = scppc
+CFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL IDIR /zlib \
+ OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8
+LIBNAME = libpng.a
+AR = ppc-amigaos-ar
+AR_FLAGS = cr
+RANLIB = ppc-amigaos-ranlib
+LDFLAGS = -r -o
+LDLIBS = ../zlib/libzip.a LIB:scppc.a
+LN = ppc-amigaos-ld
+RM = delete quiet
+MKDIR = makedir
+
+OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o pngread.o \
+ pngerror.o pngpread.o pngwrite.o pngrtran.o pngwtran.o pngrio.o \
+ pngwio.o pngmem.o
+
+all: $(LIBNAME) pngtest
+
+$(LIBNAME): $(OBJS)
+ $(AR) $(AR_FLAGS) $@ $(OBJS)
+ $(RANLIB) $@
+
+pngtest: pngtest.o $(LIBNAME)
+ $(LN) $(LDFLAGS) pngtest LIB:c_ppc.o pngtest.o $(LIBNAME) $(LDLIBS) \
+LIB:end.o