This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: derived sources and parallel builds


On Mar 29, 2000, Tom Tromey <tromey@cygnus.com> wrote:

>>> I'm skeptical that this approach will work :-(
Alexandre> I still think we should revert to the old behavior of
Alexandre> Makefile depending on BUILT_SOURCES, at the very least, as
Alexandre> a deprecated feature, for backward compatibility.

> This only works for GNU make.  So it was never a reliable mechanism to
> begin with.

Good point, I had failed to take this into account.

In this case, I think we should arrange for $(OBJECTS) to depend on
$(BUILT_SOURCES).  Hmm, but this would introduce too many
dependencies.  So maybe we should use a stamp file that all $(OBJECTS)
depend upon, and that runs $(MAKE) $(BUILT_SOURCES) before it touches
itself.  It still wouldn't work in case someone removes one of the
BUILT_SOURCES but leaves the stamp file around, but it could be a
starting point.

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]