summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshd/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-10-06 22:24:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-10-06 22:24:57 +0000
commit404413a2ebe9dab38f180b107e50089bc731f179 (patch)
tree77430fb17fc07257d71d61a8e0254b7604a94f86 /usr.bin/ssh/sshd/Makefile
parentd106294a2d12a466156380b78e6db3db1dea8b6a (diff)
scp should not link against kerberos stuff
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>