Branch: Tag:

2000-10-10

2000-10-10 21:10:27 by Martin Stjernholm <mast@lysator.liu.se>

Added locking to run config.status serially. This should remedy the
problem that Makefile's in the module directories are created crippled
when an old build tree is reused (typical symptom: "No rule to make
target `/global.h'").

Rev: src/Makefile.in:1.211

1:   # - # $Id: Makefile.in,v 1.210 2000/10/10 00:02:50 hubbe Exp $ + # $Id: Makefile.in,v 1.211 2000/10/10 21:10:27 mast Exp $   #      # This line is needed on some machines.
634:    ./config.status --recheck      modules/static_module_makefile: $(SRCDIR)/modules/static_module_makefile.in config.status -  CONFIG_FILES=modules/static_module_makefile CONFIG_HEADERS="" ./config.status +  -@(echo foo > cfl.static_module_makefile; \ +  while test "`echo cfl.*`" != cfl.static_module_makefile; do \ +  echo "Waiting to run config.status serially:" cfl.*; \ +  sleep 1; \ +  done;) +  CONFIG_FILES=modules/static_module_makefile CONFIG_HEADERS="" ./config.status || \ +  (EXITCODE=$$?; rm cfl.static_module_makefile; exit $$EXITCODE) +  -@rm cfl.static_module_makefile      modules/dynamic_module_makefile: $(SRCDIR)/@dmmsrc@ config.status -  CONFIG_FILES=modules/dynamic_module_makefile:@dmmsrc@ CONFIG_HEADERS="" ./config.status +  -@(echo foo > cfl.dynamic_module_makefile; \ +  while test "`echo cfl.*`" != cfl.dynamic_module_makefile; do \ +  echo "Waiting to run config.status serially:" cfl.*; \ +  sleep 1; \ +  done;) +  CONFIG_FILES=modules/dynamic_module_makefile:@dmmsrc@ CONFIG_HEADERS="" ./config.status || \ +  (EXITCODE=$$?; rm cfl.dynamic_module_makefile; exit $$EXITCODE) +  -@rm cfl.dynamic_module_makefile      Makefile: $(SRCDIR)/Makefile.in $(SRCDIR)/dependencies config.status -  CONFIG_FILES=Makefile CONFIG_HEADERS="" ./config.status +  -@(echo foo > cfl.$@; \ +  while test "`echo cfl.*`" != cfl.$@; do \ +  echo "Waiting to run config.status serially:" cfl.*; \ +  sleep 1; \ +  done;) +  CONFIG_FILES=Makefile CONFIG_HEADERS="" ./config.status || \ +  (EXITCODE=$$?; rm cfl.$@; exit $$EXITCODE) +  -@rm cfl.$@    touch remake    @echo "Run make again"    @exit 1      precompile.sh: $(SRCDIR)/precompile.sh.in ./config.status -  CONFIG_FILES=precompile.sh CONFIG_HEADERS="" ./config.status +  -@(echo foo > cfl.$@; \ +  while test "`echo cfl.*`" != cfl.$@; do \ +  echo "Waiting to run config.status serially:" cfl.*; \ +  sleep 1; \ +  done;) +  CONFIG_FILES=precompile.sh CONFIG_HEADERS="" ./config.status || \ +  (EXITCODE=$$?; rm cfl.$@; exit $$EXITCODE) +  -@rm cfl.$@      $(SRCDIR)/machine.h.in: $(SRCDIR)/stamp-h.in    @if test -f $(SRCDIR)/machine.h.in; then :; else \
663:    fi      stamp-h: $(SRCDIR)/stamp-h.in $(SRCDIR)/machine.h.in config.status -  CONFIG_FILES="" CONFIG_HEADERS=machine.h ./config.status +  -@(echo foo > cfl.$@; \ +  while test "`echo cfl.*`" != cfl.$@; do \ +  echo "Waiting to run config.status serially:" cfl.*; \ +  sleep 1; \ +  done;) +  CONFIG_FILES="" CONFIG_HEADERS=machine.h ./config.status || \ +  (EXITCODE=$$?; rm cfl.$@; exit $$EXITCODE) +  -@rm cfl.$@      testsuite: $(SRCDIR)/testsuite.in    $(TMP_BINDIR)/mktestsuite $(SRCDIR)/testsuite.in >testsuite -DSRCDIR="$(SRCDIR)"