5 #define to "l" if manuals go on /usr/man/manl
8 all : compress atob btoa
10 compress : compress.c USERMEM
11 $(CC) $(COMFLAGS) -DUSERMEM=`cat USERMEM` -o compress compress.c
13 # USERMEM may have to be set by hand. It should contain the amount of
14 # available user memory in bytes. See the README file for more info.
19 $(CC) $(COMFLAGS) -o atob atob.c
22 $(CC) $(COMFLAGS) -o btoa btoa.c
24 install: compress atob btoa zmore zcmp zdiff compressdir uncompressdir btoa.1 compress.1 compressdir.1 zmore.1 zcmp.1 tarmail untarmail
26 rm -f $(BIN)/uncompress $(BIN)/zcat
27 ln $(BIN)/compress $(BIN)/uncompress
28 ln $(BIN)/compress $(BIN)/zcat
29 cp zmore zcmp zdiff compressdir uncompressdir $(BIN)
30 cp atob btoa tarmail untarmail $(BIN)
31 cp btoa.1 $(MAN)/btoa.$(L)
32 rm -f $(MAN)/atob.$(L) $(MAN)/tarmail.$(L) $(MAN)/untarmail.$(L)
33 ln $(MAN)/btoa.$(L) $(MAN)/atob.$(L)
34 ln $(MAN)/btoa.$(L) $(MAN)/tarmail.$(L)
35 ln $(MAN)/btoa.$(L) $(MAN)/untarmail.$(L)
36 cp compress.1 $(MAN)/compress.$(L)
37 rm -f $(MAN)/uncompress.$(L) $(MAN)/zcat.$(L)
38 ln $(MAN)/compress.$(L) $(MAN)/uncompress.$(L)
39 ln $(MAN)/compress.$(L) $(MAN)/zcat.$(L)
40 cp compressdir.1 $(MAN)/compressdir.$(L)
41 cp zmore.1 $(MAN)/zmore.$(L)
42 cp zcmp.1 $(MAN)/zcmp.$(L)
43 rm -f $(MAN)/zdiff.$(L)
44 ln $(MAN)/zcmp.$(L) $(MAN)/zdiff.$(L)
47 rm -f compress atob btoa