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 TLIBW32 = $(BLD)/temacw32.$(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) \
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) \
130 WIN32OBJ = $(BLD)/w32term.$(O) \
131 $(BLD)/w32xfns.$(O) \
134 $(BLD)/w32select.$(O) \
135 $(BLD)/w32menu.$(O) \
138 FONTOBJ = $(BLD)/w32font.$(O) $(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) $(TLIBW32) $(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 $(WIN32OBJ) \>> buildobj.h
194 echo $(FONTOBJ) \>> buildobj.h
198 echo '#define BUILDOBJ $(DQUOTE)\' > buildobj.h
199 echo $(OBJ0) '\' >> buildobj.h
200 echo $(OBJ1) '\' >> buildobj.h
201 echo $(WIN32OBJ) '\' >> buildobj.h
202 echo $(FONTOBJ) '\' >> buildobj.h
203 echo '$(DQUOTE)' >> buildobj.h
205 bootstrap: bootstrap-emacs
208 # Build a temacs with a sufficiently large PURESIZE to load the
209 # Lisp files from loadup.el in source form.
211 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
212 # this can break with GNU Make 3.81 and later if sh.exe is used.
214 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
217 # Dump an Emacs executable named bootstrap-emacs containing the
218 # files from loadup.el in source form.
220 bootstrap-emacs: bootstrap-temacs
221 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
223 $(CP) $(EMACS) ../bin
226 # Force recompile of files that depend on PURESIZE
229 - $(DEL) $(BLD)/alloc.$(O)
230 - $(DEL) $(BLD)/data.$(O)
231 - $(DEL) $(BLD)/intervals.$(O)
232 - $(DEL) $(BLD)/keyboard.$(O)
233 - $(DEL) $(BLD)/keymap.$(O)
236 # The resource file. NT 3.10 requires the use of cvtres; even though
237 # it is not necessary on later versions, it is still ok to use it.
239 $(TRES): ../nt/emacs.rc stamp_BLD
240 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
243 # Build the library. Split up the build into two phases...otherwise we
244 # run out of command line space.
248 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
251 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
252 $(TLIBW32): $(WIN32OBJ) $(FONTOBJ)
254 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
257 # Place lastfile.$(O) in its own library so that it can be loaded after
258 # the source libraries but before any system libraries. Doing so defines
259 # the end of Emacs' data section portably across compilers and systems.
261 $(TLASTLIB): $(BLD)/lastfile.$(O)
263 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
266 # Assuming INSTALL_DIR is defined, build and install emacs in it.
269 - mkdir "$(INSTALL_DIR)/bin"
270 $(CP) $(EMACS) $(INSTALL_DIR)/bin
275 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
276 # remove precious files if it happens to match their short 8+3 aliases.
278 - $(DEL) "s/*.h~" "m/*.h~"
279 - $(DEL) $(COMPILER_TEMP_FILES)
280 - $(DEL_TREE) $(OBJDIR)
285 - $(DEL) config.h epaths.h Makefile
287 maintainer-clean: distclean
292 - $(DEL_TREE) obj-spd
296 ## Arrange to make a tags table TAGS-LISP for ../lisp,
297 ## plus TAGS for the C files, which includes ../lisp/TAGS by reference.
299 ## This works only with GNU Make.
301 TAGS: $(OBJ0) $(OBJ1) $(WIN32OBJ)
302 $(MAKE) $(MFLAGS) TAGS-$(MAKETYPE)
304 TAGS-LISP: $(OBJ0) $(OBJ1) $(WIN32OBJ)
305 $(MAKE) $(MFLAGS) TAGS-LISP-$(MAKETYPE)
308 ../lib-src/$(BLD)/etags.exe --include=TAGS-LISP --include=../nt/TAGS \
309 --regex=@../nt/emacs-src.tags \
310 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ0))
311 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
312 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ1))
313 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
314 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(WIN32OBJ)) $(CURDIR)/*.h
317 echo This target is not supported with NMake
322 $(MAKE) $(MFLAGS) -C ../lisp TAGS-LISP DEST=../src
325 echo This target is not supported with NMake
329 $(MAKE) $(MFLAGS) nt-TAGS-$(MAKETYPE)
332 $(MAKE) $(MFLAGS) -C ../nt TAGS
335 echo This target is not supported with NMake
338 tags: TAGS TAGS-LISP ../nt/TAGS
344 CONFIG_H = $(EMACS_ROOT)/src/s/ms-w32.h \
345 $(EMACS_ROOT)/src/m/intel386.h \
346 $(EMACS_ROOT)/src/config.h \
347 $(EMACS_ROOT)/nt/inc/sys/stat.h
349 $(BLD)/alloc.$(O) : \
352 $(EMACS_ROOT)/nt/inc/unistd.h \
353 $(EMACS_ROOT)/nt/inc/sys/time.h \
356 $(SRC)/blockinput.h \
361 $(SRC)/dispextern.h \
374 $(BLD)/atimer.$(O) : \
377 $(EMACS_ROOT)/nt/inc/unistd.h \
378 $(EMACS_ROOT)/nt/inc/sys/time.h \
381 $(SRC)/blockinput.h \
389 $(SRC)/bidimirror.h \
393 $(SRC)/dispextern.h \
396 $(BLD)/buffer.$(O) : \
399 $(EMACS_ROOT)/nt/inc/unistd.h \
400 $(EMACS_ROOT)/nt/inc/sys/param.h \
401 $(EMACS_ROOT)/nt/inc/sys/time.h \
404 $(SRC)/blockinput.h \
410 $(SRC)/dispextern.h \
416 $(SRC)/region-cache.h \
421 $(BLD)/bytecode.$(O) : \
427 $(SRC)/dispextern.h \
432 $(BLD)/callint.$(O) : \
435 $(EMACS_ROOT)/nt/inc/sys/time.h \
441 $(SRC)/dispextern.h \
448 $(BLD)/callproc.$(O) : \
451 $(EMACS_ROOT)/nt/inc/unistd.h \
452 $(EMACS_ROOT)/nt/inc/sys/file.h \
453 $(EMACS_ROOT)/nt/inc/sys/time.h \
456 $(SRC)/blockinput.h \
463 $(SRC)/dispextern.h \
474 $(BLD)/casefiddle.$(O) : \
475 $(SRC)/casefiddle.c \
485 $(BLD)/casetab.$(O) : \
492 $(BLD)/category.$(O) : \
512 $(BLD)/character.$(O) : \
522 $(BLD)/charset.$(O) : \
525 $(EMACS_ROOT)/nt/inc/unistd.h \
534 $(BLD)/chartab.$(O) : \
545 $(EMACS_ROOT)/nt/inc/sys/time.h \
552 $(SRC)/dispextern.h \
561 $(BLD)/coding.$(O) : \
571 $(SRC)/dispextern.h \
577 $(BLD)/composite.$(O) : \
586 $(SRC)/dispextern.h \
597 $(EMACS_ROOT)/nt/inc/sys/time.h \
604 $(SRC)/dispextern.h \
614 $(BLD)/dired.$(O) : \
617 $(EMACS_ROOT)/nt/inc/grp.h \
618 $(EMACS_ROOT)/nt/inc/pwd.h \
619 $(EMACS_ROOT)/nt/inc/unistd.h \
620 $(EMACS_ROOT)/nt/inc/sys/dir.h \
621 $(EMACS_ROOT)/nt/inc/sys/time.h \
624 $(SRC)/blockinput.h \
635 $(BLD)/dispnew.$(O) : \
638 $(EMACS_ROOT)/nt/inc/unistd.h \
639 $(EMACS_ROOT)/nt/inc/sys/time.h \
642 $(SRC)/blockinput.h \
649 $(SRC)/dispextern.h \
669 $(EMACS_ROOT)/nt/inc/unistd.h \
670 $(EMACS_ROOT)/nt/inc/sys/file.h \
671 $(EMACS_ROOT)/nt/inc/sys/time.h \
681 $(BLD)/doprnt.$(O) : \
684 $(EMACS_ROOT)/nt/inc/unistd.h \
688 $(BLD)/editfns.$(O) : \
691 $(EMACS_ROOT)/nt/inc/pwd.h \
692 $(EMACS_ROOT)/nt/inc/unistd.h \
693 $(EMACS_ROOT)/nt/inc/sys/time.h \
696 $(SRC)/blockinput.h \
701 $(SRC)/dispextern.h \
708 $(BLD)/emacs.$(O) : \
711 $(EMACS_ROOT)/nt/inc/unistd.h \
712 $(EMACS_ROOT)/nt/inc/sys/file.h \
713 $(EMACS_ROOT)/nt/inc/sys/time.h \
716 $(SRC)/blockinput.h \
721 $(SRC)/dispextern.h \
739 $(EMACS_ROOT)/nt/inc/sys/time.h \
742 $(SRC)/blockinput.h \
746 $(SRC)/dispextern.h \
752 $(BLD)/fileio.$(O) : \
755 $(EMACS_ROOT)/nt/inc/pwd.h \
756 $(EMACS_ROOT)/nt/inc/unistd.h \
757 $(EMACS_ROOT)/nt/inc/sys/time.h \
760 $(SRC)/blockinput.h \
766 $(SRC)/dispextern.h \
773 $(BLD)/filelock.$(O) : \
776 $(EMACS_ROOT)/nt/inc/pwd.h \
777 $(EMACS_ROOT)/nt/inc/unistd.h \
778 $(EMACS_ROOT)/nt/inc/sys/file.h \
779 $(EMACS_ROOT)/nt/inc/sys/time.h \
787 $(BLD)/filemode.$(O) : \
791 $(BLD)/firstfile.$(O) : \
795 $(BLD)/floatfns.$(O) : \
804 $(EMACS_ROOT)/nt/inc/langinfo.h \
805 $(EMACS_ROOT)/nt/inc/nl_types.h \
806 $(EMACS_ROOT)/nt/inc/unistd.h \
807 $(EMACS_ROOT)/nt/inc/sys/time.h \
810 $(SRC)/blockinput.h \
816 $(SRC)/dispextern.h \
835 $(SRC)/dispextern.h \
843 $(BLD)/fontset.$(O) : \
846 $(EMACS_ROOT)/nt/inc/sys/time.h \
849 $(SRC)/blockinput.h \
856 $(SRC)/dispextern.h \
868 $(BLD)/frame.$(O) : \
871 $(EMACS_ROOT)/nt/inc/sys/time.h \
874 $(SRC)/blockinput.h \
881 $(SRC)/dispextern.h \
893 $(BLD)/fringe.$(O) : \
896 $(EMACS_ROOT)/nt/inc/sys/time.h \
899 $(SRC)/blockinput.h \
901 $(SRC)/dispextern.h \
908 $(BLD)/gmalloc.$(O) : \
911 $(EMACS_ROOT)/nt/inc/unistd.h \
914 $(BLD)/image.$(O) : \
917 $(EMACS_ROOT)/nt/inc/unistd.h \
918 $(EMACS_ROOT)/nt/inc/sys/time.h \
921 $(SRC)/blockinput.h \
926 $(SRC)/dispextern.h \
936 $(BLD)/indent.$(O) : \
939 $(EMACS_ROOT)/nt/inc/sys/time.h \
946 $(SRC)/dispextern.h \
952 $(SRC)/region-cache.h \
959 $(BLD)/insdel.$(O) : \
962 $(EMACS_ROOT)/nt/inc/sys/time.h \
965 $(SRC)/blockinput.h \
969 $(SRC)/dispextern.h \
971 $(SRC)/region-cache.h \
976 $(BLD)/intervals.$(O) : \
979 $(EMACS_ROOT)/nt/inc/sys/time.h \
984 $(SRC)/dispextern.h \
992 $(BLD)/keyboard.$(O) : \
995 $(EMACS_ROOT)/nt/inc/unistd.h \
996 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
997 $(EMACS_ROOT)/nt/inc/sys/time.h \
1000 $(SRC)/blockinput.h \
1002 $(SRC)/character.h \
1005 $(SRC)/composite.h \
1006 $(SRC)/dispextern.h \
1009 $(SRC)/intervals.h \
1016 $(SRC)/syssignal.h \
1019 $(SRC)/termhooks.h \
1025 $(BLD)/keymap.$(O) : \
1028 $(EMACS_ROOT)/nt/inc/sys/time.h \
1031 $(SRC)/blockinput.h \
1033 $(SRC)/character.h \
1037 $(SRC)/composite.h \
1038 $(SRC)/dispextern.h \
1040 $(SRC)/intervals.h \
1045 $(SRC)/termhooks.h \
1049 $(BLD)/lastfile.$(O) : \
1053 $(BLD)/lread.$(O) : \
1056 $(EMACS_ROOT)/nt/inc/unistd.h \
1057 $(EMACS_ROOT)/nt/inc/sys/file.h \
1058 $(EMACS_ROOT)/nt/inc/sys/time.h \
1061 $(SRC)/blockinput.h \
1063 $(SRC)/character.h \
1067 $(SRC)/composite.h \
1068 $(SRC)/dispextern.h \
1071 $(SRC)/intervals.h \
1074 $(SRC)/termhooks.h \
1077 $(BLD)/macros.$(O) : \
1080 $(EMACS_ROOT)/nt/inc/sys/time.h \
1085 $(SRC)/composite.h \
1086 $(SRC)/dispextern.h \
1093 $(BLD)/marker.$(O) : \
1105 $(BLD)/menu.$(O) : \
1108 $(EMACS_ROOT)/nt/inc/sys/time.h \
1111 $(SRC)/blockinput.h \
1113 $(SRC)/composite.h \
1114 $(SRC)/dispextern.h \
1120 $(SRC)/termhooks.h \
1125 $(BLD)/minibuf.$(O) : \
1128 $(EMACS_ROOT)/nt/inc/sys/time.h \
1131 $(SRC)/character.h \
1134 $(SRC)/composite.h \
1135 $(SRC)/dispextern.h \
1137 $(SRC)/intervals.h \
1142 $(SRC)/termhooks.h \
1149 $(EMACS_ROOT)/nt/inc/grp.h \
1150 $(EMACS_ROOT)/nt/inc/pwd.h \
1151 $(EMACS_ROOT)/nt/inc/unistd.h \
1152 $(EMACS_ROOT)/nt/inc/sys/file.h \
1153 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1154 $(EMACS_ROOT)/nt/inc/sys/time.h \
1157 $(SRC)/composite.h \
1158 $(SRC)/dispextern.h \
1166 $(BLD)/w32heap.$(O) : \
1172 $(BLD)/w32inevt.$(O) : \
1175 $(EMACS_ROOT)/nt/inc/sys/time.h \
1178 $(SRC)/blockinput.h \
1180 $(SRC)/composite.h \
1181 $(SRC)/dispextern.h \
1185 $(SRC)/termhooks.h \
1190 $(BLD)/w32proc.$(O) : \
1193 $(EMACS_ROOT)/nt/inc/langinfo.h \
1194 $(EMACS_ROOT)/nt/inc/nl_types.h \
1195 $(EMACS_ROOT)/nt/inc/unistd.h \
1196 $(EMACS_ROOT)/nt/inc/sys/file.h \
1197 $(EMACS_ROOT)/nt/inc/sys/time.h \
1199 $(SRC)/character.h \
1201 $(SRC)/composite.h \
1202 $(SRC)/dispextern.h \
1204 $(SRC)/syssignal.h \
1212 $(BLD)/w32console.$(O) : \
1213 $(SRC)/w32console.c \
1216 $(SRC)/character.h \
1218 $(SRC)/composite.h \
1219 $(SRC)/dispextern.h \
1223 $(SRC)/termhooks.h \
1227 $(BLD)/print.$(O) : \
1230 $(EMACS_ROOT)/nt/inc/unistd.h \
1231 $(EMACS_ROOT)/nt/inc/sys/time.h \
1234 $(SRC)/blockinput.h \
1237 $(SRC)/character.h \
1240 $(SRC)/composite.h \
1241 $(SRC)/dispextern.h \
1244 $(SRC)/intervals.h \
1249 $(SRC)/termhooks.h \
1253 $(BLD)/process.$(O) : \
1256 $(EMACS_ROOT)/nt/inc/netdb.h \
1257 $(EMACS_ROOT)/nt/inc/unistd.h \
1258 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1259 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1260 $(EMACS_ROOT)/nt/inc/sys/file.h \
1261 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1262 $(EMACS_ROOT)/nt/inc/sys/time.h \
1265 $(SRC)/blockinput.h \
1267 $(SRC)/character.h \
1270 $(SRC)/composite.h \
1271 $(SRC)/dispextern.h \
1275 $(SRC)/sysselect.h \
1276 $(SRC)/syssignal.h \
1280 $(SRC)/termhooks.h \
1286 $(BLD)/ralloc.$(O) : \
1289 $(EMACS_ROOT)/nt/inc/unistd.h \
1290 $(EMACS_ROOT)/nt/inc/sys/time.h \
1293 $(SRC)/blockinput.h \
1294 $(SRC)/getpagesize.h \
1297 $(BLD)/regex.$(O) : \
1303 $(SRC)/character.h \
1307 $(BLD)/region-cache.$(O) : \
1308 $(SRC)/region-cache.c \
1312 $(SRC)/region-cache.h
1314 $(BLD)/scroll.$(O) : \
1317 $(EMACS_ROOT)/nt/inc/sys/time.h \
1320 $(SRC)/composite.h \
1321 $(SRC)/dispextern.h \
1326 $(SRC)/termhooks.h \
1330 $(BLD)/search.$(O) : \
1333 $(EMACS_ROOT)/nt/inc/sys/time.h \
1336 $(SRC)/blockinput.h \
1339 $(SRC)/character.h \
1342 $(SRC)/composite.h \
1343 $(SRC)/dispextern.h \
1344 $(SRC)/intervals.h \
1346 $(SRC)/region-cache.h \
1351 $(BLD)/sound.$(O) : \
1354 $(EMACS_ROOT)/nt/inc/unistd.h \
1355 $(EMACS_ROOT)/nt/inc/sys/time.h \
1358 $(SRC)/dispextern.h \
1359 $(SRC)/syssignal.h \
1363 $(BLD)/strftime.$(O) : \
1366 $(EMACS_ROOT)/nt/inc/sys/time.h
1368 $(BLD)/syntax.$(O) : \
1374 $(SRC)/character.h \
1376 $(SRC)/composite.h \
1377 $(SRC)/dispextern.h \
1378 $(SRC)/intervals.h \
1384 $(BLD)/sysdep.$(O) : \
1387 $(EMACS_ROOT)/nt/inc/grp.h \
1388 $(EMACS_ROOT)/nt/inc/netdb.h \
1389 $(EMACS_ROOT)/nt/inc/pwd.h \
1390 $(EMACS_ROOT)/nt/inc/unistd.h \
1391 $(EMACS_ROOT)/nt/inc/sys/file.h \
1392 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1393 $(EMACS_ROOT)/nt/inc/sys/time.h \
1396 $(SRC)/blockinput.h \
1399 $(SRC)/composite.h \
1400 $(SRC)/dispextern.h \
1404 $(SRC)/sysselect.h \
1405 $(SRC)/syssignal.h \
1410 $(SRC)/termhooks.h \
1416 $(BLD)/term.$(O) : \
1419 $(EMACS_ROOT)/nt/inc/unistd.h \
1420 $(EMACS_ROOT)/nt/inc/sys/file.h \
1421 $(EMACS_ROOT)/nt/inc/sys/time.h \
1424 $(SRC)/blockinput.h \
1426 $(SRC)/character.h \
1430 $(SRC)/composite.h \
1431 $(SRC)/dispextern.h \
1434 $(SRC)/intervals.h \
1437 $(SRC)/syssignal.h \
1441 $(SRC)/termhooks.h \
1446 $(BLD)/terminal.$(O) : \
1449 $(EMACS_ROOT)/nt/inc/sys/time.h \
1453 $(SRC)/composite.h \
1454 $(SRC)/dispextern.h \
1459 $(SRC)/termhooks.h \
1462 $(BLD)/textprop.$(O) : \
1467 $(SRC)/composite.h \
1468 $(SRC)/dispextern.h \
1469 $(SRC)/intervals.h \
1473 $(BLD)/tparam.$(O) : \
1478 $(BLD)/undo.$(O) : \
1484 $(SRC)/dispextern.h \
1488 $(BLD)/unexw32.$(O) : \
1493 $(BLD)/vm-limit.$(O) : \
1499 $(BLD)/window.$(O) : \
1502 $(EMACS_ROOT)/nt/inc/sys/time.h \
1505 $(SRC)/blockinput.h \
1509 $(SRC)/composite.h \
1510 $(SRC)/dispextern.h \
1514 $(SRC)/intervals.h \
1519 $(SRC)/termhooks.h \
1524 $(BLD)/xdisp.$(O) : \
1527 $(EMACS_ROOT)/nt/inc/unistd.h \
1528 $(EMACS_ROOT)/nt/inc/sys/time.h \
1531 $(SRC)/blockinput.h \
1534 $(SRC)/character.h \
1538 $(SRC)/composite.h \
1539 $(SRC)/dispextern.h \
1545 $(SRC)/intervals.h \
1550 $(SRC)/region-cache.h \
1553 $(SRC)/termhooks.h \
1559 $(BLD)/xfaces.$(O) : \
1562 $(EMACS_ROOT)/nt/inc/sys/time.h \
1565 $(SRC)/blockinput.h \
1568 $(SRC)/character.h \
1571 $(SRC)/composite.h \
1572 $(SRC)/dispextern.h \
1576 $(SRC)/intervals.h \
1580 $(SRC)/termhooks.h \
1585 $(BLD)/w32fns.$(O) : \
1588 $(EMACS_ROOT)/nt/inc/sys/time.h \
1591 $(SRC)/blockinput.h \
1594 $(SRC)/character.h \
1597 $(SRC)/composite.h \
1598 $(SRC)/dispextern.h \
1603 $(SRC)/intervals.h \
1606 $(SRC)/termhooks.h \
1614 $(BLD)/w32menu.$(O) : \
1617 $(EMACS_ROOT)/nt/inc/sys/time.h \
1620 $(SRC)/blockinput.h \
1622 $(SRC)/character.h \
1625 $(SRC)/composite.h \
1626 $(SRC)/dispextern.h \
1632 $(SRC)/termhooks.h \
1637 $(BLD)/w32term.$(O) : \
1640 $(EMACS_ROOT)/nt/inc/unistd.h \
1641 $(EMACS_ROOT)/nt/inc/sys/time.h \
1644 $(SRC)/blockinput.h \
1647 $(SRC)/character.h \
1650 $(SRC)/composite.h \
1651 $(SRC)/dispextern.h \
1656 $(SRC)/intervals.h \
1663 $(SRC)/termhooks.h \
1671 $(BLD)/w32select.$(O) : \
1672 $(SRC)/w32select.c \
1674 $(EMACS_ROOT)/nt/inc/sys/time.h \
1677 $(SRC)/blockinput.h \
1678 $(SRC)/character.h \
1681 $(SRC)/composite.h \
1688 $(BLD)/w32reg.$(O) : \
1691 $(EMACS_ROOT)/nt/inc/sys/time.h \
1694 $(SRC)/blockinput.h \
1699 $(BLD)/w32xfns.$(O) : \
1702 $(EMACS_ROOT)/nt/inc/sys/time.h \
1705 $(SRC)/blockinput.h \
1708 $(SRC)/composite.h \
1709 $(SRC)/dispextern.h \
1717 $(BLD)/w32font.$(O) : \
1722 $(SRC)/character.h \
1725 $(SRC)/composite.h \
1726 $(SRC)/dispextern.h \
1734 $(BLD)/w32uniscribe.$(O) : \
1735 $(SRC)/w32uniscribe.c \
1739 $(SRC)/character.h \
1741 $(SRC)/composite.h \
1742 $(SRC)/dispextern.h \
1750 # Each object file depends on stamp_BLD, because in parallel builds we must
1751 # make sure $(BLD) exists before starting compilations.
1753 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD