-LEVEL = ../..
-TOOLNAME = opt
-
-USEDLIBS = bcreader bcwriter instrument profpaths \
- sparc mapping regalloc.a sched select codegen preopts \
- postopts.a \
- livevar scalaropts \
- ipo ipa.a datastructure transforms target.a analysis ipa.a \
- transformutils vmcore support
-
-TOOLLINKOPTS = -ldl
-KEEP_SYMBOLS = 1
+##===- 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
+LINK_COMPONENTS := bitreader bitwriter asmparser instrumentation scalaropts ipo vectorize
include $(LEVEL)/Makefile.common
-