|
|
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 1.23 (Berkeley) 12/1/87 ! 7: # ! 8: CFLAGS= -O ! 9: CMDS= ACTFILE.c ADDT.c ARGV.c ASRT.c ASRTS.c ATAN.c BUFF.c CARD.c \ ! 10: CASERNG.c CHR.c CLCK.c COS.c CTTOT.c DATE.c DEFNAME.c \ ! 11: DFDISPOSE.c DISPOSE.c EXCEPT.c EXP.c EXPO.c FCALL.c FLUSH.c \ ! 12: FNIL.c FRTN.c FSAV.c GET.c HALT.c IN.c INCT.c LINO.c \ ! 13: LLIMIT.c LN.c MAX.c MULT.c NAM.c NEW.c NIL.c PACK.c \ ! 14: PAGE.c PRED.c PUT.c RANDOM.c RANG4.c READ4.c READ8.c READC.c \ ! 15: READE.c READLN.c RELEQ.c RELNE.c RELSGE.c RELSGT.c RELSLE.c \ ! 16: RELSLT.c RELTGE.c RELTGT.c RELTLE.c RELTLT.c REMOVE.c RESET.c \ ! 17: REWRITE.c ROUND.c RSNG4.c SCLCK.c SEED.c SIN.c SQRT.c STLIM.c \ ! 18: SUBSC.c SUBSCZ.c SUBT.c SUCC.c TEOF.c TEOLN.c TIME.c TRUNC.c \ ! 19: UNIT.c UNPACK.c WRITEC.c WRITEF.c WRITES.c WRITLN.c ! 20: SYS= ERROR.c GETNAME.c IOSYNC.c PCEXIT.c PCLOSE.c PCSTART.c \ ! 21: PFCLOSE.c PERROR.c PFLUSH.c PMFLUSH.c UNSYNC.c \ ! 22: blkclr.c blkcpy.c ! 23: EXTN= APPEND.c SEEK.c TELL.c ! 24: SRCS= ${CMDS} ${SYS} ${EXTN} ! 25: COBJS= ACTFILE.o ADDT.o ARGV.o ASRT.o ASRTS.o ATAN.o BUFF.o CARD.o \ ! 26: CASERNG.o CHR.o CLCK.o COS.o CTTOT.o DATE.o DEFNAME.o \ ! 27: DFDISPOSE.o DISPOSE.o EXCEPT.o EXP.o EXPO.o FCALL.o FLUSH.o \ ! 28: FNIL.o FRTN.o FSAV.o GET.o HALT.o IN.o INCT.o LINO.o \ ! 29: LLIMIT.o LN.o MAX.o MULT.o NAM.o NEW.o NIL.o PACK.o\ ! 30: PAGE.o PRED.o PUT.o RANDOM.o RANG4.o READ4.o READ8.o READC.o\ ! 31: READE.o READLN.o RELEQ.o RELNE.o RELSGE.o RELSGT.o RELSLE.o\ ! 32: RELSLT.o RELTGE.o RELTGT.o RELTLE.o RELTLT.o REMOVE.o RESET.o\ ! 33: REWRITE.o ROUND.o RSNG4.o SCLCK.o SEED.o SIN.o SQRT.o STLIM.o\ ! 34: SUBSC.o SUBSCZ.o SUBT.o SUCC.o TEOF.o TEOLN.o TIME.o TRUNC.o\ ! 35: UNIT.o UNPACK.o WRITEC.o WRITEF.o WRITES.o WRITLN.o ! 36: SYOBJ = ERROR.o GETNAME.o IOSYNC.o PCEXIT.o PCLOSE.o PCSTART.o \ ! 37: PFCLOSE.o PERROR.o PFLUSH.o PMFLUSH.o UNSYNC.o \ ! 38: blkclr.o blkcpy.o ! 39: EXOBJ = APPEND.o SEEK.o TELL.o ! 40: OBJS= ${COBJS} ${SYOBJ} ${EXOBJ} ! 41: ! 42: .c.o: ! 43: ${CC} -p ${CFLAGS} -c $*.c ! 44: mv $@ tmp.o ! 45: -ld -X -r -o profiled/$@ tmp.o ! 46: ${CC} ${CFLAGS} -c $*.c ! 47: mv $@ tmp.o ! 48: -ld -x -r -o $@ tmp.o ! 49: ! 50: all: libpc libpc_p ! 51: ! 52: libpc libpc_p: ${OBJS} ! 53: cd profiled; ar cru ../libpc_p ${OBJS} ! 54: ranlib libpc_p ! 55: ar cru libpc ${OBJS} ! 56: ranlib libpc ! 57: ! 58: clean: FRC ! 59: rm -f ${OBJS} core libpc libpc_p profiled/*.o tmp tmp.o ! 60: ! 61: depend: FRC ! 62: mkdep ${CFLAGS} ${SRCS} ! 63: ! 64: install: FRC ! 65: install -o bin -g bin -m 644 libpc_p ${DESTDIR}/usr/lib/libpc_p.a ! 66: ranlib ${DESTDIR}/usr/lib/libpc_p.a ! 67: install -o bin -g bin -m 644 libpc ${DESTDIR}/usr/lib/libpc.a ! 68: ranlib ${DESTDIR}/usr/lib/libpc.a ! 69: ! 70: lint: FRC ! 71: lint ${CFLAGS} ${SRCS} ! 72: ! 73: tags: FRC ! 74: ctags ${SRCS} ! 75: ! 76: FRC: ! 77: ! 78: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 79: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 80: ! 81: ACTFILE.o: ACTFILE.c h00vars.h /usr/include/stdio.h whoami.h ! 82: ADDT.o: ADDT.c ! 83: ARGV.o: ARGV.c h00vars.h /usr/include/stdio.h whoami.h ! 84: ASRT.o: ASRT.c ! 85: ASRTS.o: ASRTS.c ! 86: ATAN.o: ATAN.c /usr/include/math.h ! 87: BUFF.o: BUFF.c h00vars.h /usr/include/stdio.h whoami.h ! 88: CARD.o: CARD.c ! 89: CASERNG.o: CASERNG.c ! 90: CHR.o: CHR.c ! 91: CLCK.o: CLCK.c ! 92: COS.o: COS.c /usr/include/math.h ! 93: CTTOT.o: CTTOT.c whoami.h h00vars.h /usr/include/stdio.h whoami.h ! 94: DATE.o: DATE.c ! 95: DEFNAME.o: DEFNAME.c h00vars.h /usr/include/stdio.h whoami.h ! 96: DFDISPOSE.o: DFDISPOSE.c h00vars.h /usr/include/stdio.h whoami.h libpc.h ! 97: DISPOSE.o: DISPOSE.c h00vars.h /usr/include/stdio.h whoami.h ! 98: EXCEPT.o: EXCEPT.c /usr/include/signal.h /usr/include/machine/trap.h ! 99: EXP.o: EXP.c /usr/include/math.h ! 100: EXPO.o: EXPO.c ! 101: FCALL.o: FCALL.c h00vars.h /usr/include/stdio.h whoami.h ! 102: FLUSH.o: FLUSH.c h00vars.h /usr/include/stdio.h whoami.h ! 103: FNIL.o: FNIL.c h00vars.h /usr/include/stdio.h whoami.h ! 104: FRTN.o: FRTN.c h00vars.h /usr/include/stdio.h whoami.h ! 105: FSAV.o: FSAV.c h00vars.h /usr/include/stdio.h whoami.h ! 106: GET.o: GET.c h00vars.h /usr/include/stdio.h whoami.h ! 107: HALT.o: HALT.c h00vars.h /usr/include/stdio.h whoami.h ! 108: IN.o: IN.c h00vars.h /usr/include/stdio.h whoami.h ! 109: INCT.o: INCT.c h00vars.h /usr/include/stdio.h whoami.h ! 110: LINO.o: LINO.c h00vars.h /usr/include/stdio.h whoami.h ! 111: LLIMIT.o: LLIMIT.c h00vars.h /usr/include/stdio.h whoami.h ! 112: LN.o: LN.c /usr/include/math.h ! 113: MAX.o: MAX.c h00vars.h /usr/include/stdio.h whoami.h ! 114: MULT.o: MULT.c ! 115: NAM.o: NAM.c h00vars.h /usr/include/stdio.h whoami.h ! 116: NEW.o: NEW.c h00vars.h /usr/include/stdio.h whoami.h ! 117: NIL.o: NIL.c h00vars.h /usr/include/stdio.h whoami.h ! 118: PACK.o: PACK.c ! 119: PAGE.o: PAGE.c h00vars.h /usr/include/stdio.h whoami.h ! 120: PRED.o: PRED.c ! 121: PUT.o: PUT.c h00vars.h /usr/include/stdio.h whoami.h ! 122: RANDOM.o: RANDOM.c h00vars.h /usr/include/stdio.h whoami.h ! 123: RANG4.o: RANG4.c ! 124: READ4.o: READ4.c h00vars.h /usr/include/stdio.h whoami.h /usr/include/errno.h ! 125: READ8.o: READ8.c h00vars.h /usr/include/stdio.h whoami.h /usr/include/errno.h ! 126: READC.o: READC.c h00vars.h /usr/include/stdio.h whoami.h ! 127: READE.o: READE.c h00vars.h /usr/include/stdio.h whoami.h ! 128: READLN.o: READLN.c h00vars.h /usr/include/stdio.h whoami.h ! 129: RELEQ.o: RELEQ.c h00vars.h /usr/include/stdio.h whoami.h ! 130: RELNE.o: RELNE.c h00vars.h /usr/include/stdio.h whoami.h ! 131: RELSGE.o: RELSGE.c h00vars.h /usr/include/stdio.h whoami.h ! 132: RELSGT.o: RELSGT.c h00vars.h /usr/include/stdio.h whoami.h ! 133: RELSLE.o: RELSLE.c h00vars.h /usr/include/stdio.h whoami.h ! 134: RELSLT.o: RELSLT.c h00vars.h /usr/include/stdio.h whoami.h ! 135: RELTGE.o: RELTGE.c h00vars.h /usr/include/stdio.h whoami.h ! 136: RELTGT.o: RELTGT.c h00vars.h /usr/include/stdio.h whoami.h ! 137: RELTLE.o: RELTLE.c h00vars.h /usr/include/stdio.h whoami.h ! 138: RELTLT.o: RELTLT.c h00vars.h /usr/include/stdio.h whoami.h ! 139: REMOVE.o: REMOVE.c h00vars.h /usr/include/stdio.h whoami.h ! 140: RESET.o: RESET.c h00vars.h /usr/include/stdio.h whoami.h ! 141: REWRITE.o: REWRITE.c h00vars.h /usr/include/stdio.h whoami.h ! 142: ROUND.o: ROUND.c ! 143: RSNG4.o: RSNG4.c ! 144: SCLCK.o: SCLCK.c ! 145: SEED.o: SEED.c h00vars.h /usr/include/stdio.h whoami.h ! 146: SIN.o: SIN.c /usr/include/math.h ! 147: SQRT.o: SQRT.c /usr/include/math.h ! 148: STLIM.o: STLIM.c h00vars.h /usr/include/stdio.h whoami.h ! 149: SUBSC.o: SUBSC.c ! 150: SUBSCZ.o: SUBSCZ.c ! 151: SUBT.o: SUBT.c ! 152: SUCC.o: SUCC.c ! 153: TEOF.o: TEOF.c h00vars.h /usr/include/stdio.h whoami.h ! 154: TEOLN.o: TEOLN.c h00vars.h /usr/include/stdio.h whoami.h ! 155: TIME.o: TIME.c ! 156: TRUNC.o: TRUNC.c ! 157: UNIT.o: UNIT.c h00vars.h /usr/include/stdio.h whoami.h ! 158: UNPACK.o: UNPACK.c ! 159: WRITEC.o: WRITEC.c h00vars.h /usr/include/stdio.h whoami.h ! 160: WRITEF.o: WRITEF.c h00vars.h /usr/include/stdio.h whoami.h ! 161: WRITES.o: WRITES.c h00vars.h /usr/include/stdio.h whoami.h ! 162: WRITLN.o: WRITLN.c h00vars.h /usr/include/stdio.h whoami.h ! 163: ERROR.o: ERROR.c /usr/include/stdio.h /usr/include/signal.h ! 164: ERROR.o: /usr/include/machine/trap.h ! 165: GETNAME.o: GETNAME.c h00vars.h /usr/include/stdio.h whoami.h libpc.h ! 166: IOSYNC.o: IOSYNC.c h00vars.h /usr/include/stdio.h whoami.h ! 167: PCEXIT.o: PCEXIT.c h00vars.h /usr/include/stdio.h whoami.h ! 168: PCLOSE.o: PCLOSE.c h00vars.h /usr/include/stdio.h whoami.h libpc.h ! 169: PCSTART.o: PCSTART.c /usr/include/signal.h /usr/include/machine/trap.h ! 170: PCSTART.o: h00vars.h /usr/include/stdio.h whoami.h libpc.h ! 171: PFCLOSE.o: PFCLOSE.c h00vars.h /usr/include/stdio.h whoami.h libpc.h ! 172: PERROR.o: PERROR.c /usr/include/stdio.h /usr/include/signal.h ! 173: PERROR.o: /usr/include/machine/trap.h ! 174: PFLUSH.o: PFLUSH.c h00vars.h /usr/include/stdio.h whoami.h ! 175: PMFLUSH.o: PMFLUSH.c h00vars.h /usr/include/stdio.h whoami.h ! 176: UNSYNC.o: UNSYNC.c h00vars.h /usr/include/stdio.h whoami.h ! 177: blkclr.o: blkclr.c ! 178: blkcpy.o: blkcpy.c ! 179: APPEND.o: APPEND.c h00vars.h /usr/include/stdio.h whoami.h ! 180: SEEK.o: SEEK.c h00vars.h /usr/include/stdio.h whoami.h ! 181: TELL.o: TELL.c h00vars.h /usr/include/stdio.h whoami.h ! 182: ! 183: # 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.