summaryrefslogtreecommitdiffstats
path: root/tool-template
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-02-20 23:35:07 +0000
committerAdrian Prantl <aprantl@apple.com>2015-02-20 23:35:07 +0000
commit36022564184689c63725d8d574bddf3003070631 (patch)
tree3d3498780ffe88d568ab527a51498ef260a5b951 /tool-template
parent2e97d7f2dc2a5265f9387110756f311a74121db2 (diff)
Adapt Makefile dependencies for the clang module format change in r230089.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@230090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tool-template')
-rw-r--r--tool-template/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/tool-template/Makefile b/tool-template/Makefile
index 8a461e4d..05571f5b 100644
--- a/tool-template/Makefile
+++ b/tool-template/Makefile
@@ -15,11 +15,16 @@ NO_INSTALL = 1
# No plugins, optimize startup time.
TOOL_NO_EXPORTS = 1
+# Include this here so we can get the configuration of the targets that have
+# been configured for construction. We have to do this early so we can set up
+# LINK_COMPONENTS before including Makefile.rules
include $(CLANG_LEVEL)/../../Makefile.config
-LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader support mc option
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader bitwriter \
+ instrumentation ipo support mc objcarcopts option
USEDLIBS = clangTooling.a clangFrontend.a clangSerialization.a clangDriver.a \
clangRewriteFrontend.a clangToolingCore.a clangRewrite.a \
clangParse.a clangSema.a clangAnalysis.a \
- clangAST.a clangASTMatchers.a clangEdit.a clangLex.a clangBasic.a
+ clangAST.a clangASTMatchers.a clangEdit.a clangLex.a clangBasic.a \
+ clangCodeGen.a
include $(CLANG_LEVEL)/Makefile