On Mon, 17 Jan 2005 13:26:22 +1100
Ian Su <[EMAIL PROTECTED]> wrote:

> Thanks Conrad.
> 
> Actually what I'm really trying to do is build a single shared library (using
> libtool) from multiple subdirectories via automake. I didn't want to make my
> example too complex so I didn't mention that.

OK, then you do want libtool.

For an example of something much like yours, have a look at libsndfile:

    http://www.mega-nerd.com/libsndfile/

> In the libtool manual, section 3.7* it seems to suggest that the static 
> library
> method should be used for automake <= 1.4, but "This limitation applies to GNU
> automake up to release 1.4; newer releases should support sources in other
> directories."

I still create static libs in the lower directories and a shared
lib at he top level src directory. It works.

> I was wondering since automake is up to 1.9 whether there was another way
> around it. 

No.


Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+-----------------------------------------------------------+
"It has been discovered that C++ provides a remarkable facility for 
concealing the trival details of a program -- such as where its bugs
are." -- David Keppel
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to