diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2002-05-13 03:27:03 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-05-13 03:27:03 +0000 |
| commit | 6677f3e022fdb01b8e13baf1705ab3024684c91e (patch) | |
| tree | 6eea9fac75fc54638a3a34609d1dc66e991cd2a2 /gnu/usr.bin/cc/tradcpp0 | |
| parent | 26a9c7b7e1e82804f3da47e90ec13ac67f727a27 (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/cc/tradcpp0')
| -rw-r--r-- | gnu/usr.bin/cc/tradcpp0/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gnu/usr.bin/cc/tradcpp0/Makefile b/gnu/usr.bin/cc/tradcpp0/Makefile index 000eb86f04a1..3ec89682dcfd 100644 --- a/gnu/usr.bin/cc/tradcpp0/Makefile +++ b/gnu/usr.bin/cc/tradcpp0/Makefile @@ -5,20 +5,19 @@ .PATH: ${GCCDIR} PROG= tradcpp0 -SRCS= tradcpp.c tradcif.c +SRCS= tradcpp.c tradcif+%DIKED.c BINDIR= /usr/libexec NOMAN= 1 DPADD+= ${LIBCC_INT} LDADD+= ${LIBCC_INT} -# ${YACC} ${GCCDIR}/tradcif.y -tradcif.c: tradcif.y - ${YACC} ${.ALLSRC} +tradcif+%DIKED.c: tradcif.c sed -e "s/malloc/xmalloc/g" \ -e "s/realloc/xrealloc/g" \ - y.tab.c >${.TARGET} + ${.ALLSRC} >${.TARGET} -CLEANFILES= y.tab.c tradcif.c +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> |
