summaryrefslogtreecommitdiff
path: root/old/amiga/Makefile.pup
diff options
context:
space:
mode:
Diffstat (limited to 'old/amiga/Makefile.pup')
-rw-r--r--old/amiga/Makefile.pup66
1 files changed, 66 insertions, 0 deletions
diff --git a/old/amiga/Makefile.pup b/old/amiga/Makefile.pup
new file mode 100644
index 0000000..6cfad1d
--- /dev/null
+++ b/old/amiga/Makefile.pup
@@ -0,0 +1,66 @@
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
4
5CC = scppc
6CFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL \
7 OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8
8LIBNAME = libzip.a
9AR = ppc-amigaos-ar
10AR_FLAGS = cr
11RANLIB = ppc-amigaos-ranlib
12LDFLAGS = -r -o
13LDLIBS = LIB:scppc.a
14LN = ppc-amigaos-ld
15RM = delete quiet
16
17OBJS = 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
19
20TEST_OBJS = example.o minigzip.o
21
22all: example minigzip
23
24test: all
25 example
26 echo hello world | minigzip | minigzip -d
27
28$(LIBNAME): $(OBJS)
29 $(AR) $(AR_FLAGS) $@ $(OBJS)
30 $(RANLIB) $@
31
32example: example.o $(LIBNAME)
33 $(LN) $(LDFLAGS) example LIB:c_ppc.o example.o $(LIBNAME) $(LDLIBS) LIB:end.o
34
35minigzip: minigzip.o $(LIBNAME)
36 $(LN) $(LDFLAGS) minigzip LIB:c_ppc.o minigzip.o $(LIBNAME) $(LDLIBS) LIB:end.o
37
38clean:
39 $(RM) *.o example minigzip $(LIBNAME) foo.gz
40
41zip:
42 zip -ul9 zlib README ChangeLog Makefile Make????.??? Makefile.?? \
43 descrip.mms *.[ch]
44
45tgz:
46 cd ..; tar cfz zlib/zlib.tgz zlib/README zlib/ChangeLog zlib/Makefile \
47 zlib/Make????.??? zlib/Makefile.?? zlib/descrip.mms zlib/*.[ch]
48
49# DO NOT DELETE THIS LINE -- make depend depends on it.
50
51adler32.o: zutil.h zlib.h zconf.h
52compress.o: zlib.h zconf.h
53crc32.o: zutil.h zlib.h zconf.h
54deflate.o: deflate.h zutil.h zlib.h zconf.h
55example.o: zlib.h zconf.h
56gzio.o: zutil.h zlib.h zconf.h
57infblock.o: zutil.h zlib.h zconf.h infblock.h inftrees.h infcodes.h infutil.h
58infcodes.o: zutil.h zlib.h zconf.h inftrees.h infutil.h infcodes.h inffast.h
59inffast.o: zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
60inflate.o: zutil.h zlib.h zconf.h infblock.h
61inftrees.o: zutil.h zlib.h zconf.h inftrees.h
62infutil.o: zutil.h zlib.h zconf.h inftrees.h infutil.h
63minigzip.o: zlib.h zconf.h
64trees.o: deflate.h zutil.h zlib.h zconf.h
65uncompr.o: zlib.h zconf.h
66zutil.o: zutil.h zlib.h zconf.h