Merge branch 'vendor/LESS'
[dragonfly.git] / secure / usr.bin / ssh / Makefile
1 # $FreeBSD: src/secure/usr.bin/ssh/Makefile,v 1.4.2.8 2003/02/03 17:31:12 des Exp $
2 # $DragonFly: src/secure/usr.bin/ssh/Makefile,v 1.9 2008/09/28 03:19:46 pavalos Exp $
3 #
4
5 PROG=   ssh
6 LINKS=  ${BINDIR}/ssh ${BINDIR}/slogin
7 MAN=    ssh.1 ssh_config.5
8 MLINKS= ssh.1 slogin.1
9
10 SRCS=   channels.c clientloop.c kex.c misc.c monitor_fdpass.c mux.c packet.c \
11         readconf.c ssh.c sshconnect.c sshconnect1.c sshconnect2.c sshtty.c \
12         uidswap.c
13
14 .if defined(WANT_KERBEROS)
15 DISTRIBUTION=krb5
16 CFLAGS+= -DKRB5 -DHEIMDAL
17 LDADD+=  -lkrb5 -lasn1 -lcom_err -lmd -L${.OBJDIR}/../../../kerberos5/lib/libroken -lroken -lcrypt
18 DPADD+=  ${LIBKRB5} ${LIBCOM_ERR} ${LIBASN1} ${LIBMD} ${LIBCRYPT}
19 .endif
20
21 .if defined(X11BASE)
22 CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\"
23 .endif
24
25 LDADD+= -lutil -lz
26 DPADD+= ${LIBUTIL} ${LIBZ}
27
28 .include "../../Makefile.ssh.common"
29 .include <bsd.prog.mk>