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/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.bin/ssh/sshd/Makefile b/usr.bin/ssh/sshd/Makefile
index dc5c85b2cee..db22b53ed29 100644
--- a/usr.bin/ssh/sshd/Makefile
+++ b/usr.bin/ssh/sshd/Makefile
@@ -15,12 +15,17 @@ SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
.include <bsd.own.mk> # for KERBEROS and AFS
.if (${KERBEROS} == "yes")
+CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
SRCS+= auth-krb4.c
-.endif
-
+LDADD+= -lkrb
+DPADD+= ${LIBKRB}
.if (${AFS} == "yes")
SRCS+= radix.c
-.endif
+CFLAGS+= -DAFS
+LDADD+= -lkafs
+DPADD+= ${LIBKRBAFS}
+.endif # AFS
+.endif # KERBEROS
.include <bsd.prog.mk>