aboutsummaryrefslogtreecommitdiff
path: root/secure/lib/libssh
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/lib/libssh
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/lib/libssh')
-rw-r--r--secure/lib/libssh/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/secure/lib/libssh/Makefile b/secure/lib/libssh/Makefile
index 91f1587c9ef9..139021b1e80c 100644
--- a/secure/lib/libssh/Makefile
+++ b/secure/lib/libssh/Makefile
@@ -38,9 +38,11 @@ LIBADD+= ldns
.endif
CFLAGS+= -I${SSHDIR} -include ssh_namespace.h
+SRCS+= ssh_namespace.h
.if ${MK_KERBEROS_SUPPORT} != "no"
CFLAGS+= -include krb5_config.h
+SRCS+= krb5_config.h
.endif
NO_LINT=
@@ -50,8 +52,3 @@ LIBADD+= crypto crypt z
.include <bsd.lib.mk>
.PATH: ${SSHDIR} ${SSHDIR}/openbsd-compat
-
-${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
-.if ${MK_KERBEROS_SUPPORT} != "no"
-${OBJS} ${POBJS} ${SOBJS}: krb5_config.h
-.endif