Re: looking for a good example of non-recursive Make using project

2012-11-22 Thread NightStrike
On Tue, Nov 20, 2012 at 5:25 AM, Bob Friesenhahn bfrie...@simple.dallas.tx.us wrote: On Tue, 20 Nov 2012, Peter Johansson wrote: Makefile.am [in topdir]. For those fragment files, it would probably be confusing if paths were inserted into variables. Perhaps one could have a switch to turn

Re: looking for a good example of non-recursive Make using project

2012-11-22 Thread Miles Bader
NightStrike nightstr...@gmail.com writes: If you include src/more/Makefile.am into src/Makefile.am (a perfectly valid thing to do), you will be unpleasantly surprised that src/more/Makefile.am has to actually know where it is in the source tree. It needs lines like this: prog_SOURCES +=

Re: looking for a good example of non-recursive Make using project

2012-11-20 Thread Peter Johansson
On 11/20/12 7:16 AM, Bob Friesenhahn wrote: A good paradigm for non-recursive make is to put Automake include fragments into each directory which support the files in that directory. The top Automake.am then includes these fragments. It would be useful if there was a syntax whereby the

Re: looking for a good example of non-recursive Make using project

2012-11-20 Thread Bob Friesenhahn
On Tue, 20 Nov 2012, Peter Johansson wrote: Makefile.am [in topdir]. For those fragment files, it would probably be confusing if paths were inserted into variables. Perhaps one could have a switch to turn that feature on. Yes, it would be good to have a syntax which tells Automake to perform

Fwd: looking for a good example of non-recursive Make using project

2012-11-19 Thread Vincent Torri
and reply to the list too... -- Forwarded message -- From: Vincent Torri vincent.to...@gmail.com Date: Sat, Nov 17, 2012 at 1:53 PM Subject: Re: looking for a good example of non-recursive Make using project To: Václav Zeman vhais...@gmail.com On Sat, Nov 17, 2012 at 1:35 PM

Re: looking for a good example of non-recursive Make using project

2012-11-19 Thread Bob Friesenhahn
On Sun, 18 Nov 2012, NightStrike wrote: If you include src/more/Makefile.am into src/Makefile.am (a perfectly valid thing to do), you will be unpleasantly surprised that src/more/Makefile.am has to actually know where it is in the source tree. It needs lines like this: This is something I

Re: looking for a good example of non-recursive Make using project

2012-11-19 Thread Eric Blake
On 11/19/2012 12:51 AM, NightStrike wrote: If you include src/more/Makefile.am into src/Makefile.am (a perfectly valid thing to do), you will be unpleasantly surprised that src/more/Makefile.am has to actually know where it is in the source tree. It needs lines like this: prog_SOURCES +=

Re: looking for a good example of non-recursive Make using project

2012-11-19 Thread Bob Friesenhahn
On Mon, 19 Nov 2012, Eric Blake wrote: You can reduce the pain by using variables: more = more prog_SOURCES += ${more}/file3.c ${more}/file4.c so that a rename now only has to touch the 'more =' line, rather than every use. The most serious problem is this incantation for 'prog' output to

Re: looking for a good example of non-recursive Make using project

2012-11-18 Thread NightStrike
On Sat, Nov 17, 2012 at 12:13 AM, Václav Zeman vhais...@gmail.com wrote: Hi. I am looking for a good example of a project with non-recursive Make that is using Automake, that is not trivial. I would like to convert my project, log4cplus, to non-recursive Make style, if it is possible. Any

looking for a good example of non-recursive Make using project

2012-11-17 Thread Václav Zeman
Hi. I am looking for a good example of a project with non-recursive Make that is using Automake, that is not trivial. I would like to convert my project, log4cplus, to non-recursive Make style, if it is possible. Any recommendations? -- VZ signature.asc Description: OpenPGP digital signature

Re: looking for a good example of non-recursive Make using project

2012-11-17 Thread Vincent Torri
On Sat, Nov 17, 2012 at 11:13 AM, Václav Zeman vhais...@gmail.com wrote: Hi. I am looking for a good example of a project with non-recursive Make that is using Automake, that is not trivial. I would like to convert my project, log4cplus, to non-recursive Make style, if it is possible. Any

Re: looking for a good example of non-recursive Make using project

2012-11-17 Thread Stefano Lattarini
On 11/17/2012 11:13 AM, Václav Zeman wrote: Hi. I am looking for a good example of a project with non-recursive Make that is using Automake, that is not trivial. I would like to convert my project, log4cplus, to non-recursive Make style, if it is possible. Any recommendations? GNU

Re: looking for a good example of non-recursive Make using project

2012-11-17 Thread Václav Zeman
On 11/17/2012 11:36 AM, Vincent Torri wrote: On Sat, Nov 17, 2012 at 11:13 AM, Václav Zeman vhais...@gmail.com wrote: Hi. I am looking for a good example of a project with non-recursive Make that is using Automake, that is not trivial. I would like to convert my project, log4cplus, to

Re: looking for a good example of non-recursive Make using project

2012-11-17 Thread Bob Friesenhahn
On Sat, 17 Nov 2012, Václav Zeman wrote: Hi. I am looking for a good example of a project with non-recursive Make that is using Automake, that is not trivial. I would like to convert my project, log4cplus, to non-recursive Make style, if it is possible. Any recommendations? I am not sure if