diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-12-07 16:08:09 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-12-07 16:08:09 +0000 |
commit | b044b9943f02d36d3ba04086be5e2a60db9d35eb (patch) | |
tree | 6a1e5e2830d44ffda1dbf04bd3d32d8dcfd44c21 /secure/lib | |
parent | 3f5871ee5c4b7f0abba0da12c9da6e34002dca8a (diff) | |
download | FreeBSD-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/lib')
-rw-r--r-- | secure/lib/libssh/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/secure/lib/libssh/Makefile b/secure/lib/libssh/Makefile index 91f1587..139021b 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 |