|
|
1.1 ! root 1: # lint - description file ! 2: ! 3: NAME = lint ! 4: BINDIR = /usr/bin ! 5: LINTDIR = /usr/lib/lint ! 6: M=../pcc1/mip ! 7: CFLAGS = -DFLEXNAMES -DFMTARGS -I$M -I. -O -g ! 8: LDFLAGS = ! 9: ! 10: OFILES1 = cgram.o comm1.o lint1.o optim.o pftn.o scan.o trees.o xdefs.o ! 11: LNFILES = llib-lc.ln llib-lport.ln llib-lipc.ln ! 12: ! 13: all: lint1 lint2 ${LNFILES} ! 14: ! 15: clean: ! 16: -rm -f cgram.c *.o *.ln lint[12] ! 17: ! 18: install: all ! 19: cp lint[12] llib* ${LINTDIR} ! 20: cp lint.sh ${BINDIR}/${NAME} ! 21: ! 22: lint1: ${OFILES1} ! 23: ${CC} ${LDFLAGS} -o lint1 ${OFILES1} ! 24: ! 25: lint2: lint2.c lint.h $M/manifest ! 26: ${CC} ${CFLAGS} ${LDFLAGS} -o lint2 lint2.c ! 27: ! 28: cgram.c: $M/cgram.y ! 29: yacc $M/cgram.y ! 30: mv y.tab.c cgram.c ! 31: ! 32: cgram.o: $M/manifest $M/mfile1 macdefs cgram.c ! 33: ${CC} -c ${CFLAGS} cgram.c ! 34: ! 35: comm1.o: $M/manifest $M/mfile1 $M/common macdefs $M/comm1.c ! 36: ${CC} -c ${CFLAGS} $M/comm1.c ! 37: ! 38: optim.o: $M/manifest macdefs $M/mfile1 $M/optim.c ! 39: ${CC} -c ${CFLAGS} $M/optim.c ! 40: ! 41: pftn.o: $M/manifest macdefs $M/mfile1 $M/pftn.c ! 42: ${CC} -c ${CFLAGS} $M/pftn.c ! 43: ! 44: lint1.o: $M/manifest macdefs $M/mfile1 lint.h ! 45: ${CC} -c ${CFLAGS} lint1.c ! 46: ! 47: scan.o: $M/manifest macdefs $M/mfile1 $M/scan.c ! 48: ${CC} -c ${CFLAGS} $M/scan.c ! 49: ! 50: trees.o: $M/manifest macdefs $M/mfile1 $M/trees.c ! 51: ${CC} -c ${CFLAGS} $M/trees.c ! 52: ! 53: xdefs.o: $M/manifest $M/mfile1 macdefs $M/xdefs.c ! 54: ${CC} -c ${CFLAGS} $M/xdefs.c ! 55: ! 56: llib-lc.ln: llib-lc lint1 ! 57: -/lib/cpp -C -Dlint llib-lc | ./lint1 -v > llib-lc.ln ! 58: ! 59: llib-lport.ln: llib-lport lint1 ! 60: -/lib/cpp -C -Dlint llib-lport | ./lint1 -puv > llib-lport.ln ! 61: ! 62: llib-lipc.ln: llib-lipc lint1 ! 63: -/lib/cpp -C -Dlint llib-lipc | ./lint1 -v > llib-lipc.ln
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.