Home | History | Annotate | Line # | Download | only in ssh
Makefile revision 1.1
      1 #	$NetBSD: Makefile,v 1.1 2009/06/07 22:38:45 christos Exp $
      2 
      3 .include <bsd.own.mk>
      4 
      5 BINDIR = /usr/bin
      6 
      7 PROG=	ssh
      8 SRCS=	ssh.c readconf.c clientloop.c sshtty.c \
      9 	sshconnect.c sshconnect1.c sshconnect2.c mux.c
     10 
     11 COPTS.sshconnect1.c=	-fno-strict-aliasing
     12 .if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
     13 COPTS.sshconnect2.c=	-Wno-pointer-sign
     14 .endif
     15 
     16 LINKS=	${BINDIR}/ssh ${BINDIR}/slogin
     17 MAN=	ssh.1 ssh_config.5
     18 MLINKS=	ssh.1 slogin.1
     19 
     20 .if (${USE_KERBEROS} != "no")
     21 
     22 # this is not entirely true, libgssapi might be independent of krb5
     23 SRCS +=	gss-genr.c
     24 LDADD+=	-lgssapi -lheimntlm
     25 DPADD+=	${LIBGSSAPI} ${LIBHEIMNTLM}
     26 
     27 LDADD+=	-lkrb5 -lhx509 -lkafs -lasn1 -lcrypt
     28 DPADD+=	${LIBKRB5} ${LIBHX509} ${LIBKAFS} ${LIBASN1} ${LIBCRYPT}
     29 
     30 LDADD+=	-lcom_err -lroken -lutil
     31 DPADD+=	${LIBCOM_ERR} ${LIBROKEN} ${LIBUTIL}
     32 .endif
     33 
     34 .include <bsd.prog.mk>
     35