summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ssh/sshd/Makefile')
-rw-r--r--usr.bin/ssh/sshd/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.bin/ssh/sshd/Makefile b/usr.bin/ssh/sshd/Makefile
index db22b53ed29..f2d01164527 100644
--- a/usr.bin/ssh/sshd/Makefile
+++ b/usr.bin/ssh/sshd/Makefile
@@ -27,6 +27,10 @@ DPADD+= ${LIBKRBAFS}
.endif # AFS
.endif # KERBEROS
+.if (${SKEY} == "yes")
+SRCS+= auth-skey.c
+.endif
+
.include <bsd.prog.mk>
LDADD+= -lcrypto -lutil -lz
@@ -37,3 +41,9 @@ CFLAGS+= -DLIBWRAP
LDADD+= -lwrap
DPADD+= ${LIBWRAP}
.endif
+
+.if (${SKEY} == "yes")
+CFLAGS+= -DSKEY
+LDADD+= -lskey
+DPADD+= ${SKEY}
+.endif