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../lib -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)
43 GNULIB = ../lib/$(BLD)/libgnu.$(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) \
99 OBJ2 = $(BLD)/sysdep.$(O) \
103 $(BLD)/unexw32.$(O) \
106 $(BLD)/casetab.$(O) \
107 $(BLD)/floatfns.$(O) \
109 $(BLD)/gmalloc.$(O) \
110 $(BLD)/intervals.$(O) \
111 $(BLD)/composite.$(O) \
113 $(BLD)/textprop.$(O) \
114 $(BLD)/vm-limit.$(O) \
115 $(BLD)/region-cache.$(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)
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" -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) $(TLIB2) $(TLASTLIB) $(TOBJ) $(TRES) \
178 ../nt/$(BLD)/addsection.exe $(GNULIB)
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 $(OBJ2) \>> buildobj.h
197 # The above line is here to countermand the single quote
198 # on the last "echo" command above, wrt font-lock.
200 echo '#define BUILDOBJ $(DQUOTE)\' > buildobj.h
201 echo $(OBJ0) '\' >> buildobj.h
202 echo $(OBJ1) '\' >> buildobj.h
203 echo $(OBJ2) '\' >> 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)
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
297 ## Arrange to make a tags table TAGS-LISP for ../lisp,
298 ## plus TAGS for the C files, which includes ../lisp/TAGS by reference.
300 ## This works only with GNU Make.
302 TAGS: $(OBJ0) $(OBJ1) $(OBJ2)
303 $(MAKE) $(MFLAGS) TAGS-$(MAKETYPE)
305 TAGS-LISP: $(OBJ0) $(OBJ1) $(OBJ2)
306 $(MAKE) $(MFLAGS) TAGS-LISP-$(MAKETYPE)
309 ../lib-src/$(BLD)/etags.exe --include=TAGS-LISP --include=../nt/TAGS \
310 --regex=@../nt/emacs-src.tags \
311 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ0))
312 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
313 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ1))
314 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
315 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ2)) \
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
350 IGNORE_VALUE_H = $(EMACS_ROOT)/lib/ignore-value.h
352 $(BLD)/alloc.$(O) : \
355 $(EMACS_ROOT)/nt/inc/unistd.h \
356 $(EMACS_ROOT)/nt/inc/sys/time.h \
359 $(SRC)/blockinput.h \
364 $(SRC)/dispextern.h \
377 $(BLD)/atimer.$(O) : \
380 $(EMACS_ROOT)/nt/inc/unistd.h \
381 $(EMACS_ROOT)/nt/inc/sys/time.h \
384 $(SRC)/blockinput.h \
392 $(SRC)/bidimirror.h \
396 $(SRC)/dispextern.h \
399 $(BLD)/buffer.$(O) : \
402 $(EMACS_ROOT)/nt/inc/unistd.h \
403 $(EMACS_ROOT)/nt/inc/sys/param.h \
404 $(EMACS_ROOT)/nt/inc/sys/time.h \
407 $(SRC)/blockinput.h \
413 $(SRC)/dispextern.h \
419 $(SRC)/region-cache.h \
424 $(BLD)/bytecode.$(O) : \
430 $(SRC)/dispextern.h \
435 $(BLD)/callint.$(O) : \
438 $(EMACS_ROOT)/nt/inc/sys/time.h \
444 $(SRC)/dispextern.h \
451 $(BLD)/callproc.$(O) : \
454 $(EMACS_ROOT)/nt/inc/unistd.h \
455 $(EMACS_ROOT)/nt/inc/sys/file.h \
456 $(EMACS_ROOT)/nt/inc/sys/time.h \
459 $(SRC)/blockinput.h \
466 $(SRC)/dispextern.h \
477 $(BLD)/casefiddle.$(O) : \
478 $(SRC)/casefiddle.c \
488 $(BLD)/casetab.$(O) : \
495 $(BLD)/category.$(O) : \
515 $(BLD)/character.$(O) : \
525 $(BLD)/charset.$(O) : \
528 $(EMACS_ROOT)/nt/inc/unistd.h \
537 $(BLD)/chartab.$(O) : \
548 $(EMACS_ROOT)/nt/inc/sys/time.h \
555 $(SRC)/dispextern.h \
564 $(BLD)/coding.$(O) : \
574 $(SRC)/dispextern.h \
580 $(BLD)/composite.$(O) : \
589 $(SRC)/dispextern.h \
600 $(EMACS_ROOT)/nt/inc/sys/time.h \
607 $(SRC)/dispextern.h \
617 $(BLD)/dired.$(O) : \
620 $(EMACS_ROOT)/nt/inc/grp.h \
621 $(EMACS_ROOT)/nt/inc/pwd.h \
622 $(EMACS_ROOT)/nt/inc/unistd.h \
623 $(EMACS_ROOT)/nt/inc/sys/dir.h \
624 $(EMACS_ROOT)/nt/inc/sys/time.h \
627 $(SRC)/blockinput.h \
638 $(BLD)/dispnew.$(O) : \
641 $(EMACS_ROOT)/nt/inc/unistd.h \
642 $(EMACS_ROOT)/nt/inc/sys/time.h \
645 $(SRC)/blockinput.h \
652 $(SRC)/dispextern.h \
672 $(EMACS_ROOT)/nt/inc/unistd.h \
673 $(EMACS_ROOT)/nt/inc/sys/file.h \
674 $(EMACS_ROOT)/nt/inc/sys/time.h \
684 $(BLD)/doprnt.$(O) : \
687 $(EMACS_ROOT)/nt/inc/unistd.h \
691 $(BLD)/editfns.$(O) : \
694 $(EMACS_ROOT)/nt/inc/pwd.h \
695 $(EMACS_ROOT)/nt/inc/unistd.h \
696 $(EMACS_ROOT)/nt/inc/sys/time.h \
699 $(SRC)/blockinput.h \
704 $(SRC)/dispextern.h \
711 $(BLD)/emacs.$(O) : \
714 $(EMACS_ROOT)/nt/inc/unistd.h \
715 $(EMACS_ROOT)/nt/inc/sys/file.h \
716 $(EMACS_ROOT)/nt/inc/sys/time.h \
719 $(SRC)/blockinput.h \
724 $(SRC)/dispextern.h \
742 $(EMACS_ROOT)/nt/inc/sys/time.h \
745 $(SRC)/blockinput.h \
749 $(SRC)/dispextern.h \
755 $(BLD)/fileio.$(O) : \
758 $(EMACS_ROOT)/nt/inc/pwd.h \
759 $(EMACS_ROOT)/nt/inc/unistd.h \
760 $(EMACS_ROOT)/nt/inc/sys/time.h \
763 $(SRC)/blockinput.h \
769 $(SRC)/dispextern.h \
776 $(BLD)/filelock.$(O) : \
779 $(EMACS_ROOT)/nt/inc/pwd.h \
780 $(EMACS_ROOT)/nt/inc/unistd.h \
781 $(EMACS_ROOT)/nt/inc/sys/file.h \
782 $(EMACS_ROOT)/nt/inc/sys/time.h \
790 $(BLD)/filemode.$(O) : \
794 $(BLD)/firstfile.$(O) : \
798 $(BLD)/floatfns.$(O) : \
807 $(EMACS_ROOT)/nt/inc/langinfo.h \
808 $(EMACS_ROOT)/nt/inc/nl_types.h \
809 $(EMACS_ROOT)/nt/inc/unistd.h \
810 $(EMACS_ROOT)/nt/inc/sys/time.h \
813 $(SRC)/blockinput.h \
819 $(SRC)/dispextern.h \
838 $(SRC)/dispextern.h \
846 $(BLD)/fontset.$(O) : \
849 $(EMACS_ROOT)/nt/inc/sys/time.h \
852 $(SRC)/blockinput.h \
859 $(SRC)/dispextern.h \
871 $(BLD)/frame.$(O) : \
874 $(EMACS_ROOT)/nt/inc/sys/time.h \
877 $(SRC)/blockinput.h \
884 $(SRC)/dispextern.h \
896 $(BLD)/fringe.$(O) : \
899 $(EMACS_ROOT)/nt/inc/sys/time.h \
902 $(SRC)/blockinput.h \
904 $(SRC)/dispextern.h \
911 $(BLD)/gmalloc.$(O) : \
914 $(EMACS_ROOT)/nt/inc/unistd.h \
917 $(BLD)/image.$(O) : \
920 $(EMACS_ROOT)/nt/inc/unistd.h \
921 $(EMACS_ROOT)/nt/inc/sys/time.h \
924 $(SRC)/blockinput.h \
929 $(SRC)/dispextern.h \
939 $(BLD)/indent.$(O) : \
942 $(EMACS_ROOT)/nt/inc/sys/time.h \
949 $(SRC)/dispextern.h \
955 $(SRC)/region-cache.h \
962 $(BLD)/insdel.$(O) : \
965 $(EMACS_ROOT)/nt/inc/sys/time.h \
968 $(SRC)/blockinput.h \
972 $(SRC)/dispextern.h \
974 $(SRC)/region-cache.h \
979 $(BLD)/intervals.$(O) : \
982 $(EMACS_ROOT)/nt/inc/sys/time.h \
987 $(SRC)/dispextern.h \
995 $(BLD)/keyboard.$(O) : \
998 $(EMACS_ROOT)/nt/inc/unistd.h \
999 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1000 $(EMACS_ROOT)/nt/inc/sys/time.h \
1003 $(SRC)/blockinput.h \
1005 $(SRC)/character.h \
1008 $(SRC)/composite.h \
1009 $(SRC)/dispextern.h \
1012 $(SRC)/intervals.h \
1019 $(SRC)/syssignal.h \
1022 $(SRC)/termhooks.h \
1028 $(BLD)/keymap.$(O) : \
1031 $(EMACS_ROOT)/nt/inc/sys/time.h \
1034 $(SRC)/blockinput.h \
1036 $(SRC)/character.h \
1040 $(SRC)/composite.h \
1041 $(SRC)/dispextern.h \
1043 $(SRC)/intervals.h \
1048 $(SRC)/termhooks.h \
1052 $(BLD)/lastfile.$(O) : \
1056 $(BLD)/lread.$(O) : \
1059 $(EMACS_ROOT)/nt/inc/unistd.h \
1060 $(EMACS_ROOT)/nt/inc/sys/file.h \
1061 $(EMACS_ROOT)/nt/inc/sys/time.h \
1064 $(SRC)/blockinput.h \
1066 $(SRC)/character.h \
1070 $(SRC)/composite.h \
1071 $(SRC)/dispextern.h \
1074 $(SRC)/intervals.h \
1077 $(SRC)/termhooks.h \
1080 $(BLD)/macros.$(O) : \
1083 $(EMACS_ROOT)/nt/inc/sys/time.h \
1088 $(SRC)/composite.h \
1089 $(SRC)/dispextern.h \
1096 $(BLD)/marker.$(O) : \
1108 $(BLD)/menu.$(O) : \
1111 $(EMACS_ROOT)/nt/inc/sys/time.h \
1114 $(SRC)/blockinput.h \
1116 $(SRC)/composite.h \
1117 $(SRC)/dispextern.h \
1123 $(SRC)/termhooks.h \
1128 $(BLD)/minibuf.$(O) : \
1131 $(EMACS_ROOT)/nt/inc/sys/time.h \
1134 $(SRC)/character.h \
1137 $(SRC)/composite.h \
1138 $(SRC)/dispextern.h \
1140 $(SRC)/intervals.h \
1145 $(SRC)/termhooks.h \
1152 $(EMACS_ROOT)/nt/inc/grp.h \
1153 $(EMACS_ROOT)/nt/inc/pwd.h \
1154 $(EMACS_ROOT)/nt/inc/unistd.h \
1155 $(EMACS_ROOT)/nt/inc/sys/file.h \
1156 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1157 $(EMACS_ROOT)/nt/inc/sys/time.h \
1160 $(SRC)/composite.h \
1161 $(SRC)/dispextern.h \
1169 $(BLD)/w32heap.$(O) : \
1175 $(BLD)/w32inevt.$(O) : \
1178 $(EMACS_ROOT)/nt/inc/sys/time.h \
1181 $(SRC)/blockinput.h \
1183 $(SRC)/composite.h \
1184 $(SRC)/dispextern.h \
1188 $(SRC)/termhooks.h \
1193 $(BLD)/w32proc.$(O) : \
1196 $(EMACS_ROOT)/nt/inc/langinfo.h \
1197 $(EMACS_ROOT)/nt/inc/nl_types.h \
1198 $(EMACS_ROOT)/nt/inc/unistd.h \
1199 $(EMACS_ROOT)/nt/inc/sys/file.h \
1200 $(EMACS_ROOT)/nt/inc/sys/time.h \
1202 $(SRC)/character.h \
1204 $(SRC)/composite.h \
1205 $(SRC)/dispextern.h \
1207 $(SRC)/syssignal.h \
1215 $(BLD)/w32console.$(O) : \
1216 $(SRC)/w32console.c \
1219 $(SRC)/character.h \
1221 $(SRC)/composite.h \
1222 $(SRC)/dispextern.h \
1226 $(SRC)/termhooks.h \
1230 $(BLD)/print.$(O) : \
1233 $(EMACS_ROOT)/nt/inc/unistd.h \
1234 $(EMACS_ROOT)/nt/inc/sys/time.h \
1237 $(SRC)/blockinput.h \
1240 $(SRC)/character.h \
1243 $(SRC)/composite.h \
1244 $(SRC)/dispextern.h \
1247 $(SRC)/intervals.h \
1252 $(SRC)/termhooks.h \
1256 $(BLD)/process.$(O) : \
1259 $(EMACS_ROOT)/nt/inc/netdb.h \
1260 $(EMACS_ROOT)/nt/inc/unistd.h \
1261 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1262 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1263 $(EMACS_ROOT)/nt/inc/sys/file.h \
1264 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1265 $(EMACS_ROOT)/nt/inc/sys/time.h \
1268 $(SRC)/blockinput.h \
1270 $(SRC)/character.h \
1273 $(SRC)/composite.h \
1274 $(SRC)/dispextern.h \
1278 $(SRC)/sysselect.h \
1279 $(SRC)/syssignal.h \
1283 $(SRC)/termhooks.h \
1289 $(BLD)/ralloc.$(O) : \
1292 $(EMACS_ROOT)/nt/inc/unistd.h \
1293 $(EMACS_ROOT)/nt/inc/sys/time.h \
1296 $(SRC)/blockinput.h \
1297 $(SRC)/getpagesize.h \
1300 $(BLD)/regex.$(O) : \
1306 $(SRC)/character.h \
1310 $(BLD)/region-cache.$(O) : \
1311 $(SRC)/region-cache.c \
1315 $(SRC)/region-cache.h
1317 $(BLD)/scroll.$(O) : \
1320 $(EMACS_ROOT)/nt/inc/sys/time.h \
1323 $(SRC)/composite.h \
1324 $(SRC)/dispextern.h \
1329 $(SRC)/termhooks.h \
1333 $(BLD)/search.$(O) : \
1336 $(EMACS_ROOT)/nt/inc/sys/time.h \
1339 $(SRC)/blockinput.h \
1342 $(SRC)/character.h \
1345 $(SRC)/composite.h \
1346 $(SRC)/dispextern.h \
1347 $(SRC)/intervals.h \
1349 $(SRC)/region-cache.h \
1354 $(BLD)/sound.$(O) : \
1357 $(EMACS_ROOT)/nt/inc/unistd.h \
1358 $(EMACS_ROOT)/nt/inc/sys/time.h \
1361 $(SRC)/dispextern.h \
1362 $(SRC)/syssignal.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 \
1395 $(SRC)/blockinput.h \
1398 $(SRC)/composite.h \
1399 $(SRC)/dispextern.h \
1403 $(SRC)/sysselect.h \
1404 $(SRC)/syssignal.h \
1409 $(SRC)/termhooks.h \
1415 $(BLD)/term.$(O) : \
1418 $(EMACS_ROOT)/nt/inc/unistd.h \
1419 $(EMACS_ROOT)/nt/inc/sys/file.h \
1420 $(EMACS_ROOT)/nt/inc/sys/time.h \
1423 $(SRC)/blockinput.h \
1425 $(SRC)/character.h \
1429 $(SRC)/composite.h \
1430 $(SRC)/dispextern.h \
1433 $(SRC)/intervals.h \
1436 $(SRC)/syssignal.h \
1440 $(SRC)/termhooks.h \
1445 $(BLD)/terminal.$(O) : \
1448 $(EMACS_ROOT)/nt/inc/sys/time.h \
1452 $(SRC)/composite.h \
1453 $(SRC)/dispextern.h \
1458 $(SRC)/termhooks.h \
1461 $(BLD)/textprop.$(O) : \
1466 $(SRC)/composite.h \
1467 $(SRC)/dispextern.h \
1468 $(SRC)/intervals.h \
1472 $(BLD)/tparam.$(O) : \
1477 $(BLD)/undo.$(O) : \
1483 $(SRC)/dispextern.h \
1487 $(BLD)/unexw32.$(O) : \
1492 $(BLD)/vm-limit.$(O) : \
1498 $(BLD)/window.$(O) : \
1501 $(EMACS_ROOT)/nt/inc/sys/time.h \
1504 $(SRC)/blockinput.h \
1508 $(SRC)/composite.h \
1509 $(SRC)/dispextern.h \
1513 $(SRC)/intervals.h \
1518 $(SRC)/termhooks.h \
1523 $(BLD)/xdisp.$(O) : \
1526 $(EMACS_ROOT)/nt/inc/unistd.h \
1527 $(EMACS_ROOT)/nt/inc/sys/time.h \
1530 $(SRC)/blockinput.h \
1533 $(SRC)/character.h \
1537 $(SRC)/composite.h \
1538 $(SRC)/dispextern.h \
1544 $(SRC)/intervals.h \
1549 $(SRC)/region-cache.h \
1552 $(SRC)/termhooks.h \
1558 $(BLD)/xfaces.$(O) : \
1561 $(EMACS_ROOT)/nt/inc/sys/time.h \
1564 $(SRC)/blockinput.h \
1567 $(SRC)/character.h \
1570 $(SRC)/composite.h \
1571 $(SRC)/dispextern.h \
1575 $(SRC)/intervals.h \
1579 $(SRC)/termhooks.h \
1584 $(BLD)/w32fns.$(O) : \
1587 $(EMACS_ROOT)/nt/inc/sys/time.h \
1590 $(SRC)/blockinput.h \
1593 $(SRC)/character.h \
1596 $(SRC)/composite.h \
1597 $(SRC)/dispextern.h \
1602 $(SRC)/intervals.h \
1605 $(SRC)/termhooks.h \
1613 $(BLD)/w32menu.$(O) : \
1616 $(EMACS_ROOT)/nt/inc/sys/time.h \
1619 $(SRC)/blockinput.h \
1621 $(SRC)/character.h \
1624 $(SRC)/composite.h \
1625 $(SRC)/dispextern.h \
1631 $(SRC)/termhooks.h \
1636 $(BLD)/w32term.$(O) : \
1639 $(EMACS_ROOT)/nt/inc/unistd.h \
1640 $(EMACS_ROOT)/nt/inc/sys/time.h \
1643 $(SRC)/blockinput.h \
1646 $(SRC)/character.h \
1649 $(SRC)/composite.h \
1650 $(SRC)/dispextern.h \
1655 $(SRC)/intervals.h \
1662 $(SRC)/termhooks.h \
1670 $(BLD)/w32select.$(O) : \
1671 $(SRC)/w32select.c \
1673 $(EMACS_ROOT)/nt/inc/sys/time.h \
1676 $(SRC)/blockinput.h \
1677 $(SRC)/character.h \
1680 $(SRC)/composite.h \
1687 $(BLD)/w32reg.$(O) : \
1690 $(EMACS_ROOT)/nt/inc/sys/time.h \
1693 $(SRC)/blockinput.h \
1698 $(BLD)/w32xfns.$(O) : \
1701 $(EMACS_ROOT)/nt/inc/sys/time.h \
1704 $(SRC)/blockinput.h \
1707 $(SRC)/composite.h \
1708 $(SRC)/dispextern.h \
1716 $(BLD)/w32font.$(O) : \
1721 $(SRC)/character.h \
1724 $(SRC)/composite.h \
1725 $(SRC)/dispextern.h \
1733 $(BLD)/w32uniscribe.$(O) : \
1734 $(SRC)/w32uniscribe.c \
1738 $(SRC)/character.h \
1740 $(SRC)/composite.h \
1741 $(SRC)/dispextern.h \
1749 # Each object file depends on stamp_BLD, because in parallel builds we must
1750 # make sure $(BLD) exists before starting compilations.
1752 $(OBJ0) $(OBJ1) $(OBJ2) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD