summaryrefslogtreecommitdiffstats
path: root/secure/lib
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-01-07 23:26:16 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-01-07 23:26:16 +0000
commit012c5f2da94bb4316a139c3c9064323b5eb5e147 (patch)
tree82b5b501cb92c3e7781f9c455415e7dc6d196e57 /secure/lib
parent235e0ef9f764cd597391e582c9360a518032cd4e (diff)
downloadFreeBSD-src-012c5f2da94bb4316a139c3c9064323b5eb5e147.zip
FreeBSD-src-012c5f2da94bb4316a139c3c9064323b5eb5e147.tar.gz
MFC r291941:
Replace unneeded manual dependency on header by adding it to SRCS.
Diffstat (limited to 'secure/lib')
-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 f4bfd06..9fd0871 100644
--- a/secure/lib/libssh/Makefile
+++ b/secure/lib/libssh/Makefile
@@ -40,9 +40,11 @@ USEPRIVATELIB+= 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
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
LDADD+= -lgssapi -lkrb5 -lhx509 -lasn1 -lcom_err -lmd -lroken
.endif
@@ -59,8 +61,3 @@ LDADD+= -lcrypto -lcrypt -lz
.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
OpenPOWER on IntegriCloud