+##===- 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
+REQUIRES_EH := 1
-dis : $(ObjectsG)
- $(LinkG) -o $@ $(ObjectsG) -lvmcore -lasmwriter -lanalysis \
- -lbcreader
+include $(LEVEL)/Makefile.common