1 ##===- 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 10 CLANG_LEVEL := ../.. 11 LIBRARYNAME := clangFrontendTool 12 13 include $(CLANG_LEVEL)/Makefile 14 include $(CLANG_LEVEL)/../../Makefile.config 15 16 ifeq ($(ENABLE_CLANG_ARCMT),1) 17 CXX.Flags += -DCLANG_ENABLE_ARCMT 18 endif 19 20 ifeq ($(ENABLE_CLANG_REWRITER),1) 21 CXX.Flags += -DCLANG_ENABLE_REWRITER 22 endif 23 24 ifeq ($(ENABLE_CLANG_STATIC_ANALYZER),1) 25 CXX.Flags += -DCLANG_ENABLE_STATIC_ANALYZER 26 endif 27 28 29