Add support for addmod to mri scripts.
[oota-llvm.git] / tools / llvm-dis / Makefile
index fc77cdd1404fc196bddd7cf7ddd46ce686c45d59..aeeeed0d68c9f94a9fae1cc835b37803ad375934 100644 (file)
@@ -1,10 +1,17 @@
-LEVEL = ../..
-include $(LEVEL)/Makefile.common
+##===- 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 := ../..
+TOOLNAME := llvm-dis
+LINK_COMPONENTS := bitreader analysis
 
-all:: dis
-clean ::
-       rm -f dis
+# 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