1 ##===- projects/Makefile ------------------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
11 include $(LEVEL)/Makefile.config
13 # Compile all subdirs, except for the test suite, which lives in test-suite.
14 # Before 2008.06.24 it lived in llvm-test, so exclude that as well for now.
15 DIRS:= $(filter-out llvm-test test-suite,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
17 # Don't build compiler-rt, it isn't designed to be built directly.
18 DIRS := $(filter-out compiler-rt,$(DIRS))
20 # Don't build libcxx, it isn't designed to be built directly.
21 DIRS := $(filter-out libcxx,$(DIRS))
23 # DragonEgg may be checked out here but doesn't (yet) build directly.
24 DIRS := $(filter-out dragonegg,$(DIRS))
26 include $(PROJ_SRC_ROOT)/Makefile.rules