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 $(SRC)/buildobj.h: $(SRC)/makefile.w32-in
186 $(MAKE) $(MFLAGS) make-buildobj-$(SHELLTYPE)
189 echo #define BUILDOBJ ^"\> $(SRC)/buildobj.h
190 echo $(OBJ0) \>> $(SRC)/buildobj.h
191 echo $(OBJ1) \>> $(SRC)/buildobj.h
192 echo $(WIN32OBJ) \>> $(SRC)/buildobj.h
193 echo $(FONTOBJ) \>> $(SRC)/buildobj.h
194 echo ^">> $(SRC)/buildobj.h
197 echo '#define BUILDOBJ $(DQUOTE)\' > $(SRC)/buildobj.h
198 echo $(OBJ0) '\' >> $(SRC)/buildobj.h
199 echo $(OBJ1) '\' >> $(SRC)/buildobj.h
200 echo $(WIN32OBJ) '\' >> $(SRC)/buildobj.h
201 echo $(FONTOBJ) '\' >> $(SRC)/buildobj.h
202 echo '$(DQUOTE)' >> $(SRC)/buildobj.h
204 bootstrap: bootstrap-emacs
207 # Build a temacs with a sufficiently large PURESIZE to load the
208 # Lisp files from loadup.el in source form.
210 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
211 # this can break with GNU Make 3.81 and later if sh.exe is used.
213 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
216 # Dump an Emacs executable named bootstrap-emacs containing the
217 # files from loadup.el in source form.
219 bootstrap-emacs: bootstrap-temacs
220 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
222 $(CP) $(EMACS) ../bin
225 # Force recompile of files that depend on PURESIZE
228 - $(DEL) $(BLD)/alloc.$(O)
229 - $(DEL) $(BLD)/data.$(O)
230 - $(DEL) $(BLD)/intervals.$(O)
231 - $(DEL) $(BLD)/keyboard.$(O)
232 - $(DEL) $(BLD)/keymap.$(O)
235 # The resource file. NT 3.10 requires the use of cvtres; even though
236 # it is not necessary on later versions, it is still ok to use it.
238 $(TRES): ../nt/emacs.rc stamp_BLD
239 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
242 # Build the library. Split up the build into two phases...otherwise we
243 # run out of command line space.
247 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
250 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
251 $(TLIBW32): $(WIN32OBJ) $(FONTOBJ)
253 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
256 # Place lastfile.$(O) in its own library so that it can be loaded after
257 # the source libraries but before any system libraries. Doing so defines
258 # the end of Emacs' data section portably across compilers and systems.
260 $(TLASTLIB): $(BLD)/lastfile.$(O)
262 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
265 # Assuming INSTALL_DIR is defined, build and install emacs in it.
268 - mkdir "$(INSTALL_DIR)/bin"
269 $(CP) $(EMACS) $(INSTALL_DIR)/bin
274 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
275 # remove precious files if it happens to match their short 8+3 aliases.
277 - $(DEL) "s/*.h~" "m/*.h~"
278 - $(DEL) $(COMPILER_TEMP_FILES)
279 - $(DEL_TREE) $(OBJDIR)
283 - $(DEL) config.h epaths.h Makefile
285 maintainer-clean: distclean
290 - $(DEL_TREE) obj-spd
297 CONFIG_H = $(EMACS_ROOT)/src/s/ms-w32.h \
298 $(EMACS_ROOT)/src/m/intel386.h \
299 $(EMACS_ROOT)/src/config.h \
300 $(EMACS_ROOT)/nt/inc/sys/stat.h
302 $(BLD)/alloc.$(O) : \
305 $(EMACS_ROOT)/nt/inc/unistd.h \
306 $(EMACS_ROOT)/nt/inc/sys/time.h \
308 $(SRC)/blockinput.h \
313 $(SRC)/dispextern.h \
326 $(BLD)/atimer.$(O) : \
329 $(EMACS_ROOT)/nt/inc/unistd.h \
330 $(EMACS_ROOT)/nt/inc/sys/time.h \
332 $(SRC)/blockinput.h \
336 $(BLD)/buffer.$(O) : \
339 $(EMACS_ROOT)/nt/inc/unistd.h \
340 $(EMACS_ROOT)/nt/inc/sys/param.h \
341 $(EMACS_ROOT)/nt/inc/sys/time.h \
343 $(SRC)/blockinput.h \
349 $(SRC)/dispextern.h \
355 $(SRC)/region-cache.h \
360 $(BLD)/bytecode.$(O) : \
365 $(SRC)/dispextern.h \
370 $(BLD)/callint.$(O) : \
373 $(EMACS_ROOT)/nt/inc/sys/time.h \
378 $(SRC)/dispextern.h \
385 $(BLD)/callproc.$(O) : \
388 $(EMACS_ROOT)/nt/inc/unistd.h \
389 $(EMACS_ROOT)/nt/inc/sys/file.h \
390 $(EMACS_ROOT)/nt/inc/sys/time.h \
392 $(SRC)/blockinput.h \
399 $(SRC)/dispextern.h \
410 $(BLD)/casefiddle.$(O) : \
411 $(SRC)/casefiddle.c \
420 $(BLD)/casetab.$(O) : \
426 $(BLD)/category.$(O) : \
444 $(BLD)/character.$(O) : \
453 $(BLD)/charset.$(O) : \
456 $(EMACS_ROOT)/nt/inc/unistd.h \
464 $(BLD)/chartab.$(O) : \
475 $(SRC)/dispextern.h \
484 $(EMACS_ROOT)/nt/inc/sys/time.h \
490 $(SRC)/dispextern.h \
498 $(BLD)/coding.$(O) : \
507 $(SRC)/dispextern.h \
513 $(BLD)/composite.$(O) : \
521 $(SRC)/dispextern.h \
532 $(EMACS_ROOT)/nt/inc/sys/time.h \
538 $(SRC)/dispextern.h \
548 $(BLD)/dired.$(O) : \
551 $(EMACS_ROOT)/nt/inc/grp.h \
552 $(EMACS_ROOT)/nt/inc/pwd.h \
553 $(EMACS_ROOT)/nt/inc/unistd.h \
554 $(EMACS_ROOT)/nt/inc/sys/dir.h \
555 $(EMACS_ROOT)/nt/inc/sys/time.h \
557 $(SRC)/blockinput.h \
568 $(BLD)/dispnew.$(O) : \
571 $(EMACS_ROOT)/nt/inc/unistd.h \
572 $(EMACS_ROOT)/nt/inc/sys/time.h \
574 $(SRC)/blockinput.h \
581 $(SRC)/dispextern.h \
601 $(EMACS_ROOT)/nt/inc/unistd.h \
602 $(EMACS_ROOT)/nt/inc/sys/file.h \
603 $(EMACS_ROOT)/nt/inc/sys/time.h \
612 $(BLD)/doprnt.$(O) : \
615 $(EMACS_ROOT)/nt/inc/unistd.h \
618 $(BLD)/editfns.$(O) : \
621 $(EMACS_ROOT)/nt/inc/pwd.h \
622 $(EMACS_ROOT)/nt/inc/unistd.h \
623 $(EMACS_ROOT)/nt/inc/sys/time.h \
625 $(SRC)/blockinput.h \
630 $(SRC)/dispextern.h \
637 $(BLD)/emacs.$(O) : \
640 $(EMACS_ROOT)/nt/inc/unistd.h \
641 $(EMACS_ROOT)/nt/inc/sys/file.h \
642 $(EMACS_ROOT)/nt/inc/sys/time.h \
644 $(SRC)/blockinput.h \
649 $(SRC)/dispextern.h \
667 $(EMACS_ROOT)/nt/inc/sys/time.h \
669 $(SRC)/blockinput.h \
673 $(SRC)/dispextern.h \
678 $(BLD)/fileio.$(O) : \
681 $(EMACS_ROOT)/nt/inc/pwd.h \
682 $(EMACS_ROOT)/nt/inc/unistd.h \
683 $(EMACS_ROOT)/nt/inc/sys/time.h \
685 $(SRC)/blockinput.h \
691 $(SRC)/dispextern.h \
698 $(BLD)/filelock.$(O) : \
701 $(EMACS_ROOT)/nt/inc/pwd.h \
702 $(EMACS_ROOT)/nt/inc/unistd.h \
703 $(EMACS_ROOT)/nt/inc/sys/file.h \
704 $(EMACS_ROOT)/nt/inc/sys/time.h \
711 $(BLD)/filemode.$(O) : \
715 $(BLD)/firstfile.$(O) : \
719 $(BLD)/floatfns.$(O) : \
727 $(EMACS_ROOT)/nt/inc/langinfo.h \
728 $(EMACS_ROOT)/nt/inc/nl_types.h \
729 $(EMACS_ROOT)/nt/inc/unistd.h \
730 $(EMACS_ROOT)/nt/inc/sys/time.h \
732 $(SRC)/blockinput.h \
738 $(SRC)/dispextern.h \
756 $(SRC)/dispextern.h \
764 $(BLD)/fontset.$(O) : \
767 $(EMACS_ROOT)/nt/inc/sys/time.h \
769 $(SRC)/blockinput.h \
776 $(SRC)/dispextern.h \
788 $(BLD)/frame.$(O) : \
791 $(EMACS_ROOT)/nt/inc/sys/time.h \
793 $(SRC)/blockinput.h \
800 $(SRC)/dispextern.h \
812 $(BLD)/fringe.$(O) : \
815 $(EMACS_ROOT)/nt/inc/sys/time.h \
817 $(SRC)/blockinput.h \
819 $(SRC)/dispextern.h \
826 $(BLD)/gmalloc.$(O) : \
829 $(EMACS_ROOT)/nt/inc/unistd.h \
832 $(BLD)/image.$(O) : \
835 $(EMACS_ROOT)/nt/inc/unistd.h \
836 $(EMACS_ROOT)/nt/inc/sys/time.h \
838 $(SRC)/blockinput.h \
843 $(SRC)/dispextern.h \
853 $(BLD)/indent.$(O) : \
856 $(EMACS_ROOT)/nt/inc/sys/time.h \
862 $(SRC)/dispextern.h \
868 $(SRC)/region-cache.h \
875 $(BLD)/insdel.$(O) : \
878 $(EMACS_ROOT)/nt/inc/sys/time.h \
880 $(SRC)/blockinput.h \
884 $(SRC)/dispextern.h \
886 $(SRC)/region-cache.h \
891 $(BLD)/intervals.$(O) : \
894 $(EMACS_ROOT)/nt/inc/sys/time.h \
898 $(SRC)/dispextern.h \
906 $(BLD)/keyboard.$(O) : \
909 $(EMACS_ROOT)/nt/inc/unistd.h \
910 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
911 $(EMACS_ROOT)/nt/inc/sys/time.h \
913 $(SRC)/blockinput.h \
919 $(SRC)/dispextern.h \
937 $(BLD)/keymap.$(O) : \
940 $(EMACS_ROOT)/nt/inc/sys/time.h \
942 $(SRC)/blockinput.h \
949 $(SRC)/dispextern.h \
960 $(BLD)/lastfile.$(O) : \
964 $(BLD)/lread.$(O) : \
967 $(EMACS_ROOT)/nt/inc/unistd.h \
968 $(EMACS_ROOT)/nt/inc/sys/file.h \
969 $(EMACS_ROOT)/nt/inc/sys/time.h \
971 $(SRC)/blockinput.h \
978 $(SRC)/dispextern.h \
987 $(BLD)/macros.$(O) : \
990 $(EMACS_ROOT)/nt/inc/sys/time.h \
995 $(SRC)/dispextern.h \
1002 $(BLD)/marker.$(O) : \
1013 $(BLD)/menu.$(O) : \
1016 $(EMACS_ROOT)/nt/inc/sys/time.h \
1018 $(SRC)/blockinput.h \
1020 $(SRC)/composite.h \
1021 $(SRC)/dispextern.h \
1027 $(SRC)/termhooks.h \
1031 $(BLD)/minibuf.$(O) : \
1034 $(EMACS_ROOT)/nt/inc/sys/time.h \
1036 $(SRC)/character.h \
1039 $(SRC)/composite.h \
1040 $(SRC)/dispextern.h \
1042 $(SRC)/intervals.h \
1047 $(SRC)/termhooks.h \
1054 $(EMACS_ROOT)/nt/inc/grp.h \
1055 $(EMACS_ROOT)/nt/inc/pwd.h \
1056 $(EMACS_ROOT)/nt/inc/unistd.h \
1057 $(EMACS_ROOT)/nt/inc/sys/file.h \
1058 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1059 $(EMACS_ROOT)/nt/inc/sys/time.h \
1061 $(SRC)/composite.h \
1062 $(SRC)/dispextern.h \
1070 $(BLD)/w32heap.$(O) : \
1075 $(BLD)/w32inevt.$(O) : \
1078 $(EMACS_ROOT)/nt/inc/sys/time.h \
1080 $(SRC)/blockinput.h \
1082 $(SRC)/composite.h \
1083 $(SRC)/dispextern.h \
1087 $(SRC)/termhooks.h \
1092 $(BLD)/w32proc.$(O) : \
1095 $(EMACS_ROOT)/nt/inc/langinfo.h \
1096 $(EMACS_ROOT)/nt/inc/nl_types.h \
1097 $(EMACS_ROOT)/nt/inc/unistd.h \
1098 $(EMACS_ROOT)/nt/inc/sys/file.h \
1099 $(EMACS_ROOT)/nt/inc/sys/time.h \
1100 $(SRC)/character.h \
1102 $(SRC)/composite.h \
1103 $(SRC)/dispextern.h \
1105 $(SRC)/syssignal.h \
1113 $(BLD)/w32console.$(O) : \
1114 $(SRC)/w32console.c \
1116 $(SRC)/character.h \
1118 $(SRC)/composite.h \
1119 $(SRC)/dispextern.h \
1123 $(SRC)/termhooks.h \
1127 $(BLD)/print.$(O) : \
1130 $(EMACS_ROOT)/nt/inc/unistd.h \
1131 $(EMACS_ROOT)/nt/inc/sys/time.h \
1133 $(SRC)/blockinput.h \
1136 $(SRC)/character.h \
1139 $(SRC)/composite.h \
1140 $(SRC)/dispextern.h \
1143 $(SRC)/intervals.h \
1148 $(SRC)/termhooks.h \
1152 $(BLD)/process.$(O) : \
1155 $(EMACS_ROOT)/nt/inc/netdb.h \
1156 $(EMACS_ROOT)/nt/inc/unistd.h \
1157 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1158 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1159 $(EMACS_ROOT)/nt/inc/sys/file.h \
1160 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1161 $(EMACS_ROOT)/nt/inc/sys/time.h \
1163 $(SRC)/blockinput.h \
1165 $(SRC)/character.h \
1168 $(SRC)/composite.h \
1169 $(SRC)/dispextern.h \
1173 $(SRC)/sysselect.h \
1174 $(SRC)/syssignal.h \
1178 $(SRC)/termhooks.h \
1184 $(BLD)/ralloc.$(O) : \
1187 $(EMACS_ROOT)/nt/inc/unistd.h \
1188 $(EMACS_ROOT)/nt/inc/sys/time.h \
1190 $(SRC)/blockinput.h \
1191 $(SRC)/getpagesize.h \
1194 $(BLD)/regex.$(O) : \
1199 $(SRC)/character.h \
1203 $(BLD)/region-cache.$(O) : \
1204 $(SRC)/region-cache.c \
1207 $(SRC)/region-cache.h
1209 $(BLD)/scroll.$(O) : \
1212 $(EMACS_ROOT)/nt/inc/sys/time.h \
1214 $(SRC)/composite.h \
1215 $(SRC)/dispextern.h \
1220 $(SRC)/termhooks.h \
1224 $(BLD)/search.$(O) : \
1227 $(EMACS_ROOT)/nt/inc/sys/time.h \
1229 $(SRC)/blockinput.h \
1232 $(SRC)/character.h \
1235 $(SRC)/composite.h \
1236 $(SRC)/dispextern.h \
1237 $(SRC)/intervals.h \
1239 $(SRC)/region-cache.h \
1244 $(BLD)/sound.$(O) : \
1247 $(EMACS_ROOT)/nt/inc/unistd.h \
1248 $(EMACS_ROOT)/nt/inc/sys/time.h \
1250 $(SRC)/dispextern.h \
1251 $(SRC)/syssignal.h \
1255 $(BLD)/strftime.$(O) : \
1258 $(EMACS_ROOT)/nt/inc/sys/time.h
1260 $(BLD)/syntax.$(O) : \
1265 $(SRC)/character.h \
1267 $(SRC)/composite.h \
1268 $(SRC)/dispextern.h \
1269 $(SRC)/intervals.h \
1275 $(BLD)/sysdep.$(O) : \
1278 $(EMACS_ROOT)/nt/inc/grp.h \
1279 $(EMACS_ROOT)/nt/inc/netdb.h \
1280 $(EMACS_ROOT)/nt/inc/pwd.h \
1281 $(EMACS_ROOT)/nt/inc/unistd.h \
1282 $(EMACS_ROOT)/nt/inc/sys/file.h \
1283 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1284 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1285 $(EMACS_ROOT)/nt/inc/sys/time.h \
1287 $(SRC)/blockinput.h \
1290 $(SRC)/composite.h \
1291 $(SRC)/dispextern.h \
1295 $(SRC)/syssignal.h \
1300 $(SRC)/termhooks.h \
1306 $(BLD)/term.$(O) : \
1309 $(EMACS_ROOT)/nt/inc/unistd.h \
1310 $(EMACS_ROOT)/nt/inc/sys/file.h \
1311 $(EMACS_ROOT)/nt/inc/sys/time.h \
1313 $(SRC)/blockinput.h \
1315 $(SRC)/character.h \
1319 $(SRC)/composite.h \
1320 $(SRC)/dispextern.h \
1323 $(SRC)/intervals.h \
1326 $(SRC)/syssignal.h \
1330 $(SRC)/termhooks.h \
1335 $(BLD)/termcap.$(O) : \
1338 $(EMACS_ROOT)/nt/inc/unistd.h \
1339 $(EMACS_ROOT)/nt/inc/sys/file.h
1341 $(BLD)/terminal.$(O) : \
1344 $(EMACS_ROOT)/nt/inc/sys/time.h \
1347 $(SRC)/composite.h \
1348 $(SRC)/dispextern.h \
1353 $(SRC)/termhooks.h \
1356 $(BLD)/textprop.$(O) : \
1360 $(SRC)/composite.h \
1361 $(SRC)/dispextern.h \
1362 $(SRC)/intervals.h \
1366 $(BLD)/tparam.$(O) : \
1370 $(BLD)/undo.$(O) : \
1375 $(SRC)/dispextern.h \
1379 $(BLD)/unexw32.$(O) : \
1384 $(BLD)/vm-limit.$(O) : \
1389 $(BLD)/window.$(O) : \
1392 $(EMACS_ROOT)/nt/inc/sys/time.h \
1394 $(SRC)/blockinput.h \
1398 $(SRC)/composite.h \
1399 $(SRC)/dispextern.h \
1403 $(SRC)/intervals.h \
1408 $(SRC)/termhooks.h \
1413 $(BLD)/xdisp.$(O) : \
1416 $(EMACS_ROOT)/nt/inc/unistd.h \
1417 $(EMACS_ROOT)/nt/inc/sys/time.h \
1419 $(SRC)/blockinput.h \
1422 $(SRC)/character.h \
1426 $(SRC)/composite.h \
1427 $(SRC)/dispextern.h \
1433 $(SRC)/intervals.h \
1438 $(SRC)/region-cache.h \
1441 $(SRC)/termhooks.h \
1446 $(BLD)/xfaces.$(O) : \
1449 $(EMACS_ROOT)/nt/inc/sys/time.h \
1451 $(SRC)/blockinput.h \
1454 $(SRC)/character.h \
1457 $(SRC)/composite.h \
1458 $(SRC)/dispextern.h \
1462 $(SRC)/intervals.h \
1466 $(SRC)/termhooks.h \
1471 $(BLD)/w32fns.$(O) : \
1474 $(EMACS_ROOT)/nt/inc/sys/time.h \
1476 $(SRC)/blockinput.h \
1479 $(SRC)/character.h \
1482 $(SRC)/composite.h \
1483 $(SRC)/dispextern.h \
1488 $(SRC)/intervals.h \
1491 $(SRC)/termhooks.h \
1498 $(BLD)/w32menu.$(O) : \
1501 $(EMACS_ROOT)/nt/inc/sys/time.h \
1503 $(SRC)/blockinput.h \
1505 $(SRC)/character.h \
1508 $(SRC)/composite.h \
1509 $(SRC)/dispextern.h \
1514 $(SRC)/termhooks.h \
1519 $(BLD)/w32term.$(O) : \
1522 $(EMACS_ROOT)/nt/inc/unistd.h \
1523 $(EMACS_ROOT)/nt/inc/sys/time.h \
1525 $(SRC)/blockinput.h \
1528 $(SRC)/character.h \
1531 $(SRC)/composite.h \
1532 $(SRC)/dispextern.h \
1537 $(SRC)/intervals.h \
1544 $(SRC)/termhooks.h \
1552 $(BLD)/w32select.$(O) : \
1553 $(SRC)/w32select.c \
1555 $(EMACS_ROOT)/nt/inc/sys/time.h \
1557 $(SRC)/blockinput.h \
1558 $(SRC)/character.h \
1561 $(SRC)/composite.h \
1568 $(BLD)/w32reg.$(O) : \
1571 $(EMACS_ROOT)/nt/inc/sys/time.h \
1573 $(SRC)/blockinput.h \
1578 $(BLD)/w32xfns.$(O) : \
1581 $(EMACS_ROOT)/nt/inc/sys/time.h \
1583 $(SRC)/blockinput.h \
1586 $(SRC)/composite.h \
1587 $(SRC)/dispextern.h \
1595 $(BLD)/w32font.$(O) : \
1599 $(SRC)/character.h \
1602 $(SRC)/composite.h \
1603 $(SRC)/dispextern.h \
1611 $(BLD)/w32uniscribe.$(O) : \
1612 $(SRC)/w32uniscribe.c \
1615 $(SRC)/character.h \
1617 $(SRC)/composite.h \
1618 $(SRC)/dispextern.h \
1626 # Each object file depends on stamp_BLD, because in parallel builds we must
1627 # make sure $(BLD) exists before starting compilations.
1629 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD