summaryrefslogtreecommitdiffstats
path: root/pp-trace
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 /pp-trace
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 'pp-trace')
-rw-r--r--pp-trace/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/pp-trace/Makefile b/pp-trace/Makefile
index 3467ecb3..a4a277ac 100644
--- a/pp-trace/Makefile
+++ b/pp-trace/Makefile
@@ -14,9 +14,16 @@ TOOLNAME = pp-trace
# No plugins, optimize startup time.
TOOL_NO_EXPORTS = 1
-LINK_COMPONENTS := mcparser bitreader support mc option TransformUtils
+# 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 mcparser bitreader bitwriter \
+ instrumentation ipo support transformutils mc objcarcopts option
+
USEDLIBS = clangFrontend.a clangSerialization.a clangDriver.a \
clangTooling.a clangParse.a clangSema.a clangAnalysis.a \
- clangEdit.a clangAST.a clangLex.a clangBasic.a
+ clangEdit.a clangAST.a clangLex.a clangBasic.a clangCodeGen.a
include $(CLANG_LEVEL)/Makefile