1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5PROG= ar 6SRCS= ar.c acplex.l acpyacc.y read.c util.c write.c y.tab.h 7 8DPADD= ${LIBARCHIVE} ${LIBELF} ${LIBZ} 9LDADD= -larchive -lelf -lz 10 11CFLAGS+=-I. -I${.CURDIR} 12 13.if ${MK_SHARED_TOOLCHAIN} == "no" 14NO_SHARED?= yes 15.endif 16LINKS= ${BINDIR}/ar ${BINDIR}/ranlib 17MLINKS= ar.1 ranlib.1 18 19.include <bsd.prog.mk> 20