blob: ec862e670209c85dd20764d3fbdc92c71b46a0ac [file] [log] [blame]
John Criswelle2fab732003-10-20 22:29:16 +00001##===- tools/llvm-ar/Makefile ------------------------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
Chris Lattner51167842007-12-29 20:07:17 +00005# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
John Criswelle2fab732003-10-20 22:29:16 +00007#
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