bug-automake
[Top][All Lists]
Advanced

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

Re: automake and funny BUILT_SOURCES behavior


From: wave++
Subject: Re: automake and funny BUILT_SOURCES behavior
Date: Thu, 5 Dec 2002 01:33:20 +0100
User-agent: Mutt/1.4i

On Tue, Dec 03, 2002 at 09:43:42PM +0100, Alexandre Duret-Lutz wrote:
> 
> | On Sat, Nov 30, 2002 at 09:56:22PM +0100, Alexandre Duret-Lutz wrote:
> | > If you don't want fun1.hh to be distributed, simply do not put
> | > $(BUILT_SOURCES) in funny_SOURCES.
> | 
> | How to include them in funny, then? :)
> 
> You don't need to.

Uhm. Errata corrige: I _need_ to include them into funny_SOURCES because
the m4 rule produces even object files (I can not mention the headers
into BUILT_SOURCES, but c files needs to).

 Roundup:

FUNNY requires (it must link to) headers and objects produced by a m4
rule. This rule changes the output between configurations and so,
produced files shouldn't be included into the distribution files (these
addictional m4 files are added to the distribution through an EXTRA_
directive).


  m4 template -> (headers and objects) -> |
                         ^                |-> sources -> funny
  config.h --------------|--------------> |

The only "fixed" part here are the m4 templates and sources.

-- 
wave++ (Yuri D'Elia)
Software Developer @ ubiest.com





reply via email to

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