2003-10-21 00:29:16 +02:00
|
|
|
##===- tools/llvm-ar/Makefile ------------------------------*- Makefile -*-===##
|
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
2007-12-29 21:07:17 +01:00
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
2003-10-21 00:29:16 +02:00
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2003-08-28 17:22:38 +02:00
|
|
|
LEVEL = ../..
|
|
|
|
|
2005-05-19 23:03:11 +02:00
|
|
|
TOOLNAME = llvm-ar
|
2007-05-06 07:58:00 +02:00
|
|
|
LINK_COMPONENTS = archive
|
2006-07-07 02:46:19 +02:00
|
|
|
REQUIRES_EH := 1
|
2003-08-28 17:22:38 +02:00
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.common
|
2004-11-14 23:19:21 +01:00
|
|
|
|
|
|
|
check-local::
|
2004-11-29 05:51:58 +01:00
|
|
|
$(Echo) Checking llvm-ar
|
|
|
|
$(Verb) $(ToolDir)/llvm-ar zRrS nada.a .
|
|
|
|
$(Verb) $(ToolDir)/llvm-ar tv nada.a | \
|
|
|
|
grep Debug/llvm-ar.d >/dev/null 2>&1
|
|
|
|
$(Verb) $(RM) -f nada.a
|