Actually we don't need any special YACC'ing here. The ones known to
Bmake are fine.
This commit is contained in:
parent
1393277e29
commit
943aada83d
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user