[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Integrating a library using autoconf and automake
From: |
Andy Smith |
Subject: |
Re: Integrating a library using autoconf and automake |
Date: |
Fri, 6 Dec 2002 02:39:04 +0000 |
User-agent: |
Mutt/1.5.1i |
On Thu, Dec 05, 2002 at 06:28:45PM -0800, Thamer Al-Harbash wrote:
> On Fri, 6 Dec 2002, Andy Smith wrote:
>
> > The part that I can't quite grasp right now, is how and where to
> > install the files from the library? We do not want them to be
> > installed system-wide. The --prefix from the top-level configure is
> > meant for the application, not the library. Ideally we want the
> > library to stay just in the source directory and be statically
> > linked in without the user being aware that there is a library
> > involved at all.
>
> Try the noinst_ hook in automake -- specifically noinst_LIBRARIES.
> It should prevent the library from being installed at all.
Thanks for that idea. I may end up doing this, but I was hoping to
avoid having to edit any files inside libfoo/ as we want to just dro
it in as much as possible. Is there some way I could put those
hooks into a higher-level Makefile.am?