1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
3 # 2008, 2009, 2010 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) \
74 $(BLD)/filelock.$(O) \
75 $(BLD)/filemode.$(O) \
79 $(BLD)/keyboard.$(O) \
88 $(BLD)/w32inevt.$(O) \
90 $(BLD)/w32console.$(O) \
102 $(BLD)/unexw32.$(O) \
105 $(BLD)/casetab.$(O) \
106 $(BLD)/floatfns.$(O) \
108 $(BLD)/gmalloc.$(O) \
109 $(BLD)/intervals.$(O) \
110 $(BLD)/composite.$(O) \
112 $(BLD)/textprop.$(O) \
113 $(BLD)/vm-limit.$(O) \
114 $(BLD)/region-cache.$(O) \
115 $(BLD)/strftime.$(O) \
117 $(BLD)/charset.$(O) \
118 $(BLD)/character.$(O) \
119 $(BLD)/chartab.$(O) \
121 $(BLD)/category.$(O) \
124 $(BLD)/fontset.$(O) \
127 $(BLD)/terminal.$(O) \
130 WIN32OBJ = $(BLD)/w32term.$(O) \
131 $(BLD)/w32xfns.$(O) \
134 $(BLD)/w32select.$(O) \
135 $(BLD)/w32menu.$(O) \
138 FONTOBJ = $(BLD)/w32font.$(O) $(BLD)/w32uniscribe.$(O)
158 # Build the executable and dump it.
163 # The dumped executable
165 emacs: stamp_BLD $(EMACS)
166 $(EMACS): $(DOC) $(TEMACS)
167 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
168 -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
171 # The undumped executable
172 # Note the extra post-link step to insert a static preload heap section.
173 # If preload runs out of memory, increase the last argument to addsection
174 # (it is the preload heap size in MB).
176 temacs: stamp_BLD $(TEMACS)
177 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
178 ../nt/$(BLD)/addsection.exe
179 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
180 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 21
182 # These omit firstfile.${O}, but there's no documentation in there
184 buildobj.h: $(SRC)/makefile.w32-in
185 $(MAKE) $(MFLAGS) make-buildobj-$(SHELLTYPE)
187 # Cannot have blanks between the backslash and the redirection
188 # characters, because CMD's `echo' will put them in buildobj.h.
190 echo #define BUILDOBJ ^"\> buildobj.h
191 echo $(OBJ0) \>> buildobj.h
192 echo $(OBJ1) \>> buildobj.h
193 echo $(WIN32OBJ) \>> buildobj.h
194 echo $(FONTOBJ) \>> buildobj.h
198 echo '#define BUILDOBJ $(DQUOTE)\' > buildobj.h
199 echo $(OBJ0) '\' >> buildobj.h
200 echo $(OBJ1) '\' >> buildobj.h
201 echo $(WIN32OBJ) '\' >> buildobj.h
202 echo $(FONTOBJ) '\' >> buildobj.h
203 echo '$(DQUOTE)' >> buildobj.h
205 bootstrap: bootstrap-emacs
208 # Build a temacs with a sufficiently large PURESIZE to load the
209 # Lisp files from loadup.el in source form.
211 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
212 # this can break with GNU Make 3.81 and later if sh.exe is used.
214 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
217 # Dump an Emacs executable named bootstrap-emacs containing the
218 # files from loadup.el in source form.
220 bootstrap-emacs: bootstrap-temacs
221 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
223 $(CP) $(EMACS) ../bin
226 # Force recompile of files that depend on PURESIZE
229 - $(DEL) $(BLD)/alloc.$(O)
230 - $(DEL) $(BLD)/data.$(O)
231 - $(DEL) $(BLD)/intervals.$(O)
232 - $(DEL) $(BLD)/keyboard.$(O)
233 - $(DEL) $(BLD)/keymap.$(O)
236 # The resource file. NT 3.10 requires the use of cvtres; even though
237 # it is not necessary on later versions, it is still ok to use it.
239 $(TRES): ../nt/emacs.rc stamp_BLD
240 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
243 # Build the library. Split up the build into two phases...otherwise we
244 # run out of command line space.
248 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
251 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
252 $(TLIBW32): $(WIN32OBJ) $(FONTOBJ)
254 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
257 # Place lastfile.$(O) in its own library so that it can be loaded after
258 # the source libraries but before any system libraries. Doing so defines
259 # the end of Emacs' data section portably across compilers and systems.
261 $(TLASTLIB): $(BLD)/lastfile.$(O)
263 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
266 # Assuming INSTALL_DIR is defined, build and install emacs in it.
269 - mkdir "$(INSTALL_DIR)/bin"
270 $(CP) $(EMACS) $(INSTALL_DIR)/bin
275 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
276 # remove precious files if it happens to match their short 8+3 aliases.
278 - $(DEL) "s/*.h~" "m/*.h~"
279 - $(DEL) $(COMPILER_TEMP_FILES)
280 - $(DEL_TREE) $(OBJDIR)
285 - $(DEL) config.h epaths.h Makefile
287 maintainer-clean: distclean
292 - $(DEL_TREE) obj-spd
299 CONFIG_H = $(EMACS_ROOT)/src/s/ms-w32.h \
300 $(EMACS_ROOT)/src/m/intel386.h \
301 $(EMACS_ROOT)/src/config.h \
302 $(EMACS_ROOT)/nt/inc/sys/stat.h
304 $(BLD)/alloc.$(O) : \
307 $(EMACS_ROOT)/nt/inc/unistd.h \
308 $(EMACS_ROOT)/nt/inc/sys/time.h \
311 $(SRC)/blockinput.h \
316 $(SRC)/dispextern.h \
329 $(BLD)/atimer.$(O) : \
332 $(EMACS_ROOT)/nt/inc/unistd.h \
333 $(EMACS_ROOT)/nt/inc/sys/time.h \
336 $(SRC)/blockinput.h \
344 $(SRC)/bidimirror.h \
348 $(SRC)/dispextern.h \
351 $(BLD)/buffer.$(O) : \
354 $(EMACS_ROOT)/nt/inc/unistd.h \
355 $(EMACS_ROOT)/nt/inc/sys/param.h \
356 $(EMACS_ROOT)/nt/inc/sys/time.h \
359 $(SRC)/blockinput.h \
365 $(SRC)/dispextern.h \
371 $(SRC)/region-cache.h \
376 $(BLD)/bytecode.$(O) : \
382 $(SRC)/dispextern.h \
387 $(BLD)/callint.$(O) : \
390 $(EMACS_ROOT)/nt/inc/sys/time.h \
396 $(SRC)/dispextern.h \
403 $(BLD)/callproc.$(O) : \
406 $(EMACS_ROOT)/nt/inc/unistd.h \
407 $(EMACS_ROOT)/nt/inc/sys/file.h \
408 $(EMACS_ROOT)/nt/inc/sys/time.h \
411 $(SRC)/blockinput.h \
418 $(SRC)/dispextern.h \
429 $(BLD)/casefiddle.$(O) : \
430 $(SRC)/casefiddle.c \
440 $(BLD)/casetab.$(O) : \
447 $(BLD)/category.$(O) : \
467 $(BLD)/character.$(O) : \
477 $(BLD)/charset.$(O) : \
480 $(EMACS_ROOT)/nt/inc/unistd.h \
489 $(BLD)/chartab.$(O) : \
500 $(EMACS_ROOT)/nt/inc/sys/time.h \
507 $(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 \
707 $(BLD)/fileio.$(O) : \
710 $(EMACS_ROOT)/nt/inc/pwd.h \
711 $(EMACS_ROOT)/nt/inc/unistd.h \
712 $(EMACS_ROOT)/nt/inc/sys/time.h \
715 $(SRC)/blockinput.h \
721 $(SRC)/dispextern.h \
728 $(BLD)/filelock.$(O) : \
731 $(EMACS_ROOT)/nt/inc/pwd.h \
732 $(EMACS_ROOT)/nt/inc/unistd.h \
733 $(EMACS_ROOT)/nt/inc/sys/file.h \
734 $(EMACS_ROOT)/nt/inc/sys/time.h \
742 $(BLD)/filemode.$(O) : \
746 $(BLD)/firstfile.$(O) : \
750 $(BLD)/floatfns.$(O) : \
759 $(EMACS_ROOT)/nt/inc/langinfo.h \
760 $(EMACS_ROOT)/nt/inc/nl_types.h \
761 $(EMACS_ROOT)/nt/inc/unistd.h \
762 $(EMACS_ROOT)/nt/inc/sys/time.h \
765 $(SRC)/blockinput.h \
771 $(SRC)/dispextern.h \
790 $(SRC)/dispextern.h \
798 $(BLD)/fontset.$(O) : \
801 $(EMACS_ROOT)/nt/inc/sys/time.h \
804 $(SRC)/blockinput.h \
811 $(SRC)/dispextern.h \
823 $(BLD)/frame.$(O) : \
826 $(EMACS_ROOT)/nt/inc/sys/time.h \
829 $(SRC)/blockinput.h \
836 $(SRC)/dispextern.h \
848 $(BLD)/fringe.$(O) : \
851 $(EMACS_ROOT)/nt/inc/sys/time.h \
854 $(SRC)/blockinput.h \
856 $(SRC)/dispextern.h \
863 $(BLD)/gmalloc.$(O) : \
866 $(EMACS_ROOT)/nt/inc/unistd.h \
869 $(BLD)/image.$(O) : \
872 $(EMACS_ROOT)/nt/inc/unistd.h \
873 $(EMACS_ROOT)/nt/inc/sys/time.h \
876 $(SRC)/blockinput.h \
881 $(SRC)/dispextern.h \
891 $(BLD)/indent.$(O) : \
894 $(EMACS_ROOT)/nt/inc/sys/time.h \
901 $(SRC)/dispextern.h \
907 $(SRC)/region-cache.h \
914 $(BLD)/insdel.$(O) : \
917 $(EMACS_ROOT)/nt/inc/sys/time.h \
920 $(SRC)/blockinput.h \
924 $(SRC)/dispextern.h \
926 $(SRC)/region-cache.h \
931 $(BLD)/intervals.$(O) : \
934 $(EMACS_ROOT)/nt/inc/sys/time.h \
939 $(SRC)/dispextern.h \
947 $(BLD)/keyboard.$(O) : \
950 $(EMACS_ROOT)/nt/inc/unistd.h \
951 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
952 $(EMACS_ROOT)/nt/inc/sys/time.h \
955 $(SRC)/blockinput.h \
961 $(SRC)/dispextern.h \
980 $(BLD)/keymap.$(O) : \
983 $(EMACS_ROOT)/nt/inc/sys/time.h \
986 $(SRC)/blockinput.h \
993 $(SRC)/dispextern.h \
1000 $(SRC)/termhooks.h \
1004 $(BLD)/lastfile.$(O) : \
1008 $(BLD)/lread.$(O) : \
1011 $(EMACS_ROOT)/nt/inc/unistd.h \
1012 $(EMACS_ROOT)/nt/inc/sys/file.h \
1013 $(EMACS_ROOT)/nt/inc/sys/time.h \
1016 $(SRC)/blockinput.h \
1018 $(SRC)/character.h \
1022 $(SRC)/composite.h \
1023 $(SRC)/dispextern.h \
1026 $(SRC)/intervals.h \
1029 $(SRC)/termhooks.h \
1032 $(BLD)/macros.$(O) : \
1035 $(EMACS_ROOT)/nt/inc/sys/time.h \
1040 $(SRC)/composite.h \
1041 $(SRC)/dispextern.h \
1048 $(BLD)/marker.$(O) : \
1060 $(BLD)/menu.$(O) : \
1063 $(EMACS_ROOT)/nt/inc/sys/time.h \
1066 $(SRC)/blockinput.h \
1068 $(SRC)/composite.h \
1069 $(SRC)/dispextern.h \
1075 $(SRC)/termhooks.h \
1080 $(BLD)/minibuf.$(O) : \
1083 $(EMACS_ROOT)/nt/inc/sys/time.h \
1086 $(SRC)/character.h \
1089 $(SRC)/composite.h \
1090 $(SRC)/dispextern.h \
1092 $(SRC)/intervals.h \
1097 $(SRC)/termhooks.h \
1104 $(EMACS_ROOT)/nt/inc/grp.h \
1105 $(EMACS_ROOT)/nt/inc/pwd.h \
1106 $(EMACS_ROOT)/nt/inc/unistd.h \
1107 $(EMACS_ROOT)/nt/inc/sys/file.h \
1108 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1109 $(EMACS_ROOT)/nt/inc/sys/time.h \
1112 $(SRC)/composite.h \
1113 $(SRC)/dispextern.h \
1121 $(BLD)/w32heap.$(O) : \
1127 $(BLD)/w32inevt.$(O) : \
1130 $(EMACS_ROOT)/nt/inc/sys/time.h \
1133 $(SRC)/blockinput.h \
1135 $(SRC)/composite.h \
1136 $(SRC)/dispextern.h \
1140 $(SRC)/termhooks.h \
1145 $(BLD)/w32proc.$(O) : \
1148 $(EMACS_ROOT)/nt/inc/langinfo.h \
1149 $(EMACS_ROOT)/nt/inc/nl_types.h \
1150 $(EMACS_ROOT)/nt/inc/unistd.h \
1151 $(EMACS_ROOT)/nt/inc/sys/file.h \
1152 $(EMACS_ROOT)/nt/inc/sys/time.h \
1154 $(SRC)/character.h \
1156 $(SRC)/composite.h \
1157 $(SRC)/dispextern.h \
1159 $(SRC)/syssignal.h \
1167 $(BLD)/w32console.$(O) : \
1168 $(SRC)/w32console.c \
1171 $(SRC)/character.h \
1173 $(SRC)/composite.h \
1174 $(SRC)/dispextern.h \
1178 $(SRC)/termhooks.h \
1182 $(BLD)/print.$(O) : \
1185 $(EMACS_ROOT)/nt/inc/unistd.h \
1186 $(EMACS_ROOT)/nt/inc/sys/time.h \
1189 $(SRC)/blockinput.h \
1192 $(SRC)/character.h \
1195 $(SRC)/composite.h \
1196 $(SRC)/dispextern.h \
1199 $(SRC)/intervals.h \
1204 $(SRC)/termhooks.h \
1208 $(BLD)/process.$(O) : \
1211 $(EMACS_ROOT)/nt/inc/netdb.h \
1212 $(EMACS_ROOT)/nt/inc/unistd.h \
1213 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1214 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1215 $(EMACS_ROOT)/nt/inc/sys/file.h \
1216 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1217 $(EMACS_ROOT)/nt/inc/sys/time.h \
1220 $(SRC)/blockinput.h \
1222 $(SRC)/character.h \
1225 $(SRC)/composite.h \
1226 $(SRC)/dispextern.h \
1230 $(SRC)/sysselect.h \
1231 $(SRC)/syssignal.h \
1235 $(SRC)/termhooks.h \
1241 $(BLD)/ralloc.$(O) : \
1244 $(EMACS_ROOT)/nt/inc/unistd.h \
1245 $(EMACS_ROOT)/nt/inc/sys/time.h \
1248 $(SRC)/blockinput.h \
1249 $(SRC)/getpagesize.h \
1252 $(BLD)/regex.$(O) : \
1258 $(SRC)/character.h \
1262 $(BLD)/region-cache.$(O) : \
1263 $(SRC)/region-cache.c \
1267 $(SRC)/region-cache.h
1269 $(BLD)/scroll.$(O) : \
1272 $(EMACS_ROOT)/nt/inc/sys/time.h \
1275 $(SRC)/composite.h \
1276 $(SRC)/dispextern.h \
1281 $(SRC)/termhooks.h \
1285 $(BLD)/search.$(O) : \
1288 $(EMACS_ROOT)/nt/inc/sys/time.h \
1291 $(SRC)/blockinput.h \
1294 $(SRC)/character.h \
1297 $(SRC)/composite.h \
1298 $(SRC)/dispextern.h \
1299 $(SRC)/intervals.h \
1301 $(SRC)/region-cache.h \
1306 $(BLD)/sound.$(O) : \
1309 $(EMACS_ROOT)/nt/inc/unistd.h \
1310 $(EMACS_ROOT)/nt/inc/sys/time.h \
1313 $(SRC)/dispextern.h \
1314 $(SRC)/syssignal.h \
1318 $(BLD)/strftime.$(O) : \
1321 $(EMACS_ROOT)/nt/inc/sys/time.h
1323 $(BLD)/syntax.$(O) : \
1329 $(SRC)/character.h \
1331 $(SRC)/composite.h \
1332 $(SRC)/dispextern.h \
1333 $(SRC)/intervals.h \
1339 $(BLD)/sysdep.$(O) : \
1342 $(EMACS_ROOT)/nt/inc/grp.h \
1343 $(EMACS_ROOT)/nt/inc/netdb.h \
1344 $(EMACS_ROOT)/nt/inc/pwd.h \
1345 $(EMACS_ROOT)/nt/inc/unistd.h \
1346 $(EMACS_ROOT)/nt/inc/sys/file.h \
1347 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1348 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1349 $(EMACS_ROOT)/nt/inc/sys/time.h \
1352 $(SRC)/blockinput.h \
1355 $(SRC)/composite.h \
1356 $(SRC)/dispextern.h \
1360 $(SRC)/syssignal.h \
1365 $(SRC)/termhooks.h \
1371 $(BLD)/term.$(O) : \
1374 $(EMACS_ROOT)/nt/inc/unistd.h \
1375 $(EMACS_ROOT)/nt/inc/sys/file.h \
1376 $(EMACS_ROOT)/nt/inc/sys/time.h \
1379 $(SRC)/blockinput.h \
1381 $(SRC)/character.h \
1385 $(SRC)/composite.h \
1386 $(SRC)/dispextern.h \
1389 $(SRC)/intervals.h \
1392 $(SRC)/syssignal.h \
1396 $(SRC)/termhooks.h \
1401 $(BLD)/terminal.$(O) : \
1404 $(EMACS_ROOT)/nt/inc/sys/time.h \
1408 $(SRC)/composite.h \
1409 $(SRC)/dispextern.h \
1414 $(SRC)/termhooks.h \
1417 $(BLD)/textprop.$(O) : \
1422 $(SRC)/composite.h \
1423 $(SRC)/dispextern.h \
1424 $(SRC)/intervals.h \
1428 $(BLD)/tparam.$(O) : \
1433 $(BLD)/undo.$(O) : \
1439 $(SRC)/dispextern.h \
1443 $(BLD)/unexw32.$(O) : \
1448 $(BLD)/vm-limit.$(O) : \
1454 $(BLD)/window.$(O) : \
1457 $(EMACS_ROOT)/nt/inc/sys/time.h \
1460 $(SRC)/blockinput.h \
1464 $(SRC)/composite.h \
1465 $(SRC)/dispextern.h \
1469 $(SRC)/intervals.h \
1474 $(SRC)/termhooks.h \
1479 $(BLD)/xdisp.$(O) : \
1482 $(EMACS_ROOT)/nt/inc/unistd.h \
1483 $(EMACS_ROOT)/nt/inc/sys/time.h \
1486 $(SRC)/blockinput.h \
1489 $(SRC)/character.h \
1493 $(SRC)/composite.h \
1494 $(SRC)/dispextern.h \
1500 $(SRC)/intervals.h \
1505 $(SRC)/region-cache.h \
1508 $(SRC)/termhooks.h \
1513 $(BLD)/xfaces.$(O) : \
1516 $(EMACS_ROOT)/nt/inc/sys/time.h \
1519 $(SRC)/blockinput.h \
1522 $(SRC)/character.h \
1525 $(SRC)/composite.h \
1526 $(SRC)/dispextern.h \
1530 $(SRC)/intervals.h \
1534 $(SRC)/termhooks.h \
1539 $(BLD)/w32fns.$(O) : \
1542 $(EMACS_ROOT)/nt/inc/sys/time.h \
1545 $(SRC)/blockinput.h \
1548 $(SRC)/character.h \
1551 $(SRC)/composite.h \
1552 $(SRC)/dispextern.h \
1557 $(SRC)/intervals.h \
1560 $(SRC)/termhooks.h \
1568 $(BLD)/w32menu.$(O) : \
1571 $(EMACS_ROOT)/nt/inc/sys/time.h \
1574 $(SRC)/blockinput.h \
1576 $(SRC)/character.h \
1579 $(SRC)/composite.h \
1580 $(SRC)/dispextern.h \
1586 $(SRC)/termhooks.h \
1591 $(BLD)/w32term.$(O) : \
1594 $(EMACS_ROOT)/nt/inc/unistd.h \
1595 $(EMACS_ROOT)/nt/inc/sys/time.h \
1598 $(SRC)/blockinput.h \
1601 $(SRC)/character.h \
1604 $(SRC)/composite.h \
1605 $(SRC)/dispextern.h \
1610 $(SRC)/intervals.h \
1617 $(SRC)/termhooks.h \
1625 $(BLD)/w32select.$(O) : \
1626 $(SRC)/w32select.c \
1628 $(EMACS_ROOT)/nt/inc/sys/time.h \
1631 $(SRC)/blockinput.h \
1632 $(SRC)/character.h \
1635 $(SRC)/composite.h \
1642 $(BLD)/w32reg.$(O) : \
1645 $(EMACS_ROOT)/nt/inc/sys/time.h \
1648 $(SRC)/blockinput.h \
1653 $(BLD)/w32xfns.$(O) : \
1656 $(EMACS_ROOT)/nt/inc/sys/time.h \
1659 $(SRC)/blockinput.h \
1662 $(SRC)/composite.h \
1663 $(SRC)/dispextern.h \
1671 $(BLD)/w32font.$(O) : \
1676 $(SRC)/character.h \
1679 $(SRC)/composite.h \
1680 $(SRC)/dispextern.h \
1688 $(BLD)/w32uniscribe.$(O) : \
1689 $(SRC)/w32uniscribe.c \
1693 $(SRC)/character.h \
1695 $(SRC)/composite.h \
1696 $(SRC)/dispextern.h \
1704 # Each object file depends on stamp_BLD, because in parallel builds we must
1705 # make sure $(BLD) exists before starting compilations.
1707 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD