mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-21 08:24:10 +01:00
e42070a701
bsd.lib.mk and bsd.prog.mk already depend all objs on headers in SRCS if there is not yet a depend file. The headers in SRCS are never built or installed. After 'make depend' the header was already added as a proper dependency on the objects where needed. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
41 lines
745 B
Makefile
41 lines
745 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PROG= ssh
|
|
LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
|
|
MAN= ssh.1 ssh_config.5
|
|
MLINKS= ssh.1 slogin.1
|
|
|
|
SRCS= ssh.c readconf.c clientloop.c sshtty.c \
|
|
sshconnect.c sshconnect1.c sshconnect2.c mux.c \
|
|
roaming_common.c roaming_client.c
|
|
|
|
# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile
|
|
SRCS+= gss-genr.c
|
|
|
|
CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
|
|
SRCS+= ssh_namespace.h
|
|
|
|
LIBADD= ssh
|
|
|
|
.if ${MK_LDNS} != "no"
|
|
CFLAGS+= -DHAVE_LDNS=1
|
|
.endif
|
|
|
|
.if ${MK_KERBEROS_SUPPORT} != "no"
|
|
CFLAGS+= -include krb5_config.h
|
|
SRCS+= krb5_config.h
|
|
LIBADD+= gssapi
|
|
.endif
|
|
|
|
LIBADD+= crypto
|
|
|
|
.if defined(LOCALBASE)
|
|
CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${SSHDIR}
|