xref: /freebsd/usr.bin/clang/llvm-ar/Makefile (revision 41df1d60e3237df2106dddf357e3205bf29f85d5)
16bb1caddSDimitry Andric# $FreeBSD$
26bb1caddSDimitry Andric
3021385abSAlex Richardson.include <src.opts.mk>
4021385abSAlex 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
1181ad6265SDimitry AndricCFLAGS.llvm-ar.cpp+=	-Dllvm_ar_main=main
1281ad6265SDimitry Andric
13dbc595b2SDimitry AndricLIBADD+=	z
14046ffce1SDimitry Andric
15dc6e1047SDimitry AndricLINKS+=		${BINDIR}/llvm-ar ${BINDIR}/llvm-ranlib
16dc6e1047SDimitry Andric
17021385abSAlex Richardson.if ${MK_LLVM_BINUTILS} != "no"
18*41df1d60SEd MasteLINKS+=		${BINDIR}/llvm-ar ${BINDIR}/ar ${BINDIR}/llvm-ar ${BINDIR}/ranlib
19*41df1d60SEd MasteMLINKS+=	llvm-ar.1 ar.1 llvm-ar.1 ranlib.1
20021385abSAlex Richardson.endif
21021385abSAlex Richardson
22986e05bcSDimitry Andric.include "../llvm.prog.mk"
23