summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-08 16:27:29 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-08 16:27:29 +0000
commitfa1d30ddb1bbb16d8c268f79890ac39101915b5c (patch)
treeda4b9e8e478a4f9520bee6e9d126fac03cd7a072 /unittests
parentf23e8d2b928b0baa361dbf34df10862a5bcd01c4 (diff)
downloadclang-fa1d30ddb1bbb16d8c268f79890ac39101915b5c.tar.gz
Add various MC components to clang build to support MS-style inline assembly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161498 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ASTMatchers/Makefile3
-rw-r--r--unittests/Frontend/Makefile3
-rw-r--r--unittests/Tooling/Makefile3
3 files changed, 6 insertions, 3 deletions
diff --git a/unittests/ASTMatchers/Makefile b/unittests/ASTMatchers/Makefile
index 8718dde7c5..d3e4aa37ce 100644
--- a/unittests/ASTMatchers/Makefile
+++ b/unittests/ASTMatchers/Makefile
@@ -10,7 +10,8 @@
CLANG_LEVEL = ../..
TESTNAME = ASTMatchers
-LINK_COMPONENTS := support mc
+include $(CLANG_LEVEL)/../../Makefile.config
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser support mc
USEDLIBS = clangTooling.a clangFrontend.a clangSerialization.a clangDriver.a \
clangRewrite.a clangParse.a clangSema.a clangAnalysis.a \
clangAST.a clangASTMatchers.a clangLex.a clangBasic.a clangEdit.a
diff --git a/unittests/Frontend/Makefile b/unittests/Frontend/Makefile
index f3e6396658..bfc3494320 100644
--- a/unittests/Frontend/Makefile
+++ b/unittests/Frontend/Makefile
@@ -9,7 +9,8 @@
CLANG_LEVEL = ../..
TESTNAME = Frontend
-LINK_COMPONENTS := support mc
+include $(CLANG_LEVEL)/../../Makefile.config
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser support mc
USEDLIBS = clangFrontendTool.a clangFrontend.a clangDriver.a \
clangSerialization.a clangCodeGen.a clangParse.a clangSema.a \
clangStaticAnalyzerCheckers.a clangStaticAnalyzerCore.a \
diff --git a/unittests/Tooling/Makefile b/unittests/Tooling/Makefile
index f0a75ae373..5d2224d40e 100644
--- a/unittests/Tooling/Makefile
+++ b/unittests/Tooling/Makefile
@@ -9,7 +9,8 @@
CLANG_LEVEL = ../..
TESTNAME = Tooling
-LINK_COMPONENTS := support mc
+include $(CLANG_LEVEL)/../../Makefile.config
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser support mc
USEDLIBS = clangTooling.a clangFrontend.a clangSerialization.a clangDriver.a \
clangParse.a clangRewrite.a clangSema.a clangAnalysis.a clangEdit.a \
clangAST.a clangASTMatchers.a clangLex.a clangBasic.a