summaryrefslogtreecommitdiff
path: root/tools/macho-dump
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-10-18 19:27:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-10-18 19:27:24 +0000
commit8c39c9647da4f375e4f89bd417d86f5c3ff6dfa5 (patch)
tree884981b55a68d3bcc1c3436d7babc698f9822a72 /tools/macho-dump
parentbfe2a6bb59535a43ef3c8dcf98ac785faee67e7b (diff)
build: Tidy up a bunch of tool Makefiles, and simplify where possible using the
new all-targets pseudo-component. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/macho-dump')
-rw-r--r--tools/macho-dump/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/tools/macho-dump/Makefile b/tools/macho-dump/Makefile
index 638015e9289..0843e982e1a 100644
--- a/tools/macho-dump/Makefile
+++ b/tools/macho-dump/Makefile
@@ -7,17 +7,11 @@
#
##===----------------------------------------------------------------------===##
-LEVEL = ../..
-TOOLNAME = macho-dump
+LEVEL := ../..
+TOOLNAME := macho-dump
+LINK_COMPONENTS := support object
# This tool has 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 $(LEVEL)/Makefile.config
-
-LINK_COMPONENTS := support object
+TOOL_NO_EXPORTS := 1
-include $(LLVM_SRC_ROOT)/Makefile.rules
+include $(LEVEL)/Makefile.common