diff options
| author | apb <apb@NetBSD.org> | 2006-02-26 22:45:46 +0000 |
|---|---|---|
| committer | apb <apb@NetBSD.org> | 2006-02-26 22:45:46 +0000 |
| commit | f34c12e9891a798cdb3bedffa2ee43aed79adbd7 (patch) | |
| tree | fa06d1a840e8ecb1c0cf47e3e36732edc0b3a31c /usr.bin/make/main.c | |
| parent | 3ea7f78b5754c90382f880088ad622295fe20eb8 (diff) | |
Make ".WAIT" apply recursively to all children of nodes on the right
hand side of the .WAIT, except when the recursive interpretation would
cause a cycle in the dependency graph.
Discussed in tech-toolchain. Reviewed by christos, sjg.
Diffstat (limited to 'usr.bin/make/main.c')
| -rw-r--r-- | usr.bin/make/main.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index 12fa1301a9a..571e1887328 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.119 2006/02/18 04:10:05 tsutsui Exp $ */ +/* $NetBSD: main.c,v 1.120 2006/02/26 22:45:46 apb Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -69,7 +69,7 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: main.c,v 1.119 2006/02/18 04:10:05 tsutsui Exp $"; +static char rcsid[] = "$NetBSD: main.c,v 1.120 2006/02/26 22:45:46 apb Exp $"; #else #include <sys/cdefs.h> #ifndef lint @@ -81,7 +81,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1990, 1993\n\ #if 0 static char sccsid[] = "@(#)main.c 8.3 (Berkeley) 3/19/94"; #else -__RCSID("$NetBSD: main.c,v 1.119 2006/02/18 04:10:05 tsutsui Exp $"); +__RCSID("$NetBSD: main.c,v 1.120 2006/02/26 22:45:46 apb Exp $"); #endif #endif /* not lint */ #endif @@ -994,6 +994,8 @@ main(int argc, char **argv) /* * Propagate attributes through :: dependency lists. + * + * Also propagate recursive dependencies for .WAIT. */ Targ_Propagate(); |
