mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 07:05:03 +00:00
aea932d27f
using USED_LIBS to specify *libraries* to link against. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30090 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
692 B
Makefile
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
|