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]
Other format: [Raw text]

Re: building a _shared_ library from sources in differentdirectories


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




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