[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib and automake
From: |
Michael Goffioul |
Subject: |
Re: gnulib and automake |
Date: |
Sun, 15 Nov 2009 15:55:58 +0000 |
On Sun, Nov 15, 2009 at 3:04 PM, John W. Eaton <address@hidden> wrote:
> On 15-Nov-2009, Michael Goffioul wrote:
>
> | Right now, I could get stuff compiled (with some changes, I'll report
> | all of them when I complete compilation) up to liboctinterp. Compilation
> | of oct-files fails at link time. The problem is that OCTINTERP_DLL gets
> | defined when compiling oct-sources, while it should not be the case.
> | I'm not sure what is causing that. Any idea?
>
> Do you have
>
> liboctinterp_la_CPPFLAGS = @OCTINTERP_DLL_DEFS@ $(AM_CPPFLAGS)
>
> or do you have @OCTINTERP_DLL_DEFS@ directly in $(AM_CPPFLAGS) in
> src/Makefile.am? If it is defined in liboctinterp_la_CPPFLAGS, then I
> think it should apply only to the sources that make up
> liboctinterp.la.
I didn't change src/Makefile.am, so it's the same as yours. OCTINTERP_DLL_DEFS
is only applied to liboctinterp_la_CPPFLAGS, but the latter gets appended to
the compilation of oct files. Here's for instance a piece of my src/Makefile:
DLD-FUNCTIONS/liboctinterp_la-__contourc__.lo: DLD-FUNCTIONS/__contourc__.cc
# $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS)
--mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(liboctinterp_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT
DLD-FUNCTIONS/liboctinterp_la-__contourc__.lo -MD -MP -MF
DLD-FUNCTIONS/$(DEPDIR)/liboctinterp_la-__contourc__.Tpo -c -o
DLD-FUNCTIONS/liboctinterp_la-__contourc__.lo `test -f
'DLD-FUNCTIONS/__contourc__.cc' || echo
'$(srcdir)/'`DLD-FUNCTIONS/__contourc__.cc
# $(am__mv)
DLD-FUNCTIONS/$(DEPDIR)/liboctinterp_la-__contourc__.Tpo
DLD-FUNCTIONS/$(DEPDIR)/liboctinterp_la-__contourc__.Plo
source='DLD-FUNCTIONS/__contourc__.cc'
object='DLD-FUNCTIONS/liboctinterp_la-__contourc__.lo' libtool=yes \
DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS)
--mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(liboctinterp_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c
-o DLD-FUNCTIONS/liboctinterp_la-__contourc__.lo `test -f
'DLD-FUNCTIONS/__contourc__.cc' || echo
'$(srcdir)/'`DLD-FUNCTIONS/__contourc__.cc
Michael.
- Re: gnulib and automake, (continued)
- Re: gnulib and automake, John W. Eaton, 2009/11/12
- Re: gnulib and automake, Michael Goffioul, 2009/11/13
- Re: gnulib and automake, John W. Eaton, 2009/11/13
- Re: gnulib and automake, John W. Eaton, 2009/11/13
- Re: gnulib and automake, Michael Goffioul, 2009/11/13
- Re: gnulib and automake, John W. Eaton, 2009/11/13
- Re: gnulib and automake, John W. Eaton, 2009/11/13
- Re: gnulib and automake, Michael Goffioul, 2009/11/14
- Re: gnulib and automake, Michael Goffioul, 2009/11/15
- Re: gnulib and automake, John W. Eaton, 2009/11/15
- Re: gnulib and automake,
Michael Goffioul <=
- Re: gnulib and automake, John W. Eaton, 2009/11/15
- Re: gnulib and automake, Michael Goffioul, 2009/11/15
- Re: gnulib and automake, John W. Eaton, 2009/11/15
- Re: gnulib and automake, Michael Goffioul, 2009/11/16
- Re: gnulib and automake, John W. Eaton, 2009/11/16
- Re: gnulib and automake, Michael Goffioul, 2009/11/17
- Re: gnulib and automake, John W. Eaton, 2009/11/17
- Re: gnulib and automake, Michael Goffioul, 2009/11/17
- Re: gnulib and automake, John W. Eaton, 2009/11/17