xref: /minix3/external/bsd/llvm/dist/clang/lib/FrontendTool/Makefile (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1f4a2713aSLionel Sambuc##===- clang/lib/FrontendTool/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 Sambuc
10f4a2713aSLionel SambucCLANG_LEVEL := ../..
11f4a2713aSLionel SambucLIBRARYNAME := clangFrontendTool
12f4a2713aSLionel Sambuc
13f4a2713aSLionel Sambucinclude $(CLANG_LEVEL)/Makefile
14f4a2713aSLionel Sambucinclude $(CLANG_LEVEL)/../../Makefile.config
15f4a2713aSLionel Sambuc
16f4a2713aSLionel Sambucifeq ($(ENABLE_CLANG_ARCMT),1)
17f4a2713aSLionel Sambuc  CXX.Flags += -DCLANG_ENABLE_ARCMT
18*0a6a1f1dSLionel Sambuc  CXX.Flags += -DCLANG_ENABLE_OBJC_REWRITER
19f4a2713aSLionel Sambucendif
20f4a2713aSLionel Sambuc
21f4a2713aSLionel Sambucifeq ($(ENABLE_CLANG_STATIC_ANALYZER),1)
22f4a2713aSLionel Sambuc  CXX.Flags += -DCLANG_ENABLE_STATIC_ANALYZER
23f4a2713aSLionel Sambucendif
24f4a2713aSLionel Sambuc
25f4a2713aSLionel Sambuc
26