This tool needs the libLLVMArchive library now.
[oota-llvm.git] / tools / llvm-ar / Makefile
1 ##===- tools/llvm-ar/Makefile ------------------------------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file was developed by the LLVM research group and is distributed under
6 # the University of Illinois Open Source License. See LICENSE.TXT for details.
7
8 ##===----------------------------------------------------------------------===##
9 LEVEL = ../..
10
11 TOOLNAME = llvm-ar 
12 USEDLIBS = LLVMArchive.a LLVMBCReader LLVMCore LLVMSupport.a LLVMSystem.a
13
14 include $(LEVEL)/Makefile.common
15
16 check-local::
17         $(ToolDir)/llvm-ar zRrS nada.a .
18         $(ToolDir)/llvm-ar tv nada.a | grep Debug/llvm-ar.d >/dev/null 2>&1
19         $(RM) -f nada.a