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