blob: 08a0a6bb8723c20ae32ebf02e6cc7b508f2920ea [file] [log] [blame]
John Criswellac028f12003-10-20 22:28:01 +00001##===- projects/Makefile ------------------------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
Chris Lattner11cc8b32007-12-29 20:11:13 +00005# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
John Criswellac028f12003-10-20 22:28:01 +00007#
8##===----------------------------------------------------------------------===##
John Criswell568d13c2003-06-30 22:12:19 +00009LEVEL=..
10
John Criswell4d29d2d2003-11-25 20:37:45 +000011include $(LEVEL)/Makefile.config
John Criswell568d13c2003-06-30 22:12:19 +000012
Matthijs Kooijmana2509a12008-06-24 13:01:57 +000013# 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.
15DIRS:= $(filter-out llvm-test test-suite,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
John Criswell4d29d2d2003-11-25 20:37:45 +000016
Daniel Dunbar40266642010-09-09 15:49:32 +000017# Don't build compiler-rt, it isn't designed to be built directly.
Daniel Dunbarff24e1a2010-01-18 17:52:28 +000018DIRS := $(filter-out compiler-rt,$(DIRS))
19
Daniel Dunbar40266642010-09-09 15:49:32 +000020# Don't build libcxx, it isn't designed to be built directly.
21DIRS := $(filter-out libcxx,$(DIRS))
22
Chandler Carruth99c46b982013-06-24 07:21:35 +000023# DragonEgg may be checked out here but doesn't (yet) build directly.
24DIRS := $(filter-out dragonegg,$(DIRS))
25
Reid Spencer0e48bf82005-01-16 02:21:29 +000026include $(PROJ_SRC_ROOT)/Makefile.rules