xref: /freebsd/usr.bin/clang/llvm-ar/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1.include <src.opts.mk>
2
3PROG_CXX=	llvm-ar
4MAN=		llvm-ar.1 llvm-ranlib.1
5
6SRCDIR=		llvm/tools/llvm-ar
7SRCS+=		llvm-ar-driver.cpp
8SRCS+=		llvm-ar.cpp
9
10LINKS+=		${BINDIR}/llvm-ar ${BINDIR}/llvm-ranlib
11
12.if ${MK_LLVM_BINUTILS} != "no"
13LINKS+=		${BINDIR}/llvm-ar ${BINDIR}/ar ${BINDIR}/llvm-ar ${BINDIR}/ranlib
14MLINKS+=	llvm-ar.1 ar.1 llvm-ar.1 ranlib.1
15.endif
16
17.include "../llvm.prog.mk"
18