1 # $NetBSD: Makefile,v 1.14.2.1 2020/04/13 07:45:19 martin Exp $ 2 3 .include <bsd.own.mk> 4 5 BINDIR = /usr/bin 6 7 PROG= ssh 8 SRCS= ssh.c readconf.c clientloop.c sshtty.c \ 9 sshconnect.c sshconnect2.c mux.c auth.c 10 11 COPTS.auth.c= -DHOST_ONLY 12 COPTS.mux.c= -Wno-pointer-sign 13 COPTS.sshconnect2.c= -Wno-pointer-sign 14 15 LINKS= ${BINDIR}/ssh ${BINDIR}/slogin 16 MAN= ssh.1 ssh_config.5 17 MLINKS= ssh.1 slogin.1 18 19 .if (${USE_KERBEROS} != "no") 20 # this is not entirely true, libgssapi might be independent of krb5 21 SRCS += gss-genr.c 22 LDADD+= -lgssapi -lheimntlm ${LIBKRB5_LDADD} 23 DPADD+= ${LIBGSSAPI} ${LIBHEIMNTLM} ${LIBKRB5_DPADD} 24 .endif 25 26 COPTS.sshconnect.c+= ${GCC_NO_FORMAT_TRUNCATION} 27 28 .include <bsd.prog.mk> 29