summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-01-04 03:48:08 +0000
committerobrien <obrien@FreeBSD.org>2000-01-04 03:48:08 +0000
commitb17f749ed05b54c623af651dc3d15122336858da (patch)
tree1c80c23581336a97207fbbefa27ce0a80ce2368a /gnu
parente3ab3c247b1886ce8d08ad3348a6ae84b70d8665 (diff)
downloadFreeBSD-src-b17f749ed05b54c623af651dc3d15122336858da.zip
FreeBSD-src-b17f749ed05b54c623af651dc3d15122336858da.tar.gz
Turn on a new /usr/bin/cpp that is a true binary rather than a shell script
wrapper. /usr/bin/cpp knows about all the GCC predefined symbols and has the functionality of the previous EGCS 1.1.2 /usr/libexec/cpp.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/Makefile2
-rw-r--r--gnu/usr.bin/cc/cpp/Makefile10
2 files changed, 6 insertions, 6 deletions
diff --git a/gnu/usr.bin/cc/Makefile b/gnu/usr.bin/cc/Makefile
index afe0a3c..7b25081 100644
--- a/gnu/usr.bin/cc/Makefile
+++ b/gnu/usr.bin/cc/Makefile
@@ -3,7 +3,7 @@
# The order of some of these are rather important. Some depend on previous
# subdirs.
-SUBDIR= cc_fbsd cc_tools cc_int cc_drv cpp cc1 cc cc1plus c++ c++filt doc
+SUBDIR= cc_fbsd cc_tools cc_int cc_drv cccp cpp cc1 cc cc1plus c++ c++filt doc
.if !defined(NO_OBJC)
SUBDIR+= cc1obj
diff --git a/gnu/usr.bin/cc/cpp/Makefile b/gnu/usr.bin/cc/cpp/Makefile
index 1b4045f..0942799 100644
--- a/gnu/usr.bin/cc/cpp/Makefile
+++ b/gnu/usr.bin/cc/cpp/Makefile
@@ -5,10 +5,10 @@
.PATH: ${GCCDIR}
PROG= cpp
-SRCS= cccp.c cexp.y obstack.c prefix.c version.c
-YFLAGS=
-BINDIR= /usr/libexec
-MAN1= cccp.1
-MLINKS= cccp.1 cpp.1
+SRCS= gcc.c cppspec.c # version.c
+NOMAN= 1
+
+DPADD+= ${LIBCC_DRV} ${LIBCC_FBSD}
+LDADD+= ${LIBCC_DRV} ${LIBCC_FBSD}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud