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 \
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 \
335 $(SRC)/blockinput.h \
339 $(BLD)/buffer.$(O) : \
342 $(EMACS_ROOT)/nt/inc/unistd.h \
343 $(EMACS_ROOT)/nt/inc/sys/param.h \
344 $(EMACS_ROOT)/nt/inc/sys/time.h \
346 $(SRC)/blockinput.h \
352 $(SRC)/dispextern.h \
358 $(SRC)/region-cache.h \
363 $(BLD)/bytecode.$(O) : \
368 $(SRC)/dispextern.h \
373 $(BLD)/callint.$(O) : \
376 $(EMACS_ROOT)/nt/inc/sys/time.h \
381 $(SRC)/dispextern.h \
388 $(BLD)/callproc.$(O) : \
391 $(EMACS_ROOT)/nt/inc/unistd.h \
392 $(EMACS_ROOT)/nt/inc/sys/file.h \
393 $(EMACS_ROOT)/nt/inc/sys/time.h \
395 $(SRC)/blockinput.h \
402 $(SRC)/dispextern.h \
413 $(BLD)/casefiddle.$(O) : \
414 $(SRC)/casefiddle.c \
423 $(BLD)/casetab.$(O) : \
429 $(BLD)/category.$(O) : \
447 $(BLD)/character.$(O) : \
456 $(BLD)/charset.$(O) : \
459 $(EMACS_ROOT)/nt/inc/unistd.h \
467 $(BLD)/chartab.$(O) : \
478 $(SRC)/dispextern.h \
487 $(EMACS_ROOT)/nt/inc/sys/time.h \
493 $(SRC)/dispextern.h \
501 $(BLD)/coding.$(O) : \
510 $(SRC)/dispextern.h \
516 $(BLD)/composite.$(O) : \
524 $(SRC)/dispextern.h \
535 $(EMACS_ROOT)/nt/inc/sys/time.h \
541 $(SRC)/dispextern.h \
551 $(BLD)/dired.$(O) : \
554 $(EMACS_ROOT)/nt/inc/grp.h \
555 $(EMACS_ROOT)/nt/inc/pwd.h \
556 $(EMACS_ROOT)/nt/inc/unistd.h \
557 $(EMACS_ROOT)/nt/inc/sys/dir.h \
558 $(EMACS_ROOT)/nt/inc/sys/time.h \
560 $(SRC)/blockinput.h \
571 $(BLD)/dispnew.$(O) : \
574 $(EMACS_ROOT)/nt/inc/unistd.h \
575 $(EMACS_ROOT)/nt/inc/sys/time.h \
577 $(SRC)/blockinput.h \
584 $(SRC)/dispextern.h \
604 $(EMACS_ROOT)/nt/inc/unistd.h \
605 $(EMACS_ROOT)/nt/inc/sys/file.h \
606 $(EMACS_ROOT)/nt/inc/sys/time.h \
615 $(BLD)/doprnt.$(O) : \
618 $(EMACS_ROOT)/nt/inc/unistd.h \
621 $(BLD)/editfns.$(O) : \
624 $(EMACS_ROOT)/nt/inc/pwd.h \
625 $(EMACS_ROOT)/nt/inc/unistd.h \
626 $(EMACS_ROOT)/nt/inc/sys/time.h \
628 $(SRC)/blockinput.h \
633 $(SRC)/dispextern.h \
640 $(BLD)/emacs.$(O) : \
643 $(EMACS_ROOT)/nt/inc/unistd.h \
644 $(EMACS_ROOT)/nt/inc/sys/file.h \
645 $(EMACS_ROOT)/nt/inc/sys/time.h \
647 $(SRC)/blockinput.h \
652 $(SRC)/dispextern.h \
670 $(EMACS_ROOT)/nt/inc/sys/time.h \
672 $(SRC)/blockinput.h \
676 $(SRC)/dispextern.h \
681 $(BLD)/fileio.$(O) : \
684 $(EMACS_ROOT)/nt/inc/pwd.h \
685 $(EMACS_ROOT)/nt/inc/unistd.h \
686 $(EMACS_ROOT)/nt/inc/sys/time.h \
688 $(SRC)/blockinput.h \
694 $(SRC)/dispextern.h \
701 $(BLD)/filelock.$(O) : \
704 $(EMACS_ROOT)/nt/inc/pwd.h \
705 $(EMACS_ROOT)/nt/inc/unistd.h \
706 $(EMACS_ROOT)/nt/inc/sys/file.h \
707 $(EMACS_ROOT)/nt/inc/sys/time.h \
714 $(BLD)/filemode.$(O) : \
718 $(BLD)/firstfile.$(O) : \
722 $(BLD)/floatfns.$(O) : \
730 $(EMACS_ROOT)/nt/inc/langinfo.h \
731 $(EMACS_ROOT)/nt/inc/nl_types.h \
732 $(EMACS_ROOT)/nt/inc/unistd.h \
733 $(EMACS_ROOT)/nt/inc/sys/time.h \
735 $(SRC)/blockinput.h \
741 $(SRC)/dispextern.h \
759 $(SRC)/dispextern.h \
767 $(BLD)/fontset.$(O) : \
770 $(EMACS_ROOT)/nt/inc/sys/time.h \
772 $(SRC)/blockinput.h \
779 $(SRC)/dispextern.h \
791 $(BLD)/frame.$(O) : \
794 $(EMACS_ROOT)/nt/inc/sys/time.h \
796 $(SRC)/blockinput.h \
803 $(SRC)/dispextern.h \
815 $(BLD)/fringe.$(O) : \
818 $(EMACS_ROOT)/nt/inc/sys/time.h \
820 $(SRC)/blockinput.h \
822 $(SRC)/dispextern.h \
829 $(BLD)/gmalloc.$(O) : \
832 $(EMACS_ROOT)/nt/inc/unistd.h \
835 $(BLD)/image.$(O) : \
838 $(EMACS_ROOT)/nt/inc/unistd.h \
839 $(EMACS_ROOT)/nt/inc/sys/time.h \
841 $(SRC)/blockinput.h \
846 $(SRC)/dispextern.h \
856 $(BLD)/indent.$(O) : \
859 $(EMACS_ROOT)/nt/inc/sys/time.h \
865 $(SRC)/dispextern.h \
871 $(SRC)/region-cache.h \
878 $(BLD)/insdel.$(O) : \
881 $(EMACS_ROOT)/nt/inc/sys/time.h \
883 $(SRC)/blockinput.h \
887 $(SRC)/dispextern.h \
889 $(SRC)/region-cache.h \
894 $(BLD)/intervals.$(O) : \
897 $(EMACS_ROOT)/nt/inc/sys/time.h \
901 $(SRC)/dispextern.h \
909 $(BLD)/keyboard.$(O) : \
912 $(EMACS_ROOT)/nt/inc/unistd.h \
913 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
914 $(EMACS_ROOT)/nt/inc/sys/time.h \
916 $(SRC)/blockinput.h \
922 $(SRC)/dispextern.h \
940 $(BLD)/keymap.$(O) : \
943 $(EMACS_ROOT)/nt/inc/sys/time.h \
945 $(SRC)/blockinput.h \
952 $(SRC)/dispextern.h \
963 $(BLD)/lastfile.$(O) : \
967 $(BLD)/lread.$(O) : \
970 $(EMACS_ROOT)/nt/inc/unistd.h \
971 $(EMACS_ROOT)/nt/inc/sys/file.h \
972 $(EMACS_ROOT)/nt/inc/sys/time.h \
974 $(SRC)/blockinput.h \
981 $(SRC)/dispextern.h \
990 $(BLD)/macros.$(O) : \
993 $(EMACS_ROOT)/nt/inc/sys/time.h \
998 $(SRC)/dispextern.h \
1005 $(BLD)/marker.$(O) : \
1016 $(BLD)/menu.$(O) : \
1019 $(EMACS_ROOT)/nt/inc/sys/time.h \
1021 $(SRC)/blockinput.h \
1023 $(SRC)/composite.h \
1024 $(SRC)/dispextern.h \
1030 $(SRC)/termhooks.h \
1034 $(BLD)/minibuf.$(O) : \
1037 $(EMACS_ROOT)/nt/inc/sys/time.h \
1039 $(SRC)/character.h \
1042 $(SRC)/composite.h \
1043 $(SRC)/dispextern.h \
1045 $(SRC)/intervals.h \
1050 $(SRC)/termhooks.h \
1057 $(EMACS_ROOT)/nt/inc/grp.h \
1058 $(EMACS_ROOT)/nt/inc/pwd.h \
1059 $(EMACS_ROOT)/nt/inc/unistd.h \
1060 $(EMACS_ROOT)/nt/inc/sys/file.h \
1061 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1062 $(EMACS_ROOT)/nt/inc/sys/time.h \
1064 $(SRC)/composite.h \
1065 $(SRC)/dispextern.h \
1073 $(BLD)/w32heap.$(O) : \
1078 $(BLD)/w32inevt.$(O) : \
1081 $(EMACS_ROOT)/nt/inc/sys/time.h \
1083 $(SRC)/blockinput.h \
1085 $(SRC)/composite.h \
1086 $(SRC)/dispextern.h \
1090 $(SRC)/termhooks.h \
1095 $(BLD)/w32proc.$(O) : \
1098 $(EMACS_ROOT)/nt/inc/langinfo.h \
1099 $(EMACS_ROOT)/nt/inc/nl_types.h \
1100 $(EMACS_ROOT)/nt/inc/unistd.h \
1101 $(EMACS_ROOT)/nt/inc/sys/file.h \
1102 $(EMACS_ROOT)/nt/inc/sys/time.h \
1103 $(SRC)/character.h \
1105 $(SRC)/composite.h \
1106 $(SRC)/dispextern.h \
1108 $(SRC)/syssignal.h \
1116 $(BLD)/w32console.$(O) : \
1117 $(SRC)/w32console.c \
1119 $(SRC)/character.h \
1121 $(SRC)/composite.h \
1122 $(SRC)/dispextern.h \
1126 $(SRC)/termhooks.h \
1130 $(BLD)/print.$(O) : \
1133 $(EMACS_ROOT)/nt/inc/unistd.h \
1134 $(EMACS_ROOT)/nt/inc/sys/time.h \
1136 $(SRC)/blockinput.h \
1139 $(SRC)/character.h \
1142 $(SRC)/composite.h \
1143 $(SRC)/dispextern.h \
1146 $(SRC)/intervals.h \
1151 $(SRC)/termhooks.h \
1155 $(BLD)/process.$(O) : \
1158 $(EMACS_ROOT)/nt/inc/netdb.h \
1159 $(EMACS_ROOT)/nt/inc/unistd.h \
1160 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1161 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1162 $(EMACS_ROOT)/nt/inc/sys/file.h \
1163 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1164 $(EMACS_ROOT)/nt/inc/sys/time.h \
1166 $(SRC)/blockinput.h \
1168 $(SRC)/character.h \
1171 $(SRC)/composite.h \
1172 $(SRC)/dispextern.h \
1176 $(SRC)/sysselect.h \
1177 $(SRC)/syssignal.h \
1181 $(SRC)/termhooks.h \
1187 $(BLD)/ralloc.$(O) : \
1190 $(EMACS_ROOT)/nt/inc/unistd.h \
1191 $(EMACS_ROOT)/nt/inc/sys/time.h \
1193 $(SRC)/blockinput.h \
1194 $(SRC)/getpagesize.h \
1197 $(BLD)/regex.$(O) : \
1202 $(SRC)/character.h \
1206 $(BLD)/region-cache.$(O) : \
1207 $(SRC)/region-cache.c \
1210 $(SRC)/region-cache.h
1212 $(BLD)/scroll.$(O) : \
1215 $(EMACS_ROOT)/nt/inc/sys/time.h \
1217 $(SRC)/composite.h \
1218 $(SRC)/dispextern.h \
1223 $(SRC)/termhooks.h \
1227 $(BLD)/search.$(O) : \
1230 $(EMACS_ROOT)/nt/inc/sys/time.h \
1232 $(SRC)/blockinput.h \
1235 $(SRC)/character.h \
1238 $(SRC)/composite.h \
1239 $(SRC)/dispextern.h \
1240 $(SRC)/intervals.h \
1242 $(SRC)/region-cache.h \
1247 $(BLD)/sound.$(O) : \
1250 $(EMACS_ROOT)/nt/inc/unistd.h \
1251 $(EMACS_ROOT)/nt/inc/sys/time.h \
1253 $(SRC)/dispextern.h \
1254 $(SRC)/syssignal.h \
1258 $(BLD)/strftime.$(O) : \
1261 $(EMACS_ROOT)/nt/inc/sys/time.h
1263 $(BLD)/syntax.$(O) : \
1268 $(SRC)/character.h \
1270 $(SRC)/composite.h \
1271 $(SRC)/dispextern.h \
1272 $(SRC)/intervals.h \
1278 $(BLD)/sysdep.$(O) : \
1281 $(EMACS_ROOT)/nt/inc/grp.h \
1282 $(EMACS_ROOT)/nt/inc/netdb.h \
1283 $(EMACS_ROOT)/nt/inc/pwd.h \
1284 $(EMACS_ROOT)/nt/inc/unistd.h \
1285 $(EMACS_ROOT)/nt/inc/sys/file.h \
1286 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1287 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1288 $(EMACS_ROOT)/nt/inc/sys/time.h \
1290 $(SRC)/blockinput.h \
1293 $(SRC)/composite.h \
1294 $(SRC)/dispextern.h \
1298 $(SRC)/syssignal.h \
1303 $(SRC)/termhooks.h \
1309 $(BLD)/term.$(O) : \
1312 $(EMACS_ROOT)/nt/inc/unistd.h \
1313 $(EMACS_ROOT)/nt/inc/sys/file.h \
1314 $(EMACS_ROOT)/nt/inc/sys/time.h \
1316 $(SRC)/blockinput.h \
1318 $(SRC)/character.h \
1322 $(SRC)/composite.h \
1323 $(SRC)/dispextern.h \
1326 $(SRC)/intervals.h \
1329 $(SRC)/syssignal.h \
1333 $(SRC)/termhooks.h \
1338 $(BLD)/termcap.$(O) : \
1341 $(EMACS_ROOT)/nt/inc/unistd.h \
1342 $(EMACS_ROOT)/nt/inc/sys/file.h
1344 $(BLD)/terminal.$(O) : \
1347 $(EMACS_ROOT)/nt/inc/sys/time.h \
1350 $(SRC)/composite.h \
1351 $(SRC)/dispextern.h \
1356 $(SRC)/termhooks.h \
1359 $(BLD)/textprop.$(O) : \
1363 $(SRC)/composite.h \
1364 $(SRC)/dispextern.h \
1365 $(SRC)/intervals.h \
1369 $(BLD)/tparam.$(O) : \
1373 $(BLD)/undo.$(O) : \
1378 $(SRC)/dispextern.h \
1382 $(BLD)/unexw32.$(O) : \
1387 $(BLD)/vm-limit.$(O) : \
1392 $(BLD)/window.$(O) : \
1395 $(EMACS_ROOT)/nt/inc/sys/time.h \
1397 $(SRC)/blockinput.h \
1401 $(SRC)/composite.h \
1402 $(SRC)/dispextern.h \
1406 $(SRC)/intervals.h \
1411 $(SRC)/termhooks.h \
1416 $(BLD)/xdisp.$(O) : \
1419 $(EMACS_ROOT)/nt/inc/unistd.h \
1420 $(EMACS_ROOT)/nt/inc/sys/time.h \
1422 $(SRC)/blockinput.h \
1425 $(SRC)/character.h \
1429 $(SRC)/composite.h \
1430 $(SRC)/dispextern.h \
1436 $(SRC)/intervals.h \
1441 $(SRC)/region-cache.h \
1444 $(SRC)/termhooks.h \
1449 $(BLD)/xfaces.$(O) : \
1452 $(EMACS_ROOT)/nt/inc/sys/time.h \
1454 $(SRC)/blockinput.h \
1457 $(SRC)/character.h \
1460 $(SRC)/composite.h \
1461 $(SRC)/dispextern.h \
1465 $(SRC)/intervals.h \
1469 $(SRC)/termhooks.h \
1474 $(BLD)/w32fns.$(O) : \
1477 $(EMACS_ROOT)/nt/inc/sys/time.h \
1479 $(SRC)/blockinput.h \
1482 $(SRC)/character.h \
1485 $(SRC)/composite.h \
1486 $(SRC)/dispextern.h \
1491 $(SRC)/intervals.h \
1494 $(SRC)/termhooks.h \
1501 $(BLD)/w32menu.$(O) : \
1504 $(EMACS_ROOT)/nt/inc/sys/time.h \
1506 $(SRC)/blockinput.h \
1508 $(SRC)/character.h \
1511 $(SRC)/composite.h \
1512 $(SRC)/dispextern.h \
1517 $(SRC)/termhooks.h \
1522 $(BLD)/w32term.$(O) : \
1525 $(EMACS_ROOT)/nt/inc/unistd.h \
1526 $(EMACS_ROOT)/nt/inc/sys/time.h \
1528 $(SRC)/blockinput.h \
1531 $(SRC)/character.h \
1534 $(SRC)/composite.h \
1535 $(SRC)/dispextern.h \
1540 $(SRC)/intervals.h \
1547 $(SRC)/termhooks.h \
1555 $(BLD)/w32select.$(O) : \
1556 $(SRC)/w32select.c \
1558 $(EMACS_ROOT)/nt/inc/sys/time.h \
1560 $(SRC)/blockinput.h \
1561 $(SRC)/character.h \
1564 $(SRC)/composite.h \
1571 $(BLD)/w32reg.$(O) : \
1574 $(EMACS_ROOT)/nt/inc/sys/time.h \
1576 $(SRC)/blockinput.h \
1581 $(BLD)/w32xfns.$(O) : \
1584 $(EMACS_ROOT)/nt/inc/sys/time.h \
1586 $(SRC)/blockinput.h \
1589 $(SRC)/composite.h \
1590 $(SRC)/dispextern.h \
1598 $(BLD)/w32font.$(O) : \
1602 $(SRC)/character.h \
1605 $(SRC)/composite.h \
1606 $(SRC)/dispextern.h \
1614 $(BLD)/w32uniscribe.$(O) : \
1615 $(SRC)/w32uniscribe.c \
1618 $(SRC)/character.h \
1620 $(SRC)/composite.h \
1621 $(SRC)/dispextern.h \
1629 # Each object file depends on stamp_BLD, because in parallel builds we must
1630 # make sure $(BLD) exists before starting compilations.
1632 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD