comparison src/makefile.w32-in @ 90732:bc10a33dd40b

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 563-582) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 177-185) - Merge from emacs--devo--0 - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-158
author Miles Bader <miles@gnu.org>
date Mon, 01 Jan 2007 03:21:06 +0000
parents bb0e318b7c53 ed080f337853
children 95d0cdf160ea
comparison
equal deleted inserted replaced
90731:a6c97c25a666 90732:bc10a33dd40b
157 all: $(ALL) 157 all: $(ALL)
158 158
159 # 159 #
160 # The dumped executable 160 # The dumped executable
161 # 161 #
162 emacs: $(BLD) $(EMACS) 162 emacs: stamp_BLD $(EMACS)
163 $(EMACS): $(DOC) $(TEMACS) 163 $(EMACS): $(DOC) $(TEMACS)
164 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump 164 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
165 -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows 165 -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
166 166
167 # 167 #
168 # The undumped executable 168 # The undumped executable
169 # Note the extra post-link step to insert a static preload heap section. 169 # Note the extra post-link step to insert a static preload heap section.
170 # If preload runs out of memory, increase the last argument to addsection 170 # If preload runs out of memory, increase the last argument to addsection
171 # (it is the preload heap size in MB). 171 # (it is the preload heap size in MB).
172 # 172 #
173 temacs: $(BLD) $(TEMACS) 173 temacs: stamp_BLD $(TEMACS)
174 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \ 174 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
175 ../nt/$(BLD)/addsection.exe 175 ../nt/$(BLD)/addsection.exe
176 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS) 176 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
177 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 20 177 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 20
178 echo $(OBJ0) > $(BLD)/buildobj.lst 178 echo $(OBJ0) > $(BLD)/buildobj.lst
186 # Lisp files from loadup.el in source form. 186 # Lisp files from loadup.el in source form.
187 # 187 #
188 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as 188 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
189 # this can break with GNU Make 3.81 and later if sh.exe is used. 189 # this can break with GNU Make 3.81 and later if sh.exe is used.
190 bootstrap-temacs: 190 bootstrap-temacs:
191 $(MAKE) $(MFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE) 191 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
192 192
193 # 193 #
194 # Dump an Emacs executable named bootstrap-emacs containing the 194 # Dump an Emacs executable named bootstrap-emacs containing the
195 # files from loadup.el in source form. 195 # files from loadup.el in source form.
196 # 196 #
251 # 251 #
252 clean: 252 clean:
253 - $(DEL) *~ "s/*~" "m/*~" 253 - $(DEL) *~ "s/*~" "m/*~"
254 - $(DEL) $(COMPILER_TEMP_FILES) 254 - $(DEL) $(COMPILER_TEMP_FILES)
255 - $(DEL_TREE) $(OBJDIR) 255 - $(DEL_TREE) $(OBJDIR)
256 - $(DEL) stamp_BLD
256 257
257 distclean: clean 258 distclean: clean
258 - $(DEL) config.h epaths.h 259 - $(DEL) config.h epaths.h
259 260
260 cleanall: clean 261 cleanall: clean
1550 $(SRC)/keyboard.h \ 1551 $(SRC)/keyboard.h \
1551 $(SRC)/systime.h \ 1552 $(SRC)/systime.h \
1552 $(SRC)/w32bdf.h \ 1553 $(SRC)/w32bdf.h \
1553 $(SRC)/w32gui.h \ 1554 $(SRC)/w32gui.h \
1554 $(SRC)/w32term.h 1555 $(SRC)/w32term.h
1556
1557 # Each object file depends on stamp_BLD, because in parallel builds we must
1558 # make sure $(BLD) exists before starting compilations.
1559 #
1560 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD