Bmake bits for GCC 3.1.

This commit is contained in:
David E. O'Brien 2002-05-10 02:36:12 +00:00
parent ff24f7832c
commit dd7731cf37

View File

@ -1 +1,22 @@
# $FreeBSD$
.include "../Makefile.inc"
.PATH: ${GCCDIR}
PROG= tradcpp0
SRCS= tradcpp.c tradcif.c
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>