X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=projects%2FMakefile;h=f2a604a55fbf857abca183d3dcca73eb65210089;hb=2a06a5ef363382479e74cae2d39f139e11f40225;hp=16ee42e4754692955ab9f83bcc7ca99677fd0d57;hpb=e26ba9fb3f73d893bfb6458e4f05de22bc492171;p=oota-llvm.git diff --git a/projects/Makefile b/projects/Makefile index 16ee42e4754..f2a604a55fb 100644 --- a/projects/Makefile +++ b/projects/Makefile @@ -8,7 +8,14 @@ ##===----------------------------------------------------------------------===## LEVEL=.. -DIRS= -OPTIONAL_DIRS:=$(shell ls | grep -v CVS) +include $(LEVEL)/Makefile.config -include $(LEVEL)/Makefile.common +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 +ifeq ($(ARCH), Sparc) +DIRS := $(filter-out Stacker, $(DIRS)) +DIRS := $(filter-out sample, $(DIRS)) +endif + +include $(PROJ_SRC_ROOT)/Makefile.rules