* llvm.spec.in: update blurb
[oota-llvm.git] / projects / Makefile
index da7f710e5c365233cf51d3a02fc13da4cd651ebe..8be3d40c2e50e36e50f6bbf5fa51e9e99950828a 100644 (file)
@@ -10,7 +10,11 @@ LEVEL=..
 
 include $(LEVEL)/Makefile.config
 
-#DIRS=
-DIRS:= $(patsubst %/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?)
+ifeq ($(ARCH), Sparc)
+DIRS := $(filter-out sample, $(DIRS))
+endif
+
+include $(PROJ_SRC_ROOT)/Makefile.rules