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