1 ##===- 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 ##===----------------------------------------------------------------------===## 9 CLANG_LEVEL := .. 10 11 # ARCMigrate and Rewrite are always needed because of libclang. 12 PARALLEL_DIRS = Headers Basic Lex Parse AST Sema CodeGen Analysis Frontend \ 13 FrontendTool Tooling Driver Format Edit Rewrite Serialization \ 14 Index ASTMatchers 15 16 include $(CLANG_LEVEL)/../../Makefile.config 17 18 ifeq ($(ENABLE_CLANG_STATIC_ANALYZER),1) 19 PARALLEL_DIRS += StaticAnalyzer 20 endif 21 22 ifeq ($(ENABLE_CLANG_ARCMT),1) 23 PARALLEL_DIRS += ARCMigrate 24 endif 25 26 include $(CLANG_LEVEL)/Makefile 27