ddc9116307
toolchain binaries as dynamically linked. Option is disabled by default. Reviewed by: ru (previous version) MFC after: 2 weeks
20 lines
328 B
Makefile
20 lines
328 B
Makefile
# $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}
|
|
LDADD= -larchive -lelf
|
|
|
|
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>
|