Remove some spurious mayLoad = 0 flags.
[oota-llvm.git] / tools / llvm-ar / Makefile
index 36968b3cc275a9d7732dc55b1cd603b1b7d974b2..6ee6f34942d751f8a1d00e8beaa286fa552d342d 100644 (file)
@@ -2,18 +2,17 @@
 # 
 #                     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 LLVMSystem.a
+LEVEL := ../..
+TOOLNAME := llvm-ar
+LINK_COMPONENTS := archive
+REQUIRES_EH := 1
 
-include $(LEVEL)/Makefile.common
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS := 1
 
-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
+include $(LEVEL)/Makefile.common