[Top][All Lists]

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

Re: Creating a partial library

From: Steffen Dettmer
Subject: Re: Creating a partial library
Date: Wed, 3 Feb 2010 13:50:14 +0100

On Wed, Feb 3, 2010 at 8:33 AM, John Calcote <address@hidden> wrote:
> (PIC-based static only) library is to use the "noinst" prefix. But libtool
> can be used to manually install a convenience library, so you could use
> libtool to do this in an install-exec-local rule in the file
> that builds (for instance) libhello.a (untested):
> install-exec-local:
>        libtool --mode=install ./install-sh -c libhello.a
> $(DESTDIR)$(lib)/libhello.a
> This example came from the libtool manual (modified slightly for Automake
> context).

ohh this is interesting. Isn't this breaking `make uninstall' and
thus `make distcheck'?  Would it be possible (better/suited/correct)
to have some lib_LIBRARIES=libother.a with a custom build rule
that simply copies the file? Then make install/uninstall could
work, but maybe this breaks other things?



reply via email to

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