This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: vpath builds and include paths
- From: Ralf Corsepius <corsepiu at faw dot uni-ulm dot de>
- To: Automake List <automake at gnu dot org>
- Date: Mon, 22 Dec 2003 08:21:29 +0100
- Subject: Re: vpath builds and include paths
- Organization: FAW Ulm
- References: <825ba7b582.7b582825ba@cmmt.ubc.ca>
On Mon, 2003-12-22 at 06:55, jling@cmmt.ubc.ca 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 build fails. What do I need to do in order to tell automake
> where this header is? I've already tried using the absolute path
> variables in the Makefile.am:
>
> INCLUDE = -I$(abs_top_srcdir)/project2/sublevel/inc
AM_CPPFLAGS = -I$(srcdir)/../inc
Ralf