summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-05-04 16:58:50 +0000
committerbde <bde@FreeBSD.org>1998-05-04 16:58:50 +0000
commit0d10950020bb2e9176cfbfa3d461b9f99348ae00 (patch)
tree2515ba399b10967e357e8fdc7c5b5cf7a74042b8 /gnu
parent48c3a2da34058ef512613b1cb2dd85274963a9db (diff)
downloadFreeBSD-src-0d10950020bb2e9176cfbfa3d461b9f99348ae00.zip
FreeBSD-src-0d10950020bb2e9176cfbfa3d461b9f99348ae00.tar.gz
Simplified using new yacc rules. This is cosmetic - the old rules worked
with `make -jN' because they did the right things to generate cexp.h without clobbering cexp.c, and there were no missing dependencies on cexp.h because cexp.h isn't actually used. Fixed style bugs.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/cccp/Makefile17
-rw-r--r--gnu/usr.bin/cc/cpp/Makefile17
2 files changed, 10 insertions, 24 deletions
diff --git a/gnu/usr.bin/cc/cccp/Makefile b/gnu/usr.bin/cc/cccp/Makefile
index f2fcf23..35efdec 100644
--- a/gnu/usr.bin/cc/cccp/Makefile
+++ b/gnu/usr.bin/cc/cccp/Makefile
@@ -1,18 +1,11 @@
-#
-# $Id: Makefile,v 1.9 1997/02/22 15:44:59 peter Exp $
-#
+# $Id$
-PROG = cpp
-SRCS = cccp.c cexp.c
+PROG= cpp
+SRCS= cccp.c cexp.y obstack.c version.c
+YACC= ${BISON}
+YFLAGS=
BINDIR= /usr/libexec
-SRCS+= obstack.c version.c
MAN1= cccp.1
MLINKS= cccp.1 cpp.1
-.ORDER: cexp.c cexp.h
-cexp.c cexp.h: cexp.y
- ${BISON} -d ${GCCDIR}/cexp.y -o cexp.c
-
-CLEANFILES+= cexp.c cexp.h
-
.include <bsd.prog.mk>
diff --git a/gnu/usr.bin/cc/cpp/Makefile b/gnu/usr.bin/cc/cpp/Makefile
index f2fcf23..35efdec 100644
--- a/gnu/usr.bin/cc/cpp/Makefile
+++ b/gnu/usr.bin/cc/cpp/Makefile
@@ -1,18 +1,11 @@
-#
-# $Id: Makefile,v 1.9 1997/02/22 15:44:59 peter Exp $
-#
+# $Id$
-PROG = cpp
-SRCS = cccp.c cexp.c
+PROG= cpp
+SRCS= cccp.c cexp.y obstack.c version.c
+YACC= ${BISON}
+YFLAGS=
BINDIR= /usr/libexec
-SRCS+= obstack.c version.c
MAN1= cccp.1
MLINKS= cccp.1 cpp.1
-.ORDER: cexp.c cexp.h
-cexp.c cexp.h: cexp.y
- ${BISON} -d ${GCCDIR}/cexp.y -o cexp.c
-
-CLEANFILES+= cexp.c cexp.h
-
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud