1*a67afe4dSAndroid Build Coastguard Worker# Amiga powerUP (TM) Makefile 2*a67afe4dSAndroid Build Coastguard Worker# makefile for libpng and SAS C V6.58/7.00 PPC compiler 3*a67afe4dSAndroid Build Coastguard Worker# Copyright (C) 1998 by Andreas R. Kleinert 4*a67afe4dSAndroid Build Coastguard Worker# 5*a67afe4dSAndroid Build Coastguard Worker# This code is released under the libpng license. 6*a67afe4dSAndroid Build Coastguard Worker# For conditions of distribution and use, see the disclaimer 7*a67afe4dSAndroid Build Coastguard Worker# and license in png.h 8*a67afe4dSAndroid Build Coastguard Worker 9*a67afe4dSAndroid Build Coastguard WorkerCC = scppc 10*a67afe4dSAndroid Build Coastguard WorkerCFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL IDIR /zlib \ 11*a67afe4dSAndroid Build Coastguard Worker OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8 12*a67afe4dSAndroid Build Coastguard WorkerLIBNAME = libpng.a 13*a67afe4dSAndroid Build Coastguard WorkerAR = ppc-amigaos-ar 14*a67afe4dSAndroid Build Coastguard WorkerARFLAGS = cr 15*a67afe4dSAndroid Build Coastguard WorkerRANLIB = ppc-amigaos-ranlib 16*a67afe4dSAndroid Build Coastguard WorkerLDFLAGS = -r -o 17*a67afe4dSAndroid Build Coastguard WorkerLDLIBS = ../zlib/libzip.a LIB:scppc.a 18*a67afe4dSAndroid Build Coastguard WorkerLN = ppc-amigaos-ld 19*a67afe4dSAndroid Build Coastguard WorkerRM = delete quiet 20*a67afe4dSAndroid Build Coastguard Worker 21*a67afe4dSAndroid Build Coastguard WorkerOBJS = png.o pngerror.o pngget.o pngmem.o pngpread.o \ 22*a67afe4dSAndroid Build Coastguard Worker pngread.o pngrio.o pngrtran.o pngrutil.o pngset.o \ 23*a67afe4dSAndroid Build Coastguard Worker pngtrans.o pngwio.o pngwrite.o pngwtran.o pngwutil.o 24*a67afe4dSAndroid Build Coastguard Worker 25*a67afe4dSAndroid Build Coastguard Workerall: $(LIBNAME) pngtest 26*a67afe4dSAndroid Build Coastguard Worker 27*a67afe4dSAndroid Build Coastguard Worker$(LIBNAME): $(OBJS) 28*a67afe4dSAndroid Build Coastguard Worker $(AR) $(ARFLAGS) $@ $(OBJS) 29*a67afe4dSAndroid Build Coastguard Worker $(RANLIB) $@ 30*a67afe4dSAndroid Build Coastguard Worker 31*a67afe4dSAndroid Build Coastguard Workerpngtest: pngtest.o $(LIBNAME) 32*a67afe4dSAndroid Build Coastguard Worker $(LN) $(LDFLAGS) pngtest LIB:c_ppc.o pngtest.o $(LIBNAME) $(LDLIBS) \ 33*a67afe4dSAndroid Build Coastguard WorkerLIB:end.o 34