Fix register printing in disassembling of push/pop of segment registers and in/out...
[oota-llvm.git] / tools / llvm-ar / Makefile
index 996859e202d7600f5c4fe4b6d0888d55ec8155a2..e4fe4e8ca39a788995418cab22ec82f4c43f6183 100644 (file)
@@ -2,19 +2,24 @@
 # 
 #                     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 = LLVMArchive.a LLVMBCReader \
-          LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a
+TOOLNAME = llvm-ar
+LINK_COMPONENTS = archive
+REQUIRES_EH := 1
+
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS = 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