This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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/rfc] Generate makefile dependencies


Andrew Cagney <cagney@gnu.org> writes:

> The attached, er, hack, modifies configure.in so that all the Makefile
> dependencies are generated during configure time:
> 
> 	defs_h = ...
> 	foo.o: foo.c $(defs_h)

Does the result in fact correctly record that mips-tdep.o depends upon
include/elf/reloc-macros.h?

I don't see that it would.  But I haven't actually tried running it.

If you are going this route, have you considered simply using
automake's depcomp script?  It is reportedly quite portable, and it is
the most reliable possible approach.

Ian


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