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) \
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) \
119 $(BLD)/charset.$(O) \
120 $(BLD)/character.$(O) \
121 $(BLD)/chartab.$(O) \
123 $(BLD)/category.$(O) \
126 $(BLD)/fontset.$(O) \
129 $(BLD)/terminal.$(O) \
132 WIN32OBJ = $(BLD)/w32term.$(O) \
133 $(BLD)/w32xfns.$(O) \
136 $(BLD)/w32select.$(O) \
137 $(BLD)/w32menu.$(O) \
140 FONTOBJ = $(BLD)/w32font.$(O) $(BLD)/w32uniscribe.$(O)
160 # Build the executable and dump it.
165 # The dumped executable
167 emacs: stamp_BLD $(EMACS)
168 $(EMACS): $(DOC) $(TEMACS)
169 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
170 -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
173 # The undumped executable
174 # Note the extra post-link step to insert a static preload heap section.
175 # If preload runs out of memory, increase the last argument to addsection
176 # (it is the preload heap size in MB).
178 temacs: stamp_BLD $(TEMACS)
179 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
180 ../nt/$(BLD)/addsection.exe
181 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
182 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 21
184 # These omit firstfile.${O}, but there's no documentation in there
186 buildobj.h: $(SRC)/makefile.w32-in
187 $(MAKE) $(MFLAGS) make-buildobj-$(SHELLTYPE)
189 # Cannot have blanks between the backslash and the redirection
190 # characters, because CMD's `echo' will put them in buildobj.h.
192 echo #define BUILDOBJ ^"\> buildobj.h
193 echo $(OBJ0) \>> buildobj.h
194 echo $(OBJ1) \>> buildobj.h
195 echo $(WIN32OBJ) \>> buildobj.h
196 echo $(FONTOBJ) \>> buildobj.h
200 echo '#define BUILDOBJ $(DQUOTE)\' > buildobj.h
201 echo $(OBJ0) '\' >> buildobj.h
202 echo $(OBJ1) '\' >> buildobj.h
203 echo $(WIN32OBJ) '\' >> buildobj.h
204 echo $(FONTOBJ) '\' >> buildobj.h
205 echo '$(DQUOTE)' >> buildobj.h
207 bootstrap: bootstrap-emacs
210 # Build a temacs with a sufficiently large PURESIZE to load the
211 # Lisp files from loadup.el in source form.
213 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
214 # this can break with GNU Make 3.81 and later if sh.exe is used.
216 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
219 # Dump an Emacs executable named bootstrap-emacs containing the
220 # files from loadup.el in source form.
222 bootstrap-emacs: bootstrap-temacs
223 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
225 $(CP) $(EMACS) ../bin
228 # Force recompile of files that depend on PURESIZE
231 - $(DEL) $(BLD)/alloc.$(O)
232 - $(DEL) $(BLD)/data.$(O)
233 - $(DEL) $(BLD)/intervals.$(O)
234 - $(DEL) $(BLD)/keyboard.$(O)
235 - $(DEL) $(BLD)/keymap.$(O)
238 # The resource file. NT 3.10 requires the use of cvtres; even though
239 # it is not necessary on later versions, it is still ok to use it.
241 $(TRES): ../nt/emacs.rc stamp_BLD
242 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
245 # Build the library. Split up the build into two phases...otherwise we
246 # run out of command line space.
250 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
253 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
254 $(TLIBW32): $(WIN32OBJ) $(FONTOBJ)
256 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
259 # Place lastfile.$(O) in its own library so that it can be loaded after
260 # the source libraries but before any system libraries. Doing so defines
261 # the end of Emacs' data section portably across compilers and systems.
263 $(TLASTLIB): $(BLD)/lastfile.$(O)
265 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
268 # Assuming INSTALL_DIR is defined, build and install emacs in it.
271 - mkdir "$(INSTALL_DIR)/bin"
272 $(CP) $(EMACS) $(INSTALL_DIR)/bin
277 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
278 # remove precious files if it happens to match their short 8+3 aliases.
280 - $(DEL) "s/*.h~" "m/*.h~"
281 - $(DEL) $(COMPILER_TEMP_FILES)
282 - $(DEL_TREE) $(OBJDIR)
287 - $(DEL) config.h epaths.h Makefile
289 maintainer-clean: distclean
294 - $(DEL_TREE) obj-spd
301 CONFIG_H = $(EMACS_ROOT)/src/s/ms-w32.h \
302 $(EMACS_ROOT)/src/m/intel386.h \
303 $(EMACS_ROOT)/src/config.h \
304 $(EMACS_ROOT)/nt/inc/sys/stat.h
306 $(BLD)/alloc.$(O) : \
309 $(EMACS_ROOT)/nt/inc/unistd.h \
310 $(EMACS_ROOT)/nt/inc/sys/time.h \
313 $(SRC)/blockinput.h \
318 $(SRC)/dispextern.h \
331 $(BLD)/atimer.$(O) : \
334 $(EMACS_ROOT)/nt/inc/unistd.h \
335 $(EMACS_ROOT)/nt/inc/sys/time.h \
338 $(SRC)/blockinput.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) : \
502 $(SRC)/dispextern.h \
511 $(EMACS_ROOT)/nt/inc/sys/time.h \
518 $(SRC)/dispextern.h \
527 $(BLD)/coding.$(O) : \
537 $(SRC)/dispextern.h \
543 $(BLD)/composite.$(O) : \
552 $(SRC)/dispextern.h \
563 $(EMACS_ROOT)/nt/inc/sys/time.h \
570 $(SRC)/dispextern.h \
580 $(BLD)/dired.$(O) : \
583 $(EMACS_ROOT)/nt/inc/grp.h \
584 $(EMACS_ROOT)/nt/inc/pwd.h \
585 $(EMACS_ROOT)/nt/inc/unistd.h \
586 $(EMACS_ROOT)/nt/inc/sys/dir.h \
587 $(EMACS_ROOT)/nt/inc/sys/time.h \
590 $(SRC)/blockinput.h \
601 $(BLD)/dispnew.$(O) : \
604 $(EMACS_ROOT)/nt/inc/unistd.h \
605 $(EMACS_ROOT)/nt/inc/sys/time.h \
608 $(SRC)/blockinput.h \
615 $(SRC)/dispextern.h \
635 $(EMACS_ROOT)/nt/inc/unistd.h \
636 $(EMACS_ROOT)/nt/inc/sys/file.h \
637 $(EMACS_ROOT)/nt/inc/sys/time.h \
647 $(BLD)/doprnt.$(O) : \
650 $(EMACS_ROOT)/nt/inc/unistd.h \
654 $(BLD)/editfns.$(O) : \
657 $(EMACS_ROOT)/nt/inc/pwd.h \
658 $(EMACS_ROOT)/nt/inc/unistd.h \
659 $(EMACS_ROOT)/nt/inc/sys/time.h \
662 $(SRC)/blockinput.h \
667 $(SRC)/dispextern.h \
674 $(BLD)/emacs.$(O) : \
677 $(EMACS_ROOT)/nt/inc/unistd.h \
678 $(EMACS_ROOT)/nt/inc/sys/file.h \
679 $(EMACS_ROOT)/nt/inc/sys/time.h \
682 $(SRC)/blockinput.h \
687 $(SRC)/dispextern.h \
705 $(EMACS_ROOT)/nt/inc/sys/time.h \
708 $(SRC)/blockinput.h \
712 $(SRC)/dispextern.h \
717 $(BLD)/fileio.$(O) : \
720 $(EMACS_ROOT)/nt/inc/pwd.h \
721 $(EMACS_ROOT)/nt/inc/unistd.h \
722 $(EMACS_ROOT)/nt/inc/sys/time.h \
725 $(SRC)/blockinput.h \
731 $(SRC)/dispextern.h \
738 $(BLD)/filelock.$(O) : \
741 $(EMACS_ROOT)/nt/inc/pwd.h \
742 $(EMACS_ROOT)/nt/inc/unistd.h \
743 $(EMACS_ROOT)/nt/inc/sys/file.h \
744 $(EMACS_ROOT)/nt/inc/sys/time.h \
752 $(BLD)/filemode.$(O) : \
756 $(BLD)/firstfile.$(O) : \
760 $(BLD)/floatfns.$(O) : \
769 $(EMACS_ROOT)/nt/inc/langinfo.h \
770 $(EMACS_ROOT)/nt/inc/nl_types.h \
771 $(EMACS_ROOT)/nt/inc/unistd.h \
772 $(EMACS_ROOT)/nt/inc/sys/time.h \
775 $(SRC)/blockinput.h \
781 $(SRC)/dispextern.h \
800 $(SRC)/dispextern.h \
808 $(BLD)/fontset.$(O) : \
811 $(EMACS_ROOT)/nt/inc/sys/time.h \
814 $(SRC)/blockinput.h \
821 $(SRC)/dispextern.h \
833 $(BLD)/frame.$(O) : \
836 $(EMACS_ROOT)/nt/inc/sys/time.h \
839 $(SRC)/blockinput.h \
846 $(SRC)/dispextern.h \
858 $(BLD)/fringe.$(O) : \
861 $(EMACS_ROOT)/nt/inc/sys/time.h \
864 $(SRC)/blockinput.h \
866 $(SRC)/dispextern.h \
873 $(BLD)/gmalloc.$(O) : \
876 $(EMACS_ROOT)/nt/inc/unistd.h \
879 $(BLD)/image.$(O) : \
882 $(EMACS_ROOT)/nt/inc/unistd.h \
883 $(EMACS_ROOT)/nt/inc/sys/time.h \
886 $(SRC)/blockinput.h \
891 $(SRC)/dispextern.h \
901 $(BLD)/indent.$(O) : \
904 $(EMACS_ROOT)/nt/inc/sys/time.h \
911 $(SRC)/dispextern.h \
917 $(SRC)/region-cache.h \
924 $(BLD)/insdel.$(O) : \
927 $(EMACS_ROOT)/nt/inc/sys/time.h \
930 $(SRC)/blockinput.h \
934 $(SRC)/dispextern.h \
936 $(SRC)/region-cache.h \
941 $(BLD)/intervals.$(O) : \
944 $(EMACS_ROOT)/nt/inc/sys/time.h \
949 $(SRC)/dispextern.h \
957 $(BLD)/keyboard.$(O) : \
960 $(EMACS_ROOT)/nt/inc/unistd.h \
961 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
962 $(EMACS_ROOT)/nt/inc/sys/time.h \
965 $(SRC)/blockinput.h \
971 $(SRC)/dispextern.h \
989 $(BLD)/keymap.$(O) : \
992 $(EMACS_ROOT)/nt/inc/sys/time.h \
995 $(SRC)/blockinput.h \
1001 $(SRC)/composite.h \
1002 $(SRC)/dispextern.h \
1004 $(SRC)/intervals.h \
1009 $(SRC)/termhooks.h \
1013 $(BLD)/lastfile.$(O) : \
1017 $(BLD)/lread.$(O) : \
1020 $(EMACS_ROOT)/nt/inc/unistd.h \
1021 $(EMACS_ROOT)/nt/inc/sys/file.h \
1022 $(EMACS_ROOT)/nt/inc/sys/time.h \
1025 $(SRC)/blockinput.h \
1027 $(SRC)/character.h \
1031 $(SRC)/composite.h \
1032 $(SRC)/dispextern.h \
1035 $(SRC)/intervals.h \
1038 $(SRC)/termhooks.h \
1041 $(BLD)/macros.$(O) : \
1044 $(EMACS_ROOT)/nt/inc/sys/time.h \
1049 $(SRC)/composite.h \
1050 $(SRC)/dispextern.h \
1057 $(BLD)/marker.$(O) : \
1069 $(BLD)/menu.$(O) : \
1072 $(EMACS_ROOT)/nt/inc/sys/time.h \
1075 $(SRC)/blockinput.h \
1077 $(SRC)/composite.h \
1078 $(SRC)/dispextern.h \
1084 $(SRC)/termhooks.h \
1089 $(BLD)/minibuf.$(O) : \
1092 $(EMACS_ROOT)/nt/inc/sys/time.h \
1095 $(SRC)/character.h \
1098 $(SRC)/composite.h \
1099 $(SRC)/dispextern.h \
1101 $(SRC)/intervals.h \
1106 $(SRC)/termhooks.h \
1113 $(EMACS_ROOT)/nt/inc/grp.h \
1114 $(EMACS_ROOT)/nt/inc/pwd.h \
1115 $(EMACS_ROOT)/nt/inc/unistd.h \
1116 $(EMACS_ROOT)/nt/inc/sys/file.h \
1117 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1118 $(EMACS_ROOT)/nt/inc/sys/time.h \
1121 $(SRC)/composite.h \
1122 $(SRC)/dispextern.h \
1130 $(BLD)/w32heap.$(O) : \
1136 $(BLD)/w32inevt.$(O) : \
1139 $(EMACS_ROOT)/nt/inc/sys/time.h \
1142 $(SRC)/blockinput.h \
1144 $(SRC)/composite.h \
1145 $(SRC)/dispextern.h \
1149 $(SRC)/termhooks.h \
1154 $(BLD)/w32proc.$(O) : \
1157 $(EMACS_ROOT)/nt/inc/langinfo.h \
1158 $(EMACS_ROOT)/nt/inc/nl_types.h \
1159 $(EMACS_ROOT)/nt/inc/unistd.h \
1160 $(EMACS_ROOT)/nt/inc/sys/file.h \
1161 $(EMACS_ROOT)/nt/inc/sys/time.h \
1163 $(SRC)/character.h \
1165 $(SRC)/composite.h \
1166 $(SRC)/dispextern.h \
1168 $(SRC)/syssignal.h \
1176 $(BLD)/w32console.$(O) : \
1177 $(SRC)/w32console.c \
1180 $(SRC)/character.h \
1182 $(SRC)/composite.h \
1183 $(SRC)/dispextern.h \
1187 $(SRC)/termhooks.h \
1191 $(BLD)/print.$(O) : \
1194 $(EMACS_ROOT)/nt/inc/unistd.h \
1195 $(EMACS_ROOT)/nt/inc/sys/time.h \
1198 $(SRC)/blockinput.h \
1201 $(SRC)/character.h \
1204 $(SRC)/composite.h \
1205 $(SRC)/dispextern.h \
1208 $(SRC)/intervals.h \
1213 $(SRC)/termhooks.h \
1217 $(BLD)/process.$(O) : \
1220 $(EMACS_ROOT)/nt/inc/netdb.h \
1221 $(EMACS_ROOT)/nt/inc/unistd.h \
1222 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1223 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1224 $(EMACS_ROOT)/nt/inc/sys/file.h \
1225 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1226 $(EMACS_ROOT)/nt/inc/sys/time.h \
1229 $(SRC)/blockinput.h \
1231 $(SRC)/character.h \
1234 $(SRC)/composite.h \
1235 $(SRC)/dispextern.h \
1239 $(SRC)/sysselect.h \
1240 $(SRC)/syssignal.h \
1244 $(SRC)/termhooks.h \
1250 $(BLD)/ralloc.$(O) : \
1253 $(EMACS_ROOT)/nt/inc/unistd.h \
1254 $(EMACS_ROOT)/nt/inc/sys/time.h \
1257 $(SRC)/blockinput.h \
1258 $(SRC)/getpagesize.h \
1261 $(BLD)/regex.$(O) : \
1267 $(SRC)/character.h \
1271 $(BLD)/region-cache.$(O) : \
1272 $(SRC)/region-cache.c \
1276 $(SRC)/region-cache.h
1278 $(BLD)/scroll.$(O) : \
1281 $(EMACS_ROOT)/nt/inc/sys/time.h \
1284 $(SRC)/composite.h \
1285 $(SRC)/dispextern.h \
1290 $(SRC)/termhooks.h \
1294 $(BLD)/search.$(O) : \
1297 $(EMACS_ROOT)/nt/inc/sys/time.h \
1300 $(SRC)/blockinput.h \
1303 $(SRC)/character.h \
1306 $(SRC)/composite.h \
1307 $(SRC)/dispextern.h \
1308 $(SRC)/intervals.h \
1310 $(SRC)/region-cache.h \
1315 $(BLD)/sound.$(O) : \
1318 $(EMACS_ROOT)/nt/inc/unistd.h \
1319 $(EMACS_ROOT)/nt/inc/sys/time.h \
1322 $(SRC)/dispextern.h \
1323 $(SRC)/syssignal.h \
1327 $(BLD)/strftime.$(O) : \
1330 $(EMACS_ROOT)/nt/inc/sys/time.h
1332 $(BLD)/syntax.$(O) : \
1338 $(SRC)/character.h \
1340 $(SRC)/composite.h \
1341 $(SRC)/dispextern.h \
1342 $(SRC)/intervals.h \
1348 $(BLD)/sysdep.$(O) : \
1351 $(EMACS_ROOT)/nt/inc/grp.h \
1352 $(EMACS_ROOT)/nt/inc/netdb.h \
1353 $(EMACS_ROOT)/nt/inc/pwd.h \
1354 $(EMACS_ROOT)/nt/inc/unistd.h \
1355 $(EMACS_ROOT)/nt/inc/sys/file.h \
1356 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1357 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1358 $(EMACS_ROOT)/nt/inc/sys/time.h \
1361 $(SRC)/blockinput.h \
1364 $(SRC)/composite.h \
1365 $(SRC)/dispextern.h \
1369 $(SRC)/syssignal.h \
1374 $(SRC)/termhooks.h \
1380 $(BLD)/term.$(O) : \
1383 $(EMACS_ROOT)/nt/inc/unistd.h \
1384 $(EMACS_ROOT)/nt/inc/sys/file.h \
1385 $(EMACS_ROOT)/nt/inc/sys/time.h \
1388 $(SRC)/blockinput.h \
1390 $(SRC)/character.h \
1394 $(SRC)/composite.h \
1395 $(SRC)/dispextern.h \
1398 $(SRC)/intervals.h \
1401 $(SRC)/syssignal.h \
1405 $(SRC)/termhooks.h \
1410 $(BLD)/termcap.$(O) : \
1413 $(EMACS_ROOT)/nt/inc/unistd.h \
1414 $(EMACS_ROOT)/nt/inc/sys/file.h \
1417 $(BLD)/terminal.$(O) : \
1420 $(EMACS_ROOT)/nt/inc/sys/time.h \
1424 $(SRC)/composite.h \
1425 $(SRC)/dispextern.h \
1430 $(SRC)/termhooks.h \
1433 $(BLD)/textprop.$(O) : \
1438 $(SRC)/composite.h \
1439 $(SRC)/dispextern.h \
1440 $(SRC)/intervals.h \
1444 $(BLD)/tparam.$(O) : \
1449 $(BLD)/undo.$(O) : \
1455 $(SRC)/dispextern.h \
1459 $(BLD)/unexw32.$(O) : \
1464 $(BLD)/vm-limit.$(O) : \
1470 $(BLD)/window.$(O) : \
1473 $(EMACS_ROOT)/nt/inc/sys/time.h \
1476 $(SRC)/blockinput.h \
1480 $(SRC)/composite.h \
1481 $(SRC)/dispextern.h \
1485 $(SRC)/intervals.h \
1490 $(SRC)/termhooks.h \
1495 $(BLD)/xdisp.$(O) : \
1498 $(EMACS_ROOT)/nt/inc/unistd.h \
1499 $(EMACS_ROOT)/nt/inc/sys/time.h \
1502 $(SRC)/blockinput.h \
1505 $(SRC)/character.h \
1509 $(SRC)/composite.h \
1510 $(SRC)/dispextern.h \
1516 $(SRC)/intervals.h \
1521 $(SRC)/region-cache.h \
1524 $(SRC)/termhooks.h \
1529 $(BLD)/xfaces.$(O) : \
1532 $(EMACS_ROOT)/nt/inc/sys/time.h \
1535 $(SRC)/blockinput.h \
1538 $(SRC)/character.h \
1541 $(SRC)/composite.h \
1542 $(SRC)/dispextern.h \
1546 $(SRC)/intervals.h \
1550 $(SRC)/termhooks.h \
1555 $(BLD)/w32fns.$(O) : \
1558 $(EMACS_ROOT)/nt/inc/sys/time.h \
1561 $(SRC)/blockinput.h \
1564 $(SRC)/character.h \
1567 $(SRC)/composite.h \
1568 $(SRC)/dispextern.h \
1573 $(SRC)/intervals.h \
1576 $(SRC)/termhooks.h \
1583 $(BLD)/w32menu.$(O) : \
1586 $(EMACS_ROOT)/nt/inc/sys/time.h \
1589 $(SRC)/blockinput.h \
1591 $(SRC)/character.h \
1594 $(SRC)/composite.h \
1595 $(SRC)/dispextern.h \
1601 $(SRC)/termhooks.h \
1606 $(BLD)/w32term.$(O) : \
1609 $(EMACS_ROOT)/nt/inc/unistd.h \
1610 $(EMACS_ROOT)/nt/inc/sys/time.h \
1613 $(SRC)/blockinput.h \
1616 $(SRC)/character.h \
1619 $(SRC)/composite.h \
1620 $(SRC)/dispextern.h \
1625 $(SRC)/intervals.h \
1632 $(SRC)/termhooks.h \
1640 $(BLD)/w32select.$(O) : \
1641 $(SRC)/w32select.c \
1643 $(EMACS_ROOT)/nt/inc/sys/time.h \
1646 $(SRC)/blockinput.h \
1647 $(SRC)/character.h \
1650 $(SRC)/composite.h \
1657 $(BLD)/w32reg.$(O) : \
1660 $(EMACS_ROOT)/nt/inc/sys/time.h \
1663 $(SRC)/blockinput.h \
1668 $(BLD)/w32xfns.$(O) : \
1671 $(EMACS_ROOT)/nt/inc/sys/time.h \
1674 $(SRC)/blockinput.h \
1677 $(SRC)/composite.h \
1678 $(SRC)/dispextern.h \
1686 $(BLD)/w32font.$(O) : \
1691 $(SRC)/character.h \
1694 $(SRC)/composite.h \
1695 $(SRC)/dispextern.h \
1703 $(BLD)/w32uniscribe.$(O) : \
1704 $(SRC)/w32uniscribe.c \
1708 $(SRC)/character.h \
1710 $(SRC)/composite.h \
1711 $(SRC)/dispextern.h \
1719 # Each object file depends on stamp_BLD, because in parallel builds we must
1720 # make sure $(BLD) exists before starting compilations.
1722 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD