This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Q: Right way to build deep library pkg?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]