Remove extra forward declarations and scrub includes for all in tree InstPrinters...
[oota-llvm.git] / tools / llvm-ar / Makefile
index e10d6ac6ab621a9c0a9cd2a04b2623f6930e96f9..824bb9473000d6dd0b8a1c4a646faaa92ec531a1 100644 (file)
 LEVEL := ../..
 TOOLNAME := llvm-ar
 TOOLALIAS = llvm-ranlib
-LINK_COMPONENTS := all-targets bitreader support object
+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)