Make sure to print a stack trace whenever an error signal is delivered to the
[oota-llvm.git] / tools / opt / Makefile
index 9bebf15a690c26b43a167c1631783cf3c522144e..cc26eda28ec5fa3e886ea2c78b01772f4d7c9bfa 100644 (file)
@@ -1,14 +1,18 @@
+##===- tools/opt/Makefile ------------------------------*- Makefile -*-===##
+# 
+#                     The LLVM Compiler Infrastructure
+#
+# This file was developed by the LLVM research group and is distributed under
+# the University of Illinois Open Source License. See LICENSE.TXT for details.
+# 
+##===----------------------------------------------------------------------===##
 LEVEL = ../..
 TOOLNAME = opt
 
-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 \
+USEDLIBS = bcreader bcwriter \
+           instrument profpaths scalaropts \
+           ipo ipa.a datastructure transforms target.a analysis \
            transformutils vmcore support
-TOOLLINKOPTS = -ldl $(ExportSymbols)
-
-KEEP_SYMBOLS = 1
+TOOLLINKOPTS = $(PLATFORMLIBDL)
 
 include $(LEVEL)/Makefile.common
-