source: trunk/essentials/app-arch/gzip/amiga/Makefile.sasc

Last change on this file was 3325, checked in by bird, 18 years ago

gzip 1.3.11

File size: 2.0 KB
Line 
1# Makefile for gzip (GNU zip) -*- Indented-Text -*-
2# This Makefile is for SAS/C 6.3 on the Amiga
3# Don't use it with SAS/C 6.2 or earlier versions. These versions will
4# produce incorrect code for trees.c because of a bug in the optimizer.
5# Made by Carsten Steger (carsten.steger@informatik.tu-muenchen.de)
6
7# Some notes on gzip for the Amiga:
8# Due to a strange implementation of the RAM-Disk on Commodore's part
9# you should not use gzip -r on a directory in the RAM-Disk. To zip all
10# files in a directory 'dir' in the RAM-Disk use something like
11# gzip ram:dir/#? ram:dir/#?/#? ...
12# where the number of '#?'s reflects the depth of the directory 'dir'.
13#
14# Alas, the program has it's full functionality only if you have
15# Kickstart 2.0 or higher installed. This affects the expansion of
16# wildcards and the preservation of file access times. You should use
17# a shell that does wildcard expansion under Kickstart 1.3.
18
19
20CC = sc
21
22# If you have a 68020 or more you can define UNALIGNED_OK below
23DEFS = DEF=AMIGA
24LIBS = LIB LIB:scnb.lib
25
26CFLAGS = DATA=FAR NOSTKCHK PARM=R IDIR=
27OPTFLAGS = OPT OPTGO OPTPEEP OPTCOMP=3 OPTDEP=3 OPTRDEP=3
28LDFLAGS = FROM LIB:c.o
29
30OBJS = gzip.o zip.o deflate.o trees.o bits.o unzip.o inflate.o util.o \
31 crypt.o lzw.o unlzw.o unpack.o unlzh.o getopt.o tailor.o match.o
32
33.c.o:
34 $(CC) $(DEFS) $(CFLAGS) $(OPTFLAGS) $<
35.a.o:
36 $(CC) $(DEFS) $(CFLAGS) $<
37
38all: gzip
39
40gzip: $(OBJS)
41 slink $(LDFLAGS) $(OBJS) TO $@ $(LIBS)
42
43gzip.o: gzip.c gzip.h tailor.h revision.h lzw.h getopt.h
44zip.o: zip.c gzip.h tailor.h crypt.h
45deflate.o: deflate.c gzip.h tailor.h lzw.h
46trees.o: trees.c gzip.h tailor.h
47bits.o: bits.c gzip.h tailor.h crypt.h
48unzip.o: unzip.c gzip.h tailor.h crypt.h
49inflate.o: inflate.c gzip.h tailor.h
50util.o: util.c gzip.h tailor.h crypt.h
51lzw.o: lzw.c lzw.h gzip.h tailor.h
52unlzw.o: unlzw.c gzip.h tailor.h lzw.h
53unpack.o: unpack.c gzip.h tailor.h crypt.h
54unlzh.o: unlzh.c gzip.h tailor.h lzw.h
55crypt.o: crypt.c
56getopt.o: getopt.c getopt.h
57tailor.o: tailor.c
58
59match.o: match.a
Note: See TracBrowser for help on using the repository browser.