binutils214 stage 2/4.
[dragonfly.git] / gnu / usr.bin / cc3 / tradcpp0 / Makefile
CommitLineData
74fbd2f0 1# $FreeBSD: src/gnu/usr.bin/cc/tradcpp0/Makefile,v 1.6 2002/05/13 03:27:03 obrien Exp $
17030342 2# $DragonFly: src/gnu/usr.bin/cc3/tradcpp0/Attic/Makefile,v 1.2 2004/02/02 05:43:13 dillon Exp $
74fbd2f0
DR
3
4.include "../Makefile.inc"
5
6.PATH: ${GCCDIR}
7
8PROG= tradcpp0
9SRCS= tradcpp.c tradcif+%DIKED.c
74fbd2f0
DR
10NOMAN= 1
11
12DPADD+= ${LIBCC_INT}
13LDADD+= ${LIBCC_INT}
14
15tradcif+%DIKED.c: tradcif.c
16 sed -e "s/malloc/xmalloc/g" \
17 -e "s/realloc/xrealloc/g" \
18 ${.ALLSRC} >${.TARGET}
19
20CLEANFILES= tradcif+%DIKED.c tradcif.c
21CLEANFILES+= y.tab.h # we don't use it, but the system YACC rules are naive
22
23.include <bsd.prog.mk>