Add LLVMbzip2 library, now required.
[oota-llvm.git] / tools / opt / Makefile
index c696d4070e4c43bbd7c92be3b18f4ff28072436f..f7d551e3ee013d4815c19bc6de42e6f9dc06c50a 100644 (file)
@@ -1,10 +1,19 @@
+##===- 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 scalaropts \
-           ipo ipa.a datastructure.a transforms target.a analysis \
-           transformutils vmcore support
-TOOLLINKOPTS = -ldl
+USEDLIBS = LLVMBCReader LLVMBCWriter LLVMInstrumentation LLVMProfilePaths \
+          LLVMScalarOpts LLVMipo LLVMipa LLVMDataStructure LLVMTransforms \
+          LLVMTarget.a LLVMAnalysis LLVMTransformUtils LLVMCore LLVMSupport.a \
+          LLVMbzip2 LLVMSystem.a 
 
-include $(LEVEL)/Makefile.common
+TOOLLINKOPTS = $(PLATFORMLIBDL)
 
+include $(LEVEL)/Makefile.common