blob: 9ce4b767fe586df7d58ba271bb3506b49f711f37 [file] [log] [blame]
Peter Collingbourne1b7255d2010-08-24 00:31:22 +00001##===- clang/lib/FrontendTool/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
10CLANG_LEVEL := ../..
11LIBRARYNAME := clangFrontendTool
12
13include $(CLANG_LEVEL)/Makefile
Roman Divackyfc2929f2012-12-13 16:09:42 +000014include $(CLANG_LEVEL)/../../Makefile.config
15
16ifeq ($(ENABLE_CLANG_ARCMT),1)
17 CXX.Flags += -DCLANG_ENABLE_ARCMT
18endif
19
20ifeq ($(ENABLE_CLANG_REWRITER),1)
21 CXX.Flags += -DCLANG_ENABLE_REWRITER
22endif
23
24ifeq ($(ENABLE_CLANG_STATIC_ANALYZER),1)
25 CXX.Flags += -DCLANG_ENABLE_STATIC_ANALYZER
26endif
27
28