diff options
-rw-r--r-- | usr.bin/ssh/ssh/Makefile | 14 | ||||
-rw-r--r-- | usr.bin/ssh/sshd/Makefile | 16 | ||||
-rw-r--r-- | usr.bin/telnet/Makefile | 14 |
3 files changed, 22 insertions, 22 deletions
diff --git a/usr.bin/ssh/ssh/Makefile b/usr.bin/ssh/ssh/Makefile index ed21d26c8b9..c0011f98d94 100644 --- a/usr.bin/ssh/ssh/Makefile +++ b/usr.bin/ssh/ssh/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.35 2001/06/28 02:32:32 hin Exp $ +# $OpenBSD: Makefile,v 1.36 2001/09/10 22:44:47 jason Exp $ .PATH: ${.CURDIR}/.. @@ -17,6 +17,12 @@ SRCS= ssh.c readconf.c clientloop.c sshtty.c \ .include <bsd.own.mk> # for AFS +.if (${KERBEROS5:L} == "yes") +CFLAGS+= -DKRB5 -I${DESTDIR}/usr/include/kerberosV +LDADD+= -lkrb5 -lasn1 -lcom_err +DPADD+= ${LIBKRB5} ${LIBASN1} +.endif # KERBEROS5 + .if (${KERBEROS:L} == "yes") CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV LDADD+= -lkrb @@ -28,12 +34,6 @@ DPADD+= ${LIBKRBAFS} .endif # AFS .endif # KERBEROS -.if (${KERBEROS5:L} == "yes") -CFLAGS+= -DKRB5 -I${DESTDIR}/usr/include/kerberosV -LDADD+= -lkrb5 -lasn1 -lcom_err -DPADD+= ${LIBKRB5} ${LIBASN1} -.endif # KERBEROS5 - .include <bsd.prog.mk> LDADD+= -lcrypto -lz diff --git a/usr.bin/ssh/sshd/Makefile b/usr.bin/ssh/sshd/Makefile index 3b2cc26b034..7085187a03f 100644 --- a/usr.bin/ssh/sshd/Makefile +++ b/usr.bin/ssh/sshd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.43 2001/06/28 02:33:43 hin Exp $ +# $OpenBSD: Makefile,v 1.44 2001/09/10 22:44:47 jason Exp $ .PATH: ${.CURDIR}/.. @@ -17,6 +17,13 @@ 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 (${KERBEROS5:L} == "yes") +CFLAGS+=-DKRB5 -I${DESTDIR}/usr/include/kerberosV +SRCS+= auth-krb5.c +LDADD+= -lkrb5 -lkafs -lasn1 -lcom_err +DPADD+= ${LIBKRB5} ${LIBKAFS} ${LIBASN1} +.endif # KERBEROS5 + .if (${KERBEROS:L} == "yes") .if (${AFS:L} == "yes") CFLAGS+= -DAFS @@ -29,13 +36,6 @@ LDADD+= -lkrb DPADD+= ${LIBKRB} .endif # KERBEROS -.if (${KERBEROS5:L} == "yes") -CFLAGS+=-DKRB5 -I${DESTDIR}/usr/include/kerberosV -SRCS+= auth-krb5.c -LDADD+= -lkrb5 -lkafs -lasn1 -lcom_err -DPADD+= ${LIBKRB5} ${LIBKAFS} ${LIBASN1} -.endif # KERBEROS5 - .include <bsd.prog.mk> LDADD+= -lcrypto -lutil -lz diff --git a/usr.bin/telnet/Makefile b/usr.bin/telnet/Makefile index ac89c1fa3a0..1a24385d94a 100644 --- a/usr.bin/telnet/Makefile +++ b/usr.bin/telnet/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.14 2001/07/19 10:43:15 deraadt Exp $ +# $OpenBSD: Makefile,v 1.15 2001/09/10 22:44:47 jason Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -46,16 +46,16 @@ SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \ .include <bsd.own.mk> # for KERBEROS -.if (${KERBEROS:L} == "yes") -CFLAGS+=-DENCRYPTION -DAUTHENTICATION -DKRB4 -LDADD+= -lkrb -lcrypto -DPADD+= ${LIBDES} ${LIBKRB} -.endif - .if (${KERBEROS5:L} == "yes") CFLAGS+=-DENCRYPTION -DAUTHENTICATION -DKRB5 LDADD+= -lkrb5 -lasn1 -lcrypto -lcom_err -lkafs DPADD+= ${LIBKRB5} .endif +.if (${KERBEROS:L} == "yes") +CFLAGS+=-DENCRYPTION -DAUTHENTICATION -DKRB4 +LDADD+= -lkrb -lcrypto +DPADD+= ${LIBDES} ${LIBKRB} +.endif + .include <bsd.prog.mk> |