Eliminate tabs and trailing spaces
[oota-llvm.git] / projects / Makefile
index ab4c7e283d8559ed104e6829b317ae00680cdd62..f2a604a55fbf857abca183d3dcca73eb65210089 100644 (file)
@@ -10,6 +10,12 @@ LEVEL=..
 
 include $(LEVEL)/Makefile.config
 
-DIRS:= $(filter-out llvm-test,$(patsubst $(SourceDir)/%/Makefile,%,$(wildcard $(SourceDir)/*/Makefile)))
+DIRS:= $(filter-out llvm-test,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
 
-include $(BUILD_SRC_ROOT)/Makefile.rules
+# 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 $(PROJ_SRC_ROOT)/Makefile.rules