blob: 8d3509061d868befb22ccb08e870ae51a3fa48c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $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>
|