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. >

Re: Automake: Compiling sources in other directories

2001-01-17 Thread Tom Tromey
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. Could you try the cvs automake to see if it works for you? Tom

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-15 Thread Lars J. Aas
On Mon, Jan 15, 2001 at 06:37:38PM +0100, Akim Demaille wrote: : Hm, it looks like it's removed only in the top dir. It also seems : you've been saved by the colon :) But apparently, expect problems : with Sun? Dunno. If I recall correctly, IRIX make supports $VPATH in the sense that it will u

Re: Automake: Compiling sources in other directories

2001-01-15 Thread Akim Demaille
> "Dave" == Dave Brolley <[EMAIL PROTECTED]> writes: Dave> No problems so far. What kind of problems are you expecting? It likes removing VPATH definitions from Makefiles. Many people complain about that, but I confess I never really tried to understand what the problem was. I just know th

Re: Automake: Compiling sources in other directories

2001-01-15 Thread Tom Tromey
> "Dave" == Dave Brolley <[EMAIL PROTECTED]> writes: Dave> FWIW, I'm working around this for now using VPATH: Dave>VPATH=$(srcdir):../host Dave> and specifying h1.cpp without a path in in Dave> libfred_la_SOURCES. Seems to work OK. Is this supported? I'm afraid not. I believe some versi

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 h1.cpp without a path in in > Dave> libfred_la_SOURCES. Seems to work OK. Is this sup

Re: Automake: Compiling sources in other directories

2001-01-15 Thread Akim Demaille
> "Dave" == Dave Brolley <[EMAIL PROTECTED]> writes: Dave> FWIW, I'm working around this for now using VPATH: Dave>VPATH=$(srcdir):../host Dave> and specifying h1.cpp without a path in in Dave> libfred_la_SOURCES. Seems to work OK. Is this supported? Expect problems with Autoconf...

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>$(LTCXXCOMPILE) -c -o $@ $< > > Dave> Is this a make bug, or should automake

Re: Automake: Compiling sources in other directories

2001-01-12 Thread Tom Tromey
> "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>$(LTCXXCOMPILE) -c -o $@ $< Dave> Is this a make bug, or should automake be generating a rule for Dave> making hl.l

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: Compiling sources in other directories

2000-12-16 Thread Alexandre Oliva
On Dec 15, 2000, Dave Brolley <[EMAIL PROTECTED]> wrote: > The problem is that h1.o is in the 'main' subdirectory along with all of the > other object files. What's the right way to build a few sources from another > directory into an application? Which version of automake are you using? Buildi

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