aboutsummaryrefslogtreecommitdiff
path: root/libexec/rshd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rshd/Makefile')
-rw-r--r--libexec/rshd/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/libexec/rshd/Makefile b/libexec/rshd/Makefile
index 498b6995810b..924f2eff81b7 100644
--- a/libexec/rshd/Makefile
+++ b/libexec/rshd/Makefile
@@ -2,6 +2,9 @@
# $FreeBSD$
PACKAGE=rcmds
+
+.include <src.opts.mk>
+
PROG= rshd
MAN= rshd.8
@@ -12,4 +15,10 @@ WFORMAT=0
LIBADD= util pam
+.if ${MK_BLACKLIST_SUPPORT} != "no"
+CFLAGS+= -DUSE_BLACKLIST -I${SRCTOP}/contrib/blacklist/include
+LIBADD+= blacklist
+LDFLAGS+=-L${LIBBLACKLISTDIR}
+.endif
+
.include <bsd.prog.mk>