diff options
author | Ed Maste <emaste@FreeBSD.org> | 2021-11-02 18:48:33 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2021-11-03 23:38:05 +0000 |
commit | 9d63429fa16352f58037ac2aa6ddc734b25e8331 (patch) | |
tree | 247b483b678ab3dbebf95341d19ed70e32da8222 /secure/usr.bin/ssh/Makefile | |
parent | 80f21bb039cef279e50e1b791b2808b916009bf6 (diff) | |
download | src-9d63429fa16352f58037ac2aa6ddc734b25e8331.tar.gz src-9d63429fa16352f58037ac2aa6ddc734b25e8331.zip |
ssh: move common Makefile boilerplate to a new ssh.mk
This moves SSHDIR and ssh_namespace.h handling to a common location,
and will simplify future work such as adding U2F support (D32509).
Reviewed by: kevans
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32808
Diffstat (limited to 'secure/usr.bin/ssh/Makefile')
-rw-r--r-- | secure/usr.bin/ssh/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/secure/usr.bin/ssh/Makefile b/secure/usr.bin/ssh/Makefile index 614cc7627fc5..5528aceed5ee 100644 --- a/secure/usr.bin/ssh/Makefile +++ b/secure/usr.bin/ssh/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ .include <src.opts.mk> +.include "${SRCTOP}/secure/ssh.mk" CONFS= ssh_config CONFSDIR= /etc/ssh @@ -16,9 +17,6 @@ SRCS= ssh.c readconf.c clientloop.c sshtty.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" |