bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-09-15 Thread Mathieu Lirzin
Michael Haubenwallner writes: > On 09/15/2017 11:00 AM, Mathieu Lirzin wrote: >> Michael Haubenwallner writes: >>> On 08/27/2017 05:23 PM, Mathieu Lirzin wrote: > From: Michael Haubenwallner > Date: Wed, 16 Aug 2017 18:16:12 +0200 > Subject: [PATCH] automake: Depend on LIBOBJDIR for

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-09-15 Thread Michael Haubenwallner
On 09/15/2017 11:00 AM, Mathieu Lirzin wrote: > Michael Haubenwallner writes: >> On 08/27/2017 05:23 PM, Mathieu Lirzin wrote: From: Michael Haubenwallner Date: Wed, 16 Aug 2017 18:16:12 +0200 Subject: [PATCH] automake: Depend on LIBOBJDIR for LIBOBJS. This change fixes

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-09-15 Thread Mathieu Lirzin
Michael Haubenwallner writes: > On 08/27/2017 05:23 PM, Mathieu Lirzin wrote: > >>> From: Michael Haubenwallner >>> Date: Wed, 16 Aug 2017 18:16:12 +0200 >>> Subject: [PATCH] automake: Depend on LIBOBJDIR for LIBOBJS. >>> >>> This change fixes automake bug#27781. >>> >>> * bin/automake.in: Add M

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-09-15 Thread Mathieu Lirzin
Michael Haubenwallner writes: > On 08/27/2017 04:07 PM, Mathieu Lirzin wrote: >> Michael Haubenwallner writes: >>> On 08/23/2017 11:24 PM, Mathieu Lirzin wrote: Michael Haubenwallner writes: > On 08/22/2017 12:40 AM, Mathieu Lirzin wrote: >> Michael Haubenwallner writes: > --

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-09-05 Thread Michael Haubenwallner
On 08/27/2017 05:23 PM, Mathieu Lirzin wrote: > Michael Haubenwallner writes: >> On 08/24/2017 11:35 AM, Mathieu Lirzin wrote: >> >>> Instead of this dummy target, I would rather prefer adding the dirstamp >>> dependency for each explicit object file separately. this should be >>> computed >>> f

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-28 Thread Michael Haubenwallner
On 08/27/2017 04:07 PM, Mathieu Lirzin wrote: > Michael Haubenwallner writes: >> On 08/23/2017 11:24 PM, Mathieu Lirzin wrote: >>> Michael Haubenwallner writes: On 08/22/2017 12:40 AM, Mathieu Lirzin wrote: > Michael Haubenwallner writes: >>> --8<---cut here--

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-27 Thread Mathieu Lirzin
Michael Haubenwallner writes: > On 08/24/2017 11:35 AM, Mathieu Lirzin wrote: > >> Instead of this dummy target, I would rather prefer adding the dirstamp >> dependency for each explicit object file separately. this should be computed >> from the '%libsources' variable. However after a quick l

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-27 Thread Mathieu Lirzin
Michael Haubenwallner writes: > On 08/23/2017 11:24 PM, Mathieu Lirzin wrote: >> Michael Haubenwallner writes: >>> On 08/22/2017 12:40 AM, Mathieu Lirzin wrote: Michael Haubenwallner writes: ># If LTLIBOBJS is used, we must also clear LIBOBJS (which might ># be

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-24 Thread Michael Haubenwallner
On 08/24/2017 11:35 AM, Mathieu Lirzin wrote: > Nick Bowler writes: >> On 8/23/17, Mathieu Lirzin wrote: >>> Michael Haubenwallner writes: Another thought about the final "$(LIBOBJS): .../.dirstamp" Makefile line: If I remember correctly, there have been (non-GNU) make implement

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-24 Thread Michael Haubenwallner
On 08/23/2017 11:24 PM, Mathieu Lirzin wrote: > Michael Haubenwallner writes: >> On 08/22/2017 12:40 AM, Mathieu Lirzin wrote: >>> Michael Haubenwallner writes: >>> In this case let me come up with attached patch for now (without deeper knowledge of automake internals though). >>> >>>

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-24 Thread Mathieu Lirzin
Nick Bowler writes: > On 8/23/17, Mathieu Lirzin wrote: >> Michael Haubenwallner writes: >>> Another thought about the final "$(LIBOBJS): .../.dirstamp" Makefile >>> line: If I remember correctly, there have been (non-GNU) make >>> implementations thatchoke on this rule when LIBOBJS is an empty

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-23 Thread Nick Bowler
On 8/23/17, Mathieu Lirzin wrote: > Michael Haubenwallner writes: >> Another thought about the final "$(LIBOBJS): .../.dirstamp" Makefile >> line: If I remember correctly, there have been (non-GNU) make >> implementations thatchoke on this rule when LIBOBJS is an empty >> variable: Am I wrong her

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-23 Thread Mathieu Lirzin
Michael Haubenwallner writes: > On 08/22/2017 12:40 AM, Mathieu Lirzin wrote: >> Michael Haubenwallner writes: >> >>> In this case let me come up with attached patch for now >>> (without deeper knowledge of automake internals though). >> >> I have tested this patch, and confirm that it fixes t

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-23 Thread Mathieu Lirzin
Michael Haubenwallner writes: > On 08/22/2017 12:23 AM, Mathieu Lirzin wrote: >> Michael Haubenwallner writes: >>> On 08/17/2017 01:29 AM, Mathieu Lirzin wrote: Michael Haubenwallner writes: > On 08/08/2017 11:17 PM, Mathieu Lirzin wrote: >> Michael Haubenwallner writes: > >>>

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-22 Thread Michael Haubenwallner
On 08/22/2017 12:40 AM, Mathieu Lirzin wrote: > Michael Haubenwallner writes: > >> In this case let me come up with attached patch for now >> (without deeper knowledge of automake internals though). > > I have tested this patch, and confirm that it fixes the bug. However I > have on question

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-22 Thread Michael Haubenwallner
On 08/22/2017 12:23 AM, Mathieu Lirzin wrote: > Michael Haubenwallner writes: >> On 08/17/2017 01:29 AM, Mathieu Lirzin wrote: >>> Michael Haubenwallner writes: On 08/08/2017 11:17 PM, Mathieu Lirzin wrote: > Michael Haubenwallner writes: This change fixes automake bug#27781

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-21 Thread Mathieu Lirzin
Michael Haubenwallner writes: > In this case let me come up with attached patch for now > (without deeper knowledge of automake internals though). I have tested this patch, and confirm that it fixes the bug. However I have on question regarding the added code. > From c3d51adb53400fc8bf65c0e003

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-21 Thread Mathieu Lirzin
Michael Haubenwallner writes: > On 08/17/2017 01:29 AM, Mathieu Lirzin wrote: >> Michael Haubenwallner writes: >>> On 08/08/2017 11:17 PM, Mathieu Lirzin wrote: Michael Haubenwallner writes: > >>> >>> This change fixes automake bug#27781. >>> >>> * bin/automake.in: Add Makefile dependency

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-17 Thread Michael Haubenwallner
On 08/17/2017 01:29 AM, Mathieu Lirzin wrote: > Michael Haubenwallner writes: >> On 08/08/2017 11:17 PM, Mathieu Lirzin wrote: >>> Michael Haubenwallner writes: >> >> This change fixes automake bug#27781. >> >> * bin/automake.in: Add Makefile dependency on LIBOBJDIR/dirstamp for >> each LIBOBJ

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-16 Thread Mathieu Lirzin
Hi, Michael Haubenwallner writes: > On 08/08/2017 11:17 PM, Mathieu Lirzin wrote: >> Michael Haubenwallner writes: >>> >>> I have no idea for how to fix automake for this situation, but it >>> feels like automake should add this line to src/Makefile.in here: >>> >>> $(LIBOBJS): $(LIBOBJDIR)$(am

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-16 Thread Michael Haubenwallner
Hi, On 08/08/2017 11:17 PM, Mathieu Lirzin wrote: > Michael Haubenwallner writes: >> >> I have no idea for how to fix automake for this situation, but it >> feels like automake should add this line to src/Makefile.in here: >> >> $(LIBOBJS): $(LIBOBJDIR)$(am__dirstamp) > > I confirm that this is

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-08-08 Thread Mathieu Lirzin
Hello, Michael Haubenwallner writes: > Hi, > > in flex-2.6.4, the $(LIBOBJDIR) does contain source files only, > eventually required via LDADD=$(LIBOBJ) in another directory. > > Now with --disable-dependency-tracking, an out of source build fails > because $top_builddir/$(LIBOBJDIR) is not crea

bug#27781: LIBOBJS should depend on LIBOBJDIR

2017-07-21 Thread Michael Haubenwallner
Hi, in flex-2.6.4, the $(LIBOBJDIR) does contain source files only, eventually required via LDADD=$(LIBOBJ) in another directory. Now with --disable-dependency-tracking, an out of source build fails because $top_builddir/$(LIBOBJDIR) is not created by anyone, see the discussion in https://github.