diff options
author | Eli Zaretskii <eliz@gnu.org> | 2006-12-22 19:21:50 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2006-12-22 19:21:50 +0000 |
commit | 5ac50e96bd31b239f52b07ff8ffb7147c0487cee (patch) | |
tree | 01577ce13222b1e6e8fc6f36327badfb1cc94e5f /src/makefile.w32-in | |
parent | 1a8a626d0223ac99a269a3249431df50cdde92f3 (diff) | |
download | emacs-5ac50e96bd31b239f52b07ff8ffb7147c0487cee.tar.gz |
(emacs, temacs): Depend on stamp_BLD instead of $(BLD).
($(OBJ0) $(OBJ1) $(WIN32OBJ)): New dependency on stamp_BLD.
(bootstrap-temacs): Pass $(XMFLAGS) to sub-make.
Diffstat (limited to 'src/makefile.w32-in')
-rw-r--r-- | src/makefile.w32-in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/makefile.w32-in b/src/makefile.w32-in index c2367ba30e4..ec392a7fbd0 100644 --- a/src/makefile.w32-in +++ b/src/makefile.w32-in @@ -156,7 +156,7 @@ all: $(ALL) # # The dumped executable # -emacs: $(BLD) $(EMACS) +emacs: stamp_BLD $(EMACS) $(EMACS): $(DOC) $(TEMACS) "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows @@ -167,7 +167,7 @@ $(EMACS): $(DOC) $(TEMACS) # If preload runs out of memory, increase the last argument to addsection # (it is the preload heap size in MB). # -temacs: $(BLD) $(TEMACS) +temacs: stamp_BLD $(TEMACS) $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \ ../nt/$(BLD)/addsection.exe $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS) @@ -185,7 +185,7 @@ bootstrap: bootstrap-emacs # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as # this can break with GNU Make 3.81 and later if sh.exe is used. bootstrap-temacs: - $(MAKE) $(MFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE) + $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE) # # Dump an Emacs executable named bootstrap-emacs containing the @@ -1486,3 +1486,8 @@ $(BLD)/w32bdf.$(O): \ $(SRC)/w32bdf.h \ $(SRC)/w32gui.h \ $(SRC)/w32term.h + +# Each object file depends on stamp_BLD, because in parallel builds we must +# make sure $(BLD) exists before starting compilations. +# +$(OBJ0) $(OBJ1) $(WIN32OBJ): stamp_BLD |