2002-05-08 20:52:10 -04:00
|
|
|
# $FreeBSD$
|
2002-05-09 22:36:12 -04:00
|
|
|
|
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
|
|
|
|
|
|
.PATH: ${GCCDIR}
|
|
|
|
|
|
|
|
|
|
PROG= tradcpp0
|
2002-05-12 23:27:03 -04:00
|
|
|
SRCS= tradcpp.c tradcif+%DIKED.c
|
2002-05-09 22:36:12 -04:00
|
|
|
BINDIR= /usr/libexec
|
|
|
|
|
NOMAN= 1
|
|
|
|
|
|
2004-02-05 17:44:25 -05:00
|
|
|
DPADD= ${LIBCC_INT}
|
|
|
|
|
LDADD= ${LIBCC_INT}
|
2002-05-09 22:36:12 -04:00
|
|
|
|
2002-05-12 23:27:03 -04:00
|
|
|
tradcif+%DIKED.c: tradcif.c
|
2002-05-10 20:15:45 -04:00
|
|
|
sed -e "s/malloc/xmalloc/g" \
|
|
|
|
|
-e "s/realloc/xrealloc/g" \
|
2002-05-12 23:27:03 -04:00
|
|
|
${.ALLSRC} >${.TARGET}
|
2002-05-10 20:15:45 -04:00
|
|
|
|
2002-05-12 23:27:03 -04:00
|
|
|
CLEANFILES= tradcif+%DIKED.c tradcif.c
|
|
|
|
|
CLEANFILES+= y.tab.h # we don't use it, but the system YACC rules are naive
|
2002-05-12 08:06:19 -04:00
|
|
|
|
2002-05-09 22:36:12 -04:00
|
|
|
.include <bsd.prog.mk>
|