]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - secure/usr.bin/ssh/Makefile
Add UPDATING entries and bump version.
[FreeBSD/FreeBSD.git] / secure / usr.bin / ssh / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 CONFS=  ssh_config
6 CONFSDIR=       /etc/ssh
7 PROG=   ssh
8 LINKS=  ${BINDIR}/ssh ${BINDIR}/slogin
9 MAN=    ssh.1 ssh_config.5
10 MLINKS= ssh.1 slogin.1
11 PACKAGE=        ssh
12
13 SRCS=   ssh.c readconf.c clientloop.c sshtty.c \
14         sshconnect.c sshconnect2.c mux.c
15
16 # gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile
17 SRCS+=  gss-genr.c
18
19 CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
20 SRCS+=  ssh_namespace.h
21
22 LIBADD= ssh
23
24 .if ${MK_LDNS} != "no"
25 CFLAGS+=        -DHAVE_LDNS=1
26 .endif
27
28 .if ${MK_GSSAPI} != "no" && ${MK_KERBEROS_SUPPORT} != "no"
29 CFLAGS+= -include krb5_config.h
30 SRCS+=  krb5_config.h
31 LIBADD+=        gssapi
32 .endif
33
34 LIBADD+=        crypto
35
36 .if defined(LOCALBASE)
37 CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"
38 .endif
39
40 # Workaround VMware Workstation NAT bug
41 CFLAGS+=-DVMWARE_GUEST_WORKAROUND
42
43 .include <bsd.prog.mk>
44
45 .PATH:  ${SSHDIR}