summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-03-19 23:47:50 +0000
committerobrien <obrien@FreeBSD.org>2000-03-19 23:47:50 +0000
commit4f7c2f0496945343bb62f2ff8d75115f77eb3981 (patch)
treedd6f564dd2e2420905b5bc58e5b8cdae220a3d38 /gnu
parent6c0057232546014376f3e3f5f5266c7a4e326997 (diff)
downloadFreeBSD-src-4f7c2f0496945343bb62f2ff8d75115f77eb3981.zip
FreeBSD-src-4f7c2f0496945343bb62f2ff8d75115f77eb3981.tar.gz
Make the SUBDIR list more granular to assist in my GCC hacking.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/Makefile b/gnu/usr.bin/cc/Makefile
index ed17ea1..e7823d2 100644
--- a/gnu/usr.bin/cc/Makefile
+++ b/gnu/usr.bin/cc/Makefile
@@ -3,7 +3,15 @@
# The order of some of these are rather important. Some depend on previous
# subdirs.
-SUBDIR= cc_fbsd cc_tools cc_int cccp cpp cc1 cc cc1plus c++ c++filt doc
+SUBDIR= cc_fbsd cc_tools cc_int cccp cc1 cc
+
+.if !defined(NO_CPP)
+SUBDIR+= cpp
+.endif
+
+.if !defined(NO_CXX)
+SUBDIR+= cc1plus c++ c++filt doc
+.endif
.if !defined(NO_OBJC)
SUBDIR+= cc1obj
OpenPOWER on IntegriCloud