From 7dfa5832e9d54e6ec3ff4ca7a4e3dd6ddc5a8940 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 19 Mar 2000 23:47:50 +0000 Subject: [PATCH] Make the SUBDIR list more granular to assist in my GCC hacking. --- gnu/usr.bin/cc/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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