This was the original makefile.am fragment:

cf_gen_SOURCES = cf_gen.c defines.h
nodist_cf_gen_SOURCES = cf_gen_defines.h
BUILT_SOURCES = cf_gen_defines.h
 

If I understand you correctly, that should result in a Makefile.in with
cf_gen_defines.h as a dependancy of cf_gen.$(OBJEXT): ?

I'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: target dependency bug
> 
> 
> 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
> are supposed to be built before anything else.  I believe this used to
> require GNU make in automake 1.4, and it was broken until a few days
> ago in CVS automake, but I seem to recall it is now fixed.
> 
> -- 
> Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist    *Please* write to mailing lists, not to me
> 

Reply via email to