This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: SUBDIRS: can I make but not install?
- From: Bob Friesenhahn <bfriesen at simple dot dallas dot tx dot us>
- To: Gregory Sharp <gregsharp dot geo at yahoo dot com>
- Cc: automake at gnu dot org
- Date: Mon, 19 Apr 2004 09:03:25 -0500 (CDT)
- Subject: Re: SUBDIRS: can I make but not install?
You can use libtool's "convenience" library feature to support this.
Automake and libtool work in conjunction to build a library which is
not installed. Unfortunately, this likely requires replacing the 3rd
party build environment.
Since Automake also supports non-recursive builds, you can create a
build environment for the 3rd party library in your own Makefile.am
without disturbing the one that the 3rd party library normally uses.
Bob
On Sun, 18 Apr 2004, Gregory Sharp wrote:
>
> My program uses a 3rd party library, that I include with the
> distribution as a subdirectory.
>
> I want to build the library, and statically link to it, which
> works OK by including the subdirectory as SUBDIRS. But the
> problem is that "make install" also wants to install the
> library, which I don't need. Any suggestions for working
> around this? I prefer not to modify the 3rd party autoconf/make
> scripts.
>
> And a more meta-question, is there any good reference or
> document about how one should include 3rd party libraries
> in one's package?
>
> Thanks!
> Greg
>
>
> =====
> Greg Sharp
> gregsharp@geocities.com
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Photos: High-quality 4x6 digital prints for 25¢
> http://photos.yahoo.com/ph/print_splash
>
>
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen