bug#13928: [PATCH] compile: don't place built object files in $(srcdir), ever ...

2015-01-02 Thread Stefano Lattarini
On 01/03/2015 12:23 AM, Stefano Lattarini wrote: Hi Eric. On 01/03/2015 12:14 AM, Eric Blake wrote: On 01/02/2015 11:49 AM, Stefano Lattarini wrote: ... even when a source file is specified as '$(srdir)/foo.c' or '$(top_srcdir)/bar.c'. And ditto for dependency-tracking makefile fragments (thos

bug#13928: [PATCH] compile: don't place built object files in $(srcdir), ever ...

2015-01-02 Thread Stefano Lattarini
Hi Eric. On 01/03/2015 12:14 AM, Eric Blake wrote: On 01/02/2015 11:49 AM, Stefano Lattarini wrote: ... even when a source file is specified as '$(srdir)/foo.c' or '$(top_srcdir)/bar.c'. And ditto for dependency-tracking makefile fragments (those under '.deps' directories). +++ b/NEWS @@

bug#13928: [PATCH] compile: don't place built object files in $(srcdir), ever ...

2015-01-02 Thread Eric Blake
On 01/02/2015 11:49 AM, Stefano Lattarini wrote: > ... even when a source file is specified as '$(srdir)/foo.c' or > '$(top_srcdir)/bar.c'. And ditto for dependency-tracking makefile > fragments (those under '.deps' directories). > +++ b/NEWS > @@ -88,6 +88,21 @@ New in 1.16: > using a priva

bug#13928: [PATCH] compile: don't place built object files in $(srcdir), ever ...

2015-01-02 Thread Stefano Lattarini
... even when a source file is specified as '$(srdir)/foo.c' or '$(top_srcdir)/bar.c'. And ditto for dependency-tracking makefile fragments (those under '.deps' directories). Such issues used to occur when the 'subdir-objects' option was given. This change should fix the second and last part of a

bug#13928: The 'subdir-object' option breaks makefiles where foo_SOURCES contains $(var)

2015-01-02 Thread Harlan Stenn
Stefano Lattarini writes: > On 01/02/2015 02:16 AM, Harlan Stenn wrote: > > Excellent timing, thanks! > > > > Now that ntp-4.2.8 is settling down, I'm looking to update our > > Makefile.am's to use subdir-objects, and it's not being fun. > > (An aside: I see that ntp still uses a recursive Makefile

bug#13928: The 'subdir-object' option breaks makefiles where foo_SOURCES contains $(var)

2015-01-02 Thread Stefano Lattarini
On 01/02/2015 02:16 AM, Harlan Stenn wrote: Excellent timing, thanks! Now that ntp-4.2.8 is settling down, I'm looking to update our Makefile.am's to use subdir-objects, and it's not being fun. (An aside: I see that ntp still uses a recursive Makefile setup. Given that you are about to mess wi