1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
2 # Copyright (C) 2000-2011 Free Software Foundation, Inc.
4 # This file is part of GNU Emacs.
6 # GNU Emacs is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
11 # GNU Emacs is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
24 # Set EMACSLOADPATH correctly (in case already defined in environment).
25 EMACSLOADPATH=$(CURDIR)/../lisp
28 # HAVE_CONFIG_H is required by some generic gnu sources stuck into
29 # the emacs source tree.
31 LOCAL_FLAGS = -Demacs=1 -DHAVE_CONFIG_H -I../nt/inc -DHAVE_NTGUI=1 $(EMACS_EXTRA_C_FLAGS)
34 EMACS = $(BLD)/emacs.exe
35 TEMACS = $(BLD)/temacs.exe
36 TEMACS_TMP = $(BLD)/temacs.bin
37 TLIB0 = $(BLD)/temacs0.$(A)
38 TLIB1 = $(BLD)/temacs1.$(A)
39 TLIB2 = $(BLD)/temacs2.$(A)
40 TOBJ = $(BLD)/firstfile.$(O)
41 TRES = $(BLD)/emacs.res
42 TLASTLIB = $(BLD)/lastfile.$(A)
44 DOC = $(OBJDIR)/etc/DOC-X
46 FULL_LINK_FLAGS = $(LINK_FLAGS) $(TEMACS_EXTRA_LINK)
49 # Split up the objects into two sets so that we don't run out of
50 # command line space when we link them into a library.
52 # Put emacs.$(O) in a separate lib, since we need to have firstfile.$(O)
53 # as the "main" object file when linking.
55 OBJ0 = $(BLD)/emacs.$(O)
57 OBJ1 = $(BLD)/alloc.$(O) \
60 $(BLD)/bytecode.$(O) \
62 $(BLD)/callproc.$(O) \
63 $(BLD)/casefiddle.$(O) \
73 $(BLD)/filelock.$(O) \
74 $(BLD)/filemode.$(O) \
78 $(BLD)/keyboard.$(O) \
87 $(BLD)/w32inevt.$(O) \
89 $(BLD)/w32console.$(O) \
98 OBJ2 = $(BLD)/sysdep.$(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) \
129 $(BLD)/w32term.$(O) \
130 $(BLD)/w32xfns.$(O) \
133 $(BLD)/w32select.$(O) \
134 $(BLD)/w32menu.$(O) \
136 $(BLD)/w32font.$(O) \
137 $(BLD)/w32uniscribe.$(O)
157 # Build the executable and dump it.
162 # The dumped executable
164 emacs: stamp_BLD $(EMACS)
165 $(EMACS): $(DOC) $(TEMACS)
166 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
167 -"$(THISDIR)/$(BLD)/emacs.exe" -batch -f list-load-path-shadows
170 # The undumped executable
171 # Note the extra post-link step to insert a static preload heap section.
172 # If preload runs out of memory, increase the last argument to addsection
173 # (it is the preload heap size in MB).
175 temacs: stamp_BLD $(TEMACS)
176 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIB2) $(TLASTLIB) $(TOBJ) $(TRES) \
177 ../nt/$(BLD)/addsection.exe
178 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
179 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 21
181 # These omit firstfile.${O}, but there's no documentation in there
183 buildobj.h: $(SRC)/makefile.w32-in
184 $(MAKE) $(MFLAGS) make-buildobj-$(SHELLTYPE)
186 # Cannot have blanks between the backslash and the redirection
187 # characters, because CMD's `echo' will put them in buildobj.h.
189 echo #define BUILDOBJ ^"\> buildobj.h
190 echo $(OBJ0) \>> buildobj.h
191 echo $(OBJ1) \>> buildobj.h
192 echo $(OBJ2) \>> buildobj.h
196 echo '#define BUILDOBJ $(DQUOTE)\' > buildobj.h
197 echo $(OBJ0) '\' >> buildobj.h
198 echo $(OBJ1) '\' >> buildobj.h
199 echo $(OBJ2) '\' >> buildobj.h
200 echo '$(DQUOTE)' >> buildobj.h
202 bootstrap: bootstrap-emacs
205 # Build a temacs with a sufficiently large PURESIZE to load the
206 # Lisp files from loadup.el in source form.
208 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
209 # this can break with GNU Make 3.81 and later if sh.exe is used.
211 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
214 # Dump an Emacs executable named bootstrap-emacs containing the
215 # files from loadup.el in source form.
217 bootstrap-emacs: bootstrap-temacs
218 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
220 $(CP) $(EMACS) ../bin
223 # Force recompile of files that depend on PURESIZE
226 - $(DEL) $(BLD)/alloc.$(O)
227 - $(DEL) $(BLD)/data.$(O)
228 - $(DEL) $(BLD)/intervals.$(O)
229 - $(DEL) $(BLD)/keyboard.$(O)
230 - $(DEL) $(BLD)/keymap.$(O)
233 # The resource file. NT 3.10 requires the use of cvtres; even though
234 # it is not necessary on later versions, it is still ok to use it.
236 $(TRES): ../nt/emacs.rc stamp_BLD
237 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
240 # Build the library. Split up the build into two phases...otherwise we
241 # run out of command line space.
245 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
248 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
251 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
254 # Place lastfile.$(O) in its own library so that it can be loaded after
255 # the source libraries but before any system libraries. Doing so defines
256 # the end of Emacs' data section portably across compilers and systems.
258 $(TLASTLIB): $(BLD)/lastfile.$(O)
260 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
263 # Assuming INSTALL_DIR is defined, build and install emacs in it.
266 - mkdir "$(INSTALL_DIR)/bin"
267 $(CP) $(EMACS) $(INSTALL_DIR)/bin
272 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
273 # remove precious files if it happens to match their short 8+3 aliases.
275 - $(DEL) "s/*.h~" "m/*.h~"
276 - $(DEL) $(COMPILER_TEMP_FILES)
277 - $(DEL_TREE) $(OBJDIR)
282 - $(DEL) config.h epaths.h Makefile
284 maintainer-clean: distclean
289 - $(DEL_TREE) obj-spd
293 ## Arrange to make a tags table TAGS-LISP for ../lisp,
294 ## plus TAGS for the C files, which includes ../lisp/TAGS by reference.
296 ## This works only with GNU Make.
298 TAGS: $(OBJ0) $(OBJ1) $(OBJ2)
299 $(MAKE) $(MFLAGS) TAGS-$(MAKETYPE)
301 TAGS-LISP: $(OBJ0) $(OBJ1) $(OBJ2)
302 $(MAKE) $(MFLAGS) TAGS-LISP-$(MAKETYPE)
305 ../lib-src/$(BLD)/etags.exe --include=TAGS-LISP --include=../nt/TAGS \
306 --regex=@../nt/emacs-src.tags \
307 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ0))
308 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
309 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ1))
310 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
311 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ2)) \
315 echo This target is not supported with NMake
320 $(MAKE) $(MFLAGS) -C ../lisp TAGS-LISP DEST=../src
323 echo This target is not supported with NMake
327 $(MAKE) $(MFLAGS) nt-TAGS-$(MAKETYPE)
330 $(MAKE) $(MFLAGS) -C ../nt TAGS
333 echo This target is not supported with NMake
336 full-tags: TAGS TAGS-LISP ../nt/TAGS
342 CONFIG_H = $(EMACS_ROOT)/src/s/ms-w32.h \
343 $(EMACS_ROOT)/src/m/intel386.h \
344 $(EMACS_ROOT)/src/config.h \
345 $(EMACS_ROOT)/nt/inc/sys/stat.h
347 $(BLD)/alloc.$(O) : \
350 $(EMACS_ROOT)/nt/inc/unistd.h \
351 $(EMACS_ROOT)/nt/inc/sys/time.h \
354 $(SRC)/blockinput.h \
359 $(SRC)/dispextern.h \
372 $(BLD)/atimer.$(O) : \
375 $(EMACS_ROOT)/nt/inc/unistd.h \
376 $(EMACS_ROOT)/nt/inc/sys/time.h \
379 $(SRC)/blockinput.h \
387 $(SRC)/bidimirror.h \
391 $(SRC)/dispextern.h \
394 $(BLD)/buffer.$(O) : \
397 $(EMACS_ROOT)/nt/inc/unistd.h \
398 $(EMACS_ROOT)/nt/inc/sys/param.h \
399 $(EMACS_ROOT)/nt/inc/sys/time.h \
402 $(SRC)/blockinput.h \
408 $(SRC)/dispextern.h \
414 $(SRC)/region-cache.h \
419 $(BLD)/bytecode.$(O) : \
425 $(SRC)/dispextern.h \
430 $(BLD)/callint.$(O) : \
433 $(EMACS_ROOT)/nt/inc/sys/time.h \
439 $(SRC)/dispextern.h \
446 $(BLD)/callproc.$(O) : \
449 $(EMACS_ROOT)/nt/inc/unistd.h \
450 $(EMACS_ROOT)/nt/inc/sys/file.h \
451 $(EMACS_ROOT)/nt/inc/sys/time.h \
454 $(SRC)/blockinput.h \
461 $(SRC)/dispextern.h \
472 $(BLD)/casefiddle.$(O) : \
473 $(SRC)/casefiddle.c \
483 $(BLD)/casetab.$(O) : \
490 $(BLD)/category.$(O) : \
510 $(BLD)/character.$(O) : \
520 $(BLD)/charset.$(O) : \
523 $(EMACS_ROOT)/nt/inc/unistd.h \
532 $(BLD)/chartab.$(O) : \
543 $(EMACS_ROOT)/nt/inc/sys/time.h \
550 $(SRC)/dispextern.h \
559 $(BLD)/coding.$(O) : \
569 $(SRC)/dispextern.h \
575 $(BLD)/composite.$(O) : \
584 $(SRC)/dispextern.h \
595 $(EMACS_ROOT)/nt/inc/sys/time.h \
602 $(SRC)/dispextern.h \
612 $(BLD)/dired.$(O) : \
615 $(EMACS_ROOT)/nt/inc/grp.h \
616 $(EMACS_ROOT)/nt/inc/pwd.h \
617 $(EMACS_ROOT)/nt/inc/unistd.h \
618 $(EMACS_ROOT)/nt/inc/sys/dir.h \
619 $(EMACS_ROOT)/nt/inc/sys/time.h \
622 $(SRC)/blockinput.h \
633 $(BLD)/dispnew.$(O) : \
636 $(EMACS_ROOT)/nt/inc/unistd.h \
637 $(EMACS_ROOT)/nt/inc/sys/time.h \
640 $(SRC)/blockinput.h \
647 $(SRC)/dispextern.h \
667 $(EMACS_ROOT)/nt/inc/unistd.h \
668 $(EMACS_ROOT)/nt/inc/sys/file.h \
669 $(EMACS_ROOT)/nt/inc/sys/time.h \
679 $(BLD)/doprnt.$(O) : \
682 $(EMACS_ROOT)/nt/inc/unistd.h \
686 $(BLD)/editfns.$(O) : \
689 $(EMACS_ROOT)/nt/inc/pwd.h \
690 $(EMACS_ROOT)/nt/inc/unistd.h \
691 $(EMACS_ROOT)/nt/inc/sys/time.h \
694 $(SRC)/blockinput.h \
699 $(SRC)/dispextern.h \
706 $(BLD)/emacs.$(O) : \
709 $(EMACS_ROOT)/nt/inc/unistd.h \
710 $(EMACS_ROOT)/nt/inc/sys/file.h \
711 $(EMACS_ROOT)/nt/inc/sys/time.h \
714 $(SRC)/blockinput.h \
719 $(SRC)/dispextern.h \
737 $(EMACS_ROOT)/nt/inc/sys/time.h \
740 $(SRC)/blockinput.h \
744 $(SRC)/dispextern.h \
750 $(BLD)/fileio.$(O) : \
753 $(EMACS_ROOT)/nt/inc/pwd.h \
754 $(EMACS_ROOT)/nt/inc/unistd.h \
755 $(EMACS_ROOT)/nt/inc/sys/time.h \
758 $(SRC)/blockinput.h \
764 $(SRC)/dispextern.h \
771 $(BLD)/filelock.$(O) : \
774 $(EMACS_ROOT)/nt/inc/pwd.h \
775 $(EMACS_ROOT)/nt/inc/unistd.h \
776 $(EMACS_ROOT)/nt/inc/sys/file.h \
777 $(EMACS_ROOT)/nt/inc/sys/time.h \
785 $(BLD)/filemode.$(O) : \
789 $(BLD)/firstfile.$(O) : \
793 $(BLD)/floatfns.$(O) : \
802 $(EMACS_ROOT)/nt/inc/langinfo.h \
803 $(EMACS_ROOT)/nt/inc/nl_types.h \
804 $(EMACS_ROOT)/nt/inc/unistd.h \
805 $(EMACS_ROOT)/nt/inc/sys/time.h \
808 $(SRC)/blockinput.h \
814 $(SRC)/dispextern.h \
833 $(SRC)/dispextern.h \
841 $(BLD)/fontset.$(O) : \
844 $(EMACS_ROOT)/nt/inc/sys/time.h \
847 $(SRC)/blockinput.h \
854 $(SRC)/dispextern.h \
866 $(BLD)/frame.$(O) : \
869 $(EMACS_ROOT)/nt/inc/sys/time.h \
872 $(SRC)/blockinput.h \
879 $(SRC)/dispextern.h \
891 $(BLD)/fringe.$(O) : \
894 $(EMACS_ROOT)/nt/inc/sys/time.h \
897 $(SRC)/blockinput.h \
899 $(SRC)/dispextern.h \
906 $(BLD)/gmalloc.$(O) : \
909 $(EMACS_ROOT)/nt/inc/unistd.h \
912 $(BLD)/image.$(O) : \
915 $(EMACS_ROOT)/nt/inc/unistd.h \
916 $(EMACS_ROOT)/nt/inc/sys/time.h \
919 $(SRC)/blockinput.h \
924 $(SRC)/dispextern.h \
934 $(BLD)/indent.$(O) : \
937 $(EMACS_ROOT)/nt/inc/sys/time.h \
944 $(SRC)/dispextern.h \
950 $(SRC)/region-cache.h \
957 $(BLD)/insdel.$(O) : \
960 $(EMACS_ROOT)/nt/inc/sys/time.h \
963 $(SRC)/blockinput.h \
967 $(SRC)/dispextern.h \
969 $(SRC)/region-cache.h \
974 $(BLD)/intervals.$(O) : \
977 $(EMACS_ROOT)/nt/inc/sys/time.h \
982 $(SRC)/dispextern.h \
990 $(BLD)/keyboard.$(O) : \
993 $(EMACS_ROOT)/nt/inc/unistd.h \
994 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
995 $(EMACS_ROOT)/nt/inc/sys/time.h \
998 $(SRC)/blockinput.h \
1000 $(SRC)/character.h \
1003 $(SRC)/composite.h \
1004 $(SRC)/dispextern.h \
1007 $(SRC)/intervals.h \
1014 $(SRC)/syssignal.h \
1017 $(SRC)/termhooks.h \
1023 $(BLD)/keymap.$(O) : \
1026 $(EMACS_ROOT)/nt/inc/sys/time.h \
1029 $(SRC)/blockinput.h \
1031 $(SRC)/character.h \
1035 $(SRC)/composite.h \
1036 $(SRC)/dispextern.h \
1038 $(SRC)/intervals.h \
1043 $(SRC)/termhooks.h \
1047 $(BLD)/lastfile.$(O) : \
1051 $(BLD)/lread.$(O) : \
1054 $(EMACS_ROOT)/nt/inc/unistd.h \
1055 $(EMACS_ROOT)/nt/inc/sys/file.h \
1056 $(EMACS_ROOT)/nt/inc/sys/time.h \
1059 $(SRC)/blockinput.h \
1061 $(SRC)/character.h \
1065 $(SRC)/composite.h \
1066 $(SRC)/dispextern.h \
1069 $(SRC)/intervals.h \
1072 $(SRC)/termhooks.h \
1075 $(BLD)/macros.$(O) : \
1078 $(EMACS_ROOT)/nt/inc/sys/time.h \
1083 $(SRC)/composite.h \
1084 $(SRC)/dispextern.h \
1091 $(BLD)/marker.$(O) : \
1103 $(BLD)/menu.$(O) : \
1106 $(EMACS_ROOT)/nt/inc/sys/time.h \
1109 $(SRC)/blockinput.h \
1111 $(SRC)/composite.h \
1112 $(SRC)/dispextern.h \
1118 $(SRC)/termhooks.h \
1123 $(BLD)/minibuf.$(O) : \
1126 $(EMACS_ROOT)/nt/inc/sys/time.h \
1129 $(SRC)/character.h \
1132 $(SRC)/composite.h \
1133 $(SRC)/dispextern.h \
1135 $(SRC)/intervals.h \
1140 $(SRC)/termhooks.h \
1147 $(EMACS_ROOT)/nt/inc/grp.h \
1148 $(EMACS_ROOT)/nt/inc/pwd.h \
1149 $(EMACS_ROOT)/nt/inc/unistd.h \
1150 $(EMACS_ROOT)/nt/inc/sys/file.h \
1151 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1152 $(EMACS_ROOT)/nt/inc/sys/time.h \
1155 $(SRC)/composite.h \
1156 $(SRC)/dispextern.h \
1164 $(BLD)/w32heap.$(O) : \
1170 $(BLD)/w32inevt.$(O) : \
1173 $(EMACS_ROOT)/nt/inc/sys/time.h \
1176 $(SRC)/blockinput.h \
1178 $(SRC)/composite.h \
1179 $(SRC)/dispextern.h \
1183 $(SRC)/termhooks.h \
1188 $(BLD)/w32proc.$(O) : \
1191 $(EMACS_ROOT)/nt/inc/langinfo.h \
1192 $(EMACS_ROOT)/nt/inc/nl_types.h \
1193 $(EMACS_ROOT)/nt/inc/unistd.h \
1194 $(EMACS_ROOT)/nt/inc/sys/file.h \
1195 $(EMACS_ROOT)/nt/inc/sys/time.h \
1197 $(SRC)/character.h \
1199 $(SRC)/composite.h \
1200 $(SRC)/dispextern.h \
1202 $(SRC)/syssignal.h \
1210 $(BLD)/w32console.$(O) : \
1211 $(SRC)/w32console.c \
1214 $(SRC)/character.h \
1216 $(SRC)/composite.h \
1217 $(SRC)/dispextern.h \
1221 $(SRC)/termhooks.h \
1225 $(BLD)/print.$(O) : \
1228 $(EMACS_ROOT)/nt/inc/unistd.h \
1229 $(EMACS_ROOT)/nt/inc/sys/time.h \
1232 $(SRC)/blockinput.h \
1235 $(SRC)/character.h \
1238 $(SRC)/composite.h \
1239 $(SRC)/dispextern.h \
1242 $(SRC)/intervals.h \
1247 $(SRC)/termhooks.h \
1251 $(BLD)/process.$(O) : \
1254 $(EMACS_ROOT)/nt/inc/netdb.h \
1255 $(EMACS_ROOT)/nt/inc/unistd.h \
1256 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1257 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1258 $(EMACS_ROOT)/nt/inc/sys/file.h \
1259 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1260 $(EMACS_ROOT)/nt/inc/sys/time.h \
1263 $(SRC)/blockinput.h \
1265 $(SRC)/character.h \
1268 $(SRC)/composite.h \
1269 $(SRC)/dispextern.h \
1273 $(SRC)/sysselect.h \
1274 $(SRC)/syssignal.h \
1278 $(SRC)/termhooks.h \
1284 $(BLD)/ralloc.$(O) : \
1287 $(EMACS_ROOT)/nt/inc/unistd.h \
1288 $(EMACS_ROOT)/nt/inc/sys/time.h \
1291 $(SRC)/blockinput.h \
1292 $(SRC)/getpagesize.h \
1295 $(BLD)/regex.$(O) : \
1301 $(SRC)/character.h \
1305 $(BLD)/region-cache.$(O) : \
1306 $(SRC)/region-cache.c \
1310 $(SRC)/region-cache.h
1312 $(BLD)/scroll.$(O) : \
1315 $(EMACS_ROOT)/nt/inc/sys/time.h \
1318 $(SRC)/composite.h \
1319 $(SRC)/dispextern.h \
1324 $(SRC)/termhooks.h \
1328 $(BLD)/search.$(O) : \
1331 $(EMACS_ROOT)/nt/inc/sys/time.h \
1334 $(SRC)/blockinput.h \
1337 $(SRC)/character.h \
1340 $(SRC)/composite.h \
1341 $(SRC)/dispextern.h \
1342 $(SRC)/intervals.h \
1344 $(SRC)/region-cache.h \
1349 $(BLD)/sound.$(O) : \
1352 $(EMACS_ROOT)/nt/inc/unistd.h \
1353 $(EMACS_ROOT)/nt/inc/sys/time.h \
1356 $(SRC)/dispextern.h \
1357 $(SRC)/syssignal.h \
1361 $(BLD)/strftime.$(O) : \
1364 $(EMACS_ROOT)/nt/inc/sys/time.h
1366 $(BLD)/syntax.$(O) : \
1372 $(SRC)/character.h \
1374 $(SRC)/composite.h \
1375 $(SRC)/dispextern.h \
1376 $(SRC)/intervals.h \
1382 $(BLD)/sysdep.$(O) : \
1385 $(EMACS_ROOT)/nt/inc/grp.h \
1386 $(EMACS_ROOT)/nt/inc/netdb.h \
1387 $(EMACS_ROOT)/nt/inc/pwd.h \
1388 $(EMACS_ROOT)/nt/inc/unistd.h \
1389 $(EMACS_ROOT)/nt/inc/sys/file.h \
1390 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1391 $(EMACS_ROOT)/nt/inc/sys/time.h \
1394 $(SRC)/blockinput.h \
1397 $(SRC)/composite.h \
1398 $(SRC)/dispextern.h \
1402 $(SRC)/sysselect.h \
1403 $(SRC)/syssignal.h \
1408 $(SRC)/termhooks.h \
1414 $(BLD)/term.$(O) : \
1417 $(EMACS_ROOT)/nt/inc/unistd.h \
1418 $(EMACS_ROOT)/nt/inc/sys/file.h \
1419 $(EMACS_ROOT)/nt/inc/sys/time.h \
1422 $(SRC)/blockinput.h \
1424 $(SRC)/character.h \
1428 $(SRC)/composite.h \
1429 $(SRC)/dispextern.h \
1432 $(SRC)/intervals.h \
1435 $(SRC)/syssignal.h \
1439 $(SRC)/termhooks.h \
1444 $(BLD)/terminal.$(O) : \
1447 $(EMACS_ROOT)/nt/inc/sys/time.h \
1451 $(SRC)/composite.h \
1452 $(SRC)/dispextern.h \
1457 $(SRC)/termhooks.h \
1460 $(BLD)/textprop.$(O) : \
1465 $(SRC)/composite.h \
1466 $(SRC)/dispextern.h \
1467 $(SRC)/intervals.h \
1471 $(BLD)/tparam.$(O) : \
1476 $(BLD)/undo.$(O) : \
1482 $(SRC)/dispextern.h \
1486 $(BLD)/unexw32.$(O) : \
1491 $(BLD)/vm-limit.$(O) : \
1497 $(BLD)/window.$(O) : \
1500 $(EMACS_ROOT)/nt/inc/sys/time.h \
1503 $(SRC)/blockinput.h \
1507 $(SRC)/composite.h \
1508 $(SRC)/dispextern.h \
1512 $(SRC)/intervals.h \
1517 $(SRC)/termhooks.h \
1522 $(BLD)/xdisp.$(O) : \
1525 $(EMACS_ROOT)/nt/inc/unistd.h \
1526 $(EMACS_ROOT)/nt/inc/sys/time.h \
1529 $(SRC)/blockinput.h \
1532 $(SRC)/character.h \
1536 $(SRC)/composite.h \
1537 $(SRC)/dispextern.h \
1543 $(SRC)/intervals.h \
1548 $(SRC)/region-cache.h \
1551 $(SRC)/termhooks.h \
1557 $(BLD)/xfaces.$(O) : \
1560 $(EMACS_ROOT)/nt/inc/sys/time.h \
1563 $(SRC)/blockinput.h \
1566 $(SRC)/character.h \
1569 $(SRC)/composite.h \
1570 $(SRC)/dispextern.h \
1574 $(SRC)/intervals.h \
1578 $(SRC)/termhooks.h \
1583 $(BLD)/w32fns.$(O) : \
1586 $(EMACS_ROOT)/nt/inc/sys/time.h \
1589 $(SRC)/blockinput.h \
1592 $(SRC)/character.h \
1595 $(SRC)/composite.h \
1596 $(SRC)/dispextern.h \
1601 $(SRC)/intervals.h \
1604 $(SRC)/termhooks.h \
1612 $(BLD)/w32menu.$(O) : \
1615 $(EMACS_ROOT)/nt/inc/sys/time.h \
1618 $(SRC)/blockinput.h \
1620 $(SRC)/character.h \
1623 $(SRC)/composite.h \
1624 $(SRC)/dispextern.h \
1630 $(SRC)/termhooks.h \
1635 $(BLD)/w32term.$(O) : \
1638 $(EMACS_ROOT)/nt/inc/unistd.h \
1639 $(EMACS_ROOT)/nt/inc/sys/time.h \
1642 $(SRC)/blockinput.h \
1645 $(SRC)/character.h \
1648 $(SRC)/composite.h \
1649 $(SRC)/dispextern.h \
1654 $(SRC)/intervals.h \
1661 $(SRC)/termhooks.h \
1669 $(BLD)/w32select.$(O) : \
1670 $(SRC)/w32select.c \
1672 $(EMACS_ROOT)/nt/inc/sys/time.h \
1675 $(SRC)/blockinput.h \
1676 $(SRC)/character.h \
1679 $(SRC)/composite.h \
1686 $(BLD)/w32reg.$(O) : \
1689 $(EMACS_ROOT)/nt/inc/sys/time.h \
1692 $(SRC)/blockinput.h \
1697 $(BLD)/w32xfns.$(O) : \
1700 $(EMACS_ROOT)/nt/inc/sys/time.h \
1703 $(SRC)/blockinput.h \
1706 $(SRC)/composite.h \
1707 $(SRC)/dispextern.h \
1715 $(BLD)/w32font.$(O) : \
1720 $(SRC)/character.h \
1723 $(SRC)/composite.h \
1724 $(SRC)/dispextern.h \
1732 $(BLD)/w32uniscribe.$(O) : \
1733 $(SRC)/w32uniscribe.c \
1737 $(SRC)/character.h \
1739 $(SRC)/composite.h \
1740 $(SRC)/dispextern.h \
1748 # Each object file depends on stamp_BLD, because in parallel builds we must
1749 # make sure $(BLD) exists before starting compilations.
1751 $(OBJ0) $(OBJ1) $(OBJ2) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD