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