[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
converting to subdir-objects
From: |
Harlan Stenn |
Subject: |
converting to subdir-objects |
Date: |
Sun, 08 Mar 2015 09:46:41 +0000 |
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
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.
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!
- converting to subdir-objects,
Harlan Stenn <=