Hello Mike, * Mike Frysinger wrote on Mon, Aug 20, 2007 at 05:46:14AM CEST: > there a list of good hints out there for managing libs across > directories ? i flipped through the libtool manual and the autobook > but didnt really find anything ...
I think the total ordering implied via partial SUBDIRS ordering is the best hint. > what's the solution here ? yes, i can re-order SUBDIRS so that it reads "lib > c", but is that really a guarantee in a parallal build that the "c" subdir > will not get processed before the "lib" subdir (the automake manually isnt > especially clear here, maybe i'll bug them) ? At the moment, yes. I don't know whether that used to be different a long time ago, but some comments in Automake hint to this. > what if the project has so many nests of dirs and interdependencies > that simply re-ordering SUBDIRS may not be possible ? I guess you can play games at install time too, changing directories manually in your additional rules and so on. But in the end you will need to impose some kind of ordering, whether done through SUBDIRS or hacking around it. There's a TODO item in Automake to compute a dependency ordering of uninstalled libraries inside a source tree and use that for install. It could lift this restriction somewhat. It's quite a bit of work though. Hope that helps. Cheers, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool