2003-10-20 22:29:16 +00:00
|
|
|
##===- tools/llvm-ar/Makefile ------------------------------*- Makefile -*-===##
|
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file was developed by the LLVM research group and is distributed under
|
|
|
|
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2003-08-28 15:22:38 +00:00
|
|
|
LEVEL = ../..
|
|
|
|
|
|
|
|
TOOLNAME = llvm-ar
|
2004-11-25 20:22:06 +00:00
|
|
|
USEDLIBS = LLVMArchive.a LLVMBCReader \
|
|
|
|
LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a
|
2003-08-28 15:22:38 +00:00
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.common
|
2004-11-14 22:19:21 +00:00
|
|
|
|
|
|
|
check-local::
|
2004-11-29 04:51:58 +00: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
|