summaryrefslogtreecommitdiff
path: root/lisp/makefile.w32-in
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-06-26 19:57:54 +0300
committerEli Zaretskii <eliz@gnu.org>2012-06-26 19:57:54 +0300
commitcc06e7e7107b47250ad2a91817932b8079f4bc6e (patch)
tree09a7ab632dffb179442e5c82976ccd5fdd50d126 /lisp/makefile.w32-in
parentd2c32364fd1873a6e9cfa52d2531dfbe500ad297 (diff)
downloademacs-cc06e7e7107b47250ad2a91817932b8079f4bc6e.tar.gz
Fix parallel bootstrap on MS-Windows in lib/ and lisp/.
lib/makefile.w32-in ($(GNULIBOBJS)): Depend on stamp_BLD. This replaces separate dependency for each object file, which required the same object file to be mentioned twice, causing failures in parallel builds. lisp/makefile.w32-in (compile, compile-always): Depend on update-subdirs, not on subdirs.el. Otherwise, several different sub-targets of 'bootstrap' running in parallel could simultaneously write to subdirs.el, producing a garbled file.
Diffstat (limited to 'lisp/makefile.w32-in')
-rw-r--r--lisp/makefile.w32-in4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in
index 91a25b7c071..0c021cec779 100644
--- a/lisp/makefile.w32-in
+++ b/lisp/makefile.w32-in
@@ -311,7 +311,7 @@ TAGS-LISP-CMD: $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsf
# compiled find the right files.
# Need separate version for sh and native cmd.exe
-compile: $(lisp)/subdirs.el compile-$(SHELLTYPE) doit
+compile: update-subdirs compile-$(SHELLTYPE) doit
compile-CMD: autoloads
# -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g
@@ -340,7 +340,7 @@ compile-SH: autoloads
# unconditionally. Some files don't actually get compiled because they
# set the local variable no-byte-compile.
-compile-always: $(lisp)/subdirs.el compile-always-$(SHELLTYPE) doit
+compile-always: update-subdirs compile-always-$(SHELLTYPE) doit
compile-always-CMD:
# -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g