[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compilation rules with dependencies don't work with subdir-objects
From: |
Ralf Wildenhues |
Subject: |
Re: compilation rules with dependencies don't work with subdir-objects |
Date: |
Wed, 8 Nov 2006 14:39:56 +0100 |
User-agent: |
Mutt/1.5.13 (2006-11-01) |
Hello Bruno,
* Bruno Haible wrote on Wed, Nov 08, 2006 at 02:20:44PM CET:
>
> automake generated compilation rules involving object files in subdirectories
> lead to a build failure. With 'no-dependencies', the build failure disappears.
Thanks for the report. A better title would have been: Dependency
tracking fails with subdir-objects and substituted object file names.
This is currently simply not supported by Automake. Object file names
are an internal detail of Automake, and there is special hackery going
on to support AC_LIBOBJ, as you very well know. As far as Automake is
concerned, you're violating this as soon as you don't use
AC_LIBOBJ/$(LIBOBJS)/$(LTLIBOBJS) or $(ALLOCA).
I wonder whether it's useful to try to fix the setup you reported in
Automake, or to give another try at resurrecting support for multiple
AC_CONFIG_LIBOBJ_DIRs in some way or other.
One nit wrt. the otherwise very nice and complete bug report: if you
omit the prompt before the commands, it's easier to cut and paste the
whole lot into a shell (after inspection).
Cheers,
Ralf