-analyze mode shouldn't output a .bc file.
[oota-llvm.git] / tools / opt / Makefile
index c696d4070e4c43bbd7c92be3b18f4ff28072436f..4bb9ed53b1af52525bcddea462771346edcbe6ac 100644 (file)
@@ -1,10 +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 scalaropts \
-           ipo ipa.a datastructure.a transforms target.a analysis \
-           transformutils vmcore support
-TOOLLINKOPTS = -ldl
+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
-