automake
[Top][All Lists]
Advanced

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

Re: subdir-objects and generated file names


From: Stefano Lattarini
Subject: Re: subdir-objects and generated file names
Date: Tue, 12 Feb 2013 09:24:23 +0100

On 02/12/2013 07:28 AM, Vincent Torri wrote:
> Hey
> 
> I'm porting a lib to a non recursive make build system. I have a
> single top level Makefile.am which has:
> 
> AUTOMAKE_OPTIONS = subdir-objects
> 
> include src/lib/css/Makefile.mk
> 
> In that Makefile.mk, yacc is called and generates the file
> src_lib_css_libecss_la-ecss_grammar.h from ecss_grammar.y (both of
> them are in src/lib/css)
> 
> is it possible to keep the name grammar.h 
>
You means 'ecss_grammar.y', right?

> and not src_lib_css_libecss_la-ecss_grammar.h while using the
> subdir-objects option ?
>
Not really; but you can at least shorten the name considerably
using the "_SHORTNAME" trick:

<http://www.gnu.org/software/automake/manual/automake.html#index-maude_005fSHORTNAME-477>

HTH,
  Stefano



reply via email to

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