X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=projects%2FMakefile;h=f2a604a55fbf857abca183d3dcca73eb65210089;hb=2a06a5ef363382479e74cae2d39f139e11f40225;hp=5465268ecf1bb769f75ed1e10d4311be471f2749;hpb=9b3b5dee7e836ab42eb71613ecc75b0840256382;p=oota-llvm.git diff --git a/projects/Makefile b/projects/Makefile index 5465268ecf1..f2a604a55fb 100644 --- a/projects/Makefile +++ b/projects/Makefile @@ -10,7 +10,12 @@ LEVEL=.. include $(LEVEL)/Makefile.config -DIRS= -OPTIONAL_DIRS:=$(basename $(shell ls $(SourceDir) | grep -v CVS | grep -v 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