fix typo; NFC
[oota-llvm.git] / tools / opt / Makefile
index 184070b326e3b63badc8d3e1683c49a40e4cd893..2422eb4e40567649dd2303c02d63e03ae9c2c77b 100644 (file)
@@ -1,8 +1,17 @@
-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 instrument profpaths scalaropts \
-           ipo ipa datastructure transforms target analysis transformutils vmcore support emitfuncs
+LEVEL := ../..
+TOOLNAME := opt
+LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets codegen passes
 
-include $(LEVEL)/Makefile.common
+# Support plugins.
+NO_DEAD_STRIP := 1
 
+include $(LEVEL)/Makefile.common