Auto-confed ModuleMaker.
[oota-llvm.git] / tools / opt / Makefile
index 882313a7655fa9990445006f1a07ba04ae1b8671..cc26eda28ec5fa3e886ea2c78b01772f4d7c9bfa 100644 (file)
@@ -1,7 +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 asmwriter instrument scalaropts \
-           ipo target analysis transforms vmcore support
 
-include $(LEVEL)/Makefile.common
+USEDLIBS = bcreader bcwriter \
+           instrument profpaths scalaropts \
+           ipo ipa.a datastructure transforms target.a analysis \
+           transformutils vmcore support
+TOOLLINKOPTS = $(PLATFORMLIBDL)
 
+include $(LEVEL)/Makefile.common