xref: /minix3/external/bsd/llvm/dist/clang/lib/Makefile (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1f4a2713aSLionel Sambuc##===- lib/Makefile ----------------------------------------*- Makefile -*-===##
2f4a2713aSLionel Sambuc#
3f4a2713aSLionel Sambuc#                     The LLVM Compiler Infrastructure
4f4a2713aSLionel Sambuc#
5f4a2713aSLionel Sambuc# This file is distributed under the University of Illinois Open Source
6f4a2713aSLionel Sambuc# License. See LICENSE.TXT for details.
7f4a2713aSLionel Sambuc#
8f4a2713aSLionel Sambuc##===----------------------------------------------------------------------===##
9f4a2713aSLionel SambucCLANG_LEVEL := ..
10f4a2713aSLionel Sambuc
11f4a2713aSLionel Sambuc# ARCMigrate and Rewrite are always needed because of libclang.
12f4a2713aSLionel SambucPARALLEL_DIRS = Headers Basic Lex Parse AST Sema CodeGen Analysis Frontend \
13f4a2713aSLionel Sambuc                FrontendTool Tooling Driver Format Edit Rewrite Serialization \
14*0a6a1f1dSLionel Sambuc                Index ASTMatchers
15f4a2713aSLionel Sambuc
16f4a2713aSLionel Sambucinclude $(CLANG_LEVEL)/../../Makefile.config
17f4a2713aSLionel Sambuc
18f4a2713aSLionel Sambucifeq ($(ENABLE_CLANG_STATIC_ANALYZER),1)
19f4a2713aSLionel SambucPARALLEL_DIRS += StaticAnalyzer
20f4a2713aSLionel Sambucendif
21f4a2713aSLionel Sambuc
22f4a2713aSLionel Sambucifeq ($(ENABLE_CLANG_ARCMT),1)
23f4a2713aSLionel SambucPARALLEL_DIRS += ARCMigrate
24f4a2713aSLionel Sambucendif
25f4a2713aSLionel Sambuc
26f4a2713aSLionel Sambucinclude $(CLANG_LEVEL)/Makefile
27