freebsd-skq/gnu/usr.bin/cc/tradcpp0/Makefile
obrien 1daa12366e Restore some of the implementation from the Bmake gcc 2.95 bits.
In the end, I can do things more like the previous Bmake bits than was
apparent in the middle of the gcc31 WIP.
2002-05-13 03:27:03 +00:00

24 lines
441 B
Makefile

# $FreeBSD$
.include "../Makefile.inc"
.PATH: ${GCCDIR}
PROG= tradcpp0
SRCS= tradcpp.c tradcif+%DIKED.c
BINDIR= /usr/libexec
NOMAN= 1
DPADD+= ${LIBCC_INT}
LDADD+= ${LIBCC_INT}
tradcif+%DIKED.c: tradcif.c
sed -e "s/malloc/xmalloc/g" \
-e "s/realloc/xrealloc/g" \
${.ALLSRC} >${.TARGET}
CLEANFILES= tradcif+%DIKED.c tradcif.c
CLEANFILES+= y.tab.h # we don't use it, but the system YACC rules are naive
.include <bsd.prog.mk>