Add a newline at the end of the file.
[oota-llvm.git] / tools / llvm-ar / Makefile
index 36968b3cc275a9d7732dc55b1cd603b1b7d974b2..8936a49f08190df8cb3066e9de07acfe93699368 100644 (file)
@@ -8,12 +8,15 @@
 ##===----------------------------------------------------------------------===##
 LEVEL = ../..
 
-TOOLNAME = llvm-ar 
-USEDLIBS = LLVMArchive.a LLVMBCReader LLVMCore LLVMSupport.a LLVMSystem.a
+TOOLNAME = llvm-ar
+LINK_COMPONENTS = archive
+REQUIRES_EH := 1
 
 include $(LEVEL)/Makefile.common
 
 check-local::
-       $(ToolDir)/llvm-ar zRrS nada.a .
-       $(ToolDir)/llvm-ar tv nada.a | grep Debug/llvm-ar.d >/dev/null 2>&1
-       $(RM) -f nada.a
+       $(Echo) Checking llvm-ar
+       $(Verb) $(ToolDir)/llvm-ar zRrS nada.a .
+       $(Verb) $(ToolDir)/llvm-ar tv nada.a | \
+         grep Debug/llvm-ar.d >/dev/null 2>&1
+       $(Verb) $(RM) -f nada.a