automake
[Top][All Lists]
Advanced

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

Re: subdir-objects, dirstamps and --disable-dependency-tracking (bug?)


From: Ralf Wildenhues
Subject: Re: subdir-objects, dirstamps and --disable-dependency-tracking (bug?)
Date: Wed, 30 Mar 2011 07:51:40 +0200
User-agent: Mutt/1.5.20 (2010-08-04)

Hi Ignacy,

* Ignacy Gawedzki wrote on Wed, Mar 30, 2011 at 12:03:09AM CEST:
> I suspect I found a bug in automake 1.11.1 .

Yes, you have.  Thanks for reporting it!

> I have a project in which some program has .ll and .yy sources that must be
> generated by flex and bison.  It also happens I need to have specific
> preprocessor options passed to that program using a _CPPFLAGS variable.  This
> makes everything produced for that program prefixed with the program name.
> Besides, I need to use the subdir-objects automake option.
> 
> Now the problem is that some subdirectories are not created automatically in
> $(builddir) as expected and I think I have found why.  It happens when
> configure is called with --disable-dependency-tracking, as is usually the case
> when called through debhelper.
[...]

> Whereas there is *no* rule of the kind :
> 
>   src/scanner.cc: src/$(am__dirstamp)

> Does anybody know of a clean fix/workaround?

Well, a workaround is to add the above line to your Makefile.am.

Cheers,
Ralf



reply via email to

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