llvm-6502/tools/llvm-ar/Makefile
Reid Spencer 5da2d08433 Make sure that tool names don't have any leading or trailing spaces in them.
If they do, it screws up the concatenation of the .exe suffix on cygwin.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22141 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-19 21:03:11 +00:00

23 lines
730 B
Makefile

##===- 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