Re: target dependency bug

2001-05-05 Thread Robert Collins
- Original Message - From: "Tom Tromey" <[EMAIL PROTECTED]> To: "Robert Collins" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, May 06, 2001 3:23 PM Subject: Re: target dependency bug > >>>>> "Robert" == R

Re: target dependency bug

2001-05-05 Thread Tom Tromey
> "Robert" == Robert Collins <[EMAIL PROTECTED]> writes: Robert> I understand. However Robert> cf_gen.$(OBJEXT): cf_gen_defines.h Robert> is somewhat ugly for an automake file :] I agree. Perhaps it would make sense to add a dependency like this in the "dependency tracking allowed but disab

Re: target dependency bug

2001-05-05 Thread Robert Collins
- Original Message - From: "Tom Tromey" <[EMAIL PROTECTED]> To: "Robert Collins" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, May 06, 2001 6:42 AM Subject: Re: target dependency bug > >>>>> "Robert" ==

Re: target dependency bug

2001-05-05 Thread Tom Tromey
> "Robert" == Robert Collins <[EMAIL PROTECTED]> writes: I finally read this thread. Robert> cf_gen_SOURCES = cf_gen.c defines.h Robert> nodist_cf_gen_SOURCES = cf_gen_defines.h Robert> BUILT_SOURCES = cf_gen_defines.h Robert> I think cf_gen_defines.h should be one of the dependencies of Ro

Re: target dependency bug

2001-04-16 Thread Alexandre Oliva
On Apr 17, 2001, "Robert Collins" <[EMAIL PROTECTED]> wrote: > I think so. I'm using gcc 2.95.3 - that does dependencies as a side > effect doesn't it ? Yep. Check .deps/cf_gen.Po >> Nope. I'm saying it would make sure BUILT_SOURCES are built before >> any other source files are compiled. >

RE: target dependency bug

2001-04-16 Thread Robert Collins
> -Original Message- > From: Alexandre Oliva [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 17, 2001 3:16 PM > To: Robert Collins > Cc: Lars J. Aas; [EMAIL PROTECTED] > Subject: Re: target dependency bug > > > On Apr 17, 2001, "Robert Colli

Re: target dependency bug

2001-04-16 Thread Alexandre Oliva
On Apr 17, 2001, "Robert Collins" <[EMAIL PROTECTED]> wrote: > cf_gen_defines.h is being built. But cf_gen.o isn't being updated when > cf_gen_defines.h is updated. Did you --enable-dependency-tracking? > And AFAICT, automake has enough info to make cf_gen_defines.h a > dependency of cf_gen.o

RE: target dependency bug

2001-04-16 Thread Robert Collins
> -Original Message- > From: Alexandre Oliva [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 17, 2001 2:20 PM > To: Robert Collins > Cc: Lars J. Aas; [EMAIL PROTECTED] > Subject: Re: target dependency bug > > > On Apr 17, 2001, "Robert Collins" &

Re: target dependency bug

2001-04-16 Thread Alexandre Oliva
On Apr 17, 2001, "Robert Collins" <[EMAIL PROTECTED]> wrote: > If I understand you correctly, that should result in a Makefile.in with > cf_gen_defines.h as a dependancy of cf_gen.$(OBJEXT): ? Nope. It's some other target that would depend on cf_gen_defines.h. BUILT_SOURCES are global, not spec

RE: target dependency bug

2001-04-16 Thread Robert Collins
x27;m testing this on my cygwin box with GNU make, automake CVS (as of early week). Rob > -Original Message- > From: Alexandre Oliva [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 17, 2001 2:10 PM > To: Robert Collins > Cc: Lars J. Aas; [EMAIL PROTECTED] > Subject: Re

Re: target dependency bug

2001-04-16 Thread Alexandre Oliva
On Apr 17, 2001, "Robert Collins" <[EMAIL PROTECTED]> wrote: > Thats the bug I reported: a built_source that doesn't get encoded as a > dependency by automake. It's definitely not encoded as an explicit dependency of files that depend on it (how would automake figure it out?), but BUILT_SOURCES

RE: target dependency bug

2001-04-16 Thread Robert Collins
> -Original Message- > From: Alexandre Oliva [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 17, 2001 1:53 PM > To: Robert Collins > Cc: Lars J. Aas; [EMAIL PROTECTED] > Subject: Re: target dependency bug > > > On Apr 16, 2001, "Robert Colli

Re: target dependency bug

2001-04-16 Thread Alexandre Oliva
On Apr 16, 2001, "Robert Collins" <[EMAIL PROTECTED]> wrote: > I'm happy with --enable-dependency-tracking... but will all the end > users? If they want dependence tracking, yes. Note that it will be enabled by default if it can be obtained as a side effect of compilation. Also note that, if th

Re: target dependency bug

2001-04-16 Thread Robert Collins
- Original Message - From: "Lars J. Aas" <[EMAIL PROTECTED]> To: "Robert Collins" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, April 17, 2001 2:40 AM Subject: Re: target dependency bug > On Tue, Apr 17, 2001 at 12:16:01AM +

Re: target dependency bug

2001-04-16 Thread Lars J. Aas
On Tue, Apr 17, 2001 at 12:16:01AM +1000, Robert Collins wrote: : given the following : : cf_gen_SOURCES = cf_gen.c defines.h : nodist_cf_gen_SOURCES = cf_gen_defines.h : BUILT_SOURCES = cf_gen_defines.h : : I think cf_gen_defines.h should be one of the dependencies of : cf_gen.$(OBJEXT). It's n

target dependency bug

2001-04-16 Thread Robert Collins
given the following cf_gen_SOURCES = cf_gen.c defines.h nodist_cf_gen_SOURCES = cf_gen_defines.h BUILT_SOURCES = cf_gen_defines.h I think cf_gen_defines.h should be one of the dependencies of cf_gen.$(OBJEXT). It's not though in my generated Makefile here. Suggestions? Rob