Add #include <iostream> since Value.h does not #include it any more.
[oota-llvm.git] / tools / opt / Makefile
index 64ffd12129293ff17dea8caef98f9ac6cb1b7f9a..42e87ca8bb50608e1fc9beffe8c8dd69f684be65 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 preopts postopts.a \
-          livevar scalaropts \
-          ipo ipa.a datastructure.a transforms target.a analysis \
+USEDLIBS = bcreader bcwriter \
+           instrument profpaths scalaropts \
+           ipo ipa datastructure transforms target.a analysis \
            transformutils vmcore support
-TOOLLINKOPTS = -ldl $(ExportSymbols)
-
-KEEP_SYMBOLS = 1
+TOOLLINKOPTS = $(PLATFORMLIBDL)
 
 include $(LEVEL)/Makefile.common
-