2008-03-16 07:59:48 +08:00
|
|
|
##===- lib/Makefile ----------------------------------------*- Makefile -*-===##
|
2006-08-17 13:55:28 +08:00
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
2007-12-30 04:02:25 +08:00
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
2006-08-17 13:55:28 +08:00
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2010-06-09 04:34:18 +08:00
|
|
|
CLANG_LEVEL := ..
|
2006-08-17 13:55:28 +08:00
|
|
|
|
2012-12-14 00:09:42 +08:00
|
|
|
# ARCMigrate and Rewrite are always needed because of libclang.
|
|
|
|
PARALLEL_DIRS = Headers Basic Lex Parse AST Sema CodeGen Analysis Frontend \
|
2013-08-22 23:50:02 +08:00
|
|
|
FrontendTool Tooling Driver Format Edit Rewrite Serialization \
|
|
|
|
Index
|
2006-08-17 13:55:28 +08:00
|
|
|
|
2012-12-14 00:09:42 +08:00
|
|
|
include $(CLANG_LEVEL)/../../Makefile.config
|
|
|
|
|
|
|
|
ifeq ($(ENABLE_CLANG_REWRITER),1)
|
|
|
|
PARALLEL_DIRS += ASTMatchers
|
|
|
|
endif
|
2006-08-17 13:55:28 +08:00
|
|
|
|
2012-12-14 00:09:42 +08:00
|
|
|
ifeq ($(ENABLE_CLANG_STATIC_ANALYZER),1)
|
|
|
|
PARALLEL_DIRS += StaticAnalyzer
|
|
|
|
endif
|
|
|
|
|
2013-08-22 23:50:02 +08:00
|
|
|
ifeq ($(ENABLE_CLANG_ARCMT),1)
|
|
|
|
PARALLEL_DIRS += ARCMigrate
|
|
|
|
endif
|
|
|
|
|
2012-12-14 00:09:42 +08:00
|
|
|
include $(CLANG_LEVEL)/Makefile
|