|
|
1.1 ! root 1: # ! 2: # @(#)Makefile 1.8 (Berkeley) 7/2/83 ! 3: # ! 4: ! 5: DESTDIR= ! 6: AS=/bin/as ! 7: CC=/bin/cc ! 8: LCC=/bin/cc ! 9: LD=/bin/ld ! 10: INCLDIR=${DESTDIR}/usr/include ! 11: LIBDIR=${DESTDIR}/lib ! 12: ULIBDIR=${DESTDIR}/usr/lib ! 13: ! 14: M=../../lib/mip ! 15: PASS1=cgram.o xdefs.o scan.o comm1.o pftn.o trees.o optim.o lint.o hash.o ! 16: LOAD2= ! 17: CFLAGS=-O -DFLEXNAMES -I${INCLDIR} ! 18: LINTLIBS=llib-port.ln llib-lc.ln llib-lm.ln llib-lmp.ln llib-lcurses.ln ! 19: ! 20: all: llpass1 lpass1 lpass2 ${LINTLIBS} ! 21: ! 22: lpass1: ${PASS1} ! 23: ${CC} ${PASS1} -o lpass1 ! 24: ! 25: llpass1: ${PASS1} ! 26: ${LCC} ${PASS1} -o llpass1 ! 27: ! 28: trees.o: $M/manifest macdefs $M/mfile1 $M/trees.c ! 29: ${CC} -c ${CFLAGS} -I$M -I. $M/trees.c ! 30: ! 31: optim.o: $M/manifest macdefs $M/mfile1 $M/optim.c ! 32: ${CC} -c ${CFLAGS} -I$M -I. $M/optim.c ! 33: ! 34: pftn.o: $M/manifest macdefs $M/mfile1 $M/pftn.c ! 35: ${CC} -c ${CFLAGS} -I$M -I. $M/pftn.c ! 36: ! 37: lint.o: $M/manifest macdefs $M/mfile1 lmanifest ! 38: ${CC} -c ${CFLAGS} -I$M -I. lint.c ! 39: ! 40: scan.o: $M/manifest macdefs $M/mfile1 $M/scan.c ! 41: ${CC} -c ${CFLAGS} -I$M -I. $M/scan.c ! 42: ! 43: xdefs.o: $M/manifest $M/mfile1 macdefs $M/xdefs.c ! 44: ${CC} -c ${CFLAGS} -I$M -I. $M/xdefs.c ! 45: ! 46: cgram.o: $M/manifest $M/mfile1 macdefs cgram.c ! 47: ${CC} -c ${CFLAGS} -I$M -I. cgram.c ! 48: ! 49: cgram.c: $M/cgram.y ! 50: yacc $M/cgram.y ! 51: mv y.tab.c cgram.c ! 52: ! 53: comm1.o: $M/manifest $M/mfile1 $M/common macdefs $M/comm1.c ! 54: ${CC} -c ${CFLAGS} -I. -I$M $M/comm1.c ! 55: ! 56: llib-port.ln: llib-port llpass1 ! 57: -(/lib/cpp -C -Dlint llib-port | ./llpass1 -puv > llib-port.ln ) ! 58: ! 59: llib-lm.ln: llib-lm llpass1 ! 60: -(/lib/cpp -C -Dlint llib-lm | ./llpass1 -puv > llib-lm.ln ) ! 61: ! 62: llib-lmp.ln: llib-lmp llpass1 ! 63: -(/lib/cpp -C -Dlint llib-lmp | ./llpass1 -puv > llib-lmp.ln ) ! 64: ! 65: llib-lc.ln: llib-lc llpass1 ! 66: -(/lib/cpp -C -Dlint llib-lc | ./llpass1 -v > llib-lc.ln ) ! 67: ! 68: llib-lcurses.ln: llib-lcurses llpass1 ! 69: -(/lib/cpp -C -Dlint llib-lcurses | ./llpass1 -v > llib-lcurses.ln ) ! 70: ! 71: lpass2: lpass2.o hash.o ! 72: ${CC} lpass2.o hash.o -o lpass2 ! 73: ! 74: lpass2.o: $M/manifest lmanifest ! 75: ${CC} ${CFLAGS} -c -I$M -I. lpass2.c ! 76: ! 77: lintall: ! 78: lint -hpv -I. -I$M $M/cgram.c $M/xdefs.c $M/scan.c \ ! 79: $M/pftn.c $M/trees.c $M/optim.c lint.c ! 80: ! 81: install: all SHELL ! 82: install -s lpass1 ${DESTDIR}/usr/lib/lint/lint1 ! 83: install -s lpass2 ${DESTDIR}/usr/lib/lint/lint2 ! 84: for i in llib-*; do install -c -m 644 $$i ${DESTDIR}/usr/lib/lint; done ! 85: install -c SHELL ${DESTDIR}/usr/bin/lint ! 86: ! 87: shrink: ! 88: rm -f *.o ! 89: ! 90: clean: shrink ! 91: rm -f llpass1 lpass1 lpass2 cgram.c ${LINTLIBS} ! 92: ! 93: cleansrc: ! 94: rm -f llib* lmanifest *.c SHELL macdefs Makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.