2002-05-09 00:52:10 +00:00
|
|
|
# $FreeBSD$
|
2002-05-10 02:36:12 +00:00
|
|
|
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
|
|
|
|
.PATH: ${GCCDIR}
|
|
|
|
|
|
|
|
PROG= tradcpp0
|
2002-05-11 00:15:45 +00:00
|
|
|
SRCS= tradcpp.c tradcif.c
|
2002-05-10 02:36:12 +00:00
|
|
|
BINDIR= /usr/libexec
|
|
|
|
NOMAN= 1
|
|
|
|
|
|
|
|
DPADD+= ${LIBCC_INT}
|
|
|
|
LDADD+= ${LIBCC_INT}
|
|
|
|
|
2002-05-11 00:15:45 +00:00
|
|
|
# ${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}
|
|
|
|
|
2002-05-10 02:36:12 +00:00
|
|
|
.include <bsd.prog.mk>
|