bug fixes
[oota-llvm.git] / projects / Makefile
index 1e89f6d91bdd3bd9e64bc86aca510c5f3a057e84..8be3d40c2e50e36e50f6bbf5fa51e9e99950828a 100644 (file)
@@ -10,12 +10,11 @@ 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)))
 
-# Sparc cannot link shared libraries (libtool problem?) which Stacker uses
+# Sparc cannot link shared libraries (libtool problem?)
 ifeq ($(ARCH), Sparc)
-DIRS := $(filter-out Stacker, $(DIRS))
 DIRS := $(filter-out sample, $(DIRS))
 endif
 
-include $(BUILD_SRC_ROOT)/Makefile.rules
+include $(PROJ_SRC_ROOT)/Makefile.rules