Actually we don't need any special YACC'ing here. The ones known to

Bmake are fine.
This commit is contained in:
David E. O'Brien 2002-05-10 23:20:54 +00:00
parent 1393277e29
commit 943aada83d

View File

@ -5,18 +5,11 @@
.PATH: ${GCCDIR}
PROG= tradcpp0
SRCS= tradcpp.c tradcif.c
SRCS= tradcpp.c tradcif.y
BINDIR= /usr/libexec
NOMAN= 1
DPADD+= ${LIBCC_INT}
LDADD+= ${LIBCC_INT}
# ${YACC} ${GCCDIR}/tradcif.y
tradcif.c: tradcif.y
${YACC} ${.ALLSRC}
sed -e "s/malloc/xmalloc/g" \
-e "s/realloc/xrealloc/g" \
y.tab.c >${.TARGET}
.include <bsd.prog.mk>