This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: library name enforcement?
- From: Ralf Corsepius <corsepiu at faw dot uni-ulm dot de>
- To: Bob Proulx <bob at proulx dot com>
- Cc: Automake List <automake at gnu dot org>
- Date: Tue, 04 May 2004 08:29:05 +0200
- Subject: Re: library name enforcement?
- References: <20040503045254.GA15219@misery.proulx.com>
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