mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
c6063d0da8
from the latter.
22 lines
377 B
Makefile
22 lines
377 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.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=
|
|
|
|
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>
|