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 11NO_WMISSING_VARIABLE_DECLARATIONS= 12 13CFLAGS+=-I. -I${.CURDIR} 14 15.if ${MK_SHARED_TOOLCHAIN} == "no" 16NO_SHARED?= yes 17.endif 18LINKS= ${BINDIR}/ar ${BINDIR}/ranlib 19MLINKS= ar.1 ranlib.1 20 21.include <bsd.prog.mk> 22