Another test commit.
[oota-llvm.git] / projects / Makefile
index ddb9323ba5fdf511cd40a6ea8af64ad69b33775e..491d596eca9abe4d7e358906003c84f9bae3ae95 100644 (file)
@@ -2,20 +2,24 @@
 # 
 #                     The LLVM Compiler Infrastructure
 #
-# This file was developed by the LLVM research group and is distributed under
-# the University of Illinois Open Source License. See LICENSE.TXT for details.
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
 # 
 ##===----------------------------------------------------------------------===##
 LEVEL=..
 
 include $(LEVEL)/Makefile.config
 
-DIRS:= $(filter-out llvm-test,$(patsubst $(BUILD_SRC_DIR)/%/Makefile,%,$(wildcard $(BUILD_SRC_DIR)/*/Makefile)))
+# Compile all subdirs, except for the test suite, which lives in test-suite.
+# 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)))
 
-# Sparc cannot link shared libraries (libtool problem?) which Stacker uses
+# Don't build compiler-rt either, it isn't designed to be built directly.
+DIRS := $(filter-out compiler-rt,$(DIRS))
+
+# Sparc cannot link shared libraries (libtool problem?)
 ifeq ($(ARCH), Sparc)
-DIRS := $(filter-out Stacker, $(DIRS))
 DIRS := $(filter-out sample, $(DIRS))
 endif
 
-include $(BUILD_SRC_ROOT)/Makefile.rules
+include $(PROJ_SRC_ROOT)/Makefile.rules