diff options
author | 1999-10-06 22:24:55 +0000 | |
---|---|---|
committer | 1999-10-06 22:24:55 +0000 | |
commit | 546de49585915c98d578b93fc27f80269520968b (patch) | |
tree | 54daf9c48b47cd517a9d325791f6be44add9a6eb /usr.bin/ssh/ssh-add | |
parent | match case (diff) | |
download | wireguard-openbsd-546de49585915c98d578b93fc27f80269520968b.tar.xz wireguard-openbsd-546de49585915c98d578b93fc27f80269520968b.zip |
scp should not link against kerberos stuff
Diffstat (limited to 'usr.bin/ssh/ssh-add')
-rw-r--r-- | usr.bin/ssh/ssh-add/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.bin/ssh/ssh-add/Makefile b/usr.bin/ssh/ssh-add/Makefile index 996d2075f73..0b974d4c9c8 100644 --- a/usr.bin/ssh/ssh-add/Makefile +++ b/usr.bin/ssh/ssh-add/Makefile @@ -12,3 +12,14 @@ SRCS= ssh-add.c log-client.c readpass.c rsa.c buffer.c xmalloc.c \ bufaux.c authfd.c authfile.c mpaux.c cipher.c .include <bsd.prog.mk> + +.if (${KERBEROS} == "yes") +CFLAGS+= -DKRB4 -I/usr/include/kerberosIV +LDADD+= -lkrb +DPADD+= ${LIBKRB} +.if (${AFS} == "yes") +CFLAGS+= -DAFS +LDADD+= -lkafs +DPADD+= ${LIBKRBAFS} +.endif # AFS +.endif # KERBEROS |