1e26ba9fb3f73d893bfb6458e4f05de22bc492171John Criswell##===- projects/Makefile ------------------------------*- Makefile -*-===##
2e26ba9fb3f73d893bfb6458e4f05de22bc492171John Criswell# 
3e26ba9fb3f73d893bfb6458e4f05de22bc492171John Criswell#                     The LLVM Compiler Infrastructure
4e26ba9fb3f73d893bfb6458e4f05de22bc492171John Criswell#
557360d1f1cede3b26744d0ce3ade814fcc0f332dChris Lattner# This file is distributed under the University of Illinois Open Source
657360d1f1cede3b26744d0ce3ade814fcc0f332dChris Lattner# License. See LICENSE.TXT for details.
7e26ba9fb3f73d893bfb6458e4f05de22bc492171John Criswell# 
8e26ba9fb3f73d893bfb6458e4f05de22bc492171John Criswell##===----------------------------------------------------------------------===##
92f8b41738ed579f91105569243919ff12be0ba0aJohn CriswellLEVEL=..
102f8b41738ed579f91105569243919ff12be0ba0aJohn Criswell
119b3b5dee7e836ab42eb71613ecc75b0840256382John Criswellinclude $(LEVEL)/Makefile.config
129b3b5dee7e836ab42eb71613ecc75b0840256382John Criswell
135b80c663e7662fcf24c764f0cd1b2671958689b8Matthijs Kooijman# Compile all subdirs, except for the test suite, which lives in test-suite.
145b80c663e7662fcf24c764f0cd1b2671958689b8Matthijs Kooijman# Before 2008.06.24 it lived in llvm-test, so exclude that as well for now.
155b80c663e7662fcf24c764f0cd1b2671958689b8Matthijs KooijmanDIRS:= $(filter-out llvm-test test-suite,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
162f8b41738ed579f91105569243919ff12be0ba0aJohn Criswell
179b8cc2bc569db67a606c0264d9f25b14a086d816Daniel Dunbar# Don't build compiler-rt, it isn't designed to be built directly.
18d58816f898bc3a58ccfbad2bc149e4dce211db8aDaniel DunbarDIRS := $(filter-out compiler-rt,$(DIRS))
19d58816f898bc3a58ccfbad2bc149e4dce211db8aDaniel Dunbar
209b8cc2bc569db67a606c0264d9f25b14a086d816Daniel Dunbar# Don't build libcxx, it isn't designed to be built directly.
219b8cc2bc569db67a606c0264d9f25b14a086d816Daniel DunbarDIRS := $(filter-out libcxx,$(DIRS))
229b8cc2bc569db67a606c0264d9f25b14a086d816Daniel Dunbar
23d77a0ca4934f9b2480ca80a26d95b21fc0c1aa3bChandler Carruth# DragonEgg may be checked out here but doesn't (yet) build directly.
24d77a0ca4934f9b2480ca80a26d95b21fc0c1aa3bChandler CarruthDIRS := $(filter-out dragonegg,$(DIRS))
25d77a0ca4934f9b2480ca80a26d95b21fc0c1aa3bChandler Carruth
26bdf6a39d1c7b699da1c15cd32211387040edb1f7Reid Spencerinclude $(PROJ_SRC_ROOT)/Makefile.rules
27