aboutsummaryrefslogtreecommitdiff
path: root/secure/usr.bin/ssh-agent
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2021-11-02 18:48:33 +0000
committerEd Maste <emaste@FreeBSD.org>2021-11-08 21:24:09 +0000
commita0880129a545dbb7ff35b456429b12e55146ef5d (patch)
treef7368fdb19c975561af79b01e1a7c9cdaf0a4cec /secure/usr.bin/ssh-agent
parentd4754d707a1016bbab8cc9c1fe4ef8e1d1d55c23 (diff)
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 (cherry picked from commit 9d63429fa16352f58037ac2aa6ddc734b25e8331)
Diffstat (limited to 'secure/usr.bin/ssh-agent')
-rw-r--r--secure/usr.bin/ssh-agent/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/secure/usr.bin/ssh-agent/Makefile b/secure/usr.bin/ssh-agent/Makefile
index 95ccd05811fe..c8139ec376c3 100644
--- a/secure/usr.bin/ssh-agent/Makefile
+++ b/secure/usr.bin/ssh-agent/Makefile
@@ -1,12 +1,11 @@
# $FreeBSD$
.include <src.opts.mk>
+.include "${SRCTOP}/secure/ssh.mk"
PROG= ssh-agent
SRCS= ssh-agent.c
PACKAGE= ssh
-CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
-SRCS+= ssh_namespace.h
LIBADD= ssh