blob: fbc2bcf35307e397e3a84e182d1b5e08b2455cf5 [file] [log] [blame]
John Criswelle2fab732003-10-20 22:29:16 +00001##===- 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##===----------------------------------------------------------------------===##
Tanya Lattner14baebf2003-08-28 15:22:38 +00009LEVEL = ../..
10
Reid Spencer5da2d082005-05-19 21:03:11 +000011TOOLNAME = llvm-ar
Reid Spencer18c8b492006-06-01 01:30:27 +000012USEDLIBS = LLVMArchive.a LLVMBCReader.a \
13 LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a
Tanya Lattner14baebf2003-08-28 15:22:38 +000014
15include $(LEVEL)/Makefile.common
Reid Spencerc7ebfdd2004-11-14 22:19:21 +000016
17check-local::
Reid Spencer1a3ba7f2004-11-29 04:51:58 +000018 $(Echo) Checking llvm-ar
19 $(Verb) $(ToolDir)/llvm-ar zRrS nada.a .
20 $(Verb) $(ToolDir)/llvm-ar tv nada.a | \
21 grep Debug/llvm-ar.d >/dev/null 2>&1
22 $(Verb) $(RM) -f nada.a