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 11CFLAGS.llvm-ar.cpp+= -Dllvm_ar_main=main 12 13LIBADD+= z 14 15LINKS+= ${BINDIR}/llvm-ar ${BINDIR}/llvm-ranlib 16 17.if ${MK_LLVM_BINUTILS} != "no" 18LINKS+= ${BINDIR}/llvm-ar ${BINDIR}/ar ${BINDIR}/llvm-ar ${BINDIR}/ranlib 19MLINKS+= llvm-ar.1 ar.1 llvm-ar.1 ranlib.1 20.endif 21 22.include "../llvm.prog.mk" 23