blob: 2e32dfec35a4a7c907cdb5e0c7806bb2e922c69d [file] [log] [blame]
Chris Lattnerbda0b622008-03-15 23:59:48 +00001##===- 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##===----------------------------------------------------------------------===##
Daniel Dunbarafed0992010-06-08 20:34:18 +00009CLANG_LEVEL := ..
Chris Lattnerbda0b622008-03-15 23:59:48 +000010
Roman Divackyfc2929f2012-12-13 16:09:42 +000011# 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 ARCMigrate Rewrite \
14 Serialization
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
Chris Lattnerbda0b622008-03-15 23:59:48 +000025
Daniel Dunbarafed0992010-06-08 20:34:18 +000026include $(CLANG_LEVEL)/Makefile