Re: Expressing dependencies

2004-01-05 Thread Laurence Finston
On Mon, 5 Jan 2004, Robert Collins wrote: > On Mon, 2004-01-05 at 03:53, Laurence Finston wrote: > > > This is essentially what I tried to do by using the auxiliary program > > `3DLDFcpl' in the rule for building the executable `3dldf' (roughly): > > > > 3dldf: $(3DLDF_CWEBS) > >3DLDFcpl >

Re: Expressing dependencies

2004-01-04 Thread Robert Collins
On Mon, 2004-01-05 at 03:53, Laurence Finston wrote: > This is essentially what I tried to do by using the auxiliary program > `3DLDFcpl' in the rule for building the executable `3dldf' (roughly): > > 3dldf: $(3DLDF_CWEBS) >3DLDFcpl Thats not quite what I was suggesting. > Not changing

Re: Expressing dependencies

2004-01-04 Thread Laurence Finston
ake. RMS wanted 3DLDF to have a configure script and Makefile.in files with all of the required targets and I thought that was reasonable, and even desirable. However, the only practical way to do this, in my opinion, is to use Autoconf and Automake, which are great in other ways. However, I think the

Re: Expressing dependencies

2004-01-04 Thread Bruce Korb
Laurence Finston wrote: > The problem is that make makes certain assumptions that don't apply when CWEB > is used. `ctangle .web' creates .c. Additional files can > also be written. In 3DLDF, each .web also writes .h. > [...] However, not all changes > to a .web file cause the .c or .h file to dif

Re: Expressing dependencies

2004-01-03 Thread Richard Dawe
Hello. Andrew Suffield wrote: [snip] It may be worth noting that bison and flex, as invoked by automake, have comparable issues with their ancillary files (especially bison-generated headers). I never managed to figure a way to have those work sanely with make either, let alone automake. From the

Re: Expressing dependencies

2004-01-03 Thread Andrew Suffield
On Sun, Jan 04, 2004 at 09:39:28AM +1100, Robert Collins wrote: > On Sun, 2004-01-04 at 08:17, Laurence Finston wrote: > > > The problem is that make makes certain assumptions that don't apply when CWEB > > is used. > > I think thats an incorrect statement. It would be more accurate to say > that

Re: Expressing dependencies

2004-01-03 Thread Robert Collins
On Sun, 2004-01-04 at 08:17, Laurence Finston wrote: > The problem is that make makes certain assumptions that don't apply when CWEB > is used. I think thats an incorrect statement. It would be more accurate to say that CWEB hasn't been built with any thought to the impact on make. Make has only

Expressing dependencies

2004-01-03 Thread Laurence Finston
auxiliary program for controlling rebuilding. It uses two bitsets: one for expressing dependencies and one for keeping track of which files have changed. I originally tried to get make to use it for rebuilding 3DLDF, but the default rules generated by Automake required valid rules for building the C++ and