Fix register printing in disassembling of push/pop of segment registers and in/out...
[oota-llvm.git] / tools / llvm-dis / Makefile
index fc77cdd1404fc196bddd7cf7ddd46ce686c45d59..be711000861d1cd5eda8d394a2cf824ffe7c53b5 100644 (file)
@@ -1,10 +1,17 @@
+##===- tools/llvm-dis/Makefile ------------------------------*- Makefile -*-===##
+# 
+#                     The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+# 
+##===----------------------------------------------------------------------===##
 LEVEL = ../..
-include $(LEVEL)/Makefile.common
 
-all:: dis
-clean ::
-       rm -f dis
+TOOLNAME = llvm-dis
+LINK_COMPONENTS := bitreader analysis
+
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
 
-dis : $(ObjectsG)
-       $(LinkG) -o $@ $(ObjectsG) -lvmcore -lasmwriter -lanalysis \
-                                              -lbcreader
+include $(LEVEL)/Makefile.common