2013-09-05 01:35:07 +08:00
|
|
|
##===- unittests/clang-modernize/Makefile ------------------*- Makefile -*-===##
|
2013-04-03 23:11:08 +08:00
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
|
|
|
|
CLANG_LEVEL = ../../../..
|
|
|
|
include $(CLANG_LEVEL)/../../Makefile.config
|
|
|
|
|
2013-09-27 03:26:58 +08:00
|
|
|
TESTNAME = ClangModernizeTests
|
2013-08-19 21:58:56 +08:00
|
|
|
LINK_COMPONENTS := asmparser bitreader support MC MCParser option \
|
|
|
|
TransformUtils
|
2013-09-05 02:03:44 +08:00
|
|
|
USEDLIBS = modernizeCore.a clangFormat.a clangApplyReplacements.a clangTooling.a clangFrontend.a \
|
2013-07-23 20:50:03 +08:00
|
|
|
clangSerialization.a clangDriver.a clangRewriteFrontend.a \
|
|
|
|
clangRewriteCore.a clangParse.a clangSema.a clangAnalysis.a \
|
|
|
|
clangAST.a clangASTMatchers.a clangEdit.a clangLex.a \
|
|
|
|
clangBasic.a
|
2013-04-03 23:11:08 +08:00
|
|
|
|
|
|
|
include $(CLANG_LEVEL)/Makefile
|
|
|
|
MAKEFILE_UNITTEST_NO_INCLUDE_COMMON := 1
|
2013-09-05 01:35:07 +08:00
|
|
|
CPP.Flags += -I$(PROJ_SRC_DIR)/../../clang-modernize -I$(PROJ_SRC_DIR)/../../clang-apply-replacements/include
|
2013-04-03 23:11:08 +08:00
|
|
|
include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest
|