1c6063d0dSWarner Losh.include <src.opts.mk> 2*9d63429fSEd Maste.include "${SRCTOP}/secure/ssh.mk" 3e1fe3dbaSRuslan Ermilov 4f0a51d9dSBrad DavisCONFS= ssh_config 5f0a51d9dSBrad DavisCONFSDIR= /etc/ssh 6c23e256eSMark MurrayPROG= ssh 7c23e256eSMark MurrayLINKS= ${BINDIR}/ssh ${BINDIR}/slogin 816c52d15SDag-Erling SmørgravMAN= ssh.1 ssh_config.5 916c52d15SDag-Erling SmørgravMLINKS= ssh.1 slogin.1 100bd7d22eSBaptiste DaroussinPACKAGE= ssh 11c23e256eSMark Murray 129f80be8eSDag-Erling SmørgravSRCS= ssh.c readconf.c clientloop.c sshtty.c \ 134f52dfbbSDag-Erling Smørgrav sshconnect.c sshconnect2.c mux.c 147aee6ffeSDag-Erling Smørgrav 157aee6ffeSDag-Erling Smørgrav# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile 167aee6ffeSDag-Erling SmørgravSRCS+= gss-genr.c 17c23e256eSMark Murray 18ff75e007SBaptiste DaroussinLIBADD= ssh 19e1542a40SRuslan Ermilov 209cfa8b3fSDag-Erling Smørgrav.if ${MK_LDNS} != "no" 219cfa8b3fSDag-Erling SmørgravCFLAGS+= -DHAVE_LDNS=1 229cfa8b3fSDag-Erling Smørgrav.endif 239cfa8b3fSDag-Erling Smørgrav 2494ef145eSEnji Cooper.if ${MK_GSSAPI} != "no" && ${MK_KERBEROS_SUPPORT} != "no" 250085282bSDag-Erling SmørgravCFLAGS+= -include krb5_config.h 26e42070a7SBryan DrewerySRCS+= krb5_config.h 27ee5a34ecSBaptiste DaroussinLIBADD+= gssapi 286bde859fSRuslan Ermilov.endif 29c23e256eSMark Murray 30ff75e007SBaptiste DaroussinLIBADD+= crypto 312f538dadSKris Kennaway 322774871bSEitan Adler.if defined(LOCALBASE) 332774871bSEitan AdlerCFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\" 342774871bSEitan Adler.endif 352774871bSEitan Adler 362f538dadSKris Kennaway.include <bsd.prog.mk> 37b8cba406SRuslan Ermilov 38b8cba406SRuslan Ermilov.PATH: ${SSHDIR} 39