|
|
1.1 ! root 1: # @(#)Makefile 5.3 (Berkeley) 6/18/90 ! 2: # ! 3: # 'sccom' is a C compiler that does single precision computations in ! 4: # single precision rather than double precision. ! 5: # ! 6: ! 7: PROG= sccom ! 8: MIP= ${.CURDIR}/../mip ! 9: CCOM= ${.CURDIR}/../ccom.vax ! 10: CFLAGS+=-DONEPASS -DSPRECC -I. -I${.CURDIR} -I${CCOM} -I${MIP} ! 11: SRCS= allo.c code.c common.c local.c local2.c match.c optim.c order.c \ ! 12: pftn.c reader.c rel.c scan.c stab.c table.c trees.c xdefs.c ! 13: OBJS+= cgram.o rodata.o ! 14: NOMAN= noman ! 15: .PATH: ${CCOM} ${MIP} ! 16: CLEANFILES+=cgram.c rodata.c pcctokens pcclocal.h ! 17: ! 18: cgram.o: cgram.c ! 19: ${CC} ${CFLAGS} -c cgram.c ! 20: ! 21: rodata.c cgram.c: ${MIP}/cgram.y pcctokens ! 22: cat pcctokens ${MIP}/cgram.y | ${YACC} /dev/stdin ! 23: yyfix rodata.c ! 24: mv y.tab.c cgram.c ! 25: ! 26: common.o: ! 27: ${CC} ${CFLAGS} -DPASS1COMMON -c ${.IMPSRC} ! 28: ! 29: rodata.o table.o: ! 30: ${CC} ${CFLAGS} -c -R ${.IMPSRC} ! 31: ! 32: pcclocal.h: localdefs.h /usr/include/pcc.h ! 33: cat ${.ALLSRC} | \ ! 34: egrep '^#[ ]*(define[ ][ ]*PCC(F|T|TM|OM)?_|ifdef|ifndef|endif)' | \ ! 35: sed -e 's/PCC[A-Z]*_//' > ${.TARGET} ! 36: ! 37: pcctokens: localdefs.h /usr/include/pcc.h ! 38: cat ${.ALLSRC} | \ ! 39: egrep '^#[ ]*define[ ][ ]*PCC_' | \ ! 40: sed -e 's/^#[ ]*define[ ][ ]*PCC_/%term /' > \ ! 41: ${.TARGET} ! 42: ! 43: ${OBJS} .depend: pcclocal.h pcctokens ! 44: ! 45: .include <bsd.prog.mk>
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.