Add a check to configure that the libstdc++ selected by Clang isn't
[oota-llvm.git] / projects / Makefile
index b966fc7f780c15f16bdf52a1b5477a54a1ec1d79..f00425f81ee664d1a01da05098dc67dad69ba9a2 100644 (file)
@@ -14,6 +14,15 @@ include $(LEVEL)/Makefile.config
 # Before 2008.06.24 it lived in llvm-test, so exclude that as well for now.
 DIRS:= $(filter-out llvm-test test-suite,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
 
+# Don't build compiler-rt, it isn't designed to be built directly.
+DIRS := $(filter-out compiler-rt,$(DIRS))
+
+# Don't build libcxx, it isn't designed to be built directly.
+DIRS := $(filter-out libcxx,$(DIRS))
+
+# DragonEgg may be checked out here but doesn't (yet) build directly.
+DIRS := $(filter-out dragonegg,$(DIRS))
+
 # Sparc cannot link shared libraries (libtool problem?)
 ifeq ($(ARCH), Sparc)
 DIRS := $(filter-out sample, $(DIRS))