diff options
author | Dug Song <dugsong@cvs.openbsd.org> | 2001-06-26 17:52:42 +0000 |
---|---|---|
committer | Dug Song <dugsong@cvs.openbsd.org> | 2001-06-26 17:52:42 +0000 |
commit | 7368768e5871a149a92d80329a3c1d7458c0c742 (patch) | |
tree | 21698e0dee0def0fb464011c34176e200a8d9c2f /usr.bin/ssh/sshd | |
parent | ea4da0d41033b7e6abb34f9f80e3f97d79020c7f (diff) |
only build Kerberos v5 support with KERBEROS5=yes
Diffstat (limited to 'usr.bin/ssh/sshd')
-rw-r--r-- | usr.bin/ssh/sshd/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/usr.bin/ssh/sshd/Makefile b/usr.bin/ssh/sshd/Makefile index 6682f0e1f52..3a4b9fdce45 100644 --- a/usr.bin/ssh/sshd/Makefile +++ b/usr.bin/ssh/sshd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.41 2001/06/26 16:15:26 dugsong Exp $ +# $OpenBSD: Makefile,v 1.42 2001/06/26 17:52:41 dugsong Exp $ .PATH: ${.CURDIR}/.. @@ -23,18 +23,19 @@ CFLAGS+= -DAFS LDADD+= -lkafs DPADD+= ${LIBKRBAFS} .endif # AFS - -CFLAGS+=-DKRB5 -I${DESTDIR}/usr/include/kerberosV -SRCS+= auth-krb5.c -LDADD+= -lkrb5 -lkafs -lasn1 -DPADD+= ${LIBKRB5} ${LIBKAFS} ${LIBASN1} - CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV SRCS+= auth-krb4.c 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 +DPADD+= ${LIBKRB5} ${LIBKAFS} ${LIBASN1} +.endif # KERBEROS5 + .include <bsd.prog.mk> LDADD+= -lcrypto -lutil -lz |