summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2019-06-15 17:08:13 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2019-06-15 17:08:13 +0000
commitc63c5ab001106bc7beb1d3bc92666c73bcd5c94d (patch)
tree836cec754359f16f3c140c1e309c0212ee25ccba /bin
parentf39f6a562e8e6717c1e1355bbd7d9b2566d7cc9a (diff)
downloadsrc-test-c63c5ab001106bc7beb1d3bc92666c73bcd5c94d.tar.gz
src-test-c63c5ab001106bc7beb1d3bc92666c73bcd5c94d.zip
Fix .depend files to work for build tools.
This is somewhat of a follow-up to r335746. MFC after: 2 weeks Sponsored by: DellEMC
Notes
Notes: svn path=/head/; revision=349062
Diffstat (limited to 'bin')
-rw-r--r--bin/csh/Makefile1
-rw-r--r--bin/sh/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index b0d4435d970c9..9aabc047493ae 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -117,6 +117,7 @@ csh.1: tcsh.man
build-tools: gethost
+DEPENDOBJS+= gethost
gethost: gethost.c sh.err.h tc.const.h sh.h ${BUILD_TOOLS_META}
@rm -f ${.TARGET}
${CC:N${CCACHE_BIN}} -o gethost ${LDFLAGS} ${CFLAGS:C/-DHAVE_ICONV//} \
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index ee4fa87026cf4..7787194fa686e 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -48,6 +48,7 @@ builtins.h: .NOMETA
builtins.c builtins.h: mkbuiltins builtins.def
sh ${.CURDIR}/mkbuiltins ${.CURDIR}
+DEPENDOBJS+= mknodes mksyntax
mknodes mksyntax: ${BUILD_TOOLS_META}
.ORDER: nodes.c nodes.h