Move branch folding test to a better location.
[oota-llvm.git] / tools / llvm-ar / Makefile
index 6ee6f34942d751f8a1d00e8beaa286fa552d342d..824bb9473000d6dd0b8a1c4a646faaa92ec531a1 100644 (file)
@@ -9,10 +9,13 @@
 
 LEVEL := ../..
 TOOLNAME := llvm-ar
-LINK_COMPONENTS := archive
-REQUIRES_EH := 1
+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)