Add a test for llvm-ar's 'd' operation.
[oota-llvm.git] / tools / opt / Makefile
index bc27e265014fe60b91b7691ab17b70a26f06ddb2..a451005574a55b591a0aeb04799ebcd86d635e5d 100644 (file)
@@ -1,11 +1,14 @@
-LEVEL = ../..
-TOOLNAME = opt
+##===- tools/opt/Makefile ----------------------------------*- Makefile -*-===##
+#
+#                     The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
 
-USEDLIBS = bcreader bcwriter \
-          instrument profpaths scalaropts \
-           ipo ipa.a datastructure transforms target.a analysis \
-           transformutils vmcore support
-
-TOOLLINKOPTS = -ldl
+LEVEL := ../..
+TOOLNAME := opt
+LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets
 
 include $(LEVEL)/Makefile.common