X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=projects%2FMakefile;h=08a0a6bb8723c20ae32ebf02e6cc7b508f2920ea;hp=f2a604a55fbf857abca183d3dcca73eb65210089;hb=ff563d0bf53f581e57c730cd482a4a6c4a53c57e;hpb=bdf6a39d1c7b699da1c15cd32211387040edb1f7 diff --git a/projects/Makefile b/projects/Makefile index f2a604a55fb..08a0a6bb872 100644 --- a/projects/Makefile +++ b/projects/Makefile @@ -2,20 +2,25 @@ # # 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)) + +# DragonEgg may be checked out here but doesn't (yet) build directly. +DIRS := $(filter-out dragonegg,$(DIRS)) include $(PROJ_SRC_ROOT)/Makefile.rules