xref: /freebsd/usr.bin/clang/llvm-ar/Makefile (revision 021385aba56279febcfdcc64d23673a0106ae45d)
16bb1caddSDimitry Andric# $FreeBSD$
26bb1caddSDimitry Andric
3*021385abSAlex Richardson.include <src.opts.mk>
4*021385abSAlex Richardson
56bb1caddSDimitry AndricPROG_CXX=	llvm-ar
6bd74205dSDimitry AndricMAN=		llvm-ar.1 llvm-ranlib.1
76bb1caddSDimitry Andric
80b57cec5SDimitry AndricSRCDIR=		llvm/tools/llvm-ar
9986e05bcSDimitry AndricSRCS+=		llvm-ar.cpp
106bb1caddSDimitry Andric
11dbc595b2SDimitry AndricLIBADD+=	z
12046ffce1SDimitry Andric
13dc6e1047SDimitry AndricLINKS+=		${BINDIR}/llvm-ar ${BINDIR}/llvm-ranlib
14dc6e1047SDimitry Andric
15*021385abSAlex Richardson.if ${MK_LLVM_BINUTILS} != "no"
16*021385abSAlex RichardsonLINKS=		${BINDIR}/llvm-ar ${BINDIR}/ar ${BINDIR}/llvm-ar ${BINDIR}/ranlib
17*021385abSAlex RichardsonMLINKS=		llvm-ar.1 ar.1 llvm-ar.1 ranlib.1
18*021385abSAlex Richardson.endif
19*021385abSAlex Richardson
20986e05bcSDimitry Andric.include "../llvm.prog.mk"
21