1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
3 # 2008, 2009 Free Software Foundation, Inc.
5 # This file is part of GNU Emacs.
7 # GNU Emacs is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
12 # GNU Emacs is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
25 # Set EMACSLOADPATH correctly (in case already defined in environment).
26 EMACSLOADPATH=$(CURDIR)/../lisp
29 # HAVE_CONFIG_H is required by some generic gnu sources stuck into
30 # the emacs source tree.
32 LOCAL_FLAGS = -Demacs=1 -DHAVE_CONFIG_H -I../nt/inc -DHAVE_NTGUI=1 $(EMACS_EXTRA_C_FLAGS)
35 EMACS = $(BLD)/emacs.exe
36 TEMACS = $(BLD)/temacs.exe
37 TEMACS_TMP = $(BLD)/temacs.bin
38 TLIB0 = $(BLD)/temacs0.$(A)
39 TLIB1 = $(BLD)/temacs1.$(A)
40 TLIBW32 = $(BLD)/temacw32.$(A)
41 TOBJ = $(BLD)/firstfile.$(O)
42 TRES = $(BLD)/emacs.res
43 TLASTLIB = $(BLD)/lastfile.$(A)
45 DOC = $(OBJDIR)/etc/DOC-X
47 FULL_LINK_FLAGS = $(LINK_FLAGS) $(TEMACS_EXTRA_LINK)
50 # Split up the objects into two sets so that we don't run out of
51 # command line space when we link them into a library.
53 # Put emacs.$(O) in a separate lib, since we need to have firstfile.$(O)
54 # as the "main" object file when linking.
56 OBJ0 = $(BLD)/emacs.$(O)
58 OBJ1 = $(BLD)/alloc.$(O) \
61 $(BLD)/bytecode.$(O) \
63 $(BLD)/callproc.$(O) \
64 $(BLD)/casefiddle.$(O) \
75 $(BLD)/filelock.$(O) \
76 $(BLD)/filemode.$(O) \
80 $(BLD)/keyboard.$(O) \
89 $(BLD)/w32inevt.$(O) \
91 $(BLD)/w32console.$(O) \
101 $(BLD)/termcap.$(O) \
104 $(BLD)/unexw32.$(O) \
107 $(BLD)/casetab.$(O) \
108 $(BLD)/floatfns.$(O) \
110 $(BLD)/gmalloc.$(O) \
111 $(BLD)/intervals.$(O) \
112 $(BLD)/composite.$(O) \
114 $(BLD)/textprop.$(O) \
115 $(BLD)/vm-limit.$(O) \
116 $(BLD)/region-cache.$(O) \
117 $(BLD)/strftime.$(O) \
118 $(BLD)/charset.$(O) \
119 $(BLD)/character.$(O) \
120 $(BLD)/chartab.$(O) \
122 $(BLD)/category.$(O) \
125 $(BLD)/fontset.$(O) \
128 $(BLD)/terminal.$(O) \
131 WIN32OBJ = $(BLD)/w32term.$(O) \
132 $(BLD)/w32xfns.$(O) \
135 $(BLD)/w32select.$(O) \
136 $(BLD)/w32menu.$(O) \
139 FONTOBJ = $(BLD)/w32font.$(O) $(BLD)/w32uniscribe.$(O)
159 # Build the executable and dump it.
164 # The dumped executable
166 emacs: stamp_BLD $(EMACS)
167 $(EMACS): $(DOC) $(TEMACS)
168 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
169 -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
172 # The undumped executable
173 # Note the extra post-link step to insert a static preload heap section.
174 # If preload runs out of memory, increase the last argument to addsection
175 # (it is the preload heap size in MB).
177 temacs: stamp_BLD $(TEMACS)
178 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
179 ../nt/$(BLD)/addsection.exe
180 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
181 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 21
183 # These omit firstfile.${O}, but there's no documentation in there
185 buildobj.h: $(SRC)/makefile.w32-in
186 $(MAKE) $(MFLAGS) make-buildobj-$(SHELLTYPE)
188 # Cannot have blanks between the backslash and the redirection
189 # characters, because CMD's `echo' will put them in buildobj.h.
191 echo #define BUILDOBJ ^"\> buildobj.h
192 echo $(OBJ0) \>> buildobj.h
193 echo $(OBJ1) \>> buildobj.h
194 echo $(WIN32OBJ) \>> buildobj.h
195 echo $(FONTOBJ) \>> buildobj.h
199 echo '#define BUILDOBJ $(DQUOTE)\' > buildobj.h
200 echo $(OBJ0) '\' >> buildobj.h
201 echo $(OBJ1) '\' >> buildobj.h
202 echo $(WIN32OBJ) '\' >> buildobj.h
203 echo $(FONTOBJ) '\' >> buildobj.h
204 echo '$(DQUOTE)' >> buildobj.h
206 bootstrap: bootstrap-emacs
209 # Build a temacs with a sufficiently large PURESIZE to load the
210 # Lisp files from loadup.el in source form.
212 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
213 # this can break with GNU Make 3.81 and later if sh.exe is used.
215 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
218 # Dump an Emacs executable named bootstrap-emacs containing the
219 # files from loadup.el in source form.
221 bootstrap-emacs: bootstrap-temacs
222 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
224 $(CP) $(EMACS) ../bin
227 # Force recompile of files that depend on PURESIZE
230 - $(DEL) $(BLD)/alloc.$(O)
231 - $(DEL) $(BLD)/data.$(O)
232 - $(DEL) $(BLD)/intervals.$(O)
233 - $(DEL) $(BLD)/keyboard.$(O)
234 - $(DEL) $(BLD)/keymap.$(O)
237 # The resource file. NT 3.10 requires the use of cvtres; even though
238 # it is not necessary on later versions, it is still ok to use it.
240 $(TRES): ../nt/emacs.rc stamp_BLD
241 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
244 # Build the library. Split up the build into two phases...otherwise we
245 # run out of command line space.
249 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
252 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
253 $(TLIBW32): $(WIN32OBJ) $(FONTOBJ)
255 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
258 # Place lastfile.$(O) in its own library so that it can be loaded after
259 # the source libraries but before any system libraries. Doing so defines
260 # the end of Emacs' data section portably across compilers and systems.
262 $(TLASTLIB): $(BLD)/lastfile.$(O)
264 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
267 # Assuming INSTALL_DIR is defined, build and install emacs in it.
270 - mkdir "$(INSTALL_DIR)/bin"
271 $(CP) $(EMACS) $(INSTALL_DIR)/bin
276 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
277 # remove precious files if it happens to match their short 8+3 aliases.
279 - $(DEL) "s/*.h~" "m/*.h~"
280 - $(DEL) $(COMPILER_TEMP_FILES)
281 - $(DEL_TREE) $(OBJDIR)
286 - $(DEL) config.h epaths.h Makefile
288 maintainer-clean: distclean
293 - $(DEL_TREE) obj-spd
300 CONFIG_H = $(EMACS_ROOT)/src/s/ms-w32.h \
301 $(EMACS_ROOT)/src/m/intel386.h \
302 $(EMACS_ROOT)/src/config.h \
303 $(EMACS_ROOT)/nt/inc/sys/stat.h
305 $(BLD)/alloc.$(O) : \
308 $(EMACS_ROOT)/nt/inc/unistd.h \
309 $(EMACS_ROOT)/nt/inc/sys/time.h \
312 $(SRC)/blockinput.h \
317 $(SRC)/dispextern.h \
330 $(BLD)/atimer.$(O) : \
333 $(EMACS_ROOT)/nt/inc/unistd.h \
334 $(EMACS_ROOT)/nt/inc/sys/time.h \
337 $(SRC)/blockinput.h \
341 $(BLD)/buffer.$(O) : \
344 $(EMACS_ROOT)/nt/inc/unistd.h \
345 $(EMACS_ROOT)/nt/inc/sys/param.h \
346 $(EMACS_ROOT)/nt/inc/sys/time.h \
349 $(SRC)/blockinput.h \
355 $(SRC)/dispextern.h \
361 $(SRC)/region-cache.h \
366 $(BLD)/bytecode.$(O) : \
372 $(SRC)/dispextern.h \
377 $(BLD)/callint.$(O) : \
380 $(EMACS_ROOT)/nt/inc/sys/time.h \
386 $(SRC)/dispextern.h \
393 $(BLD)/callproc.$(O) : \
396 $(EMACS_ROOT)/nt/inc/unistd.h \
397 $(EMACS_ROOT)/nt/inc/sys/file.h \
398 $(EMACS_ROOT)/nt/inc/sys/time.h \
401 $(SRC)/blockinput.h \
408 $(SRC)/dispextern.h \
419 $(BLD)/casefiddle.$(O) : \
420 $(SRC)/casefiddle.c \
430 $(BLD)/casetab.$(O) : \
437 $(BLD)/category.$(O) : \
457 $(BLD)/character.$(O) : \
467 $(BLD)/charset.$(O) : \
470 $(EMACS_ROOT)/nt/inc/unistd.h \
479 $(BLD)/chartab.$(O) : \
492 $(SRC)/dispextern.h \
501 $(EMACS_ROOT)/nt/inc/sys/time.h \
508 $(SRC)/dispextern.h \
516 $(BLD)/coding.$(O) : \
526 $(SRC)/dispextern.h \
532 $(BLD)/composite.$(O) : \
541 $(SRC)/dispextern.h \
552 $(EMACS_ROOT)/nt/inc/sys/time.h \
559 $(SRC)/dispextern.h \
569 $(BLD)/dired.$(O) : \
572 $(EMACS_ROOT)/nt/inc/grp.h \
573 $(EMACS_ROOT)/nt/inc/pwd.h \
574 $(EMACS_ROOT)/nt/inc/unistd.h \
575 $(EMACS_ROOT)/nt/inc/sys/dir.h \
576 $(EMACS_ROOT)/nt/inc/sys/time.h \
579 $(SRC)/blockinput.h \
590 $(BLD)/dispnew.$(O) : \
593 $(EMACS_ROOT)/nt/inc/unistd.h \
594 $(EMACS_ROOT)/nt/inc/sys/time.h \
597 $(SRC)/blockinput.h \
604 $(SRC)/dispextern.h \
624 $(EMACS_ROOT)/nt/inc/unistd.h \
625 $(EMACS_ROOT)/nt/inc/sys/file.h \
626 $(EMACS_ROOT)/nt/inc/sys/time.h \
636 $(BLD)/doprnt.$(O) : \
639 $(EMACS_ROOT)/nt/inc/unistd.h \
643 $(BLD)/editfns.$(O) : \
646 $(EMACS_ROOT)/nt/inc/pwd.h \
647 $(EMACS_ROOT)/nt/inc/unistd.h \
648 $(EMACS_ROOT)/nt/inc/sys/time.h \
651 $(SRC)/blockinput.h \
656 $(SRC)/dispextern.h \
663 $(BLD)/emacs.$(O) : \
666 $(EMACS_ROOT)/nt/inc/unistd.h \
667 $(EMACS_ROOT)/nt/inc/sys/file.h \
668 $(EMACS_ROOT)/nt/inc/sys/time.h \
671 $(SRC)/blockinput.h \
676 $(SRC)/dispextern.h \
694 $(EMACS_ROOT)/nt/inc/sys/time.h \
697 $(SRC)/blockinput.h \
701 $(SRC)/dispextern.h \
706 $(BLD)/fileio.$(O) : \
709 $(EMACS_ROOT)/nt/inc/pwd.h \
710 $(EMACS_ROOT)/nt/inc/unistd.h \
711 $(EMACS_ROOT)/nt/inc/sys/time.h \
714 $(SRC)/blockinput.h \
720 $(SRC)/dispextern.h \
727 $(BLD)/filelock.$(O) : \
730 $(EMACS_ROOT)/nt/inc/pwd.h \
731 $(EMACS_ROOT)/nt/inc/unistd.h \
732 $(EMACS_ROOT)/nt/inc/sys/file.h \
733 $(EMACS_ROOT)/nt/inc/sys/time.h \
741 $(BLD)/filemode.$(O) : \
745 $(BLD)/firstfile.$(O) : \
749 $(BLD)/floatfns.$(O) : \
758 $(EMACS_ROOT)/nt/inc/langinfo.h \
759 $(EMACS_ROOT)/nt/inc/nl_types.h \
760 $(EMACS_ROOT)/nt/inc/unistd.h \
761 $(EMACS_ROOT)/nt/inc/sys/time.h \
764 $(SRC)/blockinput.h \
770 $(SRC)/dispextern.h \
789 $(SRC)/dispextern.h \
797 $(BLD)/fontset.$(O) : \
800 $(EMACS_ROOT)/nt/inc/sys/time.h \
803 $(SRC)/blockinput.h \
810 $(SRC)/dispextern.h \
822 $(BLD)/frame.$(O) : \
825 $(EMACS_ROOT)/nt/inc/sys/time.h \
828 $(SRC)/blockinput.h \
835 $(SRC)/dispextern.h \
847 $(BLD)/fringe.$(O) : \
850 $(EMACS_ROOT)/nt/inc/sys/time.h \
853 $(SRC)/blockinput.h \
855 $(SRC)/dispextern.h \
862 $(BLD)/gmalloc.$(O) : \
865 $(EMACS_ROOT)/nt/inc/unistd.h \
868 $(BLD)/image.$(O) : \
871 $(EMACS_ROOT)/nt/inc/unistd.h \
872 $(EMACS_ROOT)/nt/inc/sys/time.h \
875 $(SRC)/blockinput.h \
880 $(SRC)/dispextern.h \
890 $(BLD)/indent.$(O) : \
893 $(EMACS_ROOT)/nt/inc/sys/time.h \
900 $(SRC)/dispextern.h \
906 $(SRC)/region-cache.h \
913 $(BLD)/insdel.$(O) : \
916 $(EMACS_ROOT)/nt/inc/sys/time.h \
919 $(SRC)/blockinput.h \
923 $(SRC)/dispextern.h \
925 $(SRC)/region-cache.h \
930 $(BLD)/intervals.$(O) : \
933 $(EMACS_ROOT)/nt/inc/sys/time.h \
938 $(SRC)/dispextern.h \
946 $(BLD)/keyboard.$(O) : \
949 $(EMACS_ROOT)/nt/inc/unistd.h \
950 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
951 $(EMACS_ROOT)/nt/inc/sys/time.h \
954 $(SRC)/blockinput.h \
960 $(SRC)/dispextern.h \
978 $(BLD)/keymap.$(O) : \
981 $(EMACS_ROOT)/nt/inc/sys/time.h \
984 $(SRC)/blockinput.h \
991 $(SRC)/dispextern.h \
1002 $(BLD)/lastfile.$(O) : \
1006 $(BLD)/lread.$(O) : \
1009 $(EMACS_ROOT)/nt/inc/unistd.h \
1010 $(EMACS_ROOT)/nt/inc/sys/file.h \
1011 $(EMACS_ROOT)/nt/inc/sys/time.h \
1014 $(SRC)/blockinput.h \
1016 $(SRC)/character.h \
1020 $(SRC)/composite.h \
1021 $(SRC)/dispextern.h \
1024 $(SRC)/intervals.h \
1027 $(SRC)/termhooks.h \
1030 $(BLD)/macros.$(O) : \
1033 $(EMACS_ROOT)/nt/inc/sys/time.h \
1038 $(SRC)/composite.h \
1039 $(SRC)/dispextern.h \
1046 $(BLD)/marker.$(O) : \
1058 $(BLD)/menu.$(O) : \
1061 $(EMACS_ROOT)/nt/inc/sys/time.h \
1064 $(SRC)/blockinput.h \
1066 $(SRC)/composite.h \
1067 $(SRC)/dispextern.h \
1073 $(SRC)/termhooks.h \
1078 $(BLD)/minibuf.$(O) : \
1081 $(EMACS_ROOT)/nt/inc/sys/time.h \
1084 $(SRC)/character.h \
1087 $(SRC)/composite.h \
1088 $(SRC)/dispextern.h \
1090 $(SRC)/intervals.h \
1095 $(SRC)/termhooks.h \
1102 $(EMACS_ROOT)/nt/inc/grp.h \
1103 $(EMACS_ROOT)/nt/inc/pwd.h \
1104 $(EMACS_ROOT)/nt/inc/unistd.h \
1105 $(EMACS_ROOT)/nt/inc/sys/file.h \
1106 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1107 $(EMACS_ROOT)/nt/inc/sys/time.h \
1110 $(SRC)/composite.h \
1111 $(SRC)/dispextern.h \
1119 $(BLD)/w32heap.$(O) : \
1125 $(BLD)/w32inevt.$(O) : \
1128 $(EMACS_ROOT)/nt/inc/sys/time.h \
1131 $(SRC)/blockinput.h \
1133 $(SRC)/composite.h \
1134 $(SRC)/dispextern.h \
1138 $(SRC)/termhooks.h \
1143 $(BLD)/w32proc.$(O) : \
1146 $(EMACS_ROOT)/nt/inc/langinfo.h \
1147 $(EMACS_ROOT)/nt/inc/nl_types.h \
1148 $(EMACS_ROOT)/nt/inc/unistd.h \
1149 $(EMACS_ROOT)/nt/inc/sys/file.h \
1150 $(EMACS_ROOT)/nt/inc/sys/time.h \
1152 $(SRC)/character.h \
1154 $(SRC)/composite.h \
1155 $(SRC)/dispextern.h \
1157 $(SRC)/syssignal.h \
1165 $(BLD)/w32console.$(O) : \
1166 $(SRC)/w32console.c \
1169 $(SRC)/character.h \
1171 $(SRC)/composite.h \
1172 $(SRC)/dispextern.h \
1176 $(SRC)/termhooks.h \
1180 $(BLD)/print.$(O) : \
1183 $(EMACS_ROOT)/nt/inc/unistd.h \
1184 $(EMACS_ROOT)/nt/inc/sys/time.h \
1187 $(SRC)/blockinput.h \
1190 $(SRC)/character.h \
1193 $(SRC)/composite.h \
1194 $(SRC)/dispextern.h \
1197 $(SRC)/intervals.h \
1202 $(SRC)/termhooks.h \
1206 $(BLD)/process.$(O) : \
1209 $(EMACS_ROOT)/nt/inc/netdb.h \
1210 $(EMACS_ROOT)/nt/inc/unistd.h \
1211 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1212 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1213 $(EMACS_ROOT)/nt/inc/sys/file.h \
1214 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1215 $(EMACS_ROOT)/nt/inc/sys/time.h \
1218 $(SRC)/blockinput.h \
1220 $(SRC)/character.h \
1223 $(SRC)/composite.h \
1224 $(SRC)/dispextern.h \
1228 $(SRC)/sysselect.h \
1229 $(SRC)/syssignal.h \
1233 $(SRC)/termhooks.h \
1239 $(BLD)/ralloc.$(O) : \
1242 $(EMACS_ROOT)/nt/inc/unistd.h \
1243 $(EMACS_ROOT)/nt/inc/sys/time.h \
1246 $(SRC)/blockinput.h \
1247 $(SRC)/getpagesize.h \
1250 $(BLD)/regex.$(O) : \
1256 $(SRC)/character.h \
1260 $(BLD)/region-cache.$(O) : \
1261 $(SRC)/region-cache.c \
1265 $(SRC)/region-cache.h
1267 $(BLD)/scroll.$(O) : \
1270 $(EMACS_ROOT)/nt/inc/sys/time.h \
1273 $(SRC)/composite.h \
1274 $(SRC)/dispextern.h \
1279 $(SRC)/termhooks.h \
1283 $(BLD)/search.$(O) : \
1286 $(EMACS_ROOT)/nt/inc/sys/time.h \
1289 $(SRC)/blockinput.h \
1292 $(SRC)/character.h \
1295 $(SRC)/composite.h \
1296 $(SRC)/dispextern.h \
1297 $(SRC)/intervals.h \
1299 $(SRC)/region-cache.h \
1304 $(BLD)/sound.$(O) : \
1307 $(EMACS_ROOT)/nt/inc/unistd.h \
1308 $(EMACS_ROOT)/nt/inc/sys/time.h \
1311 $(SRC)/dispextern.h \
1312 $(SRC)/syssignal.h \
1316 $(BLD)/strftime.$(O) : \
1319 $(EMACS_ROOT)/nt/inc/sys/time.h
1321 $(BLD)/syntax.$(O) : \
1327 $(SRC)/character.h \
1329 $(SRC)/composite.h \
1330 $(SRC)/dispextern.h \
1331 $(SRC)/intervals.h \
1337 $(BLD)/sysdep.$(O) : \
1340 $(EMACS_ROOT)/nt/inc/grp.h \
1341 $(EMACS_ROOT)/nt/inc/netdb.h \
1342 $(EMACS_ROOT)/nt/inc/pwd.h \
1343 $(EMACS_ROOT)/nt/inc/unistd.h \
1344 $(EMACS_ROOT)/nt/inc/sys/file.h \
1345 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1346 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1347 $(EMACS_ROOT)/nt/inc/sys/time.h \
1350 $(SRC)/blockinput.h \
1353 $(SRC)/composite.h \
1354 $(SRC)/dispextern.h \
1358 $(SRC)/syssignal.h \
1363 $(SRC)/termhooks.h \
1369 $(BLD)/term.$(O) : \
1372 $(EMACS_ROOT)/nt/inc/unistd.h \
1373 $(EMACS_ROOT)/nt/inc/sys/file.h \
1374 $(EMACS_ROOT)/nt/inc/sys/time.h \
1377 $(SRC)/blockinput.h \
1379 $(SRC)/character.h \
1383 $(SRC)/composite.h \
1384 $(SRC)/dispextern.h \
1387 $(SRC)/intervals.h \
1390 $(SRC)/syssignal.h \
1394 $(SRC)/termhooks.h \
1399 $(BLD)/termcap.$(O) : \
1402 $(EMACS_ROOT)/nt/inc/unistd.h \
1403 $(EMACS_ROOT)/nt/inc/sys/file.h \
1406 $(BLD)/terminal.$(O) : \
1409 $(EMACS_ROOT)/nt/inc/sys/time.h \
1413 $(SRC)/composite.h \
1414 $(SRC)/dispextern.h \
1419 $(SRC)/termhooks.h \
1422 $(BLD)/textprop.$(O) : \
1427 $(SRC)/composite.h \
1428 $(SRC)/dispextern.h \
1429 $(SRC)/intervals.h \
1433 $(BLD)/tparam.$(O) : \
1438 $(BLD)/undo.$(O) : \
1444 $(SRC)/dispextern.h \
1448 $(BLD)/unexw32.$(O) : \
1453 $(BLD)/vm-limit.$(O) : \
1459 $(BLD)/window.$(O) : \
1462 $(EMACS_ROOT)/nt/inc/sys/time.h \
1465 $(SRC)/blockinput.h \
1469 $(SRC)/composite.h \
1470 $(SRC)/dispextern.h \
1474 $(SRC)/intervals.h \
1479 $(SRC)/termhooks.h \
1484 $(BLD)/xdisp.$(O) : \
1487 $(EMACS_ROOT)/nt/inc/unistd.h \
1488 $(EMACS_ROOT)/nt/inc/sys/time.h \
1491 $(SRC)/blockinput.h \
1494 $(SRC)/character.h \
1498 $(SRC)/composite.h \
1499 $(SRC)/dispextern.h \
1505 $(SRC)/intervals.h \
1510 $(SRC)/region-cache.h \
1513 $(SRC)/termhooks.h \
1518 $(BLD)/xfaces.$(O) : \
1521 $(EMACS_ROOT)/nt/inc/sys/time.h \
1524 $(SRC)/blockinput.h \
1527 $(SRC)/character.h \
1530 $(SRC)/composite.h \
1531 $(SRC)/dispextern.h \
1535 $(SRC)/intervals.h \
1539 $(SRC)/termhooks.h \
1544 $(BLD)/w32fns.$(O) : \
1547 $(EMACS_ROOT)/nt/inc/sys/time.h \
1550 $(SRC)/blockinput.h \
1553 $(SRC)/character.h \
1556 $(SRC)/composite.h \
1557 $(SRC)/dispextern.h \
1562 $(SRC)/intervals.h \
1565 $(SRC)/termhooks.h \
1572 $(BLD)/w32menu.$(O) : \
1575 $(EMACS_ROOT)/nt/inc/sys/time.h \
1578 $(SRC)/blockinput.h \
1580 $(SRC)/character.h \
1583 $(SRC)/composite.h \
1584 $(SRC)/dispextern.h \
1590 $(SRC)/termhooks.h \
1595 $(BLD)/w32term.$(O) : \
1598 $(EMACS_ROOT)/nt/inc/unistd.h \
1599 $(EMACS_ROOT)/nt/inc/sys/time.h \
1602 $(SRC)/blockinput.h \
1605 $(SRC)/character.h \
1608 $(SRC)/composite.h \
1609 $(SRC)/dispextern.h \
1614 $(SRC)/intervals.h \
1621 $(SRC)/termhooks.h \
1629 $(BLD)/w32select.$(O) : \
1630 $(SRC)/w32select.c \
1632 $(EMACS_ROOT)/nt/inc/sys/time.h \
1635 $(SRC)/blockinput.h \
1636 $(SRC)/character.h \
1639 $(SRC)/composite.h \
1646 $(BLD)/w32reg.$(O) : \
1649 $(EMACS_ROOT)/nt/inc/sys/time.h \
1652 $(SRC)/blockinput.h \
1657 $(BLD)/w32xfns.$(O) : \
1660 $(EMACS_ROOT)/nt/inc/sys/time.h \
1663 $(SRC)/blockinput.h \
1666 $(SRC)/composite.h \
1667 $(SRC)/dispextern.h \
1675 $(BLD)/w32font.$(O) : \
1680 $(SRC)/character.h \
1683 $(SRC)/composite.h \
1684 $(SRC)/dispextern.h \
1692 $(BLD)/w32uniscribe.$(O) : \
1693 $(SRC)/w32uniscribe.c \
1697 $(SRC)/character.h \
1699 $(SRC)/composite.h \
1700 $(SRC)/dispextern.h \
1708 # Each object file depends on stamp_BLD, because in parallel builds we must
1709 # make sure $(BLD) exists before starting compilations.
1711 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD