Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: John Baldwin <jhb@freebsd.org>
To: Pedro Alves <palves@redhat.com>
Cc: Simon Marchi <simon.marchi@polymtl.ca>,
	Andreas Schwab <schwab@linux-m68k.org>,
	gdb-patches@sourceware.org
Subject: Re: [PATCH 0/4] Makefile improvements and cleanups
Date: Tue, 15 Nov 2016 21:46:00 -0000	[thread overview]
Message-ID: <3503621.r04R2RVOxe@ralph.baldwin.cx> (raw)
In-Reply-To: <64d5f928-7710-d9a8-3e71-c87d74ef3414@redhat.com>

On Tuesday, November 15, 2016 04:56:55 PM Pedro Alves wrote:
> On 11/13/2016 03:26 PM, Simon Marchi wrote:
> > On 2016-11-13 03:49, Andreas Schwab wrote:
> >> On Nov 12 2016, Simon Marchi <simon.marchi@polymtl.ca> wrote:
> >>
> >>> The following patches contain a few improvements and cleanups to the gdb
> >>> Makefile.  The starting point is when I wondered why we had to write
> >>> individual
> >>> rules for each source file that is located in a subdirectory.
> >>
> >> That's because the makefile was written to work non-GNU and/or non-POSIX
> >> makes.
> > 
> > Ok I see, I didn't know that pattern rules were GNU-specific.
> > 
> > As an honest follow-up question: do we need to stay compatible with
> > other makes than GNU make?  From what I can see, Open/Net/FreeBSD all
> > use gmake to build their port of GDB already. 
> 
> You mean their ports scripts?  Can you provide some url for reference?
> 
> John, could you comment from the FreeBSD side?

Yes.  The gdb port for FreeBSD has 'USES= gmake' in its Makefile (and has
for a long time).  I use gmake for all of my development builds out of git as
well.

https://svnweb.freebsd.org/ports/head/devel/gdb/Makefile?revision=418964&view=markup#l18

I checked NetBSD (pkgsrc) and OpenBSD (ports) and they both build with gmake
as well.  I had already assumed gmake was required FWIW.

-- 
John Baldwin


  parent reply	other threads:[~2016-11-15 21:46 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-13  3:46 Simon Marchi
2016-11-13  3:46 ` [PATCH 3/4] Makefile: Flatten and sort file lists Simon Marchi
2016-11-15 16:46   ` Pedro Alves
2016-11-13  3:46 ` [PATCH 2/4] Makefile: Replace explicit subdir rules with pattern rules Simon Marchi
2016-11-15 17:54   ` Pedro Alves
2016-11-15 18:00     ` Simon Marchi
2016-11-15 18:36       ` Pedro Alves
2016-11-15 18:41         ` Simon Marchi
2016-11-13  3:46 ` [PATCH 1/4] Makefile: Replace old suffix " Simon Marchi
2016-11-13  3:56 ` [PATCH 0/4] Makefile improvements and cleanups Simon Marchi
2016-11-13  8:49 ` Andreas Schwab
2016-11-13 15:26   ` Simon Marchi
2016-11-13 16:25     ` Eli Zaretskii
2016-11-15 16:57     ` Pedro Alves
2016-11-15 17:15       ` Simon Marchi
2016-11-15 17:51         ` Pedro Alves
2016-11-15 21:58         ` Pedro Alves
2016-11-15 22:10           ` Simon Marchi
2016-11-15 21:46       ` John Baldwin [this message]
2016-11-17 18:54 ` John Baldwin
2016-11-17 19:20   ` Simon Marchi
2016-11-17 22:36     ` John Baldwin

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=3503621.r04R2RVOxe@ralph.baldwin.cx \
    --to=jhb@freebsd.org \
    --cc=gdb-patches@sourceware.org \
    --cc=palves@redhat.com \
    --cc=schwab@linux-m68k.org \
    --cc=simon.marchi@polymtl.ca \
    /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