On Thu, 21 Feb 2019 13:51:30 -0600
Eric Blake wrote:
> Adding the automake list, since that is the impacted project:
>
> On 2/21/19 1:05 PM, Carlo Wood wrote:
> > Hi,
> >
> > I'm using a Makefile.am that has an include, like so:
> >
> > ---begin
akefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac
$(ACLOCAL_M4)
This should be:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am
$(top_srcdir)/configure.ac $(ACLOCAL_M4)
Note the added "$(srcdir)".
Regards,
--
Carlo Wood <[EMAIL PROTECTED]>
RANT
> > > libfoo_r_la_SOURCES = foo.cxx
> > >
> > > libfoo_la_AM_CXXFLAGS = # Something
> > > libfoo_la_SOURCES = foo.cxx
For archival purposes:
libfoo_r_la_CXXFLAGS = -D_REENTRANT
without the AM_ works. You need at least automake 1.5.
Thanks for the help!
--
Carlo W
In case it matters, I use libtool-1.4.2.
Perhaps I need to upgrade that for the
*_AM_CXXFLAGS to work?
--
Carlo Wood <[EMAIL PROTECTED]>
tc
g++ -DHAVE_CONFIG_H -I./include -I./include -g -O -pipe -c elf32.cc -MT elf32.lo -MD
-MP -MF .deps/elf32.TPlo -fPIC -DPIC -o elf32.lo
as you can see, there is no -DCWDEBUG.
--
Carlo Wood <[EMAIL PROTECTED]>
was compiled without _REENTRANT defined
and one called foo_r.so that was compiled from
the exact same sources but using -D_REENTRANT.
I don't want to duplicate all sources in the resulting
tar ball of a 'make dist' of course.
Can someone please tell me how to do that with
automake?