|
|
1.1 ! root 1: # @(#)Makefile 1.6 (Berkeley) 7/25/90 ! 2: ! 3: PROG= pi ! 4: SRCDIR= ${.CURDIR}/../src ! 5: CFLAGS= -I. -I${.CURDIR} -I${SRCDIR} ! 6: .PATH: ${SRCDIR} ! 7: ! 8: EYACC= /usr/libexec/pascal/eyacc ! 9: ! 10: SRCS= ato.c call.c case.c clas.c const.c conv.c cset.c error.c fdec.c \ ! 11: fend.c fhdr.c flvalue.c forop.c func.c gen.c hash.c lab.c lookup.c \ ! 12: lval.c stklval.c main.c nl.c proc.c put.c rec.c rval.c stkrval.c \ ! 13: savenl.c stat.c string.c subr.c tmps.c tree.c type.c var.c TRdata.c \ ! 14: treen.c yycopy.c yycosts.c yyerror.c yyget.c yyid.c yylex.c yymain.c \ ! 15: yyoptions.c yypanic.c yyparse.c yyprint.c yyput.c yyrecover.c \ ! 16: yyseman.c yytree.c p2put.c stab.c pcproc.c pcfunc.c pccaseop.c \ ! 17: pclval.c sconv.c ! 18: OBJS+= config.c y.tab.o ! 19: CLEANFILES+=opc y.tab.h y.tab.c y.tab.out ${WHOAMI}*strings config.c \ ! 20: opcode.h picture opc pic *.list ${ERRORSTRINGS} config.o ! 21: ! 22: WHOAMI= pi ! 23: .include "${SRCDIR}/config.include" ! 24: ! 25: .c.o: ! 26: rm -f ${.IMPSRC:T} ! 27: ln -s ${.IMPSRC} . ! 28: mkstr - ${ERRORSTRINGS} x ${.IMPSRC:T} ! 29: ${CC} ${CFLAGS} -c x${.IMPSRC:T} -o ${.TARGET} ! 30: rm -f x${.IMPSRC:T} ${.IMPSRC:T} ! 31: ! 32: y.tab.o: y.tab.c y.tab.h ! 33: rm -f x.y.tab.c ! 34: mkstr - ${ERRORSTRINGS} x. y.tab.c ! 35: ${CC} ${CFLAGS} -c x.y.tab.c ! 36: mv x.y.tab.o y.tab.o ! 37: rm -f x.y.tab.c ! 38: ! 39: y.tab.c: y.tab.h ! 40: ! 41: y.tab.h: ${SRCDIR}/pas.y ${SRCDIR}/gram ! 42: @echo make y.tab.h and y.tab.c ! 43: rm -f y.tab.h y.tab.c ! 44: ${EYACC} ${SRCDIR}/pas.y > /dev/null ! 45: ex - y.tab.c < ${SRCDIR}/gram ! 46: ! 47: picture: pic ${SRCDIR}/OPnames.h ! 48: ./pic > picture ! 49: ! 50: pic: pic.c ! 51: ${CC} ${.ALLSRC} -o ${.TARGET} ! 52: ! 53: opcode.h: opc ${SRCDIR}/OPnames.h ${SRCDIR}/opc.c ! 54: ./opc > ${.TARGET} ! 55: ! 56: opc: opc.c ! 57: ${CC} ${.ALLSRC} -o ${.TARGET} ! 58: ! 59: beforeinstall: ! 60: install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${ERRORSTRINGS} \ ! 61: ${DESTDIR}${LIBDATA}/${ERRORSTRINGS} ! 62: ! 63: .include <bsd.prog.mk> ! 64: ! 65: ${OBJS} .depend: opcode.h y.tab.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.