Home | History | Annotate | Line # | Download | only in ssh
Makefile revision 1.2
      1  1.2      adam #	$NetBSD: Makefile,v 1.2 2010/11/21 19:19:22 adam 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.2      adam 	roaming_client.c
     11  1.1  christos 
     12  1.1  christos COPTS.sshconnect1.c=	-fno-strict-aliasing
     13  1.1  christos .if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || 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.1  christos LDADD+=	-lkrb5 -lhx509 -lkafs -lasn1 -lcrypt
     29  1.1  christos DPADD+=	${LIBKRB5} ${LIBHX509} ${LIBKAFS} ${LIBASN1} ${LIBCRYPT}
     30  1.1  christos 
     31  1.1  christos LDADD+=	-lcom_err -lroken -lutil
     32  1.1  christos DPADD+=	${LIBCOM_ERR} ${LIBROKEN} ${LIBUTIL}
     33  1.1  christos .endif
     34  1.1  christos 
     35  1.1  christos .include <bsd.prog.mk>
     36