X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=projects%2FMakefile;h=f00425f81ee664d1a01da05098dc67dad69ba9a2;hb=9c62b5eabb41d41023815df01d07bda5abbd8c4c;hp=0997a2a3817ec02cb00271b51eea52c9349482c7;hpb=0d59c034322bd55e7b6d4ee1ea9f2b1d0473c92b;p=oota-llvm.git diff --git a/projects/Makefile b/projects/Makefile index 0997a2a3817..f00425f81ee 100644 --- a/projects/Makefile +++ b/projects/Makefile @@ -2,26 +2,30 @@ # # 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:= $(filter-out llvm-test,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile))) +# Compile all subdirs, except for the test suite, which lives in test-suite. +# Before 2008.06.24 it lived in llvm-test, so exclude that as well for now. +DIRS:= $(filter-out llvm-test test-suite,$(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 +# Don't build compiler-rt, it isn't designed to be built directly. +DIRS := $(filter-out compiler-rt,$(DIRS)) +# Don't build libcxx, it isn't designed to be built directly. +DIRS := $(filter-out libcxx,$(DIRS)) -# Universal builds can't build stacker, which uses llvm-gcc -S. -ifdef UNIVERSAL -DIRS := $(filter-out Stacker, $(DIRS)) +# DragonEgg may be checked out here but doesn't (yet) build directly. +DIRS := $(filter-out dragonegg,$(DIRS)) + +# Sparc cannot link shared libraries (libtool problem?) +ifeq ($(ARCH), Sparc) +DIRS := $(filter-out sample, $(DIRS)) endif include $(PROJ_SRC_ROOT)/Makefile.rules