Tim,
On Mon, 29 Mar 2004, Tim Jenness wrote:
> On Mon, 29 Mar 2004, Norman Gray wrote:
>
> > Rather confusingly, the dependency information is generated for C files,
> > but not for Fortran.
> >
>
> I'm not confused at all since I'm assuming they just run the code through
> the C preprocessor and look for the #include directives. Presumably code
> would have to be written to allow autoconf et al to parse the Fortran
> files and find all the INCLUDE directives. Can a script be inserted to do
> that? [the .deps file format seems fairly straightforward]
Oh, it confused me. But that's because I still attribute supernatural
powers to automake, and couldn't work out why its juju was apparently not
happening with Fortran.
My understanding is that there are many gotchas to do with Fortran
dependency tracking in general, but the cases we're interested in should
be much more tractable. After a discussion about this with Mark earlier
this month, this is on my list. It's near the bottom, however, given
that getting things built from scratch is more urgent.
See you,
Norman
--
---------------------------------------------------------------------------
Norman Gray http://www.astro.gla.ac.uk/users/norman/
Physics and Astronomy, University of Glasgow, UK [log in to unmask]
|