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 TLIB2 = $(BLD)/temacs2.$(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) \
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)
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) $(TLIB2) $(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 $(OBJ2) \>> buildobj.h
197 echo '#define BUILDOBJ $(DQUOTE)\' > buildobj.h
198 echo $(OBJ0) '\' >> buildobj.h
199 echo $(OBJ1) '\' >> buildobj.h
200 echo $(OBJ2) '\' >> buildobj.h
201 echo '$(DQUOTE)' >> buildobj.h
203 bootstrap: bootstrap-emacs
206 # Build a temacs with a sufficiently large PURESIZE to load the
207 # Lisp files from loadup.el in source form.
209 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
210 # this can break with GNU Make 3.81 and later if sh.exe is used.
212 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
215 # Dump an Emacs executable named bootstrap-emacs containing the
216 # files from loadup.el in source form.
218 bootstrap-emacs: bootstrap-temacs
219 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
221 $(CP) $(EMACS) ../bin
224 # Force recompile of files that depend on PURESIZE
227 - $(DEL) $(BLD)/alloc.$(O)
228 - $(DEL) $(BLD)/data.$(O)
229 - $(DEL) $(BLD)/intervals.$(O)
230 - $(DEL) $(BLD)/keyboard.$(O)
231 - $(DEL) $(BLD)/keymap.$(O)
234 # The resource file. NT 3.10 requires the use of cvtres; even though
235 # it is not necessary on later versions, it is still ok to use it.
237 $(TRES): ../nt/emacs.rc stamp_BLD
238 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
241 # Build the library. Split up the build into two phases...otherwise we
242 # run out of command line space.
246 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
249 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
252 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
255 # Place lastfile.$(O) in its own library so that it can be loaded after
256 # the source libraries but before any system libraries. Doing so defines
257 # the end of Emacs' data section portably across compilers and systems.
259 $(TLASTLIB): $(BLD)/lastfile.$(O)
261 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
264 # Assuming INSTALL_DIR is defined, build and install emacs in it.
267 - mkdir "$(INSTALL_DIR)/bin"
268 $(CP) $(EMACS) $(INSTALL_DIR)/bin
273 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
274 # remove precious files if it happens to match their short 8+3 aliases.
276 - $(DEL) "s/*.h~" "m/*.h~"
277 - $(DEL) $(COMPILER_TEMP_FILES)
278 - $(DEL_TREE) $(OBJDIR)
283 - $(DEL) config.h epaths.h Makefile
285 maintainer-clean: distclean
290 - $(DEL_TREE) obj-spd
294 ## Arrange to make a tags table TAGS-LISP for ../lisp,
295 ## plus TAGS for the C files, which includes ../lisp/TAGS by reference.
297 ## This works only with GNU Make.
299 TAGS: $(OBJ0) $(OBJ1) $(OBJ2)
300 $(MAKE) $(MFLAGS) TAGS-$(MAKETYPE)
302 TAGS-LISP: $(OBJ0) $(OBJ1) $(OBJ2)
303 $(MAKE) $(MFLAGS) TAGS-LISP-$(MAKETYPE)
306 ../lib-src/$(BLD)/etags.exe --include=TAGS-LISP --include=../nt/TAGS \
307 --regex=@../nt/emacs-src.tags \
308 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ0))
309 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
310 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ1))
311 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
312 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ2)) \
316 echo This target is not supported with NMake
321 $(MAKE) $(MFLAGS) -C ../lisp TAGS-LISP DEST=../src
324 echo This target is not supported with NMake
328 $(MAKE) $(MFLAGS) nt-TAGS-$(MAKETYPE)
331 $(MAKE) $(MFLAGS) -C ../nt TAGS
334 echo This target is not supported with NMake
337 full-tags: TAGS TAGS-LISP ../nt/TAGS
343 CONFIG_H = $(EMACS_ROOT)/src/s/ms-w32.h \
344 $(EMACS_ROOT)/src/m/intel386.h \
345 $(EMACS_ROOT)/src/config.h \
346 $(EMACS_ROOT)/nt/inc/sys/stat.h
348 $(BLD)/alloc.$(O) : \
351 $(EMACS_ROOT)/nt/inc/unistd.h \
352 $(EMACS_ROOT)/nt/inc/sys/time.h \
355 $(SRC)/blockinput.h \
360 $(SRC)/dispextern.h \
373 $(BLD)/atimer.$(O) : \
376 $(EMACS_ROOT)/nt/inc/unistd.h \
377 $(EMACS_ROOT)/nt/inc/sys/time.h \
380 $(SRC)/blockinput.h \
388 $(SRC)/bidimirror.h \
392 $(SRC)/dispextern.h \
395 $(BLD)/buffer.$(O) : \
398 $(EMACS_ROOT)/nt/inc/unistd.h \
399 $(EMACS_ROOT)/nt/inc/sys/param.h \
400 $(EMACS_ROOT)/nt/inc/sys/time.h \
403 $(SRC)/blockinput.h \
409 $(SRC)/dispextern.h \
415 $(SRC)/region-cache.h \
420 $(BLD)/bytecode.$(O) : \
426 $(SRC)/dispextern.h \
431 $(BLD)/callint.$(O) : \
434 $(EMACS_ROOT)/nt/inc/sys/time.h \
440 $(SRC)/dispextern.h \
447 $(BLD)/callproc.$(O) : \
450 $(EMACS_ROOT)/nt/inc/unistd.h \
451 $(EMACS_ROOT)/nt/inc/sys/file.h \
452 $(EMACS_ROOT)/nt/inc/sys/time.h \
455 $(SRC)/blockinput.h \
462 $(SRC)/dispextern.h \
473 $(BLD)/casefiddle.$(O) : \
474 $(SRC)/casefiddle.c \
484 $(BLD)/casetab.$(O) : \
491 $(BLD)/category.$(O) : \
511 $(BLD)/character.$(O) : \
521 $(BLD)/charset.$(O) : \
524 $(EMACS_ROOT)/nt/inc/unistd.h \
533 $(BLD)/chartab.$(O) : \
544 $(EMACS_ROOT)/nt/inc/sys/time.h \
551 $(SRC)/dispextern.h \
560 $(BLD)/coding.$(O) : \
570 $(SRC)/dispextern.h \
576 $(BLD)/composite.$(O) : \
585 $(SRC)/dispextern.h \
596 $(EMACS_ROOT)/nt/inc/sys/time.h \
603 $(SRC)/dispextern.h \
613 $(BLD)/dired.$(O) : \
616 $(EMACS_ROOT)/nt/inc/grp.h \
617 $(EMACS_ROOT)/nt/inc/pwd.h \
618 $(EMACS_ROOT)/nt/inc/unistd.h \
619 $(EMACS_ROOT)/nt/inc/sys/dir.h \
620 $(EMACS_ROOT)/nt/inc/sys/time.h \
623 $(SRC)/blockinput.h \
634 $(BLD)/dispnew.$(O) : \
637 $(EMACS_ROOT)/nt/inc/unistd.h \
638 $(EMACS_ROOT)/nt/inc/sys/time.h \
641 $(SRC)/blockinput.h \
648 $(SRC)/dispextern.h \
668 $(EMACS_ROOT)/nt/inc/unistd.h \
669 $(EMACS_ROOT)/nt/inc/sys/file.h \
670 $(EMACS_ROOT)/nt/inc/sys/time.h \
680 $(BLD)/doprnt.$(O) : \
683 $(EMACS_ROOT)/nt/inc/unistd.h \
687 $(BLD)/editfns.$(O) : \
690 $(EMACS_ROOT)/nt/inc/pwd.h \
691 $(EMACS_ROOT)/nt/inc/unistd.h \
692 $(EMACS_ROOT)/nt/inc/sys/time.h \
695 $(SRC)/blockinput.h \
700 $(SRC)/dispextern.h \
707 $(BLD)/emacs.$(O) : \
710 $(EMACS_ROOT)/nt/inc/unistd.h \
711 $(EMACS_ROOT)/nt/inc/sys/file.h \
712 $(EMACS_ROOT)/nt/inc/sys/time.h \
715 $(SRC)/blockinput.h \
720 $(SRC)/dispextern.h \
738 $(EMACS_ROOT)/nt/inc/sys/time.h \
741 $(SRC)/blockinput.h \
745 $(SRC)/dispextern.h \
751 $(BLD)/fileio.$(O) : \
754 $(EMACS_ROOT)/nt/inc/pwd.h \
755 $(EMACS_ROOT)/nt/inc/unistd.h \
756 $(EMACS_ROOT)/nt/inc/sys/time.h \
759 $(SRC)/blockinput.h \
765 $(SRC)/dispextern.h \
772 $(BLD)/filelock.$(O) : \
775 $(EMACS_ROOT)/nt/inc/pwd.h \
776 $(EMACS_ROOT)/nt/inc/unistd.h \
777 $(EMACS_ROOT)/nt/inc/sys/file.h \
778 $(EMACS_ROOT)/nt/inc/sys/time.h \
786 $(BLD)/filemode.$(O) : \
790 $(BLD)/firstfile.$(O) : \
794 $(BLD)/floatfns.$(O) : \
803 $(EMACS_ROOT)/nt/inc/langinfo.h \
804 $(EMACS_ROOT)/nt/inc/nl_types.h \
805 $(EMACS_ROOT)/nt/inc/unistd.h \
806 $(EMACS_ROOT)/nt/inc/sys/time.h \
809 $(SRC)/blockinput.h \
815 $(SRC)/dispextern.h \
834 $(SRC)/dispextern.h \
842 $(BLD)/fontset.$(O) : \
845 $(EMACS_ROOT)/nt/inc/sys/time.h \
848 $(SRC)/blockinput.h \
855 $(SRC)/dispextern.h \
867 $(BLD)/frame.$(O) : \
870 $(EMACS_ROOT)/nt/inc/sys/time.h \
873 $(SRC)/blockinput.h \
880 $(SRC)/dispextern.h \
892 $(BLD)/fringe.$(O) : \
895 $(EMACS_ROOT)/nt/inc/sys/time.h \
898 $(SRC)/blockinput.h \
900 $(SRC)/dispextern.h \
907 $(BLD)/gmalloc.$(O) : \
910 $(EMACS_ROOT)/nt/inc/unistd.h \
913 $(BLD)/image.$(O) : \
916 $(EMACS_ROOT)/nt/inc/unistd.h \
917 $(EMACS_ROOT)/nt/inc/sys/time.h \
920 $(SRC)/blockinput.h \
925 $(SRC)/dispextern.h \
935 $(BLD)/indent.$(O) : \
938 $(EMACS_ROOT)/nt/inc/sys/time.h \
945 $(SRC)/dispextern.h \
951 $(SRC)/region-cache.h \
958 $(BLD)/insdel.$(O) : \
961 $(EMACS_ROOT)/nt/inc/sys/time.h \
964 $(SRC)/blockinput.h \
968 $(SRC)/dispextern.h \
970 $(SRC)/region-cache.h \
975 $(BLD)/intervals.$(O) : \
978 $(EMACS_ROOT)/nt/inc/sys/time.h \
983 $(SRC)/dispextern.h \
991 $(BLD)/keyboard.$(O) : \
994 $(EMACS_ROOT)/nt/inc/unistd.h \
995 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
996 $(EMACS_ROOT)/nt/inc/sys/time.h \
999 $(SRC)/blockinput.h \
1001 $(SRC)/character.h \
1004 $(SRC)/composite.h \
1005 $(SRC)/dispextern.h \
1008 $(SRC)/intervals.h \
1015 $(SRC)/syssignal.h \
1018 $(SRC)/termhooks.h \
1024 $(BLD)/keymap.$(O) : \
1027 $(EMACS_ROOT)/nt/inc/sys/time.h \
1030 $(SRC)/blockinput.h \
1032 $(SRC)/character.h \
1036 $(SRC)/composite.h \
1037 $(SRC)/dispextern.h \
1039 $(SRC)/intervals.h \
1044 $(SRC)/termhooks.h \
1048 $(BLD)/lastfile.$(O) : \
1052 $(BLD)/lread.$(O) : \
1055 $(EMACS_ROOT)/nt/inc/unistd.h \
1056 $(EMACS_ROOT)/nt/inc/sys/file.h \
1057 $(EMACS_ROOT)/nt/inc/sys/time.h \
1060 $(SRC)/blockinput.h \
1062 $(SRC)/character.h \
1066 $(SRC)/composite.h \
1067 $(SRC)/dispextern.h \
1070 $(SRC)/intervals.h \
1073 $(SRC)/termhooks.h \
1076 $(BLD)/macros.$(O) : \
1079 $(EMACS_ROOT)/nt/inc/sys/time.h \
1084 $(SRC)/composite.h \
1085 $(SRC)/dispextern.h \
1092 $(BLD)/marker.$(O) : \
1104 $(BLD)/menu.$(O) : \
1107 $(EMACS_ROOT)/nt/inc/sys/time.h \
1110 $(SRC)/blockinput.h \
1112 $(SRC)/composite.h \
1113 $(SRC)/dispextern.h \
1119 $(SRC)/termhooks.h \
1124 $(BLD)/minibuf.$(O) : \
1127 $(EMACS_ROOT)/nt/inc/sys/time.h \
1130 $(SRC)/character.h \
1133 $(SRC)/composite.h \
1134 $(SRC)/dispextern.h \
1136 $(SRC)/intervals.h \
1141 $(SRC)/termhooks.h \
1148 $(EMACS_ROOT)/nt/inc/grp.h \
1149 $(EMACS_ROOT)/nt/inc/pwd.h \
1150 $(EMACS_ROOT)/nt/inc/unistd.h \
1151 $(EMACS_ROOT)/nt/inc/sys/file.h \
1152 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1153 $(EMACS_ROOT)/nt/inc/sys/time.h \
1156 $(SRC)/composite.h \
1157 $(SRC)/dispextern.h \
1165 $(BLD)/w32heap.$(O) : \
1171 $(BLD)/w32inevt.$(O) : \
1174 $(EMACS_ROOT)/nt/inc/sys/time.h \
1177 $(SRC)/blockinput.h \
1179 $(SRC)/composite.h \
1180 $(SRC)/dispextern.h \
1184 $(SRC)/termhooks.h \
1189 $(BLD)/w32proc.$(O) : \
1192 $(EMACS_ROOT)/nt/inc/langinfo.h \
1193 $(EMACS_ROOT)/nt/inc/nl_types.h \
1194 $(EMACS_ROOT)/nt/inc/unistd.h \
1195 $(EMACS_ROOT)/nt/inc/sys/file.h \
1196 $(EMACS_ROOT)/nt/inc/sys/time.h \
1198 $(SRC)/character.h \
1200 $(SRC)/composite.h \
1201 $(SRC)/dispextern.h \
1203 $(SRC)/syssignal.h \
1211 $(BLD)/w32console.$(O) : \
1212 $(SRC)/w32console.c \
1215 $(SRC)/character.h \
1217 $(SRC)/composite.h \
1218 $(SRC)/dispextern.h \
1222 $(SRC)/termhooks.h \
1226 $(BLD)/print.$(O) : \
1229 $(EMACS_ROOT)/nt/inc/unistd.h \
1230 $(EMACS_ROOT)/nt/inc/sys/time.h \
1233 $(SRC)/blockinput.h \
1236 $(SRC)/character.h \
1239 $(SRC)/composite.h \
1240 $(SRC)/dispextern.h \
1243 $(SRC)/intervals.h \
1248 $(SRC)/termhooks.h \
1252 $(BLD)/process.$(O) : \
1255 $(EMACS_ROOT)/nt/inc/netdb.h \
1256 $(EMACS_ROOT)/nt/inc/unistd.h \
1257 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1258 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1259 $(EMACS_ROOT)/nt/inc/sys/file.h \
1260 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1261 $(EMACS_ROOT)/nt/inc/sys/time.h \
1264 $(SRC)/blockinput.h \
1266 $(SRC)/character.h \
1269 $(SRC)/composite.h \
1270 $(SRC)/dispextern.h \
1274 $(SRC)/sysselect.h \
1275 $(SRC)/syssignal.h \
1279 $(SRC)/termhooks.h \
1285 $(BLD)/ralloc.$(O) : \
1288 $(EMACS_ROOT)/nt/inc/unistd.h \
1289 $(EMACS_ROOT)/nt/inc/sys/time.h \
1292 $(SRC)/blockinput.h \
1293 $(SRC)/getpagesize.h \
1296 $(BLD)/regex.$(O) : \
1302 $(SRC)/character.h \
1306 $(BLD)/region-cache.$(O) : \
1307 $(SRC)/region-cache.c \
1311 $(SRC)/region-cache.h
1313 $(BLD)/scroll.$(O) : \
1316 $(EMACS_ROOT)/nt/inc/sys/time.h \
1319 $(SRC)/composite.h \
1320 $(SRC)/dispextern.h \
1325 $(SRC)/termhooks.h \
1329 $(BLD)/search.$(O) : \
1332 $(EMACS_ROOT)/nt/inc/sys/time.h \
1335 $(SRC)/blockinput.h \
1338 $(SRC)/character.h \
1341 $(SRC)/composite.h \
1342 $(SRC)/dispextern.h \
1343 $(SRC)/intervals.h \
1345 $(SRC)/region-cache.h \
1350 $(BLD)/sound.$(O) : \
1353 $(EMACS_ROOT)/nt/inc/unistd.h \
1354 $(EMACS_ROOT)/nt/inc/sys/time.h \
1357 $(SRC)/dispextern.h \
1358 $(SRC)/syssignal.h \
1362 $(BLD)/strftime.$(O) : \
1365 $(EMACS_ROOT)/nt/inc/sys/time.h
1367 $(BLD)/syntax.$(O) : \
1373 $(SRC)/character.h \
1375 $(SRC)/composite.h \
1376 $(SRC)/dispextern.h \
1377 $(SRC)/intervals.h \
1383 $(BLD)/sysdep.$(O) : \
1386 $(EMACS_ROOT)/nt/inc/grp.h \
1387 $(EMACS_ROOT)/nt/inc/netdb.h \
1388 $(EMACS_ROOT)/nt/inc/pwd.h \
1389 $(EMACS_ROOT)/nt/inc/unistd.h \
1390 $(EMACS_ROOT)/nt/inc/sys/file.h \
1391 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1392 $(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