Possible out of order execution of pre-requisite targets in 3.82

2012-04-03 Thread Brown, Ruben
I have a question about a behavior I'm seeing in gnu make 3.82. The behavior seems undesirable, but has persisted from at least as far back as 3.79. The behavior can be demonstrated with a very simple make file with two targets, A and B and a single variable VAR. I have included an example below

RE: Possible out of order execution of pre-requisite targets in 3.82

2012-04-03 Thread Brown, Ruben
ate_x: prerequisite @echo X=$(X) @ private_x prerequisite: @echo X=$(X) @ prerequisite -Original Message- From: Paul Smith [mailto:psm...@gnu.org] Sent: Tuesday, April 03, 2012 8:15 AM To: Brown, Ruben Cc: bug-make@gnu.org Subject: Re: Possible out of order execution of pr

Determining Target Specific Variable Inheritance Path

2012-08-23 Thread Brown, Ruben
Hi all, I am currently encountering unexpected target specific variable inheritance a very large and complex build. Claiming thousands of lines of makefile would not be an exaggeration. I need to understand how and why that particular variable definition is being inherited between two targets b

Possible bug in make 3.82 private variable definition

2012-09-07 Thread Brown, Ruben
Dear GNU make maintainers, I've found a use case in which a chain of prerequisite targets appears to ignore the private modifier on a pattern specific variable definition. This occurs in gnu make 3.82. Please find a simple example of this use case below. This seems like a bug, can someone pleas

Method to generate a variable containing targets matching a pattern?

2012-10-31 Thread Brown, Ruben
Hello gnu-make community, Is there a method by which the existence of targets matching a certain pattern can be deduced? For example, is there any way to collect the list targets which end in '.h' or '.hh', such that an order only pattern rule could be applied to force execution of any rules wh