de651319e34c92f02f428709492306597a487876
[lldb.git] / clang-tools-extra / unittests / clang-tidy / Makefile
1 ##===- unittests/clang-tidy/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 include $(CLANG_LEVEL)/../../Makefile.config
12
13 TESTNAME = ClangTidy
14 LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser mcparser bitreader bitwriter \
15                    instrumentation ipo support transformutils mc objcarcopts option
16 USEDLIBS = clangTidy.a clangTidyLLVMModule.a clangTidyGoogleModule.a \
17            clangTidyMiscModule.a clangTidyReadability.a clangTidy.a \
18            clangTidyUtils.a \
19            clangStaticAnalyzerFrontend.a clangStaticAnalyzerCheckers.a \
20            clangStaticAnalyzerCore.a \
21            clangFormat.a clangTooling.a clangToolingCore.a \
22            clangFrontend.a clangSerialization.a \
23            clangDriver.a clangRewriteFrontend.a clangRewrite.a \
24            clangParse.a clangSema.a clangAnalysis.a clangAST.a \
25            clangASTMatchers.a clangEdit.a clangLex.a clangBasic.a clangCodeGen.a
26
27 include $(CLANG_LEVEL)/Makefile
28 MAKEFILE_UNITTEST_NO_INCLUDE_COMMON := 1
29 CPP.Flags += -I$(PROJ_SRC_DIR)/../../clang-tidy
30 include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest