summaryrefslogtreecommitdiff
path: root/tools
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 /tools
parentf23e8d2b928b0baa361dbf34df10862a5bcd01c4 (diff)
downloadclang-fa1d30ddb1bbb16d8c268f79890ac39101915b5c.tar.gz
clang-fa1d30ddb1bbb16d8c268f79890ac39101915b5c.tar.bz2
clang-fa1d30ddb1bbb16d8c268f79890ac39101915b5c.tar.xz
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 'tools')
-rw-r--r--tools/arcmt-test/Makefile3
-rw-r--r--tools/clang-check/Makefile3
-rw-r--r--tools/diagtool/Makefile4
-rw-r--r--tools/libclang/Makefile3
4 files changed, 8 insertions, 5 deletions
diff --git a/tools/arcmt-test/Makefile b/tools/arcmt-test/Makefile
index 84c4dc2b66..719da75869 100644
--- a/tools/arcmt-test/Makefile
+++ b/tools/arcmt-test/Makefile
@@ -16,7 +16,8 @@ TOOL_NO_EXPORTS = 1
# Don't install this. It is used for tests.
NO_INSTALL = 1
-LINK_COMPONENTS := support mc
+include $(CLANG_LEVEL)/../../Makefile.config
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser support mc
USEDLIBS = clangARCMigrate.a clangRewrite.a \
clangFrontend.a clangDriver.a clangSerialization.a clangParse.a \
clangSema.a clangEdit.a clangAnalysis.a clangAST.a clangLex.a \
diff --git a/tools/clang-check/Makefile b/tools/clang-check/Makefile
index 0a60a19438..6775c65a64 100644
--- a/tools/clang-check/Makefile
+++ b/tools/clang-check/Makefile
@@ -14,7 +14,8 @@ TOOLNAME = clang-check
# No plugins, optimize startup time.
TOOL_NO_EXPORTS = 1
-LINK_COMPONENTS := support mc
+include $(CLANG_LEVEL)/../../Makefile.config
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser support mc
USEDLIBS = clangFrontend.a clangSerialization.a clangDriver.a \
clangTooling.a clangParse.a clangSema.a clangAnalysis.a \
clangEdit.a clangAST.a clangLex.a clangBasic.a
diff --git a/tools/diagtool/Makefile b/tools/diagtool/Makefile
index 8af4cef643..b629712e77 100644
--- a/tools/diagtool/Makefile
+++ b/tools/diagtool/Makefile
@@ -16,8 +16,8 @@ TOOL_NO_EXPORTS := 1
# Don't install this.
NO_INSTALL = 1
-LINK_COMPONENTS := support mc
-
+include $(CLANG_LEVEL)/../../Makefile.config
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser support mc
USEDLIBS = clangFrontend.a clangDriver.a clangSerialization.a clangParse.a \
clangSema.a clangAnalysis.a clangEdit.a clangAST.a clangLex.a \
clangBasic.a
diff --git a/tools/libclang/Makefile b/tools/libclang/Makefile
index 3f6774baf5..975d3812d1 100644
--- a/tools/libclang/Makefile
+++ b/tools/libclang/Makefile
@@ -15,7 +15,8 @@ EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/libclang.exports
LINK_LIBS_IN_SHARED = 1
SHARED_LIBRARY = 1
-LINK_COMPONENTS := support mc
+include $(CLANG_LEVEL)/../../Makefile.config
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser support mc
USEDLIBS = clangARCMigrate.a clangRewrite.a clangFrontend.a clangDriver.a \
clangSerialization.a \
clangParse.a clangSema.a clangEdit.a clangAnalysis.a \