X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=projects%2FMakefile;h=b6228b87f9127b4ac32278cfb644a9327ad21f2d;hb=d86323efc9b107ad560cd3f7f9150f67d20b213c;hp=9c7590580af4f3f9a91eada13de1aaab7d942432;hpb=9c3c65806fa23e921e6acecb5166e67d7c3a5b22;p=oota-llvm.git diff --git a/projects/Makefile b/projects/Makefile index 9c7590580af..b6228b87f91 100644 --- a/projects/Makefile +++ b/projects/Makefile @@ -2,14 +2,19 @@ # # The LLVM Compiler Infrastructure # -# This file was developed by the LLVM research group and is distributed under -# the University of Illinois Open Source License. See LICENSE.TXT for details. +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. # ##===----------------------------------------------------------------------===## LEVEL=.. include $(LEVEL)/Makefile.config -DIRS:= $(patsubst $(SourceDir)/%/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