132734Sbostic# 232734Sbostic# Copyright (c) 1987 Regents of the University of California. 332734Sbostic# All rights reserved. The Berkeley software License Agreement 432734Sbostic# specifies the terms and conditions for redistribution. 532734Sbostic# 6*36530Smckusick# @(#)Makefile 1.24 (Berkeley) 01/09/89 732734Sbostic# 832734SbosticCFLAGS= -O 932734SbosticCMDS= ACTFILE.c ADDT.c ARGV.c ASRT.c ASRTS.c ATAN.c BUFF.c CARD.c \ 105722Smckusic CASERNG.c CHR.c CLCK.c COS.c CTTOT.c DATE.c DEFNAME.c \ 117970Smckusick DFDISPOSE.c DISPOSE.c EXCEPT.c EXP.c EXPO.c FCALL.c FLUSH.c \ 129135Smckusick FNIL.c FRTN.c FSAV.c GET.c HALT.c IN.c INCT.c LINO.c \ 139135Smckusick LLIMIT.c LN.c MAX.c MULT.c NAM.c NEW.c NIL.c PACK.c \ 141728Smckusic PAGE.c PRED.c PUT.c RANDOM.c RANG4.c READ4.c READ8.c READC.c \ 151728Smckusic READE.c READLN.c RELEQ.c RELNE.c RELSGE.c RELSGT.c RELSLE.c \ 161728Smckusic RELSLT.c RELTGE.c RELTGT.c RELTLE.c RELTLT.c REMOVE.c RESET.c \ 175722Smckusic REWRITE.c ROUND.c RSNG4.c SCLCK.c SEED.c SIN.c SQRT.c STLIM.c \ 181728Smckusic SUBSC.c SUBSCZ.c SUBT.c SUCC.c TEOF.c TEOLN.c TIME.c TRUNC.c \ 19*36530Smckusick UNIT.c UNPACK.c VWRITEF.c WRITEC.c WRITEF.c WRITES.c WRITLN.c 2032734SbosticSYS= ERROR.c GETNAME.c IOSYNC.c PCEXIT.c PCLOSE.c PCSTART.c \ 2110229Smckusick PFCLOSE.c PERROR.c PFLUSH.c PMFLUSH.c UNSYNC.c \ 2210229Smckusick blkclr.c blkcpy.c 2332734SbosticEXTN= APPEND.c SEEK.c TELL.c 2421532SsamSRCS= ${CMDS} ${SYS} ${EXTN} 2532734SbosticCOBJS= ACTFILE.o ADDT.o ARGV.o ASRT.o ASRTS.o ATAN.o BUFF.o CARD.o \ 265722Smckusic CASERNG.o CHR.o CLCK.o COS.o CTTOT.o DATE.o DEFNAME.o \ 277970Smckusick DFDISPOSE.o DISPOSE.o EXCEPT.o EXP.o EXPO.o FCALL.o FLUSH.o \ 289135Smckusick FNIL.o FRTN.o FSAV.o GET.o HALT.o IN.o INCT.o LINO.o \ 299135Smckusick LLIMIT.o LN.o MAX.o MULT.o NAM.o NEW.o NIL.o PACK.o\ 303304Smckusic PAGE.o PRED.o PUT.o RANDOM.o RANG4.o READ4.o READ8.o READC.o\ 311726Smckusick READE.o READLN.o RELEQ.o RELNE.o RELSGE.o RELSGT.o RELSLE.o\ 321726Smckusick RELSLT.o RELTGE.o RELTGT.o RELTLE.o RELTLT.o REMOVE.o RESET.o\ 335722Smckusic REWRITE.o ROUND.o RSNG4.o SCLCK.o SEED.o SIN.o SQRT.o STLIM.o\ 343304Smckusic SUBSC.o SUBSCZ.o SUBT.o SUCC.o TEOF.o TEOLN.o TIME.o TRUNC.o\ 35*36530Smckusick UNIT.o UNPACK.o VWRITEF.o WRITEC.o WRITEF.o WRITES.o WRITLN.o 367970SmckusickSYOBJ = ERROR.o GETNAME.o IOSYNC.o PCEXIT.o PCLOSE.o PCSTART.o \ 3710229Smckusick PFCLOSE.o PERROR.o PFLUSH.o PMFLUSH.o UNSYNC.o \ 3810229Smckusick blkclr.o blkcpy.o 393869SmckusicEXOBJ = APPEND.o SEEK.o TELL.o 4032734SbosticOBJS= ${COBJS} ${SYOBJ} ${EXOBJ} 411728Smckusic 421726Smckusick.c.o: 435142Smckusic ${CC} -p ${CFLAGS} -c $*.c 446465Smckusick mv $@ tmp.o 4532734Sbostic -ld -X -r -o profiled/$@ tmp.o 461726Smckusick ${CC} ${CFLAGS} -c $*.c 476465Smckusick mv $@ tmp.o 4832734Sbostic -ld -x -r -o $@ tmp.o 491726Smckusick 5032734Sbosticall: libpc libpc_p 515059Smckusic 5232734Sbosticlibpc libpc_p: ${OBJS} 5332734Sbostic cd profiled; ar cru ../libpc_p ${OBJS} 5432734Sbostic ranlib libpc_p 5532734Sbostic ar cru libpc ${OBJS} 5632734Sbostic ranlib libpc 572124Smckusic 5832734Sbosticclean: FRC 5932734Sbostic rm -f ${OBJS} core libpc libpc_p profiled/*.o tmp tmp.o 608135Speter 6132734Sbosticdepend: FRC 6232734Sbostic mkdep ${CFLAGS} ${SRCS} 633043Smckusic 6432734Sbosticinstall: FRC 6532734Sbostic install -o bin -g bin -m 644 libpc_p ${DESTDIR}/usr/lib/libpc_p.a 6632734Sbostic ranlib ${DESTDIR}/usr/lib/libpc_p.a 6732734Sbostic install -o bin -g bin -m 644 libpc ${DESTDIR}/usr/lib/libpc.a 6832734Sbostic ranlib ${DESTDIR}/usr/lib/libpc.a 691726Smckusick 7032734Sbosticlint: FRC 7132734Sbostic lint ${CFLAGS} ${SRCS} 721726Smckusick 7332734Sbostictags: FRC 7432734Sbostic ctags ${SRCS} 752182Smckusic 7632734SbosticFRC: 7721532Ssam 7832734Sbostic# DO NOT DELETE THIS LINE -- mkdep uses it. 7932734Sbostic# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. 802182Smckusic 8132734SbosticACTFILE.o: ACTFILE.c h00vars.h /usr/include/stdio.h whoami.h 8232734SbosticADDT.o: ADDT.c 8332734SbosticARGV.o: ARGV.c h00vars.h /usr/include/stdio.h whoami.h 8432734SbosticASRT.o: ASRT.c 8532734SbosticASRTS.o: ASRTS.c 8632734SbosticATAN.o: ATAN.c /usr/include/math.h 8732734SbosticBUFF.o: BUFF.c h00vars.h /usr/include/stdio.h whoami.h 8832734SbosticCARD.o: CARD.c 8932734SbosticCASERNG.o: CASERNG.c 9032734SbosticCHR.o: CHR.c 9132734SbosticCLCK.o: CLCK.c 9232734SbosticCOS.o: COS.c /usr/include/math.h 9332734SbosticCTTOT.o: CTTOT.c whoami.h h00vars.h /usr/include/stdio.h whoami.h 9432734SbosticDATE.o: DATE.c 9532734SbosticDEFNAME.o: DEFNAME.c h00vars.h /usr/include/stdio.h whoami.h 9632734SbosticDFDISPOSE.o: DFDISPOSE.c h00vars.h /usr/include/stdio.h whoami.h libpc.h 9732734SbosticDISPOSE.o: DISPOSE.c h00vars.h /usr/include/stdio.h whoami.h 98*36530SmckusickEXCEPT.o: EXCEPT.c /usr/include/signal.h /usr/include/machine/trap.h 9932734SbosticEXP.o: EXP.c /usr/include/math.h 10032734SbosticEXPO.o: EXPO.c 10132734SbosticFCALL.o: FCALL.c h00vars.h /usr/include/stdio.h whoami.h 10232734SbosticFLUSH.o: FLUSH.c h00vars.h /usr/include/stdio.h whoami.h 10332734SbosticFNIL.o: FNIL.c h00vars.h /usr/include/stdio.h whoami.h 10432734SbosticFRTN.o: FRTN.c h00vars.h /usr/include/stdio.h whoami.h 10532734SbosticFSAV.o: FSAV.c h00vars.h /usr/include/stdio.h whoami.h 10632734SbosticGET.o: GET.c h00vars.h /usr/include/stdio.h whoami.h 10732734SbosticHALT.o: HALT.c h00vars.h /usr/include/stdio.h whoami.h 10832734SbosticIN.o: IN.c h00vars.h /usr/include/stdio.h whoami.h 10932734SbosticINCT.o: INCT.c h00vars.h /usr/include/stdio.h whoami.h 11032734SbosticLINO.o: LINO.c h00vars.h /usr/include/stdio.h whoami.h 11132734SbosticLLIMIT.o: LLIMIT.c h00vars.h /usr/include/stdio.h whoami.h 11232734SbosticLN.o: LN.c /usr/include/math.h 11332734SbosticMAX.o: MAX.c h00vars.h /usr/include/stdio.h whoami.h 11432734SbosticMULT.o: MULT.c 11532734SbosticNAM.o: NAM.c h00vars.h /usr/include/stdio.h whoami.h 11632734SbosticNEW.o: NEW.c h00vars.h /usr/include/stdio.h whoami.h 11732734SbosticNIL.o: NIL.c h00vars.h /usr/include/stdio.h whoami.h 11832734SbosticPACK.o: PACK.c 11932734SbosticPAGE.o: PAGE.c h00vars.h /usr/include/stdio.h whoami.h 12032734SbosticPRED.o: PRED.c 12132734SbosticPUT.o: PUT.c h00vars.h /usr/include/stdio.h whoami.h 12232734SbosticRANDOM.o: RANDOM.c h00vars.h /usr/include/stdio.h whoami.h 12332734SbosticRANG4.o: RANG4.c 12432734SbosticREAD4.o: READ4.c h00vars.h /usr/include/stdio.h whoami.h /usr/include/errno.h 12532734SbosticREAD8.o: READ8.c h00vars.h /usr/include/stdio.h whoami.h /usr/include/errno.h 12632734SbosticREADC.o: READC.c h00vars.h /usr/include/stdio.h whoami.h 12732734SbosticREADE.o: READE.c h00vars.h /usr/include/stdio.h whoami.h 12832734SbosticREADLN.o: READLN.c h00vars.h /usr/include/stdio.h whoami.h 12932734SbosticRELEQ.o: RELEQ.c h00vars.h /usr/include/stdio.h whoami.h 13032734SbosticRELNE.o: RELNE.c h00vars.h /usr/include/stdio.h whoami.h 13132734SbosticRELSGE.o: RELSGE.c h00vars.h /usr/include/stdio.h whoami.h 13232734SbosticRELSGT.o: RELSGT.c h00vars.h /usr/include/stdio.h whoami.h 13332734SbosticRELSLE.o: RELSLE.c h00vars.h /usr/include/stdio.h whoami.h 13432734SbosticRELSLT.o: RELSLT.c h00vars.h /usr/include/stdio.h whoami.h 13532734SbosticRELTGE.o: RELTGE.c h00vars.h /usr/include/stdio.h whoami.h 13632734SbosticRELTGT.o: RELTGT.c h00vars.h /usr/include/stdio.h whoami.h 13732734SbosticRELTLE.o: RELTLE.c h00vars.h /usr/include/stdio.h whoami.h 13832734SbosticRELTLT.o: RELTLT.c h00vars.h /usr/include/stdio.h whoami.h 13932734SbosticREMOVE.o: REMOVE.c h00vars.h /usr/include/stdio.h whoami.h 14032734SbosticRESET.o: RESET.c h00vars.h /usr/include/stdio.h whoami.h 14132734SbosticREWRITE.o: REWRITE.c h00vars.h /usr/include/stdio.h whoami.h 14232734SbosticROUND.o: ROUND.c 14332734SbosticRSNG4.o: RSNG4.c 14432734SbosticSCLCK.o: SCLCK.c 14532734SbosticSEED.o: SEED.c h00vars.h /usr/include/stdio.h whoami.h 14632734SbosticSIN.o: SIN.c /usr/include/math.h 14732734SbosticSQRT.o: SQRT.c /usr/include/math.h 14832734SbosticSTLIM.o: STLIM.c h00vars.h /usr/include/stdio.h whoami.h 14932734SbosticSUBSC.o: SUBSC.c 15032734SbosticSUBSCZ.o: SUBSCZ.c 15132734SbosticSUBT.o: SUBT.c 15232734SbosticSUCC.o: SUCC.c 15332734SbosticTEOF.o: TEOF.c h00vars.h /usr/include/stdio.h whoami.h 15432734SbosticTEOLN.o: TEOLN.c h00vars.h /usr/include/stdio.h whoami.h 15532734SbosticTIME.o: TIME.c 15632734SbosticTRUNC.o: TRUNC.c 15732734SbosticUNIT.o: UNIT.c h00vars.h /usr/include/stdio.h whoami.h 15832734SbosticUNPACK.o: UNPACK.c 159*36530SmckusickVWRITEF.o: VWRITEF.c h00vars.h /usr/include/stdio.h whoami.h 16032734SbosticWRITEC.o: WRITEC.c h00vars.h /usr/include/stdio.h whoami.h 16132734SbosticWRITEF.o: WRITEF.c h00vars.h /usr/include/stdio.h whoami.h 16232734SbosticWRITES.o: WRITES.c h00vars.h /usr/include/stdio.h whoami.h 16332734SbosticWRITLN.o: WRITLN.c h00vars.h /usr/include/stdio.h whoami.h 16432734SbosticERROR.o: ERROR.c /usr/include/stdio.h /usr/include/signal.h 165*36530SmckusickERROR.o: /usr/include/machine/trap.h 16632734SbosticGETNAME.o: GETNAME.c h00vars.h /usr/include/stdio.h whoami.h libpc.h 16732734SbosticIOSYNC.o: IOSYNC.c h00vars.h /usr/include/stdio.h whoami.h 16832734SbosticPCEXIT.o: PCEXIT.c h00vars.h /usr/include/stdio.h whoami.h 16932734SbosticPCLOSE.o: PCLOSE.c h00vars.h /usr/include/stdio.h whoami.h libpc.h 170*36530SmckusickPCSTART.o: PCSTART.c /usr/include/signal.h /usr/include/machine/trap.h 171*36530SmckusickPCSTART.o: h00vars.h /usr/include/stdio.h whoami.h libpc.h 17232734SbosticPFCLOSE.o: PFCLOSE.c h00vars.h /usr/include/stdio.h whoami.h libpc.h 17332734SbosticPERROR.o: PERROR.c /usr/include/stdio.h /usr/include/signal.h 174*36530SmckusickPERROR.o: /usr/include/machine/trap.h 17532734SbosticPFLUSH.o: PFLUSH.c h00vars.h /usr/include/stdio.h whoami.h 17632734SbosticPMFLUSH.o: PMFLUSH.c h00vars.h /usr/include/stdio.h whoami.h 17732734SbosticUNSYNC.o: UNSYNC.c h00vars.h /usr/include/stdio.h whoami.h 17832734Sbosticblkclr.o: blkclr.c 17932734Sbosticblkcpy.o: blkcpy.c 18032734SbosticAPPEND.o: APPEND.c h00vars.h /usr/include/stdio.h whoami.h 18132734SbosticSEEK.o: SEEK.c h00vars.h /usr/include/stdio.h whoami.h 18232734SbosticTELL.o: TELL.c h00vars.h /usr/include/stdio.h whoami.h 18332734Sbostic 18432734Sbostic# IF YOU PUT ANYTHING HERE IT WILL GO AWAY 185