summaryrefslogtreecommitdiffstats
path: root/usr.bin/ar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ar/Makefile')
-rw-r--r--usr.bin/ar/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/ar/Makefile b/usr.bin/ar/Makefile
index e373120..e9bb893 100644
--- a/usr.bin/ar/Makefile
+++ b/usr.bin/ar/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
PROG= ar
SRCS= ar.c acplex.l acpyacc.y read.c util.c write.c y.tab.h
@@ -8,7 +10,9 @@ 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
OpenPOWER on IntegriCloud