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) \
116 $(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) \
130 $(BLD)/w32term.$(O) \
131 $(BLD)/w32xfns.$(O) \
134 $(BLD)/w32select.$(O) \
135 $(BLD)/w32menu.$(O) \
137 $(BLD)/w32font.$(O) \
138 $(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" -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) $(TLIB2) $(TLASTLIB) $(TOBJ) $(TRES) \
179 ../nt/$(BLD)/addsection.exe $(GNULIB)
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 $(OBJ2) \>> buildobj.h
198 # The above line is here to countermand the single quote
199 # on the last "echo" command above, wrt font-lock.
201 echo '#define BUILDOBJ $(DQUOTE)\' > buildobj.h
202 echo $(OBJ0) '\' >> buildobj.h
203 echo $(OBJ1) '\' >> buildobj.h
204 echo $(OBJ2) '\' >> 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)
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
298 ## Arrange to make a tags table TAGS-LISP for ../lisp,
299 ## plus TAGS for the C files, which includes ../lisp/TAGS by reference.
301 ## This works only with GNU Make.
303 TAGS: $(OBJ0) $(OBJ1) $(OBJ2)
304 $(MAKE) $(MFLAGS) TAGS-$(MAKETYPE)
306 TAGS-LISP: $(OBJ0) $(OBJ1) $(OBJ2)
307 $(MAKE) $(MFLAGS) TAGS-LISP-$(MAKETYPE)
310 ../lib-src/$(BLD)/etags.exe --include=TAGS-LISP --include=../nt/TAGS \
311 --regex=@../nt/emacs-src.tags \
312 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ0))
313 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
314 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ1))
315 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
316 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ2)) \
320 echo This target is not supported with NMake
325 $(MAKE) $(MFLAGS) -C ../lisp TAGS-LISP DEST=../src
328 echo This target is not supported with NMake
332 $(MAKE) $(MFLAGS) nt-TAGS-$(MAKETYPE)
335 $(MAKE) $(MFLAGS) -C ../nt TAGS
338 echo This target is not supported with NMake
341 full-tags: TAGS TAGS-LISP ../nt/TAGS
347 CONFIG_H = $(EMACS_ROOT)/src/s/ms-w32.h \
348 $(EMACS_ROOT)/src/m/intel386.h \
349 $(EMACS_ROOT)/src/config.h \
350 $(EMACS_ROOT)/nt/inc/sys/stat.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)/strftime.$(O) : \
1369 $(EMACS_ROOT)/nt/inc/sys/time.h
1371 $(BLD)/syntax.$(O) : \
1377 $(SRC)/character.h \
1379 $(SRC)/composite.h \
1380 $(SRC)/dispextern.h \
1381 $(SRC)/intervals.h \
1387 $(BLD)/sysdep.$(O) : \
1390 $(EMACS_ROOT)/nt/inc/grp.h \
1391 $(EMACS_ROOT)/nt/inc/netdb.h \
1392 $(EMACS_ROOT)/nt/inc/pwd.h \
1393 $(EMACS_ROOT)/nt/inc/unistd.h \
1394 $(EMACS_ROOT)/nt/inc/sys/file.h \
1395 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1396 $(EMACS_ROOT)/nt/inc/sys/time.h \
1399 $(SRC)/blockinput.h \
1402 $(SRC)/composite.h \
1403 $(SRC)/dispextern.h \
1407 $(SRC)/sysselect.h \
1408 $(SRC)/syssignal.h \
1413 $(SRC)/termhooks.h \
1419 $(BLD)/term.$(O) : \
1422 $(EMACS_ROOT)/nt/inc/unistd.h \
1423 $(EMACS_ROOT)/nt/inc/sys/file.h \
1424 $(EMACS_ROOT)/nt/inc/sys/time.h \
1427 $(SRC)/blockinput.h \
1429 $(SRC)/character.h \
1433 $(SRC)/composite.h \
1434 $(SRC)/dispextern.h \
1437 $(SRC)/intervals.h \
1440 $(SRC)/syssignal.h \
1444 $(SRC)/termhooks.h \
1449 $(BLD)/terminal.$(O) : \
1452 $(EMACS_ROOT)/nt/inc/sys/time.h \
1456 $(SRC)/composite.h \
1457 $(SRC)/dispextern.h \
1462 $(SRC)/termhooks.h \
1465 $(BLD)/textprop.$(O) : \
1470 $(SRC)/composite.h \
1471 $(SRC)/dispextern.h \
1472 $(SRC)/intervals.h \
1476 $(BLD)/tparam.$(O) : \
1481 $(BLD)/undo.$(O) : \
1487 $(SRC)/dispextern.h \
1491 $(BLD)/unexw32.$(O) : \
1496 $(BLD)/vm-limit.$(O) : \
1502 $(BLD)/window.$(O) : \
1505 $(EMACS_ROOT)/nt/inc/sys/time.h \
1508 $(SRC)/blockinput.h \
1512 $(SRC)/composite.h \
1513 $(SRC)/dispextern.h \
1517 $(SRC)/intervals.h \
1522 $(SRC)/termhooks.h \
1527 $(BLD)/xdisp.$(O) : \
1530 $(EMACS_ROOT)/nt/inc/unistd.h \
1531 $(EMACS_ROOT)/nt/inc/sys/time.h \
1534 $(SRC)/blockinput.h \
1537 $(SRC)/character.h \
1541 $(SRC)/composite.h \
1542 $(SRC)/dispextern.h \
1548 $(SRC)/intervals.h \
1553 $(SRC)/region-cache.h \
1556 $(SRC)/termhooks.h \
1562 $(BLD)/xfaces.$(O) : \
1565 $(EMACS_ROOT)/nt/inc/sys/time.h \
1568 $(SRC)/blockinput.h \
1571 $(SRC)/character.h \
1574 $(SRC)/composite.h \
1575 $(SRC)/dispextern.h \
1579 $(SRC)/intervals.h \
1583 $(SRC)/termhooks.h \
1588 $(BLD)/w32fns.$(O) : \
1591 $(EMACS_ROOT)/nt/inc/sys/time.h \
1594 $(SRC)/blockinput.h \
1597 $(SRC)/character.h \
1600 $(SRC)/composite.h \
1601 $(SRC)/dispextern.h \
1606 $(SRC)/intervals.h \
1609 $(SRC)/termhooks.h \
1617 $(BLD)/w32menu.$(O) : \
1620 $(EMACS_ROOT)/nt/inc/sys/time.h \
1623 $(SRC)/blockinput.h \
1625 $(SRC)/character.h \
1628 $(SRC)/composite.h \
1629 $(SRC)/dispextern.h \
1635 $(SRC)/termhooks.h \
1640 $(BLD)/w32term.$(O) : \
1643 $(EMACS_ROOT)/nt/inc/unistd.h \
1644 $(EMACS_ROOT)/nt/inc/sys/time.h \
1647 $(SRC)/blockinput.h \
1650 $(SRC)/character.h \
1653 $(SRC)/composite.h \
1654 $(SRC)/dispextern.h \
1659 $(SRC)/intervals.h \
1666 $(SRC)/termhooks.h \
1674 $(BLD)/w32select.$(O) : \
1675 $(SRC)/w32select.c \
1677 $(EMACS_ROOT)/nt/inc/sys/time.h \
1680 $(SRC)/blockinput.h \
1681 $(SRC)/character.h \
1684 $(SRC)/composite.h \
1691 $(BLD)/w32reg.$(O) : \
1694 $(EMACS_ROOT)/nt/inc/sys/time.h \
1697 $(SRC)/blockinput.h \
1702 $(BLD)/w32xfns.$(O) : \
1705 $(EMACS_ROOT)/nt/inc/sys/time.h \
1708 $(SRC)/blockinput.h \
1711 $(SRC)/composite.h \
1712 $(SRC)/dispextern.h \
1720 $(BLD)/w32font.$(O) : \
1725 $(SRC)/character.h \
1728 $(SRC)/composite.h \
1729 $(SRC)/dispextern.h \
1737 $(BLD)/w32uniscribe.$(O) : \
1738 $(SRC)/w32uniscribe.c \
1742 $(SRC)/character.h \
1744 $(SRC)/composite.h \
1745 $(SRC)/dispextern.h \
1753 # Each object file depends on stamp_BLD, because in parallel builds we must
1754 # make sure $(BLD) exists before starting compilations.
1756 $(OBJ0) $(OBJ1) $(OBJ2) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD