Re: [automake] Dependency question with _LDADD

2008-08-26 Thread Braden McDaniel
On Wed, 2008-08-27 at 07:41 +0200, Ralf Wildenhues wrote: > * Michel Briand wrote on Wed, Aug 27, 2008 at 03:19:24AM CEST: > > Ralf Wildenhues <[EMAIL PROTECTED]> - Tue, 26 Aug 2008 17:43:13 +0200 [snip] > > >Why '-I config -I m4'? AFAICS you do not use AC_CONFIG_MACRO_DIR([m4]) > > >in configur

Re: [automake] Dependency question with _LDADD

2008-08-26 Thread Ralf Wildenhues
* Michel Briand wrote on Wed, Aug 27, 2008 at 03:19:24AM CEST: > Ralf Wildenhues <[EMAIL PROTECTED]> - Tue, 26 Aug 2008 17:43:13 +0200 > >* Michel Briand wrote on Tue, Aug 26, 2008 at 05:09:34PM CEST: > >> > >> What do you think of my example ? Is it useful for other people > >> to learn autotools

Re: Dependency question with _LDADD

2008-08-26 Thread Olly Betts
On 2008-08-27, Michel Briand <[EMAIL PROTECTED]> wrote: > Last, but not the least: autotools documentation that can be found on > the web seems to obsoletes rapidly. There is the famous autobook that's > not maintained anymore [1] and some info2www documentation [2], [3]. You've missed probably th

Re: [automake] Dependency question with _LDADD

2008-08-26 Thread Michel Briand
Great answer Ralf, thank you very much. My updates / discussion below :). Ralf Wildenhues <[EMAIL PROTECTED]> - Tue, 26 Aug 2008 17:43:13 +0200 >Hello Michel, > >can we limit followups to the automake list only, please? > >* Michel Briand wrote on Tue, Aug 26, 2008 at 05:09:34PM CEST: >> >> as

Automake with Pro*C

2008-08-26 Thread Sebastien REYNES
Hello, Is it possible to use automake tool with Pro*C ? How can I edit the Makefile.am to generate .c sources from .pc sources ? Am I on the right way with this kind of file : bin_PROGRAMS = myprog myprog_SOURCES = myprog.c myprog.pc my_prog_LDADD=$ORACLE_HOME/precomp/lib/libpgp.a# library

Re: [automake] Dependency question with _LDADD

2008-08-26 Thread Ralf Wildenhues
> * Michel Briand wrote on Tue, Aug 26, 2008 at 05:09:34PM CEST: > > libtraining_la_LDFLAGS = -version-info ${LIBRARY_VERSION} You could add -no-undefined here, so that your library will also be built shared on w32 systems. Of course, that requires that your library doesn't use undefined symbols.

Re: [automake] Dependency question with _LDADD

2008-08-26 Thread Ralf Wildenhues
Hello Michel, can we limit followups to the automake list only, please? * Michel Briand wrote on Tue, Aug 26, 2008 at 05:09:34PM CEST: > > as an exercise I decided to learn the maximum about automake and > libtool, and write a complete example. Thanks. Some nits below. > What do you think of

Re: Problems with conditional sources

2008-08-26 Thread John Calcote
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Schwab wrote: > John Calcote <[EMAIL PROTECTED]> writes: > >> Andreas Schwab wrote: >>> John Calcote <[EMAIL PROTECTED]> writes: >>> Make is a two-pass utility. The first pass completely assimilates all macro data specified in the Ma

Re: [automake] Dependency question with _LDADD

2008-08-26 Thread Michel Briand
Ralf Wildenhues <[EMAIL PROTECTED]> - Tue, 19 Aug 2008 21:43:07 +0200 >Hello Michel, > >* Michel Briand wrote on Tue, Aug 19, 2008 at 05:03:29PM CEST: >> >> Referring to GNU Automake manual ยง8.1.2, I'm using the _LDADD >> variable in my Makfile.am to link it with my library built in the same >>