This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib: what is a system header? [HEAD]
On Feb 17, 2001, Russ Allbery <rra@stanford.edu> wrote:
> Because we ship dependency information as part of our Makefiles; only
> maintainers run make depend. (There are various complicated reasons for
> choosing to do things that way.) So there can't be anything in the
> dependency information that lists things outside of INN's tree.
As long as you have target rules for all header files, which is
certainly the right thing to do, listing non-existing files should be
fine.
In any case, I suggest you to borrow CVS automake's dependency
generation mechanism, that works with a number of compilers and makes,
and generates dependencies as a side effect of compilation at the user
site. Then, even when you have headers that are only included when
certain configure options are given, or machine-dependent headers, you
still get the correct dependency information.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me