aboutsummaryrefslogtreecommitdiff
path: root/secure/usr.bin/sftp
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-12-07 16:08:09 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-12-07 16:08:09 +0000
commite42070a701fc8453434cfe449439d252fc176542 (patch)
tree6a1e5e2830d44ffda1dbf04bd3d32d8dcfd44c21 /secure/usr.bin/sftp
parent98a998d5e71e49fb5b209ff1d629114cd0b3a9ad (diff)
downloadsrc-e42070a701fc8453434cfe449439d252fc176542.tar.gz
src-e42070a701fc8453434cfe449439d252fc176542.zip
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
Notes
Notes: svn path=/head/; revision=291941
Diffstat (limited to 'secure/usr.bin/sftp')
-rw-r--r--secure/usr.bin/sftp/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/secure/usr.bin/sftp/Makefile b/secure/usr.bin/sftp/Makefile
index 281ae248d6b9..9cea9fe3f08e 100644
--- a/secure/usr.bin/sftp/Makefile
+++ b/secure/usr.bin/sftp/Makefile
@@ -5,6 +5,7 @@
PROG= sftp
SRCS= sftp.c sftp-client.c sftp-common.c sftp-glob.c progressmeter.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 @@ CFLAGS+= -DHAVE_LDNS=1
.include <bsd.prog.mk>
.PATH: ${SSHDIR}
-
-${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h