Finally enable the setcc-branch folding code.
[oota-llvm.git] / projects / Makefile
index da7f710e5c365233cf51d3a02fc13da4cd651ebe..ddb9323ba5fdf511cd40a6ea8af64ad69b33775e 100644 (file)
@@ -10,7 +10,12 @@ LEVEL=..
 
 include $(LEVEL)/Makefile.config
 
-#DIRS=
-DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))
+DIRS:= $(filter-out llvm-test,$(patsubst $(BUILD_SRC_DIR)/%/Makefile,%,$(wildcard $(BUILD_SRC_DIR)/*/Makefile)))
+
+# Sparc cannot link shared libraries (libtool problem?) which Stacker uses
+ifeq ($(ARCH), Sparc)
+DIRS := $(filter-out Stacker, $(DIRS))
+DIRS := $(filter-out sample, $(DIRS))
+endif
 
 include $(BUILD_SRC_ROOT)/Makefile.rules