diff options
Diffstat (limited to 'lib/Makefile')
-rwxr-xr-x | lib/Makefile | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/lib/Makefile b/lib/Makefile index 1f14aa0..2e32dfe 100755 --- a/lib/Makefile +++ b/lib/Makefile @@ -8,9 +8,19 @@ ##===----------------------------------------------------------------------===## CLANG_LEVEL := .. -PARALLEL_DIRS = Headers Basic Lex Parse AST ASTMatchers Sema CodeGen Analysis \ - StaticAnalyzer Edit Rewrite ARCMigrate Serialization Frontend \ - FrontendTool Tooling Driver +# 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 -include $(CLANG_LEVEL)/Makefile +include $(CLANG_LEVEL)/../../Makefile.config + +ifeq ($(ENABLE_CLANG_REWRITER),1) +PARALLEL_DIRS += ASTMatchers +endif +ifeq ($(ENABLE_CLANG_STATIC_ANALYZER),1) +PARALLEL_DIRS += StaticAnalyzer +endif + +include $(CLANG_LEVEL)/Makefile |