This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: vpath builds and include paths


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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]