xref: /freebsd/usr.bin/clang/llvm-ar/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1021385abSAlex Richardson.include <src.opts.mk>
2021385abSAlex Richardson
36bb1caddSDimitry AndricPROG_CXX=	llvm-ar
4bd74205dSDimitry AndricMAN=		llvm-ar.1 llvm-ranlib.1
56bb1caddSDimitry Andric
60b57cec5SDimitry AndricSRCDIR=		llvm/tools/llvm-ar
7*06c3fb27SDimitry AndricSRCS+=		llvm-ar-driver.cpp
8986e05bcSDimitry AndricSRCS+=		llvm-ar.cpp
96bb1caddSDimitry Andric
10dc6e1047SDimitry AndricLINKS+=		${BINDIR}/llvm-ar ${BINDIR}/llvm-ranlib
11dc6e1047SDimitry Andric
12021385abSAlex Richardson.if ${MK_LLVM_BINUTILS} != "no"
1341df1d60SEd MasteLINKS+=		${BINDIR}/llvm-ar ${BINDIR}/ar ${BINDIR}/llvm-ar ${BINDIR}/ranlib
1441df1d60SEd MasteMLINKS+=	llvm-ar.1 ar.1 llvm-ar.1 ranlib.1
15021385abSAlex Richardson.endif
16021385abSAlex Richardson
17986e05bcSDimitry Andric.include "../llvm.prog.mk"
18