1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/tools/llvm-ar/Makefile
Chris Lattner 2da81d7d76 Use LINK_COMPONENTS to specify *components* to link against instead of
using USED_LIBS to specify *libraries* to link against.

llvm-svn: 30090
2006-09-04 05:59:09 +00:00

23 lines
692 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
LINK_COMPONENTS = archive bcreader
REQUIRES_EH := 1
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