[dsymutil] Reflow option declarations to be more readable.
[oota-llvm.git] / tools / opt / Makefile
index 88fd85b7de60cb2730cc9c840af497f500db0d52..2422eb4e40567649dd2303c02d63e03ae9c2c77b 100644 (file)
@@ -1,12 +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 \
-          sparc target.a mapping regalloc.a sched select preselect \
-          livevar scalaropts \
-          ipo ipa.a datastructure.a transforms target.a analysis \
-           transformutils vmcore support
-TOOLLINKOPTS = -ldl
+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