Re: vpath builds and include paths

2003-12-22 Thread jling
Thank you Bob, that suggestion worked. Also, using $(srcdir) also worked. John - Original Message - From: Bob Friesenhahn <[EMAIL PROTECTED]> Date: Monday, December 22, 2003 10:04 am Subject: Re: vpath builds and include paths > On Mon, 22 Dec 2003 [EMAIL PROTECT

Re: vpath builds and include paths

2003-12-22 Thread Guido Draheim
Bob Friesenhahn wrote: On Mon, 22 Dec 2003 [EMAIL PROTECTED] wrote: However, if I want to build in a separate build tree (relying on VPATH), then I try the following: mkdir /build cd /build /test/configure make This attempts to build in this new /build directory, but during compilation it canno

Re: vpath builds and include paths

2003-12-22 Thread Bob Friesenhahn
On Mon, 22 Dec 2003 [EMAIL PROTECTED] wrote: > However, if I want to build in a separate build tree (relying on > VPATH), then I try the following: > > mkdir /build > cd /build > /test/configure > make > > This attempts to build in this new /build directory, but during > compilation it cannot loca

Re: vpath builds and include paths

2003-12-22 Thread Ralf Corsepius
On Mon, 2003-12-22 at 06:55, [EMAIL PROTECTED] wrote: > The contents of /test/project1/sublevel/src/Makefile.am is: > > INCLUDE = -I../inc > This attempts to build in this new /build directory, but during > compilation it cannot locate the header file, myproj.hpp, and the rest > of the bu

vpath builds and include paths

2003-12-21 Thread jling
I was doing a test where I am using GNU automake and autoconf. I have a directory structure such as: /test Makefile.am configure.in /test/project1 Makefile.am /test/project1/sublevel Makefile.am /test/project1/sublevel/src myproj.cpp Makefile.am /test/project1/s