summaryrefslogtreecommitdiff
path: root/Build/source/libs/libpng/libpng-1.6.2/scripts/smakefile.ppc
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-06-03 07:19:49 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-06-03 07:19:49 +0000
commit435ee8535cb55ef2488f2e35f4993926d75196c3 (patch)
treeff9d8a62d8527877cccabec57ae9e979a0fa79e4 /Build/source/libs/libpng/libpng-1.6.2/scripts/smakefile.ppc
parentbe26b9ab83485346d83da01cbde610aa55ab1b69 (diff)
libpng 1.6.2
git-svn-id: svn://tug.org/texlive/trunk@30821 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/libpng/libpng-1.6.2/scripts/smakefile.ppc')
-rw-r--r--Build/source/libs/libpng/libpng-1.6.2/scripts/smakefile.ppc34
1 files changed, 34 insertions, 0 deletions
diff --git a/Build/source/libs/libpng/libpng-1.6.2/scripts/smakefile.ppc b/Build/source/libs/libpng/libpng-1.6.2/scripts/smakefile.ppc
new file mode 100644
index 00000000000..2e7380b1f98
--- /dev/null
+++ b/Build/source/libs/libpng/libpng-1.6.2/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