2009-06-02 17:58:47 +00:00
|
|
|
##===- lib/Makefile ----------------------------------------*- Makefile -*-===##
|
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2010-07-13 17:21:42 +00:00
|
|
|
CLANG_LEVEL := ..
|
2009-06-02 17:58:47 +00:00
|
|
|
|
2013-04-08 18:45:10 +00:00
|
|
|
# ARCMigrate and Rewrite are always needed because of libclang.
|
|
|
|
PARALLEL_DIRS = Headers Basic Lex Parse AST Sema CodeGen Analysis Frontend \
|
|
|
|
FrontendTool Tooling Driver Format Edit ARCMigrate Rewrite \
|
|
|
|
Serialization
|
2009-06-02 17:58:47 +00:00
|
|
|
|
2013-04-08 18:45:10 +00:00
|
|
|
include $(CLANG_LEVEL)/../../Makefile.config
|
|
|
|
|
|
|
|
ifeq ($(ENABLE_CLANG_REWRITER),1)
|
|
|
|
PARALLEL_DIRS += ASTMatchers
|
|
|
|
endif
|
2009-06-02 17:58:47 +00:00
|
|
|
|
2013-04-08 18:45:10 +00:00
|
|
|
ifeq ($(ENABLE_CLANG_STATIC_ANALYZER),1)
|
|
|
|
PARALLEL_DIRS += StaticAnalyzer
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(CLANG_LEVEL)/Makefile
|