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
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)/syntax.$(O) : \
1371 $(SRC)/character.h \
1373 $(SRC)/composite.h \
1374 $(SRC)/dispextern.h \
1375 $(SRC)/intervals.h \
1381 $(BLD)/sysdep.$(O) : \
1384 $(EMACS_ROOT)/nt/inc/grp.h \
1385 $(EMACS_ROOT)/nt/inc/netdb.h \
1386 $(EMACS_ROOT)/nt/inc/pwd.h \
1387 $(EMACS_ROOT)/nt/inc/unistd.h \
1388 $(EMACS_ROOT)/nt/inc/sys/file.h \
1389 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1390 $(EMACS_ROOT)/nt/inc/sys/time.h \
1393 $(SRC)/blockinput.h \
1396 $(SRC)/composite.h \
1397 $(SRC)/dispextern.h \
1401 $(SRC)/sysselect.h \
1402 $(SRC)/syssignal.h \
1407 $(SRC)/termhooks.h \
1413 $(BLD)/term.$(O) : \
1416 $(EMACS_ROOT)/nt/inc/unistd.h \
1417 $(EMACS_ROOT)/nt/inc/sys/file.h \
1418 $(EMACS_ROOT)/nt/inc/sys/time.h \
1421 $(SRC)/blockinput.h \
1423 $(SRC)/character.h \
1427 $(SRC)/composite.h \
1428 $(SRC)/dispextern.h \
1431 $(SRC)/intervals.h \
1434 $(SRC)/syssignal.h \
1438 $(SRC)/termhooks.h \
1443 $(BLD)/terminal.$(O) : \
1446 $(EMACS_ROOT)/nt/inc/sys/time.h \
1450 $(SRC)/composite.h \
1451 $(SRC)/dispextern.h \
1456 $(SRC)/termhooks.h \
1459 $(BLD)/textprop.$(O) : \
1464 $(SRC)/composite.h \
1465 $(SRC)/dispextern.h \
1466 $(SRC)/intervals.h \
1470 $(BLD)/tparam.$(O) : \
1475 $(BLD)/undo.$(O) : \
1481 $(SRC)/dispextern.h \
1485 $(BLD)/unexw32.$(O) : \
1490 $(BLD)/vm-limit.$(O) : \
1496 $(BLD)/window.$(O) : \
1499 $(EMACS_ROOT)/nt/inc/sys/time.h \
1502 $(SRC)/blockinput.h \
1506 $(SRC)/composite.h \
1507 $(SRC)/dispextern.h \
1511 $(SRC)/intervals.h \
1516 $(SRC)/termhooks.h \
1521 $(BLD)/xdisp.$(O) : \
1524 $(EMACS_ROOT)/nt/inc/unistd.h \
1525 $(EMACS_ROOT)/nt/inc/sys/time.h \
1528 $(SRC)/blockinput.h \
1531 $(SRC)/character.h \
1535 $(SRC)/composite.h \
1536 $(SRC)/dispextern.h \
1542 $(SRC)/intervals.h \
1547 $(SRC)/region-cache.h \
1550 $(SRC)/termhooks.h \
1556 $(BLD)/xfaces.$(O) : \
1559 $(EMACS_ROOT)/nt/inc/sys/time.h \
1562 $(SRC)/blockinput.h \
1565 $(SRC)/character.h \
1568 $(SRC)/composite.h \
1569 $(SRC)/dispextern.h \
1573 $(SRC)/intervals.h \
1577 $(SRC)/termhooks.h \
1582 $(BLD)/w32fns.$(O) : \
1585 $(EMACS_ROOT)/nt/inc/sys/time.h \
1588 $(SRC)/blockinput.h \
1591 $(SRC)/character.h \
1594 $(SRC)/composite.h \
1595 $(SRC)/dispextern.h \
1600 $(SRC)/intervals.h \
1603 $(SRC)/termhooks.h \
1611 $(BLD)/w32menu.$(O) : \
1614 $(EMACS_ROOT)/nt/inc/sys/time.h \
1617 $(SRC)/blockinput.h \
1619 $(SRC)/character.h \
1622 $(SRC)/composite.h \
1623 $(SRC)/dispextern.h \
1629 $(SRC)/termhooks.h \
1634 $(BLD)/w32term.$(O) : \
1637 $(EMACS_ROOT)/nt/inc/unistd.h \
1638 $(EMACS_ROOT)/nt/inc/sys/time.h \
1641 $(SRC)/blockinput.h \
1644 $(SRC)/character.h \
1647 $(SRC)/composite.h \
1648 $(SRC)/dispextern.h \
1653 $(SRC)/intervals.h \
1660 $(SRC)/termhooks.h \
1668 $(BLD)/w32select.$(O) : \
1669 $(SRC)/w32select.c \
1671 $(EMACS_ROOT)/nt/inc/sys/time.h \
1674 $(SRC)/blockinput.h \
1675 $(SRC)/character.h \
1678 $(SRC)/composite.h \
1685 $(BLD)/w32reg.$(O) : \
1688 $(EMACS_ROOT)/nt/inc/sys/time.h \
1691 $(SRC)/blockinput.h \
1696 $(BLD)/w32xfns.$(O) : \
1699 $(EMACS_ROOT)/nt/inc/sys/time.h \
1702 $(SRC)/blockinput.h \
1705 $(SRC)/composite.h \
1706 $(SRC)/dispextern.h \
1714 $(BLD)/w32font.$(O) : \
1719 $(SRC)/character.h \
1722 $(SRC)/composite.h \
1723 $(SRC)/dispextern.h \
1731 $(BLD)/w32uniscribe.$(O) : \
1732 $(SRC)/w32uniscribe.c \
1736 $(SRC)/character.h \
1738 $(SRC)/composite.h \
1739 $(SRC)/dispextern.h \
1747 # Each object file depends on stamp_BLD, because in parallel builds we must
1748 # make sure $(BLD) exists before starting compilations.
1750 $(OBJ0) $(OBJ1) $(OBJ2) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD