Chris Lattner | bda0b62 | 2008-03-15 23:59:48 +0000 | [diff] [blame] | 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 | ##===----------------------------------------------------------------------===## |
Daniel Dunbar | afed099 | 2010-06-08 20:34:18 +0000 | [diff] [blame] | 9 | CLANG_LEVEL := .. |
Chris Lattner | bda0b62 | 2008-03-15 23:59:48 +0000 | [diff] [blame] | 10 | |
Roman Divacky | fc2929f | 2012-12-13 16:09:42 +0000 | [diff] [blame] | 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 ARCMigrate Rewrite \ |
| 14 | Serialization |
| 15 | |
| 16 | include $(CLANG_LEVEL)/../../Makefile.config |
| 17 | |
| 18 | ifeq ($(ENABLE_CLANG_REWRITER),1) |
| 19 | PARALLEL_DIRS += ASTMatchers |
| 20 | endif |
| 21 | |
| 22 | ifeq ($(ENABLE_CLANG_STATIC_ANALYZER),1) |
| 23 | PARALLEL_DIRS += StaticAnalyzer |
| 24 | endif |
Chris Lattner | bda0b62 | 2008-03-15 23:59:48 +0000 | [diff] [blame] | 25 | |
Daniel Dunbar | afed099 | 2010-06-08 20:34:18 +0000 | [diff] [blame] | 26 | include $(CLANG_LEVEL)/Makefile |