Disable the build in the samples directory so that llvmc dependencies don't
[oota-llvm.git] / projects / Makefile
index 2fe6430093b546f227bfe3e347b48a1c73730cdf..ddb9323ba5fdf511cd40a6ea8af64ad69b33775e 100644 (file)
@@ -10,6 +10,12 @@ LEVEL=..
 
 include $(LEVEL)/Makefile.config
 
-DIRS:= SmallExamples sample
+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