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