blob: 8936a49f08190df8cb3066e9de07acfe93699368 [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
Chris Lattner5e3c9f92007-05-06 05:58:00 +000012LINK_COMPONENTS = archive
Chris Lattner0465fa92006-07-07 00:46:19 +000013REQUIRES_EH := 1
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