1 # $NetBSD: Makefile,v 1.20 2023/12/20 17:15:20 christos Exp $ 2 3 .include <bsd.own.mk> 4 5 BINDIR = /usr/bin 6 7 PROG= ssh 8 SRCS= channels.c ssh.c readconf.c clientloop.c sshtty.c \ 9 sshconnect.c sshconnect2.c mux.c auth.c auth-options.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+= ${CC_WNO_FORMAT_TRUNCATION} 27 28 .include <bsd.prog.mk> 29