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