|
|
1.1.1.2 ! root 1: # D. L. Buck and Associates - BscBatch Utilities - 8/27/84 ! 2: # @(#)makefile 1.15 REL 1.1 root 3: 1.1.1.2 ! root 4: SHELL=/bin/sh ! 5: TESTDIR = ../../bin ! 6: CFLAGS = -O ! 7: LDFLAGS = -i ! 8: H = ../../sys/bsc ! 9: TARGET=dummy ! 10: BATCHFILES=bsc_audnm.c bscbatch.c bscd.c bsclean.c bsclog.c bscmon.c \ ! 11: bscpr.c bsctrace.c get_errors.c get_params.c install.c \ ! 12: rcvf.c send_son.c sendf.c soff_send.c trans.tbl.c ! 13: BSCDFILES= bscd.c get_params.c sendf.c rcvf.c get_errors.c trans.tbl.c \ ! 14: bsc_audnm.c send_son.c soff_send.c install.c ! 15: ! 16: .c: ! 17: $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ ! 18: ! 19: .c~: ! 20: $(GET) $(GFLAGS) -p $< > $*.c ! 21: $(CC) $(CFLAGS) $(LDFLAGS) $*.c -o $@ ! 22: rm -f $*.c ! 23: ! 24: $(TESTDIR)/.touch:\ ! 25: $(TESTDIR)/bscd \ ! 26: $(TESTDIR)/bscd.x \ ! 27: $(TESTDIR)/bscpr \ ! 28: $(TESTDIR)/bsclog \ ! 29: $(TESTDIR)/bscmon \ ! 30: $(TESTDIR)/bsclean \ ! 31: $(TESTDIR)/bsctrace \ ! 32: $(TESTDIR)/bscbatch ! 33: -touch $(TESTDIR)/.touch ! 34: ! 35: release: ! 36: echo Modification history -- $(TARGET) > hist.out ! 37: -for i in $(BATCHFILES) ; \ ! 38: do echo "------------------- Delta History for" $$i "--------------" >> hist.out;\ ! 39: prs -r -e -d"Delta :I: on :D: by :P::\n\t:C:MRs :MR:" s.$$i >> hist.out;\ ! 40: done ! 41: pr -h "cmd/batch modification history" hist.out | ipr -D"formwidth 132" ! 42: rm hist.out ! 43: ! 44: $(TESTDIR)/bscd: bscd ! 45: -ln -f bscd $(TESTDIR) ! 46: $(TESTDIR)/bscd.x: bscd.x ! 47: -ln -f bscd.x $(TESTDIR) ! 48: $(TESTDIR)/bscpr: bscpr ! 49: -ln -f bscpr $(TESTDIR) ! 50: $(TESTDIR)/bsclog: bsclog ! 51: -ln -f bsclog $(TESTDIR) ! 52: $(TESTDIR)/bscmon: bscmon ! 53: -ln -f bscmon $(TESTDIR) ! 54: $(TESTDIR)/bsclean: bsclean ! 55: -ln -f bsclean $(TESTDIR) ! 56: $(TESTDIR)/bsctrace: bsctrace ! 57: -ln -f bsctrace $(TESTDIR) ! 58: $(TESTDIR)/bscbatch: bscbatch ! 59: -ln -f bscbatch $(TESTDIR) ! 60: ! 61: bscd: bscd.o get_params.o sendf.o rcvf.o get_errors.o trans.tbl.o \ ! 62: bsc_audnm.o send_son.o soff_send.o install.o ! 63: $(CC) $(LDFLAGS) -o bscd \ ! 64: bscd.o get_params.o sendf.o bsc_audnm.o \ ! 65: rcvf.o get_errors.o send_son.o soff_send.o \ ! 66: trans.tbl.o install.o ! 67: ! 68: bscd.x: bscd.o get_params.o sendf.o rcvf.o get_errors.o bsc_audnm.o \ ! 69: send_son.o soff_send.o trans.tbl.o ! 70: -ld -r -x -o bscd.x \ ! 71: bscd.o get_params.o sendf.o bsc_audnm.o \ ! 72: rcvf.o get_errors.o send_son.o soff_send.o \ ! 73: trans.tbl.o ! 74: ! 75: bsctrace: bsctrace.c trans.tbl.o $H/bsctr.h local.h ! 76: $(CC) $(CFLAGS) $(LDFLAGS) -o bsctrace bsctrace.c trans.tbl.o ! 77: ! 78: bscbatch: bscbatch.o bsc_audnm.o ! 79: $(CC) $(CFLAGS) $(LDFLAGS) -o bscbatch bscbatch.o bsc_audnm.o ! 80: bscbatch.o bsclog.o bscpr.o: local.h ! 81: ! 82: local.h: $(TARGET)local.h ! 83: -ln -f $(TARGET)local.h local.h ! 84: ! 85: bscd.o rcvf.o sendf.o: local.h $H/bscio.h ! 86: get_errors.o send_son.o: $H/bscio.h ! 87: bscmon.o: $H/bsctr.h local.h ! 88: ! 89: clean: ! 90: rm -f *.o bscd bscd.x bscpr bsclog bscmon bsclean bsctrace bscbatch \ ! 91: lint* ! 92: ! 93: lint: $(BATCHFILES) ! 94: lint $(BSCDFILES) > lintbscd ! 95: lint bscbatch.c bsc_audnm.c > lintbscbatch ! 96: lint bscmon.c > lintbscmon ! 97: lint bsctrace.c > lintbsctrace ! 98: lint bsclog.c > lintbsclog ! 99: lint bsclean.c > lintbsclean ! 100: lint bscpr.c > lintbscpr ! 101: -touch lint
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.