1 # Amiga powerUP (TM) Makefile
2 # makefile for libpng and SAS C V6.58/7.00 PPC compiler
3 # Copyright (C) 1998 by Andreas R. Kleinert
8 CFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL \
9 OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8 NOVER
10 AR = ppc-amigaos-ar cr
11 RANLIB = ppc-amigaos-ranlib
12 LD = ppc-amigaos-ld -r
14 LDLIBS = LIB:scppc.a LIB:end.o
17 OBJS = adler32.o compress.o crc32.o gzclose.o gzlib.o gzread.o gzwrite.o \
18 uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o
20 TEST_OBJS = example.o minigzip.o
27 echo hello world | minigzip | minigzip -d
33 example: example.o $(LIBNAME)
34 $(LD) $(LDFLAGS) $@ LIB:c_ppc.o $@.o $(LIBNAME) $(LDLIBS)
36 minigzip: minigzip.o $(LIBNAME)
37 $(LD) $(LDFLAGS) $@ LIB:c_ppc.o $@.o $(LIBNAME) $(LDLIBS)
41 $(RM) *.o example minigzip $(LIBNAME) foo.gz
44 zip -ul9 zlib README ChangeLog Makefile Make????.??? Makefile.?? \
48 cd ..; tar cfz zlib/zlib.tgz zlib/README zlib/ChangeLog zlib/Makefile \
49 zlib/Make????.??? zlib/Makefile.?? zlib/descrip.mms zlib/*.[ch]
51 # DO NOT DELETE THIS LINE -- make depend depends on it.
53 adler32.o: zlib.h zconf.h
54 compress.o: zlib.h zconf.h
55 crc32.o: crc32.h zlib.h zconf.h
56 deflate.o: deflate.h zutil.h zlib.h zconf.h
57 example.o: zlib.h zconf.h
58 gzclose.o: zlib.h zconf.h gzguts.h
59 gzlib.o: zlib.h zconf.h gzguts.h
60 gzread.o: zlib.h zconf.h gzguts.h
61 gzwrite.o: zlib.h zconf.h gzguts.h
62 inffast.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
63 inflate.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
64 infback.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
65 inftrees.o: zutil.h zlib.h zconf.h inftrees.h
66 minigzip.o: zlib.h zconf.h
67 trees.o: deflate.h zutil.h zlib.h zconf.h trees.h
68 uncompr.o: zlib.h zconf.h
69 zutil.o: zutil.h zlib.h zconf.h