Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: drow@false.org, gdb@sourceware.org
Subject: Re: Automatic dependency tracking
Date: Sun, 29 Jun 2008 16:26:00 -0000	[thread overview]
Message-ID: <m3wsk81a4g.fsf@fleche.redhat.com> (raw)
In-Reply-To: <m31w2g2r65.fsf@fleche.redhat.com> (Tom Tromey's message of "Sun\, 29 Jun 2008 09\:32\:02 -0600")

[-- Attachment #1: Type: text/plain, Size: 969 bytes --]

>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

Tom> I am happy to implement this, but it will be a major regression for
Tom> folks not using GNU make.

Here is a new patch.

Again, I made this against the Python branch.  Sorry about that, but I
have uncommitted patches in my trunk tree and didn't want to mess with
it.

This one works by overriding selected variables and adding new rules
using a GNUmakefile.  While somewhat more obscure than AM_CONDITIONAL,
this one has the nice property that the user can switch between GNU
make and other makes without needing to re-run configure.

IMO this patch is uglier than the previous.  For one thing I had to
recreate explicit rules for all the objects whose source files are in
subdirs.

I only have GNU make.  So, I don't actually know that this works for
non-GNU makes.  Mark, maybe you could try it out?

Let me know what you think of this.  If it looks ok-ish I will clean
it up and submit it for real.

Tom


[-- Attachment #2: patch --]
[-- Type: application/x-gzip, Size: 22077 bytes --]

  reply	other threads:[~2008-06-29 16:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200806152203.14626.pedro@codesourcery.com>
     [not found] ` <u3anel69s.fsf@gnu.org>
     [not found]   ` <20080616012617.GA8944@caradoc.them.org>
     [not found]     ` <g35201$2uf$2@ger.gmane.org>
     [not found]       ` <m33an413yx.fsf@fleche.redhat.com>
2008-06-25 18:29         ` Daniel Jacobowitz
2008-06-25 19:30           ` Andreas Schwab
2008-06-25 21:35           ` Stan Shebs
2008-06-26  0:08           ` Tom Tromey
2008-06-26  1:47           ` Joel Brobecker
2008-06-26  9:48           ` Andrew STUBBS
2008-06-26 17:30             ` Tom Tromey
2008-06-27 10:23               ` Andrew STUBBS
2008-06-27 14:03                 ` Daniel Jacobowitz
2008-06-27 16:09                   ` Andrew STUBBS
2008-06-27 14:30                 ` Tom Tromey
2008-06-28 19:20           ` Mark Kettenis
2008-06-28 19:31             ` Tom Tromey
2008-06-29 14:47               ` Daniel Jacobowitz
2008-06-29 15:36               ` Tom Tromey
2008-06-29 16:26                 ` Tom Tromey [this message]
2008-06-29 14:42             ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3wsk81a4g.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox