On Mon, 2004-05-03 at 06:52, Bob Proulx wrote:
> Older versions of automake allowed arbitrary library names.
> 
>   noinst_LIBRARIES = foo.a
> 
> Recent versions of automake now complain about this naming.
Recent? Well, AFAICT this (mal-) feature is in automake for years.
I wish it had never been introduced :(

>   Makefile.am:2: `foo.a' is not a standard library name
> 
> I would normally like the lib naming but in this case I am retrofiting
> an existing project and others disagree.
> 
> I searched the documentation but I could find no way to revert to the
> previous behavior.  Any hints?
The only work-around I am aware about is trying to play tricks with
noinst_DATA, e.g. something similar to this

noinst_DATA = foo.a
CLEANFILES += foo.a

foo.a: libfoo.a
        cp libfoo.a foo.a

Ralf




Reply via email to