summaryrefslogtreecommitdiff
path: root/tools/llvm-ar/Makefile
blob: 3375f9ee3650608317d164e5c1cdaca3a2067892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
##===- 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.
# 
##===----------------------------------------------------------------------===##
LEVEL = ../..

TOOLNAME = llvm-ar
USEDLIBS = LLVMArchive.a LLVMBCReader \
	   LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a

include $(LEVEL)/Makefile.common

check-local::
	$(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