This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, fortran] output of Makefile dependencies


On Sat, Oct 02, 2010 at 10:00:06AM +0200, Tobias Burnus wrote:
>  Hi Ralf,
> 
> Ralf Wildenhues wrote:
> >>>On Sun, Jun 13, 2010 at 02:36:46PM +0200, Daniel Franke wrote:
> >>>>Attached patch enables the output of Makefile dependencies.
> >>>>It handles '#include', 'INCLUDE' and module targets/use dependencies 
> >>>>alike.
> >[Issue about order due to the required reading of the .mod files]
> 
> (I think that's going to be a difficult issue. One probably needs to 
> write a separate parser for this, which ignores all the rest and only 
> parses USE statements and INCLUDE lines - and handles the CPP 
> preprocessor's #include - including dependencies of those 
> INCLUDEd/#included files.)
> 

It will also have to deal with virtual modules.  For
example, iso_binding_c is never written to disk, so the
automatic tool needs to pass over 'use iso_binding_c'.

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]