Make the includes target run the custom include targets.

This avoids the need for a .WAIT here, and later makes it possible
for non-llvm things to not worry about llvm includes not being created
yet (as includes runs before a lot of other things)

suggested by mrg, build-tested by agc, thanks!
This commit is contained in:
maya 2019-03-03 17:46:01 +00:00
parent cd61a5041c
commit 176bd81148
2 changed files with 3 additions and 4 deletions

View File

@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.10 2017/12/17 21:16:57 joerg Exp $
# $NetBSD: Makefile,v 1.11 2019/03/03 17:46:01 maya Exp $
.include <bsd.init.mk>
SUBDIR= include \
.WAIT \
lib \
.WAIT \
bin

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.45 2019/01/01 18:46:04 maya Exp $
# $NetBSD: Makefile,v 1.46 2019/03/03 17:46:01 maya Exp $
.include <bsd.init.mk>
@ -296,6 +296,6 @@ run-configure:
${LLVM_INCLUDE_CONFIG}/llvm/Config/config.h.in
.endif
depend dependall all: ${DPSRCS}
includes depend dependall all: ${DPSRCS}
.include <bsd.prog.mk>