This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Automatic dependency tracking
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andrew STUBBS <andrew dot stubbs at st dot com>, Mark Kettenis <kettenis at gnu dot org>
- Cc: tromey at redhat dot com, gdb at sourceware dot org
- Date: Fri, 27 Jun 2008 10:03:14 -0400
- Subject: Re: Automatic dependency tracking
- References: <200806152203.14626.pedro@codesourcery.com> <u3anel69s.fsf@gnu.org> <20080616012617.GA8944@caradoc.them.org> <g35201$2uf$2@ger.gmane.org> <m33an413yx.fsf@fleche.redhat.com> <20080625182858.GA25575@caradoc.them.org> <486365E5.50601@st.com> <m3vdzwp0k9.fsf@fleche.redhat.com> <4864BF63.5010904@st.com>
On Fri, Jun 27, 2008 at 11:22:27AM +0100, Andrew STUBBS wrote:
> OK, I understand now. Presumably it would still be possible to retain
> non-GNU make compatibility for build-only purposes by also providing a
> regular dependency - basically just removing the bar from the above - and
> then preprocessing the Makefile, like AM_CONDITIONAL?
Sure - e.g. AC_SUBST(ORDER, ${bar_if_gnu_make}).
> I don't know if it's worth it though. Like Daniel said, GNU make isn't
> hard to build, and other projects already require it.
Actually, Stan and Joel said it :-)
Mark, do you have any comments about requiring GNU make for correct
dependencies? I may be misremembering, but I believe you were
concerned about GNU make dependency the last time this came up.
Even if not, you work on more host platforms than any other GDB
maintainer.
Is supporting clean builds (actually, also modifying a source file and
rebuilding - everything but modifying a header file) without GNU make
sufficient?
--
Daniel Jacobowitz
CodeSourcery