|
|
1.1 ! root 1: # @(#)Makefile 2.6 6/10/85 ! 2: # ! 3: CFLAGS = -DINCORE ! 4: #CFLAGS = -DINCORE -g ! 5: CC = cc $(CFLAGS) ! 6: .c.o: ! 7: $(CC) -c $*.c ! 8: ! 9: INVo = invert.o streams.o makekey.o ! 10: INVc = invert.c streams.c makekey.c ! 11: LOOKo = lookup.o locate.o alpha.seek.o streams.o makekey.o ! 12: LOOKc = lookup.c locate.c alpha.seek.c streams.c makekey.c ! 13: NEWBIBo = newbib.o newbibargs.o locate.o alpha.seek.o streams.o makekey.o ! 14: BIBo = bib.o bibargs.o locate.o alpha.seek.o streams.o makekey.o ! 15: BIBc = bib.c bibargs.c locate.c alpha.seek.c streams.c makekey.c ! 16: LISTo = listrefs.o bibargs.o streams.o makekey.o ! 17: NEWLISTo = listrefs.o newbibargs.o streams.o makekey.o ! 18: LISTc = listrefs.c bibargs.c streams.c makekey.c ! 19: ! 20: SRCS = \ ! 21: bib.c \ ! 22: bibargs.c \ ! 23: alpha.seek.c \ ! 24: bib.h \ ! 25: invert.c \ ! 26: listrefs.c \ ! 27: locate.c \ ! 28: lookup.c \ ! 29: makekey.c \ ! 30: streams.c \ ! 31: streams.h ! 32: ! 33: all: invert lookup listrefs bib ! 34: ! 35: install: all ! 36: install -s -c invert $(DESTDIR)/usr/new/invert ! 37: install -s -c lookup $(DESTDIR)/usr/new/lookup ! 38: install -s -c listrefs $(DESTDIR)/usr/new/listrefs ! 39: install -s -c bib $(DESTDIR)/usr/new/bib ! 40: ! 41: invert: $(INVo) ! 42: $(CC) $(INVo) -o invert ! 43: ! 44: invert.lint: $(INVc) bib.h streams.h ! 45: lint $(INVc) >invert.lint ! 46: ! 47: lookup: $(LOOKo) ! 48: $(CC) $(LOOKo) -o lookup ! 49: ! 50: lookup.lint: $(LOOKc) bib.h streams.h ! 51: lint $(LOOKc) >lookup.lint ! 52: ! 53: bib: $(BIBo) ! 54: $(CC) $(BIBo) -o bib ! 55: ! 56: bib.lint: $(BIBc) bib.h streams.h ! 57: lint $(BIBc) >bib.lint ! 58: ! 59: listrefs: $(LISTo) ! 60: $(CC) $(LISTo) -o listrefs ! 61: ! 62: newlisttrefs: $(NEWLISTo) ! 63: $(CC) $(NEWLISTo) -o newlistrefs ! 64: ! 65: bib.o: bib.h ! 66: bibargs.o: bib.h ! 67: listrefs.o: bib.h ! 68: invert.o: streams.h bib.h ! 69: ! 70: locate.o: streams.h bib.h ! 71: makekey.o: bib.h ! 72: alpha.seek.o: streams.h ! 73: streams.o: streams.h ! 74: ! 75: $(SRCS) : ! 76: sccs get $@ ! 77: ! 78: bibdoc: ! 79: tbl doc/bibdoc.ms | vtroff -ms ! 80: vtroff -man doc/invert.man ! 81: vtroff -man doc/bib.man ! 82: ! 83: doc/INDEX: doc/testrefs ! 84: cd doc; invert -p INDEX testrefs ! 85: ! 86: styleman: ! 87: sed -e 's/STYLE/stdn - standard numeric/' tstyles | bib -tstdn >show.stdn ! 88: sed -e 's/STYLE/stdsn - standard sorted numeric/' tstyles | bib -tstdsn >show.stdsn ! 89: sed -e 's/STYLE/stda - standard alphabetic/' tstyles | bib -tstda >show.stda ! 90: sed -e 's/STYLE/opena - open alphabetic/' tstyles | bib -topena >show.opena ! 91: sed -e 's/STYLE/openn - open numeric/' tstyles | bib -topenn >show.openn ! 92: sed -e 's/STYLE/astro - astrophysical journal style/' tstyles | bib -tastro >show.astro ! 93: sed -e 's/STYLE/hnf - Hanson Normal Form/' tstyles | bib -thnf >show.hnf ! 94: sed -e 's/STYLE/list - listrefs default/' tstyles | bib -tlist >show.list ! 95: sed -e 's/STYLE/spe - S P and E Journal style/' tstyles | bib -tspe2 >show.spe ! 96: sed -e 's/STYLE/supn - superscripted numeric style/' tstyles | bib -tsupn >show.supn ! 97: sed -e 's/STYLE/foot - footnoted citations/' tstyles | bib -tfoot >show.foot ! 98: vtroff -ms styletop show.* ! 99: ! 100: clean: ! 101: -rm -f *.o bib invert listrefs lookup tags
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.