summaryrefslogtreecommitdiffstats
path: root/bin/sh
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-06-03 19:25:41 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-06-03 19:25:41 +0000
commitf12a82914c9d8ba5d938087e53baf40402e1fe83 (patch)
tree5efcea8a1232b6e8dab81f626cb3f753efe3655f /bin/sh
parentcb5c2c054bf8e0130076d308cff1f9fafb442ade (diff)
downloadFreeBSD-src-f12a82914c9d8ba5d938087e53baf40402e1fe83.zip
FreeBSD-src-f12a82914c9d8ba5d938087e53baf40402e1fe83.tar.gz
WITH_META_MODE: Don't expect meta files for side-effect generated files.
The first file in these lists will generate everything else so only it should be getting a .meta file. With bmake's missing=yes meta feature these would otherwise cause a rebuild without the .NOMETA hint. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index a3e2c40..ee7dc14 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -39,6 +39,7 @@ CLEANFILES+= ${GENSRCS} ${GENHDRS}
build-tools: mknodes mksyntax
.ORDER: builtins.c builtins.h
+builtins.h: .NOMETA
builtins.c builtins.h: mkbuiltins builtins.def
sh ${.CURDIR}/mkbuiltins ${.CURDIR}
@@ -51,10 +52,12 @@ mknodes: mknodes.o ${BUILD_TOOLS_META}
mksyntax: mksyntax.o ${BUILD_TOOLS_META}
.ORDER: nodes.c nodes.h
+nodes.h: .NOMETA
nodes.c nodes.h: mknodes nodetypes nodes.c.pat
${BTOOLSPATH:U.}/mknodes ${.CURDIR}/nodetypes ${.CURDIR}/nodes.c.pat
.ORDER: syntax.c syntax.h
+syntax.h: .NOMETA
syntax.c syntax.h: mksyntax
${BTOOLSPATH:U.}/mksyntax
OpenPOWER on IntegriCloud