summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-07-04 05:32:51 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-07-04 05:32:51 +0000
commitb534d38ce22cfcba065a86d16491d4b19ab9bea8 (patch)
tree49f8ebf59a4dcfa2a023f46454fcba788dda5184 /gnu
parent733a48bba4413497567cbb63e1202ed6e5c46169 (diff)
Notes
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 ed17ea1c3b9e..e7823d21ba84 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