Tools require EH for their top-level try blocks.
[oota-llvm.git] / tools / opt / Makefile
index bde049fdc88e4ada4ba67cc8ad2ed4fd7e99a2c5..f310639c08b29fc4c4026c816a3400bcc4c92c33 100644 (file)
@@ -1,15 +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
+REQUIRES_EH := 1
 
-USEDLIBS = bcreader bcwriter instrument profpaths \
-          sparc target.a mapping regalloc.a sched select codegen preopts \
-           postopts.a \
-          livevar scalaropts \
-          ipo ipa.a datastructure transforms target.a analysis \
-           transformutils vmcore support
-TOOLLINKOPTS = -ldl $(ExportSymbols)
-
-KEEP_SYMBOLS = 1
+USEDLIBS = LLVMBCReader.a LLVMBCWriter.a LLVMInstrumentation.a \
+          LLVMScalarOpts.a LLVMipo.a LLVMipa.a LLVMDataStructure LLVMTransforms.a \
+          LLVMTarget.a LLVMTransformUtils.a LLVMAnalysis.a LLVMCore.a LLVMSupport.a \
+          LLVMbzip2.a LLVMSystem.a 
 
 include $(LEVEL)/Makefile.common
-