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
6 CFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL \
7 OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8
11 RANLIB = ppc-amigaos-ranlib
17 OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \
18 zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o
20 TEST_OBJS = example.o minigzip.o
26 echo hello world | minigzip | minigzip -d
29 $(AR) $(AR_FLAGS) $@ $(OBJS)
32 example: example.o $(LIBNAME)
33 $(LN) $(LDFLAGS) example LIB:c_ppc.o example.o $(LIBNAME) $(LDLIBS) LIB:end.o
35 minigzip: minigzip.o $(LIBNAME)
36 $(LN) $(LDFLAGS) minigzip LIB:c_ppc.o minigzip.o $(LIBNAME) $(LDLIBS) LIB:end.o
39 $(RM) *.o example minigzip $(LIBNAME) foo.gz
42 zip -ul9 zlib README ChangeLog Makefile Make????.??? Makefile.?? \
46 cd ..; tar cfz zlib/zlib.tgz zlib/README zlib/ChangeLog zlib/Makefile \
47 zlib/Make????.??? zlib/Makefile.?? zlib/descrip.mms zlib/*.[ch]
49 # DO NOT DELETE THIS LINE -- make depend depends on it.
51 adler32.o: zutil.h zlib.h zconf.h
52 compress.o: zlib.h zconf.h
53 crc32.o: zutil.h zlib.h zconf.h
54 deflate.o: deflate.h zutil.h zlib.h zconf.h
55 example.o: zlib.h zconf.h
56 gzio.o: zutil.h zlib.h zconf.h
57 infblock.o: zutil.h zlib.h zconf.h infblock.h inftrees.h infcodes.h infutil.h
58 infcodes.o: zutil.h zlib.h zconf.h inftrees.h infutil.h infcodes.h inffast.h
59 inffast.o: zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
60 inflate.o: zutil.h zlib.h zconf.h infblock.h
61 inftrees.o: zutil.h zlib.h zconf.h inftrees.h
62 infutil.o: zutil.h zlib.h zconf.h inftrees.h infutil.h
63 minigzip.o: zlib.h zconf.h
64 trees.o: deflate.h zutil.h zlib.h zconf.h
65 uncompr.o: zlib.h zconf.h
66 zutil.o: zutil.h zlib.h zconf.h