This pass is not needed, as there is only ever one global: the stack
[oota-llvm.git] / projects / Makefile
index 2fe6430093b546f227bfe3e347b48a1c73730cdf..1e89f6d91bdd3bd9e64bc86aca510c5f3a057e84 100644 (file)
@@ -10,6 +10,12 @@ LEVEL=..
 
 include $(LEVEL)/Makefile.config
 
-DIRS:= SmallExamples sample
+DIRS:= $(filter-out llvm-test,$(patsubst $(SourceDir)/%/Makefile,%,$(wildcard $(SourceDir)/*/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