diff options
| author | Eli Zaretskii | 2006-12-22 19:21:50 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-12-22 19:21:50 +0000 |
| commit | 5ac50e96bd31b239f52b07ff8ffb7147c0487cee (patch) | |
| tree | 01577ce13222b1e6e8fc6f36327badfb1cc94e5f /src | |
| parent | 1a8a626d0223ac99a269a3249431df50cdde92f3 (diff) | |
| download | emacs-5ac50e96bd31b239f52b07ff8ffb7147c0487cee.tar.gz emacs-5ac50e96bd31b239f52b07ff8ffb7147c0487cee.zip | |
(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')
| -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) | |||
| 156 | # | 156 | # |
| 157 | # The dumped executable | 157 | # The dumped executable |
| 158 | # | 158 | # |
| 159 | emacs: $(BLD) $(EMACS) | 159 | emacs: stamp_BLD $(EMACS) |
| 160 | $(EMACS): $(DOC) $(TEMACS) | 160 | $(EMACS): $(DOC) $(TEMACS) |
| 161 | "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump | 161 | "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump |
| 162 | -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows | 162 | -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows |
| @@ -167,7 +167,7 @@ $(EMACS): $(DOC) $(TEMACS) | |||
| 167 | # If preload runs out of memory, increase the last argument to addsection | 167 | # If preload runs out of memory, increase the last argument to addsection |
| 168 | # (it is the preload heap size in MB). | 168 | # (it is the preload heap size in MB). |
| 169 | # | 169 | # |
| 170 | temacs: $(BLD) $(TEMACS) | 170 | temacs: stamp_BLD $(TEMACS) |
| 171 | $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \ | 171 | $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \ |
| 172 | ../nt/$(BLD)/addsection.exe | 172 | ../nt/$(BLD)/addsection.exe |
| 173 | $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS) | 173 | $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS) |
| @@ -185,7 +185,7 @@ bootstrap: bootstrap-emacs | |||
| 185 | # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as | 185 | # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as |
| 186 | # this can break with GNU Make 3.81 and later if sh.exe is used. | 186 | # this can break with GNU Make 3.81 and later if sh.exe is used. |
| 187 | bootstrap-temacs: | 187 | bootstrap-temacs: |
| 188 | $(MAKE) $(MFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE) | 188 | $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE) |
| 189 | 189 | ||
| 190 | # | 190 | # |
| 191 | # Dump an Emacs executable named bootstrap-emacs containing the | 191 | # Dump an Emacs executable named bootstrap-emacs containing the |
| @@ -1486,3 +1486,8 @@ $(BLD)/w32bdf.$(O): \ | |||
| 1486 | $(SRC)/w32bdf.h \ | 1486 | $(SRC)/w32bdf.h \ |
| 1487 | $(SRC)/w32gui.h \ | 1487 | $(SRC)/w32gui.h \ |
| 1488 | $(SRC)/w32term.h | 1488 | $(SRC)/w32term.h |
| 1489 | |||
| 1490 | # Each object file depends on stamp_BLD, because in parallel builds we must | ||
| 1491 | # make sure $(BLD) exists before starting compilations. | ||
| 1492 | # | ||
| 1493 | $(OBJ0) $(OBJ1) $(WIN32OBJ): stamp_BLD | ||