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
296 ## Arrange to make a tags table TAGS-LISP for ../lisp,
297 ## plus TAGS for the C files, which includes ../lisp/TAGS by reference.
299 ## This works only with GNU Make.
301 TAGS: $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ)
302 $(MAKE) $(MFLAGS) TAGS-$(MAKETYPE)
304 TAGS-LISP: $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ)
305 $(MAKE) $(MFLAGS) TAGS-LISP-$(MAKETYPE)
308 ../lib-src/$(BLD)/etags.exe --include=TAGS-LISP --include=../nt/TAGS \
309 --regex=@../nt/emacs-src.tags \
310 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ0))
311 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
312 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ1))
313 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
314 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(WIN32OBJ)) \
315 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(FONTOBJ)) \
319 echo This target is not supported with NMake
324 $(MAKE) $(MFLAGS) -C ../lisp TAGS-LISP DEST=../src
327 echo This target is not supported with NMake
331 $(MAKE) $(MFLAGS) nt-TAGS-$(MAKETYPE)
334 $(MAKE) $(MFLAGS) -C ../nt TAGS
337 echo This target is not supported with NMake
340 full-tags: TAGS TAGS-LISP ../nt/TAGS
346 CONFIG_H = $(EMACS_ROOT)/src/s/ms-w32.h \
347 $(EMACS_ROOT)/src/m/intel386.h \
348 $(EMACS_ROOT)/src/config.h \
349 $(EMACS_ROOT)/nt/inc/sys/stat.h
351 $(BLD)/alloc.$(O) : \
354 $(EMACS_ROOT)/nt/inc/unistd.h \
355 $(EMACS_ROOT)/nt/inc/sys/time.h \
358 $(SRC)/blockinput.h \
363 $(SRC)/dispextern.h \
376 $(BLD)/atimer.$(O) : \
379 $(EMACS_ROOT)/nt/inc/unistd.h \
380 $(EMACS_ROOT)/nt/inc/sys/time.h \
383 $(SRC)/blockinput.h \
391 $(SRC)/bidimirror.h \
395 $(SRC)/dispextern.h \
398 $(BLD)/buffer.$(O) : \
401 $(EMACS_ROOT)/nt/inc/unistd.h \
402 $(EMACS_ROOT)/nt/inc/sys/param.h \
403 $(EMACS_ROOT)/nt/inc/sys/time.h \
406 $(SRC)/blockinput.h \
412 $(SRC)/dispextern.h \
418 $(SRC)/region-cache.h \
423 $(BLD)/bytecode.$(O) : \
429 $(SRC)/dispextern.h \
434 $(BLD)/callint.$(O) : \
437 $(EMACS_ROOT)/nt/inc/sys/time.h \
443 $(SRC)/dispextern.h \
450 $(BLD)/callproc.$(O) : \
453 $(EMACS_ROOT)/nt/inc/unistd.h \
454 $(EMACS_ROOT)/nt/inc/sys/file.h \
455 $(EMACS_ROOT)/nt/inc/sys/time.h \
458 $(SRC)/blockinput.h \
465 $(SRC)/dispextern.h \
476 $(BLD)/casefiddle.$(O) : \
477 $(SRC)/casefiddle.c \
487 $(BLD)/casetab.$(O) : \
494 $(BLD)/category.$(O) : \
514 $(BLD)/character.$(O) : \
524 $(BLD)/charset.$(O) : \
527 $(EMACS_ROOT)/nt/inc/unistd.h \
536 $(BLD)/chartab.$(O) : \
547 $(EMACS_ROOT)/nt/inc/sys/time.h \
554 $(SRC)/dispextern.h \
563 $(BLD)/coding.$(O) : \
573 $(SRC)/dispextern.h \
579 $(BLD)/composite.$(O) : \
588 $(SRC)/dispextern.h \
599 $(EMACS_ROOT)/nt/inc/sys/time.h \
606 $(SRC)/dispextern.h \
616 $(BLD)/dired.$(O) : \
619 $(EMACS_ROOT)/nt/inc/grp.h \
620 $(EMACS_ROOT)/nt/inc/pwd.h \
621 $(EMACS_ROOT)/nt/inc/unistd.h \
622 $(EMACS_ROOT)/nt/inc/sys/dir.h \
623 $(EMACS_ROOT)/nt/inc/sys/time.h \
626 $(SRC)/blockinput.h \
637 $(BLD)/dispnew.$(O) : \
640 $(EMACS_ROOT)/nt/inc/unistd.h \
641 $(EMACS_ROOT)/nt/inc/sys/time.h \
644 $(SRC)/blockinput.h \
651 $(SRC)/dispextern.h \
671 $(EMACS_ROOT)/nt/inc/unistd.h \
672 $(EMACS_ROOT)/nt/inc/sys/file.h \
673 $(EMACS_ROOT)/nt/inc/sys/time.h \
683 $(BLD)/doprnt.$(O) : \
686 $(EMACS_ROOT)/nt/inc/unistd.h \
690 $(BLD)/editfns.$(O) : \
693 $(EMACS_ROOT)/nt/inc/pwd.h \
694 $(EMACS_ROOT)/nt/inc/unistd.h \
695 $(EMACS_ROOT)/nt/inc/sys/time.h \
698 $(SRC)/blockinput.h \
703 $(SRC)/dispextern.h \
710 $(BLD)/emacs.$(O) : \
713 $(EMACS_ROOT)/nt/inc/unistd.h \
714 $(EMACS_ROOT)/nt/inc/sys/file.h \
715 $(EMACS_ROOT)/nt/inc/sys/time.h \
718 $(SRC)/blockinput.h \
723 $(SRC)/dispextern.h \
741 $(EMACS_ROOT)/nt/inc/sys/time.h \
744 $(SRC)/blockinput.h \
748 $(SRC)/dispextern.h \
754 $(BLD)/fileio.$(O) : \
757 $(EMACS_ROOT)/nt/inc/pwd.h \
758 $(EMACS_ROOT)/nt/inc/unistd.h \
759 $(EMACS_ROOT)/nt/inc/sys/time.h \
762 $(SRC)/blockinput.h \
768 $(SRC)/dispextern.h \
775 $(BLD)/filelock.$(O) : \
778 $(EMACS_ROOT)/nt/inc/pwd.h \
779 $(EMACS_ROOT)/nt/inc/unistd.h \
780 $(EMACS_ROOT)/nt/inc/sys/file.h \
781 $(EMACS_ROOT)/nt/inc/sys/time.h \
789 $(BLD)/filemode.$(O) : \
793 $(BLD)/firstfile.$(O) : \
797 $(BLD)/floatfns.$(O) : \
806 $(EMACS_ROOT)/nt/inc/langinfo.h \
807 $(EMACS_ROOT)/nt/inc/nl_types.h \
808 $(EMACS_ROOT)/nt/inc/unistd.h \
809 $(EMACS_ROOT)/nt/inc/sys/time.h \
812 $(SRC)/blockinput.h \
818 $(SRC)/dispextern.h \
837 $(SRC)/dispextern.h \
845 $(BLD)/fontset.$(O) : \
848 $(EMACS_ROOT)/nt/inc/sys/time.h \
851 $(SRC)/blockinput.h \
858 $(SRC)/dispextern.h \
870 $(BLD)/frame.$(O) : \
873 $(EMACS_ROOT)/nt/inc/sys/time.h \
876 $(SRC)/blockinput.h \
883 $(SRC)/dispextern.h \
895 $(BLD)/fringe.$(O) : \
898 $(EMACS_ROOT)/nt/inc/sys/time.h \
901 $(SRC)/blockinput.h \
903 $(SRC)/dispextern.h \
910 $(BLD)/gmalloc.$(O) : \
913 $(EMACS_ROOT)/nt/inc/unistd.h \
916 $(BLD)/image.$(O) : \
919 $(EMACS_ROOT)/nt/inc/unistd.h \
920 $(EMACS_ROOT)/nt/inc/sys/time.h \
923 $(SRC)/blockinput.h \
928 $(SRC)/dispextern.h \
938 $(BLD)/indent.$(O) : \
941 $(EMACS_ROOT)/nt/inc/sys/time.h \
948 $(SRC)/dispextern.h \
954 $(SRC)/region-cache.h \
961 $(BLD)/insdel.$(O) : \
964 $(EMACS_ROOT)/nt/inc/sys/time.h \
967 $(SRC)/blockinput.h \
971 $(SRC)/dispextern.h \
973 $(SRC)/region-cache.h \
978 $(BLD)/intervals.$(O) : \
981 $(EMACS_ROOT)/nt/inc/sys/time.h \
986 $(SRC)/dispextern.h \
994 $(BLD)/keyboard.$(O) : \
997 $(EMACS_ROOT)/nt/inc/unistd.h \
998 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
999 $(EMACS_ROOT)/nt/inc/sys/time.h \
1002 $(SRC)/blockinput.h \
1004 $(SRC)/character.h \
1007 $(SRC)/composite.h \
1008 $(SRC)/dispextern.h \
1011 $(SRC)/intervals.h \
1018 $(SRC)/syssignal.h \
1021 $(SRC)/termhooks.h \
1027 $(BLD)/keymap.$(O) : \
1030 $(EMACS_ROOT)/nt/inc/sys/time.h \
1033 $(SRC)/blockinput.h \
1035 $(SRC)/character.h \
1039 $(SRC)/composite.h \
1040 $(SRC)/dispextern.h \
1042 $(SRC)/intervals.h \
1047 $(SRC)/termhooks.h \
1051 $(BLD)/lastfile.$(O) : \
1055 $(BLD)/lread.$(O) : \
1058 $(EMACS_ROOT)/nt/inc/unistd.h \
1059 $(EMACS_ROOT)/nt/inc/sys/file.h \
1060 $(EMACS_ROOT)/nt/inc/sys/time.h \
1063 $(SRC)/blockinput.h \
1065 $(SRC)/character.h \
1069 $(SRC)/composite.h \
1070 $(SRC)/dispextern.h \
1073 $(SRC)/intervals.h \
1076 $(SRC)/termhooks.h \
1079 $(BLD)/macros.$(O) : \
1082 $(EMACS_ROOT)/nt/inc/sys/time.h \
1087 $(SRC)/composite.h \
1088 $(SRC)/dispextern.h \
1095 $(BLD)/marker.$(O) : \
1107 $(BLD)/menu.$(O) : \
1110 $(EMACS_ROOT)/nt/inc/sys/time.h \
1113 $(SRC)/blockinput.h \
1115 $(SRC)/composite.h \
1116 $(SRC)/dispextern.h \
1122 $(SRC)/termhooks.h \
1127 $(BLD)/minibuf.$(O) : \
1130 $(EMACS_ROOT)/nt/inc/sys/time.h \
1133 $(SRC)/character.h \
1136 $(SRC)/composite.h \
1137 $(SRC)/dispextern.h \
1139 $(SRC)/intervals.h \
1144 $(SRC)/termhooks.h \
1151 $(EMACS_ROOT)/nt/inc/grp.h \
1152 $(EMACS_ROOT)/nt/inc/pwd.h \
1153 $(EMACS_ROOT)/nt/inc/unistd.h \
1154 $(EMACS_ROOT)/nt/inc/sys/file.h \
1155 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1156 $(EMACS_ROOT)/nt/inc/sys/time.h \
1159 $(SRC)/composite.h \
1160 $(SRC)/dispextern.h \
1168 $(BLD)/w32heap.$(O) : \
1174 $(BLD)/w32inevt.$(O) : \
1177 $(EMACS_ROOT)/nt/inc/sys/time.h \
1180 $(SRC)/blockinput.h \
1182 $(SRC)/composite.h \
1183 $(SRC)/dispextern.h \
1187 $(SRC)/termhooks.h \
1192 $(BLD)/w32proc.$(O) : \
1195 $(EMACS_ROOT)/nt/inc/langinfo.h \
1196 $(EMACS_ROOT)/nt/inc/nl_types.h \
1197 $(EMACS_ROOT)/nt/inc/unistd.h \
1198 $(EMACS_ROOT)/nt/inc/sys/file.h \
1199 $(EMACS_ROOT)/nt/inc/sys/time.h \
1201 $(SRC)/character.h \
1203 $(SRC)/composite.h \
1204 $(SRC)/dispextern.h \
1206 $(SRC)/syssignal.h \
1214 $(BLD)/w32console.$(O) : \
1215 $(SRC)/w32console.c \
1218 $(SRC)/character.h \
1220 $(SRC)/composite.h \
1221 $(SRC)/dispextern.h \
1225 $(SRC)/termhooks.h \
1229 $(BLD)/print.$(O) : \
1232 $(EMACS_ROOT)/nt/inc/unistd.h \
1233 $(EMACS_ROOT)/nt/inc/sys/time.h \
1236 $(SRC)/blockinput.h \
1239 $(SRC)/character.h \
1242 $(SRC)/composite.h \
1243 $(SRC)/dispextern.h \
1246 $(SRC)/intervals.h \
1251 $(SRC)/termhooks.h \
1255 $(BLD)/process.$(O) : \
1258 $(EMACS_ROOT)/nt/inc/netdb.h \
1259 $(EMACS_ROOT)/nt/inc/unistd.h \
1260 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1261 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1262 $(EMACS_ROOT)/nt/inc/sys/file.h \
1263 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1264 $(EMACS_ROOT)/nt/inc/sys/time.h \
1267 $(SRC)/blockinput.h \
1269 $(SRC)/character.h \
1272 $(SRC)/composite.h \
1273 $(SRC)/dispextern.h \
1277 $(SRC)/sysselect.h \
1278 $(SRC)/syssignal.h \
1282 $(SRC)/termhooks.h \
1288 $(BLD)/ralloc.$(O) : \
1291 $(EMACS_ROOT)/nt/inc/unistd.h \
1292 $(EMACS_ROOT)/nt/inc/sys/time.h \
1295 $(SRC)/blockinput.h \
1296 $(SRC)/getpagesize.h \
1299 $(BLD)/regex.$(O) : \
1305 $(SRC)/character.h \
1309 $(BLD)/region-cache.$(O) : \
1310 $(SRC)/region-cache.c \
1314 $(SRC)/region-cache.h
1316 $(BLD)/scroll.$(O) : \
1319 $(EMACS_ROOT)/nt/inc/sys/time.h \
1322 $(SRC)/composite.h \
1323 $(SRC)/dispextern.h \
1328 $(SRC)/termhooks.h \
1332 $(BLD)/search.$(O) : \
1335 $(EMACS_ROOT)/nt/inc/sys/time.h \
1338 $(SRC)/blockinput.h \
1341 $(SRC)/character.h \
1344 $(SRC)/composite.h \
1345 $(SRC)/dispextern.h \
1346 $(SRC)/intervals.h \
1348 $(SRC)/region-cache.h \
1353 $(BLD)/sound.$(O) : \
1356 $(EMACS_ROOT)/nt/inc/unistd.h \
1357 $(EMACS_ROOT)/nt/inc/sys/time.h \
1360 $(SRC)/dispextern.h \
1361 $(SRC)/syssignal.h \
1365 $(BLD)/strftime.$(O) : \
1368 $(EMACS_ROOT)/nt/inc/sys/time.h
1370 $(BLD)/syntax.$(O) : \
1376 $(SRC)/character.h \
1378 $(SRC)/composite.h \
1379 $(SRC)/dispextern.h \
1380 $(SRC)/intervals.h \
1386 $(BLD)/sysdep.$(O) : \
1389 $(EMACS_ROOT)/nt/inc/grp.h \
1390 $(EMACS_ROOT)/nt/inc/netdb.h \
1391 $(EMACS_ROOT)/nt/inc/pwd.h \
1392 $(EMACS_ROOT)/nt/inc/unistd.h \
1393 $(EMACS_ROOT)/nt/inc/sys/file.h \
1394 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1395 $(EMACS_ROOT)/nt/inc/sys/time.h \
1398 $(SRC)/blockinput.h \
1401 $(SRC)/composite.h \
1402 $(SRC)/dispextern.h \
1406 $(SRC)/sysselect.h \
1407 $(SRC)/syssignal.h \
1412 $(SRC)/termhooks.h \
1418 $(BLD)/term.$(O) : \
1421 $(EMACS_ROOT)/nt/inc/unistd.h \
1422 $(EMACS_ROOT)/nt/inc/sys/file.h \
1423 $(EMACS_ROOT)/nt/inc/sys/time.h \
1426 $(SRC)/blockinput.h \
1428 $(SRC)/character.h \
1432 $(SRC)/composite.h \
1433 $(SRC)/dispextern.h \
1436 $(SRC)/intervals.h \
1439 $(SRC)/syssignal.h \
1443 $(SRC)/termhooks.h \
1448 $(BLD)/terminal.$(O) : \
1451 $(EMACS_ROOT)/nt/inc/sys/time.h \
1455 $(SRC)/composite.h \
1456 $(SRC)/dispextern.h \
1461 $(SRC)/termhooks.h \
1464 $(BLD)/textprop.$(O) : \
1469 $(SRC)/composite.h \
1470 $(SRC)/dispextern.h \
1471 $(SRC)/intervals.h \
1475 $(BLD)/tparam.$(O) : \
1480 $(BLD)/undo.$(O) : \
1486 $(SRC)/dispextern.h \
1490 $(BLD)/unexw32.$(O) : \
1495 $(BLD)/vm-limit.$(O) : \
1501 $(BLD)/window.$(O) : \
1504 $(EMACS_ROOT)/nt/inc/sys/time.h \
1507 $(SRC)/blockinput.h \
1511 $(SRC)/composite.h \
1512 $(SRC)/dispextern.h \
1516 $(SRC)/intervals.h \
1521 $(SRC)/termhooks.h \
1526 $(BLD)/xdisp.$(O) : \
1529 $(EMACS_ROOT)/nt/inc/unistd.h \
1530 $(EMACS_ROOT)/nt/inc/sys/time.h \
1533 $(SRC)/blockinput.h \
1536 $(SRC)/character.h \
1540 $(SRC)/composite.h \
1541 $(SRC)/dispextern.h \
1547 $(SRC)/intervals.h \
1552 $(SRC)/region-cache.h \
1555 $(SRC)/termhooks.h \
1561 $(BLD)/xfaces.$(O) : \
1564 $(EMACS_ROOT)/nt/inc/sys/time.h \
1567 $(SRC)/blockinput.h \
1570 $(SRC)/character.h \
1573 $(SRC)/composite.h \
1574 $(SRC)/dispextern.h \
1578 $(SRC)/intervals.h \
1582 $(SRC)/termhooks.h \
1587 $(BLD)/w32fns.$(O) : \
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 \
1608 $(SRC)/termhooks.h \
1616 $(BLD)/w32menu.$(O) : \
1619 $(EMACS_ROOT)/nt/inc/sys/time.h \
1622 $(SRC)/blockinput.h \
1624 $(SRC)/character.h \
1627 $(SRC)/composite.h \
1628 $(SRC)/dispextern.h \
1634 $(SRC)/termhooks.h \
1639 $(BLD)/w32term.$(O) : \
1642 $(EMACS_ROOT)/nt/inc/unistd.h \
1643 $(EMACS_ROOT)/nt/inc/sys/time.h \
1646 $(SRC)/blockinput.h \
1649 $(SRC)/character.h \
1652 $(SRC)/composite.h \
1653 $(SRC)/dispextern.h \
1658 $(SRC)/intervals.h \
1665 $(SRC)/termhooks.h \
1673 $(BLD)/w32select.$(O) : \
1674 $(SRC)/w32select.c \
1676 $(EMACS_ROOT)/nt/inc/sys/time.h \
1679 $(SRC)/blockinput.h \
1680 $(SRC)/character.h \
1683 $(SRC)/composite.h \
1690 $(BLD)/w32reg.$(O) : \
1693 $(EMACS_ROOT)/nt/inc/sys/time.h \
1696 $(SRC)/blockinput.h \
1701 $(BLD)/w32xfns.$(O) : \
1704 $(EMACS_ROOT)/nt/inc/sys/time.h \
1707 $(SRC)/blockinput.h \
1710 $(SRC)/composite.h \
1711 $(SRC)/dispextern.h \
1719 $(BLD)/w32font.$(O) : \
1724 $(SRC)/character.h \
1727 $(SRC)/composite.h \
1728 $(SRC)/dispextern.h \
1736 $(BLD)/w32uniscribe.$(O) : \
1737 $(SRC)/w32uniscribe.c \
1741 $(SRC)/character.h \
1743 $(SRC)/composite.h \
1744 $(SRC)/dispextern.h \
1752 # Each object file depends on stamp_BLD, because in parallel builds we must
1753 # make sure $(BLD) exists before starting compilations.
1755 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD