automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: converting to subdir-objects


From: Harlan Stenn
Subject: Re: converting to subdir-objects
Date: Sun, 08 Mar 2015 09:56:43 +0000

Harlan Stenn writes:
> I've got an "old style" build tree and I'm trying to convert it to use
> subdir-oobjects.
> 
> I've got a good number of subdirs in this project, and some of these
> subdirs contain source files but no Makefile.am (or derivatitives).
> 
> The problem I'm seeing (with at least automake-1.12.1 and automake-1.15)
> is that the .deps directories are not being created along the subdir
> path, so the build is failing.
> 
> So if A/Makefile.am contains:
> 
>  foo_SRCS = ... $(srcdir)/../foo/bar.c

and that should have been foo_SOURCES .

> I eventually see:
> 
> Makefile:XXX: ../../mydir/../foo/.deps/bar.Po: No such file or dierctory
> 
> I get this behavior with both FreeBSD's make and with gmake.  I am using
> VPATH.

in that automake sets up VPATH for me - I don't manually set it.

> What am I missing?
> 
> If the answer is "Wait until autoconf-2.70 and automake-2.0" that's an
> OK answer.  I'm just trying to prepare for this a bit earlier.
> 
> -- 
> Harlan Stenn <address@hidden>
> http://networktimefoundation.org  - be a member!
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]