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 \
704 $(BLD)/fileio.$(O) : \
707 $(EMACS_ROOT)/nt/inc/pwd.h \
708 $(EMACS_ROOT)/nt/inc/unistd.h \
709 $(EMACS_ROOT)/nt/inc/sys/time.h \
712 $(SRC)/blockinput.h \
718 $(SRC)/dispextern.h \
725 $(BLD)/filelock.$(O) : \
728 $(EMACS_ROOT)/nt/inc/pwd.h \
729 $(EMACS_ROOT)/nt/inc/unistd.h \
730 $(EMACS_ROOT)/nt/inc/sys/file.h \
731 $(EMACS_ROOT)/nt/inc/sys/time.h \
739 $(BLD)/filemode.$(O) : \
743 $(BLD)/firstfile.$(O) : \
747 $(BLD)/floatfns.$(O) : \
756 $(EMACS_ROOT)/nt/inc/langinfo.h \
757 $(EMACS_ROOT)/nt/inc/nl_types.h \
758 $(EMACS_ROOT)/nt/inc/unistd.h \
759 $(EMACS_ROOT)/nt/inc/sys/time.h \
762 $(SRC)/blockinput.h \
768 $(SRC)/dispextern.h \
787 $(SRC)/dispextern.h \
795 $(BLD)/fontset.$(O) : \
798 $(EMACS_ROOT)/nt/inc/sys/time.h \
801 $(SRC)/blockinput.h \
808 $(SRC)/dispextern.h \
820 $(BLD)/frame.$(O) : \
823 $(EMACS_ROOT)/nt/inc/sys/time.h \
826 $(SRC)/blockinput.h \
833 $(SRC)/dispextern.h \
845 $(BLD)/fringe.$(O) : \
848 $(EMACS_ROOT)/nt/inc/sys/time.h \
851 $(SRC)/blockinput.h \
853 $(SRC)/dispextern.h \
860 $(BLD)/gmalloc.$(O) : \
863 $(EMACS_ROOT)/nt/inc/unistd.h \
866 $(BLD)/image.$(O) : \
869 $(EMACS_ROOT)/nt/inc/unistd.h \
870 $(EMACS_ROOT)/nt/inc/sys/time.h \
873 $(SRC)/blockinput.h \
878 $(SRC)/dispextern.h \
888 $(BLD)/indent.$(O) : \
891 $(EMACS_ROOT)/nt/inc/sys/time.h \
898 $(SRC)/dispextern.h \
904 $(SRC)/region-cache.h \
911 $(BLD)/insdel.$(O) : \
914 $(EMACS_ROOT)/nt/inc/sys/time.h \
917 $(SRC)/blockinput.h \
921 $(SRC)/dispextern.h \
923 $(SRC)/region-cache.h \
928 $(BLD)/intervals.$(O) : \
931 $(EMACS_ROOT)/nt/inc/sys/time.h \
936 $(SRC)/dispextern.h \
944 $(BLD)/keyboard.$(O) : \
947 $(EMACS_ROOT)/nt/inc/unistd.h \
948 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
949 $(EMACS_ROOT)/nt/inc/sys/time.h \
952 $(SRC)/blockinput.h \
958 $(SRC)/dispextern.h \
976 $(BLD)/keymap.$(O) : \
979 $(EMACS_ROOT)/nt/inc/sys/time.h \
982 $(SRC)/blockinput.h \
989 $(SRC)/dispextern.h \
1000 $(BLD)/lastfile.$(O) : \
1004 $(BLD)/lread.$(O) : \
1007 $(EMACS_ROOT)/nt/inc/unistd.h \
1008 $(EMACS_ROOT)/nt/inc/sys/file.h \
1009 $(EMACS_ROOT)/nt/inc/sys/time.h \
1012 $(SRC)/blockinput.h \
1014 $(SRC)/character.h \
1018 $(SRC)/composite.h \
1019 $(SRC)/dispextern.h \
1022 $(SRC)/intervals.h \
1025 $(SRC)/termhooks.h \
1028 $(BLD)/macros.$(O) : \
1031 $(EMACS_ROOT)/nt/inc/sys/time.h \
1036 $(SRC)/composite.h \
1037 $(SRC)/dispextern.h \
1044 $(BLD)/marker.$(O) : \
1056 $(BLD)/menu.$(O) : \
1059 $(EMACS_ROOT)/nt/inc/sys/time.h \
1062 $(SRC)/blockinput.h \
1064 $(SRC)/composite.h \
1065 $(SRC)/dispextern.h \
1071 $(SRC)/termhooks.h \
1076 $(BLD)/minibuf.$(O) : \
1079 $(EMACS_ROOT)/nt/inc/sys/time.h \
1082 $(SRC)/character.h \
1085 $(SRC)/composite.h \
1086 $(SRC)/dispextern.h \
1088 $(SRC)/intervals.h \
1093 $(SRC)/termhooks.h \
1100 $(EMACS_ROOT)/nt/inc/grp.h \
1101 $(EMACS_ROOT)/nt/inc/pwd.h \
1102 $(EMACS_ROOT)/nt/inc/unistd.h \
1103 $(EMACS_ROOT)/nt/inc/sys/file.h \
1104 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1105 $(EMACS_ROOT)/nt/inc/sys/time.h \
1108 $(SRC)/composite.h \
1109 $(SRC)/dispextern.h \
1117 $(BLD)/w32heap.$(O) : \
1123 $(BLD)/w32inevt.$(O) : \
1126 $(EMACS_ROOT)/nt/inc/sys/time.h \
1129 $(SRC)/blockinput.h \
1131 $(SRC)/composite.h \
1132 $(SRC)/dispextern.h \
1136 $(SRC)/termhooks.h \
1141 $(BLD)/w32proc.$(O) : \
1144 $(EMACS_ROOT)/nt/inc/langinfo.h \
1145 $(EMACS_ROOT)/nt/inc/nl_types.h \
1146 $(EMACS_ROOT)/nt/inc/unistd.h \
1147 $(EMACS_ROOT)/nt/inc/sys/file.h \
1148 $(EMACS_ROOT)/nt/inc/sys/time.h \
1150 $(SRC)/character.h \
1152 $(SRC)/composite.h \
1153 $(SRC)/dispextern.h \
1155 $(SRC)/syssignal.h \
1163 $(BLD)/w32console.$(O) : \
1164 $(SRC)/w32console.c \
1167 $(SRC)/character.h \
1169 $(SRC)/composite.h \
1170 $(SRC)/dispextern.h \
1174 $(SRC)/termhooks.h \
1178 $(BLD)/print.$(O) : \
1181 $(EMACS_ROOT)/nt/inc/unistd.h \
1182 $(EMACS_ROOT)/nt/inc/sys/time.h \
1185 $(SRC)/blockinput.h \
1188 $(SRC)/character.h \
1191 $(SRC)/composite.h \
1192 $(SRC)/dispextern.h \
1195 $(SRC)/intervals.h \
1200 $(SRC)/termhooks.h \
1204 $(BLD)/process.$(O) : \
1207 $(EMACS_ROOT)/nt/inc/netdb.h \
1208 $(EMACS_ROOT)/nt/inc/unistd.h \
1209 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1210 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1211 $(EMACS_ROOT)/nt/inc/sys/file.h \
1212 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1213 $(EMACS_ROOT)/nt/inc/sys/time.h \
1216 $(SRC)/blockinput.h \
1218 $(SRC)/character.h \
1221 $(SRC)/composite.h \
1222 $(SRC)/dispextern.h \
1226 $(SRC)/sysselect.h \
1227 $(SRC)/syssignal.h \
1231 $(SRC)/termhooks.h \
1237 $(BLD)/ralloc.$(O) : \
1240 $(EMACS_ROOT)/nt/inc/unistd.h \
1241 $(EMACS_ROOT)/nt/inc/sys/time.h \
1244 $(SRC)/blockinput.h \
1245 $(SRC)/getpagesize.h \
1248 $(BLD)/regex.$(O) : \
1254 $(SRC)/character.h \
1258 $(BLD)/region-cache.$(O) : \
1259 $(SRC)/region-cache.c \
1263 $(SRC)/region-cache.h
1265 $(BLD)/scroll.$(O) : \
1268 $(EMACS_ROOT)/nt/inc/sys/time.h \
1271 $(SRC)/composite.h \
1272 $(SRC)/dispextern.h \
1277 $(SRC)/termhooks.h \
1281 $(BLD)/search.$(O) : \
1284 $(EMACS_ROOT)/nt/inc/sys/time.h \
1287 $(SRC)/blockinput.h \
1290 $(SRC)/character.h \
1293 $(SRC)/composite.h \
1294 $(SRC)/dispextern.h \
1295 $(SRC)/intervals.h \
1297 $(SRC)/region-cache.h \
1302 $(BLD)/sound.$(O) : \
1305 $(EMACS_ROOT)/nt/inc/unistd.h \
1306 $(EMACS_ROOT)/nt/inc/sys/time.h \
1309 $(SRC)/dispextern.h \
1310 $(SRC)/syssignal.h \
1314 $(BLD)/strftime.$(O) : \
1317 $(EMACS_ROOT)/nt/inc/sys/time.h
1319 $(BLD)/syntax.$(O) : \
1325 $(SRC)/character.h \
1327 $(SRC)/composite.h \
1328 $(SRC)/dispextern.h \
1329 $(SRC)/intervals.h \
1335 $(BLD)/sysdep.$(O) : \
1338 $(EMACS_ROOT)/nt/inc/grp.h \
1339 $(EMACS_ROOT)/nt/inc/netdb.h \
1340 $(EMACS_ROOT)/nt/inc/pwd.h \
1341 $(EMACS_ROOT)/nt/inc/unistd.h \
1342 $(EMACS_ROOT)/nt/inc/sys/file.h \
1343 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1344 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1345 $(EMACS_ROOT)/nt/inc/sys/time.h \
1348 $(SRC)/blockinput.h \
1351 $(SRC)/composite.h \
1352 $(SRC)/dispextern.h \
1356 $(SRC)/syssignal.h \
1361 $(SRC)/termhooks.h \
1367 $(BLD)/term.$(O) : \
1370 $(EMACS_ROOT)/nt/inc/unistd.h \
1371 $(EMACS_ROOT)/nt/inc/sys/file.h \
1372 $(EMACS_ROOT)/nt/inc/sys/time.h \
1375 $(SRC)/blockinput.h \
1377 $(SRC)/character.h \
1381 $(SRC)/composite.h \
1382 $(SRC)/dispextern.h \
1385 $(SRC)/intervals.h \
1388 $(SRC)/syssignal.h \
1392 $(SRC)/termhooks.h \
1397 $(BLD)/terminal.$(O) : \
1400 $(EMACS_ROOT)/nt/inc/sys/time.h \
1404 $(SRC)/composite.h \
1405 $(SRC)/dispextern.h \
1410 $(SRC)/termhooks.h \
1413 $(BLD)/textprop.$(O) : \
1418 $(SRC)/composite.h \
1419 $(SRC)/dispextern.h \
1420 $(SRC)/intervals.h \
1424 $(BLD)/tparam.$(O) : \
1429 $(BLD)/undo.$(O) : \
1435 $(SRC)/dispextern.h \
1439 $(BLD)/unexw32.$(O) : \
1444 $(BLD)/vm-limit.$(O) : \
1450 $(BLD)/window.$(O) : \
1453 $(EMACS_ROOT)/nt/inc/sys/time.h \
1456 $(SRC)/blockinput.h \
1460 $(SRC)/composite.h \
1461 $(SRC)/dispextern.h \
1465 $(SRC)/intervals.h \
1470 $(SRC)/termhooks.h \
1475 $(BLD)/xdisp.$(O) : \
1478 $(EMACS_ROOT)/nt/inc/unistd.h \
1479 $(EMACS_ROOT)/nt/inc/sys/time.h \
1482 $(SRC)/blockinput.h \
1485 $(SRC)/character.h \
1489 $(SRC)/composite.h \
1490 $(SRC)/dispextern.h \
1496 $(SRC)/intervals.h \
1501 $(SRC)/region-cache.h \
1504 $(SRC)/termhooks.h \
1509 $(BLD)/xfaces.$(O) : \
1512 $(EMACS_ROOT)/nt/inc/sys/time.h \
1515 $(SRC)/blockinput.h \
1518 $(SRC)/character.h \
1521 $(SRC)/composite.h \
1522 $(SRC)/dispextern.h \
1526 $(SRC)/intervals.h \
1530 $(SRC)/termhooks.h \
1535 $(BLD)/w32fns.$(O) : \
1538 $(EMACS_ROOT)/nt/inc/sys/time.h \
1541 $(SRC)/blockinput.h \
1544 $(SRC)/character.h \
1547 $(SRC)/composite.h \
1548 $(SRC)/dispextern.h \
1553 $(SRC)/intervals.h \
1556 $(SRC)/termhooks.h \
1563 $(BLD)/w32menu.$(O) : \
1566 $(EMACS_ROOT)/nt/inc/sys/time.h \
1569 $(SRC)/blockinput.h \
1571 $(SRC)/character.h \
1574 $(SRC)/composite.h \
1575 $(SRC)/dispextern.h \
1581 $(SRC)/termhooks.h \
1586 $(BLD)/w32term.$(O) : \
1589 $(EMACS_ROOT)/nt/inc/unistd.h \
1590 $(EMACS_ROOT)/nt/inc/sys/time.h \
1593 $(SRC)/blockinput.h \
1596 $(SRC)/character.h \
1599 $(SRC)/composite.h \
1600 $(SRC)/dispextern.h \
1605 $(SRC)/intervals.h \
1612 $(SRC)/termhooks.h \
1620 $(BLD)/w32select.$(O) : \
1621 $(SRC)/w32select.c \
1623 $(EMACS_ROOT)/nt/inc/sys/time.h \
1626 $(SRC)/blockinput.h \
1627 $(SRC)/character.h \
1630 $(SRC)/composite.h \
1637 $(BLD)/w32reg.$(O) : \
1640 $(EMACS_ROOT)/nt/inc/sys/time.h \
1643 $(SRC)/blockinput.h \
1648 $(BLD)/w32xfns.$(O) : \
1651 $(EMACS_ROOT)/nt/inc/sys/time.h \
1654 $(SRC)/blockinput.h \
1657 $(SRC)/composite.h \
1658 $(SRC)/dispextern.h \
1666 $(BLD)/w32font.$(O) : \
1671 $(SRC)/character.h \
1674 $(SRC)/composite.h \
1675 $(SRC)/dispextern.h \
1683 $(BLD)/w32uniscribe.$(O) : \
1684 $(SRC)/w32uniscribe.c \
1688 $(SRC)/character.h \
1690 $(SRC)/composite.h \
1691 $(SRC)/dispextern.h \
1699 # Each object file depends on stamp_BLD, because in parallel builds we must
1700 # make sure $(BLD) exists before starting compilations.
1702 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD