Module Name:    src
Committed By:   maya
Date:           Sun Mar  3 17:46:01 UTC 2019

Modified Files:
        src/external/bsd/llvm: Makefile
        src/external/bsd/llvm/include: Makefile

Log Message:
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!


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/bsd/llvm/Makefile
cvs rdiff -u -r1.45 -r1.46 src/external/bsd/llvm/include/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/llvm/Makefile
diff -u src/external/bsd/llvm/Makefile:1.10 src/external/bsd/llvm/Makefile:1.11
--- src/external/bsd/llvm/Makefile:1.10	Sun Dec 17 21:16:57 2017
+++ src/external/bsd/llvm/Makefile	Sun Mar  3 17:46:01 2019
@@ -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

Index: src/external/bsd/llvm/include/Makefile
diff -u src/external/bsd/llvm/include/Makefile:1.45 src/external/bsd/llvm/include/Makefile:1.46
--- src/external/bsd/llvm/include/Makefile:1.45	Tue Jan  1 18:46:04 2019
+++ src/external/bsd/llvm/include/Makefile	Sun Mar  3 17:46:01 2019
@@ -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>

Reply via email to