On Mar  8, 2005, Zack Weinberg <[EMAIL PROTECTED]> wrote:

> Alexandre Oliva <[EMAIL PROTECTED]> writes:

>> I wouldn't.  automake has a much better solution for this that doesn't
>> introduce any such delays.

> Well, yes, but tell me how to make it play nice with all our generated
> header files.

You're getting confused by mixing two different issues.

One is how to generate dependencies efficiently.

The other is how to guarantee you have the generated headers in place
so that you can generate dependencies correctly.


Automake's approach to generating dependencies addresses the first
issue in a far more efficient way than yours, and has no significant
differences regarding generated headers.

As for addressing the second issue, Tom Tromey did already:
BUILT_SOURCES is one approach; explicitly coding dependencies on such
files is another.  There really isn't a magic bullet for this problem,
since you generally have to determine what other headers a generated
header might include, and some of them might be generated as well.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   [EMAIL PROTECTED], gcc.gnu.org}
Free Software Evangelist  [EMAIL PROTECTED], gnu.org}

Reply via email to