Move branch folding test to a better location.
[oota-llvm.git] / tools / llvm-ar / Makefile
index 938f73ef11a8d67f71a2079d70a5d9aef207ce2c..824bb9473000d6dd0b8a1c4a646faaa92ec531a1 100644 (file)
@@ -2,13 +2,20 @@
 # 
 #                     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.
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
 # 
 ##===----------------------------------------------------------------------===##
-LEVEL = ../..
 
-TOOLNAME = llvm-ar 
-USEDLIBS = LLVMBCReader LLVMCore LLVMSupport.a LLVMSystem.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)