X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=projects%2FMakefile;h=b6228b87f9127b4ac32278cfb644a9327ad21f2d;hb=0011dc4738fbe624d44197ef9496517fd093eaa4;hp=5465268ecf1bb769f75ed1e10d4311be471f2749;hpb=9b3b5dee7e836ab42eb71613ecc75b0840256382;p=oota-llvm.git diff --git a/projects/Makefile b/projects/Makefile index 5465268ecf1..b6228b87f91 100644 --- a/projects/Makefile +++ b/projects/Makefile @@ -2,15 +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= -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?) +ifeq ($(ARCH), Sparc) +DIRS := $(filter-out sample, $(DIRS)) +endif + +include $(PROJ_SRC_ROOT)/Makefile.rules