This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Q: Right way to build deep library pkg?
- To: Hans Petter Jansson <hpj@login1.styx.net>
- Subject: Re: Q: Right way to build deep library pkg?
- From: Alexandre Oliva <oliva@dcc.unicamp.br>
- Date: 23 May 1999 09:39:47 -0300
- Cc: automake@gnu.org
- References: <19990522221103.C9458@login1.styx.net>
On May 23, 1999, Hans Petter Jansson <hpj@login1.styx.net> wrote:
> I'm building a static/shared library
Using libtool, I suppose.
> What's the right way to make the library in srcdir, when the sources (and
> compiled objects) reside in subdirs thereof? I.e.
With automake 1.4, create convenience libraries (noinst_LTLIBRARIES)
in each sub-directory, and LIBADD them all to the main library.
With the current CVS tree, you may list sources from other
directories, and you can enable the `subdir-objects' AUTOMAKE_OPTION
to keep the object files in the corresponding directories too (as
opposed to storing them all in the current directory)
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists