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