1 ##===- tools/clang-check/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 12 TOOLNAME = clang-check 13 14 # No plugins, optimize startup time. 15 TOOL_NO_EXPORTS = 1 16 17 include $(CLANG_LEVEL)/../../Makefile.config 18 LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader ipo objcarcopts \ 19 instrumentation bitwriter support mc option 20 USEDLIBS = clangFrontend.a clangCodeGen.a clangIndex.a \ 21 clangSerialization.a clangDriver.a \ 22 clangTooling.a clangParse.a clangSema.a \ 23 clangStaticAnalyzerFrontend.a clangStaticAnalyzerCheckers.a \ 24 clangStaticAnalyzerCore.a clangAnalysis.a clangRewriteFrontend.a \ 25 clangRewrite.a clangEdit.a clangAST.a clangLex.a \ 26 clangBasic.a 27 28 include $(CLANG_LEVEL)/Makefile 29