|
|
1.1 root 1: CC=cc
2: COMFLAGS=-O
3: BIN=/bin386/bin
4: MAN=/usr/man/man1
5: #define to "l" if manuals go on /usr/man/manl
6: L=1
7:
8: all : compress atob btoa
9: @echo Done!
10:
11: compress : compress.c
12: $(CC) $(COMFLAGS) -DBITS=16 -o compress compress.c
13:
14: # USERMEM may have to be set by hand. It should contain the amount of
15: # available user memory in bytes. See the README file for more info.
16: USERMEM:
17: sh usermem > USERMEM
18:
19: atob: atob.c
20: $(CC) $(COMFLAGS) -o atob atob.c
21:
22: btoa: btoa.c
23: $(CC) $(COMFLAGS) -o btoa btoa.c
24:
25: #install: compress atob btoa zmore zcmp zdiff compressdir uncompressdir btoa.1 compress.1 compressdir.1 zmore.1 zcmp.1 tarmail untarmail
26: install:
27: cp compress $(BIN)
28: rm -f $(BIN)/uncompress $(BIN)/zcat
29: ln $(BIN)/compress $(BIN)/uncompress
30: ln $(BIN)/compress $(BIN)/zcat
31: # cp zmore zcmp zdiff compressdir uncompressdir $(BIN)
32: # cp atob btoa tarmail untarmail $(BIN)
33: # cp btoa.1 $(MAN)/btoa.$(L)
34: # rm -f $(MAN)/atob.$(L) $(MAN)/tarmail.$(L) $(MAN)/untarmail.$(L)
35: # ln $(MAN)/btoa.$(L) $(MAN)/atob.$(L)
36: # ln $(MAN)/btoa.$(L) $(MAN)/tarmail.$(L)
37: # ln $(MAN)/btoa.$(L) $(MAN)/untarmail.$(L)
38: # cp compress.1 $(MAN)/compress.$(L)
39: # rm -f $(MAN)/uncompress.$(L) $(MAN)/zcat.$(L)
40: # ln $(MAN)/compress.$(L) $(MAN)/uncompress.$(L)
41: # ln $(MAN)/compress.$(L) $(MAN)/zcat.$(L)
42: # cp compressdir.1 $(MAN)/compressdir.$(L)
43: # cp zmore.1 $(MAN)/zmore.$(L)
44: # cp zcmp.1 $(MAN)/zcmp.$(L)
45: # rm -f $(MAN)/zdiff.$(L)
46: # ln $(MAN)/zcmp.$(L) $(MAN)/zdiff.$(L)
47:
48: clean:
49: rm -f compress atob btoa
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.