Move the subtarget dependent features from XCoreTargetMachine
[oota-llvm.git] / tools / llvm-ar / Makefile
index fbc2bcf35307e397e3a84e182d1b5e08b2455cf5..16a828396cb549f1673a40178a72ea793dcd6f29 100644 (file)
@@ -2,21 +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.a \
-          LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a
+LEVEL := ../..
+TOOLNAME := llvm-ar
+TOOLALIAS = llvm-ranlib
+LINK_COMPONENTS := bitreader support object
 
-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