1# $FreeBSD: head/secure/usr.bin/ssh/Makefile 255386 2013-09-08 10:04:26Z des $ 2#
| 1# $FreeBSD: head/secure/usr.bin/ssh/Makefile 255460 2013-09-10 22:26:11Z des $
|
3 4.include <bsd.own.mk> 5 6PROG= ssh 7CFLAGS+=-I${SSHDIR} -include ssh_namespace.h 8LINKS= ${BINDIR}/ssh ${BINDIR}/slogin 9MAN= ssh.1 ssh_config.5 10MLINKS= ssh.1 slogin.1 11 12SRCS= ssh.c readconf.c clientloop.c sshtty.c \ 13 sshconnect.c sshconnect1.c sshconnect2.c mux.c \ 14 roaming_common.c roaming_client.c 15 16# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile 17SRCS+= gss-genr.c 18
| 2 3.include <bsd.own.mk> 4 5PROG= ssh 6CFLAGS+=-I${SSHDIR} -include ssh_namespace.h 7LINKS= ${BINDIR}/ssh ${BINDIR}/slogin 8MAN= ssh.1 ssh_config.5 9MLINKS= ssh.1 slogin.1 10 11SRCS= ssh.c readconf.c clientloop.c sshtty.c \ 12 sshconnect.c sshconnect1.c sshconnect2.c mux.c \ 13 roaming_common.c roaming_client.c 14 15# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile 16SRCS+= gss-genr.c 17
|
19DPADD= ${LIBSSH} ${LIBUTIL} ${LIBZ} 20LDADD= -lssh -lutil -lz
| 18DPADD= ${LIBSSH} ${LIBUTIL} 19LDADD= -lssh -lutil
|
21USEPRIVATELIB= ssh 22
| 20USEPRIVATELIB= ssh 21
|
| 22.if ${MK_LDNS} != "no" 23CFLAGS+= -DHAVE_LDNS=1 24DPADD+= ${LIBLDNS} 25LDADD+= -lldns 26USEPRIVATELIB+= ldns 27.endif 28
|
23.if ${MK_KERBEROS_SUPPORT} != "no" 24CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL 25DPADD+= ${LIBGSSAPI} 26LDADD+= -lgssapi 27.endif 28 29.if ${MK_OPENSSH_NONE_CIPHER} != "no" 30CFLAGS+= -DNONE_CIPHER_ENABLED 31.endif 32
| 29.if ${MK_KERBEROS_SUPPORT} != "no" 30CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL 31DPADD+= ${LIBGSSAPI} 32LDADD+= -lgssapi 33.endif 34 35.if ${MK_OPENSSH_NONE_CIPHER} != "no" 36CFLAGS+= -DNONE_CIPHER_ENABLED 37.endif 38
|
33DPADD+= ${LIBCRYPT} ${LIBCRYPTO} 34LDADD+= -lcrypt -lcrypto
| 39DPADD+= ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ} 40LDADD+= -lcrypt -lcrypto -lz
|
35 36.if defined(LOCALBASE) 37CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\" 38.endif 39 40.include <bsd.prog.mk> 41 42.PATH: ${SSHDIR} 43 44${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
| 41 42.if defined(LOCALBASE) 43CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\" 44.endif 45 46.include <bsd.prog.mk> 47 48.PATH: ${SSHDIR} 49 50${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
|