This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: building a _shared_ library from sources in differentdirectories
- From: Giannis Georgalis <jgeorgal at uoc dot gr>
- To: Alexandre Duret-Lutz <aduret at src dot lip6 dot fr>
- Cc: automake at gnu dot org
- Date: 22 Jul 2003 20:49:05 +0300
- Subject: Re: building a _shared_ library from sources in differentdirectories
- Organization: University of Crete
- References: <87wuei5zkf.fsf@hciat-16.ics.forth.gr><2003-07-22-00-02-12+6482+duret_g@lrde.epita.fr>
- Reply-to: jgeorgal at uoc dot gr
Alexandre Duret-Lutz <aduret@src.lip6.fr> writes:
Hello Alexandre,
> Giannis> What am I doing wrong ?
>
> Nothing I could see. I'm using a similar setup successfully.
>
> 1. what Autoconf/Automake/Libtool versions are you using?
> 2. what "didn't work"?
automake (GNU automake) 1.7.6
ltmain.sh (GNU libtool) 1.4.3 (1.922.2.111 2002/10/23 02:54:36)
autoconf (GNU Autoconf) 2.57
It was trying to link the "final" library against the "noinst_"
libraries. :-(
> Giannis> Additionally, even though it isn't as important for me as the
> Giannis> previous question; Is it possible to make object files being created
> Giannis> in the Obj subdirectory ? -> Note that my makefiles reside in the
> Giannis> module1, module2, module3, module4, program1 and program2
> Giannis> subdirectories.
>
> See the subdir-objects options.
Well I have in my configure.in:
AM_INIT_AUTOMAKE([subdir-objects])
but subdir-objects has as an effect to place the objects in the same
directory as the sources, and it does not take an argument (does it
?).
Thank you Alexandre,
Giannis
--
question = ( to ) ? be : ! be;
-- Wm. Shakespeare