Re: Using convenience libraries with non-recursive make

2012-08-23 Thread Del Merritt
On 08/22/2012 07:12 PM, Bob Friesenhahn wrote: On Wed, 22 Aug 2012, Del Merritt wrote: [Reponding on-list to what was Diego's private response to me; I hope he doesn't mind.] I just finished an experiment with a single libfoo.a and all many-thousands of sources for libfoo_a_SOURCES. The co

Re: Using convenience libraries with non-recursive make

2012-08-22 Thread Bob Friesenhahn
On Wed, 22 Aug 2012, Del Merritt wrote: [Reponding on-list to what was Diego's private response to me; I hope he doesn't mind.] I just finished an experiment with a single libfoo.a and all many-thousands of sources for libfoo_a_SOURCES. The compilation worked, but I got the dreaded "make[1

Re: Using convenience libraries with non-recursive make

2012-08-22 Thread Del Merritt
On 08/15/2012 04:46 PM, Diego Elio Pettenò wrote: On 15/08/2012 12:49, Del Merritt wrote: All good questions; mostly because I am not completely sure yet that a) I won't want to be able to install the sub-libraries later, b) my hand-built makefiles do it this way already, so I was minimizing cha

Re: Using convenience libraries with non-recursive make

2012-08-15 Thread Russ Allbery
Bob Friesenhahn writes: > On Wed, 15 Aug 2012, Diego Elio Pettenò wrote: >> why are you using multiple convenience libraries? If you're not going >> to install any of them, and the result is one final binary, you should >> just list all the sources to that one target. This also helps if you >> ch

Re: Using convenience libraries with non-recursive make

2012-08-15 Thread Del Merritt
On 08/15/2012 03:16 PM, Diego Elio Pettenò wrote: On 15/08/2012 08:26, Del Merritt wrote: nodist_EXTRA_libmyprog_la_SOURCES = dummy.cxx I would bet that this one is giving you trouble, but... I was using that on a hint from the automake manual: http://www.gnu.org/software/automake/ma

Re: Using convenience libraries with non-recursive make

2012-08-15 Thread Bob Friesenhahn
On Wed, 15 Aug 2012, Diego Elio Pettenò wrote: why are you using multiple convenience libraries? If you're not going to install any of them, and the result is one final binary, you should just list all the sources to that one target. This also helps if you change some of the source files as it o

RE: Using convenience libraries with non-recursive make

2012-08-15 Thread John Calcote
Hi Del, First, if you're building a pure convenience library (you don't want shared objects), then save yourself a layer of complexity by removing libtool from the equation - just use LIBRARIES instead of LTLIBRARIES in your Makefile.am file. Second, make sure all your relative paths are correct -

Re: Using convenience libraries with non-recursive make

2012-08-15 Thread Diego Elio Pettenò
On 15/08/2012 08:26, Del Merritt wrote: > >nodist_EXTRA_libmyprog_la_SOURCES = dummy.cxx I would bet that this one is giving you trouble, but... why are you using multiple convenience libraries? If you're not going to install any of them, and the result is one final binary, you should just l