Re: Questions on 'make dist'

2008-03-19 Thread Stepan Kasal
Hi, On Wed, Mar 19, 2008 at 03:55:55PM -0400, NightStrike wrote: > > mingw-w64/crt > > mingw-w64/doc > > mingw-w64/hdr ... > So I guess the choices boil down to: > > 1) Change the directory structure > 2) Recursive make to a small degree > > Is that about right? actually, I recommend recursive

Re: Questions on 'make dist'

2008-03-19 Thread NightStrike
On 3/19/08, Stepan Kasal <[EMAIL PROTECTED]> wrote: > Hello, > > On Wed, Mar 19, 2008 at 03:13:06PM -0400, NightStrike wrote: > > On 3/19/08, Stepan Kasal <[EMAIL PROTECTED]> wrote: > > > BTW: Why do you insist on the layout described above? I would have > > > one top-level directory and make "doc

Re: Questions on 'make dist'

2008-03-19 Thread Stepan Kasal
Hello, On Wed, Mar 19, 2008 at 03:13:06PM -0400, NightStrike wrote: > On 3/19/08, Stepan Kasal <[EMAIL PROTECTED]> wrote: > > BTW: Why do you insist on the layout described above? I would have > > one top-level directory and make "doc" and "headers" (or perhaps > > "hdr") subdirs. > > The mingw-

Re: Building multiple versions of the same program

2008-03-19 Thread Stepan Kasal
Hello, On Wed, Mar 19, 2008 at 10:51:28AM -0700, iamcamiel wrote: > For those interested; [...] and for the readers of the archive. > prog_a_CXXFLAGS = -DVAR_A A typo: _CPPFLAGS (C PreProcessor), CXX stands for C++. Other than that, it's a perfect solution. Stepan Kasal

Re: Questions on 'make dist'

2008-03-19 Thread NightStrike
On 3/19/08, Stepan Kasal <[EMAIL PROTECTED]> wrote: > BTW: Why do you insist on the layout described above? I would have > one top-level directory and make "doc" and "headers" (or perhaps > "hdr") subdirs. The mingw-w64-headers directory contains headers that are required to use the resulting gcc

Re: Questions on 'make dist'

2008-03-19 Thread Stepan Kasal
Good afternon Della, On Wed, Mar 19, 2008 at 02:02:17PM -0400, NightStrike wrote: > > On Tue, 11 Mar 2008, NightStrike wrote: > > > I had intended to do everything with non-recursive make, but as [Ralf] > > > pointed out once, non-recursive is also considered harmful. [thread:] > http://lists.gnu.

Re: Questions on 'make dist'

2008-03-19 Thread NightStrike
On 3/11/08, Bob Friesenhahn <[EMAIL PROTECTED]> wrote: > On Tue, 11 Mar 2008, NightStrike wrote: > > > > I think I understand what you mean. Create a recursive build tree > > that allows starting from any point. I would then perhaps put this > > also in the trunk/Makefile.am: > > > > EXTRA_DIST=m

Re: Questions on 'make dist'

2008-03-19 Thread NightStrike
On 3/11/08, Bob Friesenhahn <[EMAIL PROTECTED]> wrote: > On Tue, 11 Mar 2008, NightStrike wrote: > > > > I think I understand what you mean. Create a recursive build tree > > that allows starting from any point. I would then perhaps put this > > also in the trunk/Makefile.am: > > > > EXTRA_DIST=m

Re: Building multiple versions of the same program

2008-03-19 Thread iamcamiel
Hello again, I figured it out. I'm sorry to have bothered you with this. For those interested; I put something like this in Makefile.am, which seems to be all thats needed, and do the trick just fine: bin_PROGRAMS = prog prog_a prog_SOURCES = file1.cpp file2.cpp prog_a_SOURCES = $(prog_SOURCE

Building multiple versions of the same program

2008-03-19 Thread iamcamiel
Hello everyone, I've finally gotten around to learning to use the autotools for an open-source project I'm working on, and I run into one thing that I can't figure out how to do. I have one program, that can be built in four different variants. The variant is choosen by defining a macro, and aff

Re: Automake and dejagnu's site.exp file

2008-03-19 Thread Bernd Jendrissek
On Tue, Mar 18, 2008 at 2:23 PM, NightStrike <[EMAIL PROTECTED]> wrote: > Why is there no way to add things to the site.exp file? For instance, > site.exp currently makes no use of the $sysroot variable set by > configure's "--with-sysroot" in binutils. If site.exp is not supposed > to be tou