1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PROG_CXX= llvm-ar 6MAN= llvm-ar.1 llvm-ranlib.1 7 8SRCDIR= llvm/tools/llvm-ar 9SRCS+= llvm-ar.cpp 10 11LIBADD+= z 12 13LINKS+= ${BINDIR}/llvm-ar ${BINDIR}/llvm-ranlib 14 15.if ${MK_LLVM_BINUTILS} != "no" 16LINKS= ${BINDIR}/llvm-ar ${BINDIR}/ar ${BINDIR}/llvm-ar ${BINDIR}/ranlib 17MLINKS= llvm-ar.1 ar.1 llvm-ar.1 ranlib.1 18.endif 19 20.include "../llvm.prog.mk" 21