freebsd-skq/usr.bin/ar/Makefile

22 lines
376 B
Makefile
Raw Normal View History

# $FreeBSD$
.include <bsd.own.mk>
PROG= ar
SRCS= ar.c acplex.l acpyacc.y read.c util.c write.c y.tab.h
DPADD= ${LIBARCHIVE} ${LIBELF} ${LIBZ}
LDADD= -larchive -lelf -lz
NO_WMISSING_VARIABLE_DECLARATIONS=
2008-09-21 00:27:16 +00:00
CFLAGS+=-I. -I${.CURDIR}
.if ${MK_SHARED_TOOLCHAIN} == "no"
NO_SHARED?= yes
.endif
LINKS= ${BINDIR}/ar ${BINDIR}/ranlib
MLINKS= ar.1 ranlib.1
.include <bsd.prog.mk>