summaryrefslogtreecommitdiffstats
path: root/secure/usr.bin/ssh-keygen/Makefile
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-12-07 16:08:09 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-12-07 16:08:09 +0000
commitb044b9943f02d36d3ba04086be5e2a60db9d35eb (patch)
tree6a1e5e2830d44ffda1dbf04bd3d32d8dcfd44c21 /secure/usr.bin/ssh-keygen/Makefile
parent3f5871ee5c4b7f0abba0da12c9da6e34002dca8a (diff)
downloadFreeBSD-src-b044b9943f02d36d3ba04086be5e2a60db9d35eb.zip
FreeBSD-src-b044b9943f02d36d3ba04086be5e2a60db9d35eb.tar.gz
Replace unneeded manual dependency on header by adding it to SRCS.
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
Diffstat (limited to 'secure/usr.bin/ssh-keygen/Makefile')
-rw-r--r--secure/usr.bin/ssh-keygen/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/secure/usr.bin/ssh-keygen/Makefile b/secure/usr.bin/ssh-keygen/Makefile
index db8dc7e..c3d6b2f 100644
--- a/secure/usr.bin/ssh-keygen/Makefile
+++ b/secure/usr.bin/ssh-keygen/Makefile
@@ -5,6 +5,7 @@
PROG= ssh-keygen
SRCS= ssh-keygen.c
CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
+SRCS+= ssh_namespace.h
.if !defined(NO_SHARED)
# required when linking with a dynamic libssh
@@ -22,5 +23,3 @@ LIBADD+= crypto
.include <bsd.prog.mk>
.PATH: ${SSHDIR}
-
-${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
OpenPOWER on IntegriCloud