1##===- lib/Makefile ----------------------------------------*- Makefile -*-===##
2# 
3#                     The LLVM Compiler Infrastructure
4#
5# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
7# 
8##===----------------------------------------------------------------------===##
9CLANG_LEVEL := ..
10
11# ARCMigrate and Rewrite are always needed because of libclang.
12PARALLEL_DIRS = Headers Basic Lex Parse AST Sema CodeGen Analysis Frontend \
13                FrontendTool Tooling Driver Format Edit Rewrite Serialization \
14                Index
15
16include $(CLANG_LEVEL)/../../Makefile.config
17
18ifeq ($(ENABLE_CLANG_REWRITER),1)
19PARALLEL_DIRS += ASTMatchers
20endif
21
22ifeq ($(ENABLE_CLANG_STATIC_ANALYZER),1)
23PARALLEL_DIRS += StaticAnalyzer
24endif
25
26ifeq ($(ENABLE_CLANG_ARCMT),1)
27PARALLEL_DIRS += ARCMigrate
28endif
29
30include $(CLANG_LEVEL)/Makefile
31