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 \
346 $(SRC)/dispextern.h \
349 $(BLD)/buffer.$(O) : \
352 $(EMACS_ROOT)/nt/inc/unistd.h \
353 $(EMACS_ROOT)/nt/inc/sys/param.h \
354 $(EMACS_ROOT)/nt/inc/sys/time.h \
357 $(SRC)/blockinput.h \
363 $(SRC)/dispextern.h \
369 $(SRC)/region-cache.h \
374 $(BLD)/bytecode.$(O) : \
380 $(SRC)/dispextern.h \
385 $(BLD)/callint.$(O) : \
388 $(EMACS_ROOT)/nt/inc/sys/time.h \
394 $(SRC)/dispextern.h \
401 $(BLD)/callproc.$(O) : \
404 $(EMACS_ROOT)/nt/inc/unistd.h \
405 $(EMACS_ROOT)/nt/inc/sys/file.h \
406 $(EMACS_ROOT)/nt/inc/sys/time.h \
409 $(SRC)/blockinput.h \
416 $(SRC)/dispextern.h \
427 $(BLD)/casefiddle.$(O) : \
428 $(SRC)/casefiddle.c \
438 $(BLD)/casetab.$(O) : \
445 $(BLD)/category.$(O) : \
465 $(BLD)/character.$(O) : \
475 $(BLD)/charset.$(O) : \
478 $(EMACS_ROOT)/nt/inc/unistd.h \
487 $(BLD)/chartab.$(O) : \
498 $(EMACS_ROOT)/nt/inc/sys/time.h \
505 $(SRC)/dispextern.h \
514 $(BLD)/coding.$(O) : \
524 $(SRC)/dispextern.h \
530 $(BLD)/composite.$(O) : \
539 $(SRC)/dispextern.h \
550 $(EMACS_ROOT)/nt/inc/sys/time.h \
557 $(SRC)/dispextern.h \
567 $(BLD)/dired.$(O) : \
570 $(EMACS_ROOT)/nt/inc/grp.h \
571 $(EMACS_ROOT)/nt/inc/pwd.h \
572 $(EMACS_ROOT)/nt/inc/unistd.h \
573 $(EMACS_ROOT)/nt/inc/sys/dir.h \
574 $(EMACS_ROOT)/nt/inc/sys/time.h \
577 $(SRC)/blockinput.h \
588 $(BLD)/dispnew.$(O) : \
591 $(EMACS_ROOT)/nt/inc/unistd.h \
592 $(EMACS_ROOT)/nt/inc/sys/time.h \
595 $(SRC)/blockinput.h \
602 $(SRC)/dispextern.h \
622 $(EMACS_ROOT)/nt/inc/unistd.h \
623 $(EMACS_ROOT)/nt/inc/sys/file.h \
624 $(EMACS_ROOT)/nt/inc/sys/time.h \
634 $(BLD)/doprnt.$(O) : \
637 $(EMACS_ROOT)/nt/inc/unistd.h \
641 $(BLD)/editfns.$(O) : \
644 $(EMACS_ROOT)/nt/inc/pwd.h \
645 $(EMACS_ROOT)/nt/inc/unistd.h \
646 $(EMACS_ROOT)/nt/inc/sys/time.h \
649 $(SRC)/blockinput.h \
654 $(SRC)/dispextern.h \
661 $(BLD)/emacs.$(O) : \
664 $(EMACS_ROOT)/nt/inc/unistd.h \
665 $(EMACS_ROOT)/nt/inc/sys/file.h \
666 $(EMACS_ROOT)/nt/inc/sys/time.h \
669 $(SRC)/blockinput.h \
674 $(SRC)/dispextern.h \
692 $(EMACS_ROOT)/nt/inc/sys/time.h \
695 $(SRC)/blockinput.h \
699 $(SRC)/dispextern.h \
705 $(BLD)/fileio.$(O) : \
708 $(EMACS_ROOT)/nt/inc/pwd.h \
709 $(EMACS_ROOT)/nt/inc/unistd.h \
710 $(EMACS_ROOT)/nt/inc/sys/time.h \
713 $(SRC)/blockinput.h \
719 $(SRC)/dispextern.h \
726 $(BLD)/filelock.$(O) : \
729 $(EMACS_ROOT)/nt/inc/pwd.h \
730 $(EMACS_ROOT)/nt/inc/unistd.h \
731 $(EMACS_ROOT)/nt/inc/sys/file.h \
732 $(EMACS_ROOT)/nt/inc/sys/time.h \
740 $(BLD)/filemode.$(O) : \
744 $(BLD)/firstfile.$(O) : \
748 $(BLD)/floatfns.$(O) : \
757 $(EMACS_ROOT)/nt/inc/langinfo.h \
758 $(EMACS_ROOT)/nt/inc/nl_types.h \
759 $(EMACS_ROOT)/nt/inc/unistd.h \
760 $(EMACS_ROOT)/nt/inc/sys/time.h \
763 $(SRC)/blockinput.h \
769 $(SRC)/dispextern.h \
788 $(SRC)/dispextern.h \
796 $(BLD)/fontset.$(O) : \
799 $(EMACS_ROOT)/nt/inc/sys/time.h \
802 $(SRC)/blockinput.h \
809 $(SRC)/dispextern.h \
821 $(BLD)/frame.$(O) : \
824 $(EMACS_ROOT)/nt/inc/sys/time.h \
827 $(SRC)/blockinput.h \
834 $(SRC)/dispextern.h \
846 $(BLD)/fringe.$(O) : \
849 $(EMACS_ROOT)/nt/inc/sys/time.h \
852 $(SRC)/blockinput.h \
854 $(SRC)/dispextern.h \
861 $(BLD)/gmalloc.$(O) : \
864 $(EMACS_ROOT)/nt/inc/unistd.h \
867 $(BLD)/image.$(O) : \
870 $(EMACS_ROOT)/nt/inc/unistd.h \
871 $(EMACS_ROOT)/nt/inc/sys/time.h \
874 $(SRC)/blockinput.h \
879 $(SRC)/dispextern.h \
889 $(BLD)/indent.$(O) : \
892 $(EMACS_ROOT)/nt/inc/sys/time.h \
899 $(SRC)/dispextern.h \
905 $(SRC)/region-cache.h \
912 $(BLD)/insdel.$(O) : \
915 $(EMACS_ROOT)/nt/inc/sys/time.h \
918 $(SRC)/blockinput.h \
922 $(SRC)/dispextern.h \
924 $(SRC)/region-cache.h \
929 $(BLD)/intervals.$(O) : \
932 $(EMACS_ROOT)/nt/inc/sys/time.h \
937 $(SRC)/dispextern.h \
945 $(BLD)/keyboard.$(O) : \
948 $(EMACS_ROOT)/nt/inc/unistd.h \
949 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
950 $(EMACS_ROOT)/nt/inc/sys/time.h \
953 $(SRC)/blockinput.h \
959 $(SRC)/dispextern.h \
977 $(BLD)/keymap.$(O) : \
980 $(EMACS_ROOT)/nt/inc/sys/time.h \
983 $(SRC)/blockinput.h \
990 $(SRC)/dispextern.h \
1001 $(BLD)/lastfile.$(O) : \
1005 $(BLD)/lread.$(O) : \
1008 $(EMACS_ROOT)/nt/inc/unistd.h \
1009 $(EMACS_ROOT)/nt/inc/sys/file.h \
1010 $(EMACS_ROOT)/nt/inc/sys/time.h \
1013 $(SRC)/blockinput.h \
1015 $(SRC)/character.h \
1019 $(SRC)/composite.h \
1020 $(SRC)/dispextern.h \
1023 $(SRC)/intervals.h \
1026 $(SRC)/termhooks.h \
1029 $(BLD)/macros.$(O) : \
1032 $(EMACS_ROOT)/nt/inc/sys/time.h \
1037 $(SRC)/composite.h \
1038 $(SRC)/dispextern.h \
1045 $(BLD)/marker.$(O) : \
1057 $(BLD)/menu.$(O) : \
1060 $(EMACS_ROOT)/nt/inc/sys/time.h \
1063 $(SRC)/blockinput.h \
1065 $(SRC)/composite.h \
1066 $(SRC)/dispextern.h \
1072 $(SRC)/termhooks.h \
1077 $(BLD)/minibuf.$(O) : \
1080 $(EMACS_ROOT)/nt/inc/sys/time.h \
1083 $(SRC)/character.h \
1086 $(SRC)/composite.h \
1087 $(SRC)/dispextern.h \
1089 $(SRC)/intervals.h \
1094 $(SRC)/termhooks.h \
1101 $(EMACS_ROOT)/nt/inc/grp.h \
1102 $(EMACS_ROOT)/nt/inc/pwd.h \
1103 $(EMACS_ROOT)/nt/inc/unistd.h \
1104 $(EMACS_ROOT)/nt/inc/sys/file.h \
1105 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1106 $(EMACS_ROOT)/nt/inc/sys/time.h \
1109 $(SRC)/composite.h \
1110 $(SRC)/dispextern.h \
1118 $(BLD)/w32heap.$(O) : \
1124 $(BLD)/w32inevt.$(O) : \
1127 $(EMACS_ROOT)/nt/inc/sys/time.h \
1130 $(SRC)/blockinput.h \
1132 $(SRC)/composite.h \
1133 $(SRC)/dispextern.h \
1137 $(SRC)/termhooks.h \
1142 $(BLD)/w32proc.$(O) : \
1145 $(EMACS_ROOT)/nt/inc/langinfo.h \
1146 $(EMACS_ROOT)/nt/inc/nl_types.h \
1147 $(EMACS_ROOT)/nt/inc/unistd.h \
1148 $(EMACS_ROOT)/nt/inc/sys/file.h \
1149 $(EMACS_ROOT)/nt/inc/sys/time.h \
1151 $(SRC)/character.h \
1153 $(SRC)/composite.h \
1154 $(SRC)/dispextern.h \
1156 $(SRC)/syssignal.h \
1164 $(BLD)/w32console.$(O) : \
1165 $(SRC)/w32console.c \
1168 $(SRC)/character.h \
1170 $(SRC)/composite.h \
1171 $(SRC)/dispextern.h \
1175 $(SRC)/termhooks.h \
1179 $(BLD)/print.$(O) : \
1182 $(EMACS_ROOT)/nt/inc/unistd.h \
1183 $(EMACS_ROOT)/nt/inc/sys/time.h \
1186 $(SRC)/blockinput.h \
1189 $(SRC)/character.h \
1192 $(SRC)/composite.h \
1193 $(SRC)/dispextern.h \
1196 $(SRC)/intervals.h \
1201 $(SRC)/termhooks.h \
1205 $(BLD)/process.$(O) : \
1208 $(EMACS_ROOT)/nt/inc/netdb.h \
1209 $(EMACS_ROOT)/nt/inc/unistd.h \
1210 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1211 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1212 $(EMACS_ROOT)/nt/inc/sys/file.h \
1213 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1214 $(EMACS_ROOT)/nt/inc/sys/time.h \
1217 $(SRC)/blockinput.h \
1219 $(SRC)/character.h \
1222 $(SRC)/composite.h \
1223 $(SRC)/dispextern.h \
1227 $(SRC)/sysselect.h \
1228 $(SRC)/syssignal.h \
1232 $(SRC)/termhooks.h \
1238 $(BLD)/ralloc.$(O) : \
1241 $(EMACS_ROOT)/nt/inc/unistd.h \
1242 $(EMACS_ROOT)/nt/inc/sys/time.h \
1245 $(SRC)/blockinput.h \
1246 $(SRC)/getpagesize.h \
1249 $(BLD)/regex.$(O) : \
1255 $(SRC)/character.h \
1259 $(BLD)/region-cache.$(O) : \
1260 $(SRC)/region-cache.c \
1264 $(SRC)/region-cache.h
1266 $(BLD)/scroll.$(O) : \
1269 $(EMACS_ROOT)/nt/inc/sys/time.h \
1272 $(SRC)/composite.h \
1273 $(SRC)/dispextern.h \
1278 $(SRC)/termhooks.h \
1282 $(BLD)/search.$(O) : \
1285 $(EMACS_ROOT)/nt/inc/sys/time.h \
1288 $(SRC)/blockinput.h \
1291 $(SRC)/character.h \
1294 $(SRC)/composite.h \
1295 $(SRC)/dispextern.h \
1296 $(SRC)/intervals.h \
1298 $(SRC)/region-cache.h \
1303 $(BLD)/sound.$(O) : \
1306 $(EMACS_ROOT)/nt/inc/unistd.h \
1307 $(EMACS_ROOT)/nt/inc/sys/time.h \
1310 $(SRC)/dispextern.h \
1311 $(SRC)/syssignal.h \
1315 $(BLD)/strftime.$(O) : \
1318 $(EMACS_ROOT)/nt/inc/sys/time.h
1320 $(BLD)/syntax.$(O) : \
1326 $(SRC)/character.h \
1328 $(SRC)/composite.h \
1329 $(SRC)/dispextern.h \
1330 $(SRC)/intervals.h \
1336 $(BLD)/sysdep.$(O) : \
1339 $(EMACS_ROOT)/nt/inc/grp.h \
1340 $(EMACS_ROOT)/nt/inc/netdb.h \
1341 $(EMACS_ROOT)/nt/inc/pwd.h \
1342 $(EMACS_ROOT)/nt/inc/unistd.h \
1343 $(EMACS_ROOT)/nt/inc/sys/file.h \
1344 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1345 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1346 $(EMACS_ROOT)/nt/inc/sys/time.h \
1349 $(SRC)/blockinput.h \
1352 $(SRC)/composite.h \
1353 $(SRC)/dispextern.h \
1357 $(SRC)/syssignal.h \
1362 $(SRC)/termhooks.h \
1368 $(BLD)/term.$(O) : \
1371 $(EMACS_ROOT)/nt/inc/unistd.h \
1372 $(EMACS_ROOT)/nt/inc/sys/file.h \
1373 $(EMACS_ROOT)/nt/inc/sys/time.h \
1376 $(SRC)/blockinput.h \
1378 $(SRC)/character.h \
1382 $(SRC)/composite.h \
1383 $(SRC)/dispextern.h \
1386 $(SRC)/intervals.h \
1389 $(SRC)/syssignal.h \
1393 $(SRC)/termhooks.h \
1398 $(BLD)/terminal.$(O) : \
1401 $(EMACS_ROOT)/nt/inc/sys/time.h \
1405 $(SRC)/composite.h \
1406 $(SRC)/dispextern.h \
1411 $(SRC)/termhooks.h \
1414 $(BLD)/textprop.$(O) : \
1419 $(SRC)/composite.h \
1420 $(SRC)/dispextern.h \
1421 $(SRC)/intervals.h \
1425 $(BLD)/tparam.$(O) : \
1430 $(BLD)/undo.$(O) : \
1436 $(SRC)/dispextern.h \
1440 $(BLD)/unexw32.$(O) : \
1445 $(BLD)/vm-limit.$(O) : \
1451 $(BLD)/window.$(O) : \
1454 $(EMACS_ROOT)/nt/inc/sys/time.h \
1457 $(SRC)/blockinput.h \
1461 $(SRC)/composite.h \
1462 $(SRC)/dispextern.h \
1466 $(SRC)/intervals.h \
1471 $(SRC)/termhooks.h \
1476 $(BLD)/xdisp.$(O) : \
1479 $(EMACS_ROOT)/nt/inc/unistd.h \
1480 $(EMACS_ROOT)/nt/inc/sys/time.h \
1483 $(SRC)/blockinput.h \
1486 $(SRC)/character.h \
1490 $(SRC)/composite.h \
1491 $(SRC)/dispextern.h \
1497 $(SRC)/intervals.h \
1502 $(SRC)/region-cache.h \
1505 $(SRC)/termhooks.h \
1510 $(BLD)/xfaces.$(O) : \
1513 $(EMACS_ROOT)/nt/inc/sys/time.h \
1516 $(SRC)/blockinput.h \
1519 $(SRC)/character.h \
1522 $(SRC)/composite.h \
1523 $(SRC)/dispextern.h \
1527 $(SRC)/intervals.h \
1531 $(SRC)/termhooks.h \
1536 $(BLD)/w32fns.$(O) : \
1539 $(EMACS_ROOT)/nt/inc/sys/time.h \
1542 $(SRC)/blockinput.h \
1545 $(SRC)/character.h \
1548 $(SRC)/composite.h \
1549 $(SRC)/dispextern.h \
1554 $(SRC)/intervals.h \
1557 $(SRC)/termhooks.h \
1565 $(BLD)/w32menu.$(O) : \
1568 $(EMACS_ROOT)/nt/inc/sys/time.h \
1571 $(SRC)/blockinput.h \
1573 $(SRC)/character.h \
1576 $(SRC)/composite.h \
1577 $(SRC)/dispextern.h \
1583 $(SRC)/termhooks.h \
1588 $(BLD)/w32term.$(O) : \
1591 $(EMACS_ROOT)/nt/inc/unistd.h \
1592 $(EMACS_ROOT)/nt/inc/sys/time.h \
1595 $(SRC)/blockinput.h \
1598 $(SRC)/character.h \
1601 $(SRC)/composite.h \
1602 $(SRC)/dispextern.h \
1607 $(SRC)/intervals.h \
1614 $(SRC)/termhooks.h \
1622 $(BLD)/w32select.$(O) : \
1623 $(SRC)/w32select.c \
1625 $(EMACS_ROOT)/nt/inc/sys/time.h \
1628 $(SRC)/blockinput.h \
1629 $(SRC)/character.h \
1632 $(SRC)/composite.h \
1639 $(BLD)/w32reg.$(O) : \
1642 $(EMACS_ROOT)/nt/inc/sys/time.h \
1645 $(SRC)/blockinput.h \
1650 $(BLD)/w32xfns.$(O) : \
1653 $(EMACS_ROOT)/nt/inc/sys/time.h \
1656 $(SRC)/blockinput.h \
1659 $(SRC)/composite.h \
1660 $(SRC)/dispextern.h \
1668 $(BLD)/w32font.$(O) : \
1673 $(SRC)/character.h \
1676 $(SRC)/composite.h \
1677 $(SRC)/dispextern.h \
1685 $(BLD)/w32uniscribe.$(O) : \
1686 $(SRC)/w32uniscribe.c \
1690 $(SRC)/character.h \
1692 $(SRC)/composite.h \
1693 $(SRC)/dispextern.h \
1701 # Each object file depends on stamp_BLD, because in parallel builds we must
1702 # make sure $(BLD) exists before starting compilations.
1704 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD