7 CFLAGS
+=-I
${SSHDIR} -include ssh_namespace.h
8 LINKS
= ${BINDIR}/ssh
${BINDIR}/slogin
9 MAN
= ssh
.1 ssh_config
.5
10 MLINKS
= ssh
.1 slogin
.1
12 SRCS
= ssh.c readconf.c clientloop.c sshtty.c \
13 sshconnect.c sshconnect1.c sshconnect2.c mux.c \
16 DPADD
= ${LIBSSH} ${LIBUTIL} ${LIBZ}
17 LDADD
= -lssh
-lutil
-lz
19 .if
${MK_KERBEROS_SUPPORT} != "no"
20 CFLAGS
+= -DGSSAPI
-DHAVE_GSSAPI_GSSAPI_H
=1 -DKRB5
-DHEIMDAL
25 .if defined
(X11BASE
) || defined
(LOCALBASE
)
26 # Recommended /etc/make.conf setting is X11BASE=${LOCALBASE} for x.org
27 # 7.x upgrade on <= 6.2, but LOCALBASE has moved out of scope of src/
28 # so we need to provide the default for users with old make.conf
30 LOCALBASE?
= /usr
/local
32 # Users may override either LOCALBASE or X11BASE to move the location
34 X11BASE?
= ${LOCALBASE}
35 CFLAGS
+= -DXAUTH_PATH
=\"${X11BASE}/bin
/xauth
\"
38 DPADD
+= ${LIBCRYPT} ${LIBCRYPTO}
39 LDADD
+= -lcrypt
-lcrypto
41 .
include <bsd.prog.mk
>
45 ${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h