summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-11 00:15:45 +0000
committerobrien <obrien@FreeBSD.org>2002-05-11 00:15:45 +0000
commitb900b2ab4e6510e1288e6f66988c8c8c404a1949 (patch)
treeeb552a2a3e43e767f64fbdca6a0411905d9c9852 /gnu/usr.bin
parentaaf4b41b86f7da0303eb723e07cfea5f8629cca4 (diff)
downloadFreeBSD-src-b900b2ab4e6510e1288e6f66988c8c8c404a1949.zip
FreeBSD-src-b900b2ab4e6510e1288e6f66988c8c8c404a1949.tar.gz
Revert rev 1.3 -- I tested using the wrong build compiler.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/cc/tradcpp0/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/tradcpp0/Makefile b/gnu/usr.bin/cc/tradcpp0/Makefile
index 0b30709..9a6b085 100644
--- a/gnu/usr.bin/cc/tradcpp0/Makefile
+++ b/gnu/usr.bin/cc/tradcpp0/Makefile
@@ -5,11 +5,18 @@
.PATH: ${GCCDIR}
PROG= tradcpp0
-SRCS= tradcpp.c tradcif.y
+SRCS= tradcpp.c tradcif.c
BINDIR= /usr/libexec
NOMAN= 1
DPADD+= ${LIBCC_INT}
LDADD+= ${LIBCC_INT}
+# ${YACC} ${GCCDIR}/tradcif.y
+tradcif.c: tradcif.y
+ ${YACC} ${.ALLSRC}
+ sed -e "s/malloc/xmalloc/g" \
+ -e "s/realloc/xrealloc/g" \
+ y.tab.c >${.TARGET}
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud