1 1.7 christos # $NetBSD: Makefile,v 1.7 2011/08/17 05:32:09 christos 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.2 adam sshconnect.c sshconnect1.c sshconnect2.c mux.c \ 10 1.3 christos roaming_common.c roaming_client.c 11 1.1 christos 12 1.1 christos COPTS.sshconnect1.c= -fno-strict-aliasing 13 1.5 mrg .if defined(HAVE_GCC) || defined(HAVE_PCC) 14 1.2 adam COPTS.mux.c= -Wno-pointer-sign 15 1.1 christos COPTS.sshconnect2.c= -Wno-pointer-sign 16 1.1 christos .endif 17 1.1 christos 18 1.1 christos LINKS= ${BINDIR}/ssh ${BINDIR}/slogin 19 1.1 christos MAN= ssh.1 ssh_config.5 20 1.1 christos MLINKS= ssh.1 slogin.1 21 1.1 christos 22 1.1 christos .if (${USE_KERBEROS} != "no") 23 1.1 christos # this is not entirely true, libgssapi might be independent of krb5 24 1.1 christos SRCS += gss-genr.c 25 1.1 christos LDADD+= -lgssapi -lheimntlm 26 1.1 christos DPADD+= ${LIBGSSAPI} ${LIBHEIMNTLM} 27 1.1 christos 28 1.4 tsutsui LDADD+= -lkrb5 -lhx509 -lheimbase -lwind 29 1.4 tsutsui DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBHEIMBASE} ${LIBWIND} 30 1.4 tsutsui 31 1.4 tsutsui LDADD+= -lkafs -lasn1 -lcrypt 32 1.4 tsutsui DPADD+= ${LIBKAFS} ${LIBASN1} ${LIBCRYPT} 33 1.1 christos 34 1.1 christos LDADD+= -lcom_err -lroken -lutil 35 1.1 christos DPADD+= ${LIBCOM_ERR} ${LIBROKEN} ${LIBUTIL} 36 1.1 christos .endif 37 1.1 christos 38 1.1 christos .include <bsd.prog.mk> 39