summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/tradcpp0/Makefile
blob: 3ec89682dcfd08c14fc9bd43dc2d386eee3f5bdd (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>
OpenPOWER on IntegriCloud