blob: acf8089629e4101510e5d2f6e1d3447320b07a6b [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 \
Jordan Rosee6385032013-08-22 15:50:02 +000013 FrontendTool Tooling Driver Format Edit Rewrite Serialization \
Stephen Hines176edba2014-12-01 14:53:08 -080014 Index ASTMatchers
Roman Divackyfc2929f2012-12-13 16:09:42 +000015
16include $(CLANG_LEVEL)/../../Makefile.config
17
Roman Divackyfc2929f2012-12-13 16:09:42 +000018ifeq ($(ENABLE_CLANG_STATIC_ANALYZER),1)
19PARALLEL_DIRS += StaticAnalyzer
20endif
Chris Lattnerbda0b622008-03-15 23:59:48 +000021
Jordan Rosee6385032013-08-22 15:50:02 +000022ifeq ($(ENABLE_CLANG_ARCMT),1)
23PARALLEL_DIRS += ARCMigrate
24endif
25
Daniel Dunbarafed0992010-06-08 20:34:18 +000026include $(CLANG_LEVEL)/Makefile