+##===- tools/opt/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 = opt
-USEDLIBS = bcreader bcwriter asmwriter instrument profpaths scalaropts \
- ipo ipa target analysis transforms vmcore support
+REQUIRES_EH := 1
-include $(LEVEL)/Makefile.common
+LINK_COMPONENTS := bitreader bitwriter instrumentation scalaropts ipo
+include $(LEVEL)/Makefile.common