Re: Linking Problems

2001-04-02 Thread Alexandre Oliva
On Mar 31, 2001, [EMAIL PROTECTED] wrote: > undefined reference to Namespace::Class::Method Assuming Namespace::Class::Method is indeed defined somewhere, make sure the library in which it is defined appears after libraries in which it is referenced. Ordering of libraries is relevant. If there

Re: Problem with EXTRA_*_SOURCES

2001-04-02 Thread Lars J. Aas
On Mon, Apr 02, 2001 at 11:07:23PM +0200, Esben Haabendal Soerensen wrote: : In Makefile.am: : : lib_LTLIBRARIES = foobar.la : foobar_la_SOURCES = foo.c @BAR_SOURCE@ : EXTRA_foobar_la_SOURCES = bar_linux.c bar_freebsd.c Use an AM_CONDITIONAL instead. if USE_LINUXSOURCES BARSOURCE = bar_linux.c

Problem with EXTRA_*_SOURCES

2001-04-02 Thread Esben Haabendal Soerensen
Hi I am trying port a project's build system to automake, and this project has a library which links objects from different source files depending on the platform. Let's say we have two platforms, linux and freebsd. In Makefile.am: lib_LTLIBRARIES = foobar.la foobar_la_SOURCES = foo.c @BAR_SO

Re: 25-cond-string.patch

2001-04-02 Thread Tom Tromey
Tom> With cryptic, "technical" patches like this one, an explanation Tom> of why it is needed would really help. Akim> Hm, OK, but actually it is not needed at all :) Its aim is Akim> mostly to increase readability... ...and writing that would help processing the patch. Tom

Re: Including foreign makefiles

2001-04-02 Thread Adam C Powell IV
Adam C Powell IV wrote: > Tom Tromey wrote: > > > > "Adam" == Adam C Powell IV <[EMAIL PROTECTED]> writes: > > > > Adam> So the question is, is there an automake-kosher way to include a > > Adam> foreign makefile, or specify that certain variables will be > > Adam> somehow defined elsewhere,