Move branch folding test to a better location.
[oota-llvm.git] / tools / llvm-ar / Makefile
index 73aabbb21acbe5dd48a8c4ce4de0a54874925b6b..824bb9473000d6dd0b8a1c4a646faaa92ec531a1 100644 (file)
@@ -1,6 +1,21 @@
-LEVEL = ../..
+##===- tools/llvm-ar/Makefile ------------------------------*- Makefile -*-===##
+# 
+#                     The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+# 
+##===----------------------------------------------------------------------===##
 
-TOOLNAME = llvm-ar 
-USEDLIBS = bcreader vmcore support.a
+LEVEL := ../..
+TOOLNAME := llvm-ar
+TOOLALIAS = llvm-ranlib
+LINK_COMPONENTS := all-targets bitreader libdriver support object
+
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS := 1
 
 include $(LEVEL)/Makefile.common
+
+all-local::
+       $(Verb) $(AliasTool) $(notdir $(ToolBuildPath)) $(ToolDir)/llvm-lib$(EXEEXT)