Make my proxy happy.
[oota-llvm.git] / projects / Makefile
index 2fe6430093b546f227bfe3e347b48a1c73730cdf..8be3d40c2e50e36e50f6bbf5fa51e9e99950828a 100644 (file)
@@ -10,6 +10,11 @@ LEVEL=..
 
 include $(LEVEL)/Makefile.config
 
-DIRS:= SmallExamples sample
+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?)
+ifeq ($(ARCH), Sparc)
+DIRS := $(filter-out sample, $(DIRS))
+endif
+
+include $(PROJ_SRC_ROOT)/Makefile.rules