automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Way to generate header finles automatically


From: Ralf Wildenhues
Subject: Re: Way to generate header finles automatically
Date: Sat, 25 Mar 2006 11:51:24 +0100
User-agent: Mutt/1.5.9i

Hi Jeff,

* Jeff Safier wrote on Tue, Mar 21, 2006 at 04:58:46PM CET:
> I am looking for a way that automake or any other tool to scan source
> code (.c or .cpp) files and generate list of depedencies( meaning header
> files) needed to compile the module.  And if there is another tool how
> to interface it with automake

Besides the answers already given: maybe you are looking for something
that helps you write a configure.ac file for Autoconf, to get a list of
headers to scan for?  Well, then autoscan (which is part of the Autoconf
package) may be the right thing for you.

But from your asking I'm not sure whether what you want is rather the
automatic dependency tracking (which is already part of Automake, as
Marc wrote).  It should work out-of-the box for a lot of compilers
(the cheap tracking methods are enabled if they are found, the not-so-
cheap ones are also enabled if you pass --enable-dependency-tracking to
configure).

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]