diff options
| author | Simon J. Gerraty <sjg@FreeBSD.org> | 2023-04-20 17:05:43 +0000 |
|---|---|---|
| committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2023-04-20 17:05:43 +0000 |
| commit | 8fe4f8f7a75f3f6d1fc52e31a6d25a112d4644fd (patch) | |
| tree | 9dfa80a120af5221ee8e2523c14efee1a5d5526b /bin/sh/Makefile | |
| parent | de4da6cd04bf299e46f0c65d4bfd9fa94bf00f08 (diff) | |
Diffstat (limited to 'bin/sh/Makefile')
| -rw-r--r-- | bin/sh/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile index c61094b06720..039da7309adc 100644 --- a/bin/sh/Makefile +++ b/bin/sh/Makefile @@ -39,15 +39,18 @@ CFLAGS+=-DSHELL -I. -I${.CURDIR} CLEANFILES+= mknodes mksyntax CLEANFILES+= ${GENSRCS} ${GENHDRS} +.if ${MACHINE} == "host" || ${MK_DIRDEPS_BUILD} == "no" build-tools: mknodes mksyntax +DEPENDOBJS+= mknodes mksyntax +mknodes mksyntax: ${BUILD_TOOLS_META} +.endif + .ORDER: builtins.c builtins.h 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 nodes.h: .NOMETA |
