|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1987 Regents of the University of California. ! 3: # All rights reserved. The Berkeley software License Agreement ! 4: # specifies the terms and conditions for redistribution. ! 5: # ! 6: # @(#)Makefile 4.10 (Berkeley) 12/12/87 ! 7: # ! 8: CFLAGS= -O ! 9: LIBC= /lib/libc.a ! 10: DLSRCS= deliv1.c deliv2.c ! 11: DLOBJS= deliv1.o deliv2.o ! 12: HTSRCS= deliv2.c glue4.c glue5.c hunt1.c hunt2.c hunt3.c hunt5.c hunt6.c \ ! 13: hunt7.c hunt8.c hunt9.c refer3.c shell.c tick.c ! 14: HTOBJS= deliv2.o glue4.o glue5.o hunt1.o hunt2.o hunt3.o hunt5.o hunt6.o \ ! 15: hunt7.o hunt8.o hunt9.o refer3.o shell.o tick.o ! 16: INSRCS= inv1.c inv2.c inv3.c inv5.c inv6.c deliv2.c ! 17: INOBJS= inv1.o inv2.o inv3.o inv5.o inv6.o deliv2.o ! 18: MKSRCS= mkey1.c mkey2.c mkey3.c deliv2.c ! 19: MKOBJS= mkey1.o mkey2.o mkey3.o deliv2.o ! 20: RFSRCS= deliv2.c glue1.c glue2.c glue3.c glue4.c glue5.c hunt2.c hunt3.c \ ! 21: hunt5.c hunt6.c hunt7.c hunt8.c hunt9.c mkey3.c refer0.c refer1.c \ ! 22: refer2.c refer4.c refer5.c refer6.c refer7.c refer8.c shell.c ! 23: RFOBJS= deliv2.o glue1.o glue2.o glue3.o glue4.o glue5.o hunt2.o hunt3.o \ ! 24: hunt5.o hunt6.o hunt7.o hunt8.o hunt9.o mkey3.o refer0.o refer1.o \ ! 25: refer2.o refer4.o refer5.o refer6.o refer7.o refer8.o shell.o ! 26: WHSRCS= what1.c what2.c what3.c what4.c shell.c mkey3.c ! 27: WHOBJS= what1.o what2.o what3.o what4.o shell.o mkey3.o ! 28: SRCS= addbib.c lookbib.c ${DLSRCS} ${HTSRCS} ${INSRCS} ${MKSRCS} ${RFSRCS} \ ! 29: ${WHSRCS} ! 30: OBJS= addbib.o lookbib.o sortbib.o ${DLOBJS} ${HTOBJS} ${INOBJS} ${MKOBJS} \ ! 31: ${RFOBJS} ${WHOBJS} ! 32: ! 33: all: addbib deliv hunt inv lookbib mkey refer sortbib whatabout ! 34: ! 35: addbib: addbib.o ! 36: ${CC} ${CFLAGS} addbib.o -o $@ ! 37: ! 38: deliv: ${DLOBJS} ${LIBC} ! 39: ${CC} ${CFLAGS} ${DLOBJS} -o $@ ! 40: ! 41: hunt: ${HTOBJS} ${LIBC} ! 42: ${CC} ${CFLAGS} ${HTOBJS} -o $@ ! 43: ! 44: inv: ${INOBJS} ${LIBC} ! 45: ${CC} ${CFLAGS} ${INOBJS} -o $@ ! 46: ! 47: lookbib: lookbib.o ! 48: ${CC} ${CFLAGS} lookbib.o -o $@ ! 49: ! 50: mkey: ${MKOBJS} ${LIBC} ! 51: ${CC} ${CFLAGS} ${MKOBJS} -o $@ ! 52: ! 53: refer: ${RFOBJS} ${LIBC} ! 54: ${CC} ${CFLAGS} ${RFOBJS} -o $@ ! 55: ! 56: # refpart doesn't compile ! 57: # ! 58: #RPSRCS= deliv2.c glue4.c glue5.c mkey3.c refer0.c refer1.c refer2.c \ ! 59: # refer3.c refer4.c refer5.c refer6.c refer7.c refer8.c ! 60: #RPOBJS= deliv2.o glue4.o glue5.o mkey3.o refer0.o refer1.o refer2.o \ ! 61: # refer3.o refer4.o refer5.o refer6.o refer7.o refer8.o ! 62: #refpart: ${RPOBJS} ${LIBC} ! 63: # ${CC} ${CFLAGS} ${RPOBJS} -o $@ ! 64: ! 65: sortbib: sortbib.o ! 66: ${CC} ${CFLAGS} sortbib.o -o $@ ! 67: ! 68: whatabout: ${WHOBJS} ${LIBC} ! 69: ${CC} ${CFLAGS} ${WHOBJS} -o $@ ! 70: ! 71: clean: FRC ! 72: rm -f ${OBJS} core addbib deliv hunt inv lookbib mkey refer \ ! 73: refpart sortbib whatabout ! 74: ! 75: depend: FRC ! 76: mkdep ${CFLAGS} ${SRCS} ! 77: ! 78: install: FRC ! 79: -[ -d ${DESTDIR}/usr/lib/refer ] || mkdir ${DESTDIR}/usr/lib/refer ! 80: install -s -o bin -g bin -m 755 mkey ${DESTDIR}/usr/lib/refer/mkey ! 81: install -s -o bin -g bin -m 755 inv ${DESTDIR}/usr/lib/refer/inv ! 82: install -s -o bin -g bin -m 755 hunt ${DESTDIR}/usr/lib/refer/hunt ! 83: install -s -o bin -g bin -m 755 refer ${DESTDIR}/usr/bin/refer ! 84: install -s -o bin -g bin -m 755 addbib ${DESTDIR}/usr/bin/addbib ! 85: install -s -o bin -g bin -m 755 sortbib ${DESTDIR}/usr/bin/sortbib ! 86: install -s -o bin -g bin -m 755 lookbib ${DESTDIR}/usr/bin/lookbib ! 87: install -c -o bin -g bin -m 755 roffbib.sh ${DESTDIR}/usr/bin/roffbib ! 88: install -c -o bin -g bin -m 755 indxbib.sh ${DESTDIR}/usr/bin/indxbib ! 89: install -c -o bin -g bin -m 755 tmac.bib ${DESTDIR}/usr/lib/tmac ! 90: (cd /usr/dict/papers; /bin/sh runinv) ! 91: ! 92: lint: FRC ! 93: lint ${CFLAGS} ${DLSRCS} ! 94: lint ${CFLAGS} ${HTSRCS} ! 95: lint ${CFLAGS} ${INSRCS} ! 96: lint ${CFLAGS} ${MKSRCS} ! 97: lint ${CFLAGS} ${RFSRCS} ! 98: # lint ${CFLAGS} ${RPSRCS} ! 99: lint ${CFLAGS} ${WHSRCS} ! 100: ! 101: tags: FRC ! 102: ctags ${DLSRCS} ! 103: ctags -a ${HTSRCS} ! 104: ctags -a ${INSRCS} ! 105: ctags -a ${MKSRCS} ! 106: ctags -a ${RFSRCS} ! 107: # ctags -a ${RPSRCS} ! 108: ctags -a ${WHSRCS} ! 109: sort -o tags tags ! 110: ! 111: FRC: ! 112: ! 113: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 114: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 115: ! 116: addbib.o: addbib.c /usr/include/stdio.h /usr/include/ctype.h ! 117: addbib.o: /usr/include/signal.h /usr/include/machine/trap.h ! 118: lookbib.o: lookbib.c /usr/include/stdio.h /usr/include/ctype.h ! 119: deliv1.o: deliv1.c /usr/include/stdio.h ! 120: deliv2.o: deliv2.c /usr/include/stdio.h deliv2.c /usr/include/stdio.h ! 121: glue4.o: glue4.c /usr/include/stdio.h /usr/include/ctype.h ! 122: glue5.o: glue5.c /usr/include/stdio.h /usr/include/ctype.h ! 123: hunt1.o: hunt1.c /usr/include/stdio.h /usr/include/assert.h ! 124: hunt2.o: hunt2.c refer..c /usr/include/stdio.h /usr/include/ctype.h ! 125: hunt2.o: /usr/include/assert.h ! 126: hunt3.o: hunt3.c refer..c /usr/include/stdio.h /usr/include/ctype.h ! 127: hunt3.o: /usr/include/assert.h ! 128: hunt5.o: hunt5.c /usr/include/stdio.h /usr/include/sys/types.h ! 129: hunt5.o: /usr/include/sys/stat.h ! 130: hunt6.o: hunt6.c /usr/include/stdio.h /usr/include/assert.h ! 131: hunt7.o: hunt7.c /usr/include/stdio.h /usr/include/assert.h ! 132: hunt8.o: hunt8.c /usr/include/stdio.h /usr/include/assert.h ! 133: hunt9.o: hunt9.c ! 134: refer3.o: refer3.c refer..c /usr/include/stdio.h /usr/include/ctype.h ! 135: refer3.o: /usr/include/assert.h ! 136: shell.o: shell.c ! 137: tick.o: tick.c /usr/include/stdio.h /usr/include/sys/types.h ! 138: tick.o: /usr/include/sys/timeb.h ! 139: inv1.o: inv1.c /usr/include/stdio.h /usr/include/assert.h ! 140: inv2.o: inv2.c /usr/include/stdio.h /usr/include/assert.h ! 141: inv3.o: inv3.c ! 142: inv5.o: inv5.c /usr/include/stdio.h ! 143: inv6.o: inv6.c /usr/include/stdio.h /usr/include/assert.h ! 144: deliv2.o: deliv2.c /usr/include/stdio.h ! 145: mkey1.o: mkey1.c /usr/include/stdio.h ! 146: mkey2.o: mkey2.c /usr/include/stdio.h /usr/include/ctype.h ! 147: mkey3.o: mkey3.c /usr/include/stdio.h ! 148: deliv2.o: deliv2.c /usr/include/stdio.h deliv2.c /usr/include/stdio.h ! 149: glue1.o: glue1.c /usr/include/stdio.h ! 150: glue2.o: glue2.c ! 151: glue3.o: glue3.c refer..c /usr/include/stdio.h /usr/include/ctype.h ! 152: glue3.o: /usr/include/assert.h ! 153: glue4.o: glue4.c /usr/include/stdio.h /usr/include/ctype.h ! 154: glue5.o: glue5.c /usr/include/stdio.h /usr/include/ctype.h ! 155: hunt2.o: hunt2.c refer..c /usr/include/stdio.h /usr/include/ctype.h ! 156: hunt2.o: /usr/include/assert.h ! 157: hunt3.o: hunt3.c refer..c /usr/include/stdio.h /usr/include/ctype.h ! 158: hunt3.o: /usr/include/assert.h ! 159: hunt5.o: hunt5.c /usr/include/stdio.h /usr/include/sys/types.h ! 160: hunt5.o: /usr/include/sys/stat.h ! 161: hunt6.o: hunt6.c /usr/include/stdio.h /usr/include/assert.h ! 162: hunt7.o: hunt7.c /usr/include/stdio.h /usr/include/assert.h ! 163: hunt8.o: hunt8.c /usr/include/stdio.h /usr/include/assert.h ! 164: hunt9.o: hunt9.c ! 165: mkey3.o: mkey3.c /usr/include/stdio.h ! 166: refer0.o: refer0.c refer..c /usr/include/stdio.h /usr/include/ctype.h ! 167: refer0.o: /usr/include/assert.h ! 168: refer1.o: refer1.c /usr/include/signal.h /usr/include/machine/trap.h refer..c ! 169: refer1.o: /usr/include/stdio.h /usr/include/ctype.h /usr/include/assert.h ! 170: refer2.o: refer2.c refer..c /usr/include/stdio.h /usr/include/ctype.h ! 171: refer2.o: /usr/include/assert.h ! 172: refer4.o: refer4.c refer..c /usr/include/stdio.h /usr/include/ctype.h ! 173: refer4.o: /usr/include/assert.h ! 174: refer5.o: refer5.c refer..c /usr/include/stdio.h /usr/include/ctype.h ! 175: refer5.o: /usr/include/assert.h ! 176: refer6.o: refer6.c refer..c /usr/include/stdio.h /usr/include/ctype.h ! 177: refer6.o: /usr/include/assert.h ! 178: refer7.o: refer7.c refer..c /usr/include/stdio.h /usr/include/ctype.h ! 179: refer7.o: /usr/include/assert.h ! 180: refer8.o: refer8.c refer..c /usr/include/stdio.h /usr/include/ctype.h ! 181: refer8.o: /usr/include/assert.h ! 182: shell.o: shell.c ! 183: what1.o: what1.c what..c /usr/include/stdio.h /usr/include/ctype.h ! 184: what1.o: /usr/include/sys/types.h /usr/include/sys/stat.h /usr/include/assert.h ! 185: what2.o: what2.c /usr/include/stdio.h /usr/include/ctype.h ! 186: what3.o: what3.c what..c /usr/include/stdio.h /usr/include/ctype.h ! 187: what3.o: /usr/include/sys/types.h /usr/include/sys/stat.h /usr/include/assert.h ! 188: what4.o: what4.c what..c /usr/include/stdio.h /usr/include/ctype.h ! 189: what4.o: /usr/include/sys/types.h /usr/include/sys/stat.h /usr/include/assert.h ! 190: shell.o: shell.c ! 191: mkey3.o: mkey3.c /usr/include/stdio.h ! 192: ! 193: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.