0c099281a3
script mode like the MRI(Microtec Research Inc.) "librarian" program. Originally this option is provided by Binutils ar(1) to ease the transition for developers who are used to writing "librarian" scripts. We added this option to BSD ar(1) because: 1. Further improve the compatibility with Binutils ar(1). 2. There are still a few software using this -M option. (at least one in our ports collection) Suggested by: rink & erwin
16 lines
276 B
Makefile
16 lines
276 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= ar
|
|
SRCS= ar.c acplex.l acpyacc.y read.c util.c write.c y.tab.h
|
|
|
|
WARNS?= 5
|
|
|
|
DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ} ${LIBELF}
|
|
LDADD= -larchive -lbz2 -lz -lelf
|
|
|
|
NO_SHARED?= yes
|
|
LINKS= ${BINDIR}/ar ${BINDIR}/ranlib
|
|
MLINKS= ar.1 ranlib.1
|
|
|
|
.include <bsd.prog.mk>
|