Try again to revert the bad patch. The tree was reverted for some unknown reason
[oota-llvm.git] / tools / llvm-ar / Makefile
index 8936a49f08190df8cb3066e9de07acfe93699368..fafb14bc12a1705bf73be69b2ff52329c96c715b 100644 (file)
@@ -2,21 +2,16 @@
 # 
 #                     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
-LINK_COMPONENTS = archive
-REQUIRES_EH := 1
+LEVEL := ../..
+TOOLNAME := llvm-ar
+LINK_COMPONENTS := archive
 
-include $(LEVEL)/Makefile.common
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS := 1
 
-check-local::
-       $(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
+include $(LEVEL)/Makefile.common