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-13 03:27:03 +00:00
|
|
|
SRCS= tradcpp.c tradcif+%DIKED.c
|
2002-05-10 02:36:12 +00:00
|
|
|
BINDIR= /usr/libexec
|
|
|
|
|
NOMAN= 1
|
|
|
|
|
|
2004-02-05 22:44:25 +00:00
|
|
|
DPADD= ${LIBCC_INT}
|
|
|
|
|
LDADD= ${LIBCC_INT}
|
2002-05-10 02:36:12 +00:00
|
|
|
|
2002-05-13 03:27:03 +00:00
|
|
|
tradcif+%DIKED.c: tradcif.c
|
2002-05-11 00:15:45 +00:00
|
|
|
sed -e "s/malloc/xmalloc/g" \
|
|
|
|
|
-e "s/realloc/xrealloc/g" \
|
2002-05-13 03:27:03 +00:00
|
|
|
${.ALLSRC} >${.TARGET}
|
2002-05-11 00:15:45 +00:00
|
|
|
|
2002-05-13 03:27:03 +00: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 12:06:19 +00:00
|
|
|
|
2002-05-10 02:36:12 +00:00
|
|
|
.include <bsd.prog.mk>
|