Automake: Compiling sources in other directories

2000-12-15 Thread Dave Brolley
Hi, I want ot use automake to build a library for which the source has been supplied to me by a customer. The directory structure is something like: src/main -- most of the source files are here src/host -- a few host-specific source files here In src/main, I have a Makefile.am containing some

automake Real Millenium Beta: Problem with AM_PROG_LIBTOOL

2001-01-12 Thread Dave Brolley
Hi, I installed the Real Millenium Beat (1.4b) on my Cygwin system (Windows 95). My configure.in uses AM_PROG_LIBTOOL and automake complains that it is obsolete and that I should use AC_PROG_LIBTOOL. Ok, so when I make the change, autoconf (version 2.13) says that it can't find AC_PROG_LIBTOOL

automake: Automatic Dependency Tracking

2001-01-12 Thread Dave Brolley
Hi, The automake online documentation says, regarding automatic dependency tracking: " this mode is enabled by default if any C program or library is defined in the current directory" I have a project which contains a mix of C and C++ sources, and dependency tracking does not seem to be e

Re: Automake: Compiling sources in other directories

2001-01-12 Thread Dave Brolley
Hi, One of the reasons I tried automake 1.4b was to see if the support for compiling sources from other directories had been included. I was delighted to see that some work has been done in this area. Using my previous example, the directory structure is something like: src/main -- most of th

Re: automake Real Millenium Beta: Problem with AM_PROG_LIBTOOL

2001-01-12 Thread Dave Brolley
>> libtool --version ltmain.sh (GNU libtool) 1.3.4 (1.385.2.196 1999/12/07 21:47:57) Tom Tromey wrote: >>>>>> "Dave" == Dave Brolley <[EMAIL PROTECTED]> writes: >>>>> > > Dave> I installed the Real Millenium Beat (1.4b

Re: automake: Automatic Dependency Tracking

2001-01-12 Thread Dave Brolley
Sending configure.in as requested Tom Tromey wrote: >>>>>> "Dave" == Dave Brolley <[EMAIL PROTECTED]> writes: >>>>> > > Dave> I have a project which contains a mix of C and C++ sources, and > Dave> dependency tracking does

Re: Automake: Compiling sources in other directories

2001-01-15 Thread Dave Brolley
Tom Tromey wrote: >>>>>> "Dave" == Dave Brolley <[EMAIL PROTECTED]> writes: >>>>> > > Dave> To work around the problem I have to change the generated dependency to: > > Dave>h1.lo: ../host/h1.cpp > Dave>

Re: Automake: Compiling sources in other directories

2001-01-15 Thread Dave Brolley
Akim Demaille wrote: >>>>>> "Dave" == Dave Brolley <[EMAIL PROTECTED]> writes: >>>>> > > Dave> FWIW, I'm working around this for now using VPATH: > > Dave>VPATH=$(srcdir):../host > > Dave> and specifying

Re: Automake: Compiling sources in other directories

2001-01-15 Thread Dave Brolley
Thanks everyone. Right now I'm just using the as a workaround until the automake problem is fixed. I'm only worried about GNU make on Cywin at the moment. Dave Lars J. Aas wrote: > On Mon, Jan 15, 2001 at 06:37:38PM +0100, Akim Demaille wrote: > : Hm, it looks like it's removed only in the to

Re: Automake: Compiling sources in other directories

2001-01-17 Thread Dave Brolley
Thanks Tom! Works like a charm... Tom Tromey wrote: > Dave> Thanks everyone. Right now I'm just using the as a workaround > Dave> until the automake problem is fixed. I'm only worried about GNU > Dave> make on Cywin at the moment. > > I recently checked in a bug fix which fixes the test case. >