blob: 18da61768206cb0489285f0b1c8bc19e47d8c54e [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
Chris Lattner0465fa92006-07-07 00:46:19 +000014REQUIRES_EH := 1
Tanya Lattner14baebf2003-08-28 15:22:38 +000015
16include $(LEVEL)/Makefile.common
Reid Spencerc7ebfdd2004-11-14 22:19:21 +000017
18check-local::
Reid Spencer1a3ba7f2004-11-29 04:51:58 +000019 $(Echo) Checking llvm-ar
20 $(Verb) $(ToolDir)/llvm-ar zRrS nada.a .
21 $(Verb) $(ToolDir)/llvm-ar tv nada.a | \
22 grep Debug/llvm-ar.d >/dev/null 2>&1
23 $(Verb) $(RM) -f nada.a