Re: Automake problem: one makefile for everything

2005-12-15 Thread Bob Friesenhahn
On Wed, 14 Dec 2005 [EMAIL PROTECTED] wrote: This doesn't do the job: lib_LTLIBRARIES = libmain.la modules/libmod.la libmain_la_SOURCES = main1.c main2.c libmod_la_SOURCES = modules/mod1.c modules/mod2.c libtool doesn't like directory names in the lib_LTLIBRARIES variable. But if I go ...

Re: Fwd: Automake problem: one makefile for everything

2005-12-15 Thread Gary V. Vaughan
[Please remove libtool@gnu.org from replies to this thread] [EMAIL PROTECTED] wrote: Hi, I hope you can help me. I'm banging my head against the wall here doing something that I think should be extremely simple, but just cannot get Automake/Autoconf/libtool to do it the way I want it. I

Re: Automake problem: one makefile for everything

2005-12-14 Thread David Fang
> and I want a Makefile.am in the top-level source directory that > compiles main1.c and main2.c into one library (say libmain.la) and > mod1.c and mod2.c into libmod.la in the modules directory. Simple > request huh? But in *one* Makefile.am. How do I do it? > > This doesn't do the job: > lib_L

Automake problem: one makefile for everything

2005-12-14 Thread Chapter33
Hi, I hope you can help me. I'm banging my head against the wall here doing something that I think should be extremely simple, but just cannot get Automake/Autoconf/libtool to do it the way I want it. If I have the following files: main1.c main2.c modules/mod1.c modules/mod2.c