-LEVEL = ../..
-TOOLNAME = opt
+##===- 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.
+#
+##===----------------------------------------------------------------------===##
-#USEDLIBS = bcreader bcwriter profpaths \
-# analysis transforms vmcore support
+LEVEL := ../..
+TOOLNAME := opt
+LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets codegen
-
-USEDLIBS = bcreader bcwriter instrument profpaths \
- ipo ipa datastructure transforms target analysis transformutils vmcore support
-
-#USEDLIBS = bcreader bcwriter instrument profpaths scalaropts \
-# ipo ipa datastructure transforms target analysis transformutils vmcore support
+# Support plugins.
+NO_DEAD_STRIP := 1
include $(LEVEL)/Makefile.common
-