Subject: Re: make: making .WAIT recursive
To: Alan Barrett <>
From: Manuel Bouyer <>
List: tech-toolchain
Date: 02/12/2006 19:22:22
On Sun, Feb 12, 2006 at 06:20:01PM +0000, David Laight wrote:
> On Sun, Feb 12, 2006 at 02:43:43PM +0100, Manuel Bouyer wrote:
> > 
> > In other words IMHO the problem is more in the makefiles than in
> > make itself.
> It causes a lot of problems because we have constructs like:
> x:  a .WAIT b_list .WAIT c
> b_list: b1 b2 b3 b4
> b1: b1_dep_list
> 	b1_commands
> To stop 'a' being built before 'b1' we'd have to factor out b_list
> (as a make target), and use a make variable instead.
> As well as problems keeping it up to date, the variable would need to
> be set before the 'x:' line, which gives a massive re-ordering problem.

But maybe we should do it. To me it looks broken to express dependancies
between target using .WAIT instead of real dependancies.

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference