comparison src/makefile.w32-in @ 74803:a7c1903d8dca

(emacs, temacs): Depend on stamp_BLD instead of $(BLD). ($(OBJ0) $(OBJ1) $(WIN32OBJ)): New dependency on stamp_BLD. (bootstrap-temacs): Pass $(XMFLAGS) to sub-make.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 22 Dec 2006 19:21:50 +0000
parents e9354aa84a58
children 5186094c35db
comparison
equal deleted inserted replaced
74802:d825af228b06 74803:a7c1903d8dca
154 all: $(ALL) 154 all: $(ALL)
155 155
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
163 163
164 # 164 #
165 # The undumped executable 165 # The undumped executable
166 # Note the extra post-link step to insert a static preload heap section. 166 # Note the extra post-link step to insert a static preload heap section.
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)
174 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 16 174 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 16
175 echo $(OBJ0) > $(BLD)/buildobj.lst 175 echo $(OBJ0) > $(BLD)/buildobj.lst
183 # Lisp files from loadup.el in source form. 183 # Lisp files from loadup.el in source form.
184 # 184 #
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
192 # files from loadup.el in source form. 192 # files from loadup.el in source form.
193 # 193 #
1484 $(SRC)/keyboard.h \ 1484 $(SRC)/keyboard.h \
1485 $(SRC)/systime.h \ 1485 $(SRC)/systime.h \
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