1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
3 # 2008 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)
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 TLIBW32 = $(BLD)/temacw32.$(A)
40 TOBJ = $(BLD)/firstfile.$(O)
41 TRES = $(BLD)/emacs.res
42 TLASTLIB = $(BLD)/lastfile.$(A)
44 DOC = $(OBJDIR)/etc/DOC-X
46 FULL_LINK_FLAGS = $(LINK_FLAGS) $(TEMACS_EXTRA_LINK)
49 # Split up the objects into two sets so that we don't run out of
50 # command line space when we link them into a library.
52 # Put emacs.$(O) in a separate lib, since we need to have firstfile.$(O)
53 # as the "main" object file when linking.
55 OBJ0 = $(BLD)/emacs.$(O)
57 OBJ1 = $(BLD)/alloc.$(O) \
60 $(BLD)/bytecode.$(O) \
62 $(BLD)/callproc.$(O) \
63 $(BLD)/casefiddle.$(O) \
74 $(BLD)/filelock.$(O) \
75 $(BLD)/filemode.$(O) \
79 $(BLD)/keyboard.$(O) \
88 $(BLD)/w32inevt.$(O) \
90 $(BLD)/w32console.$(O) \
100 $(BLD)/termcap.$(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) \
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
181 echo $(OBJ0) > $(BLD)/buildobj.lst
182 echo $(OBJ1) >> $(BLD)/buildobj.lst
183 echo $(WIN32OBJ) >> $(BLD)/buildobj.lst
184 echo $(FONTOBJ) >> $(BLD)/buildobj.lst
186 bootstrap: bootstrap-emacs
189 # Build a temacs with a sufficiently large PURESIZE to load the
190 # Lisp files from loadup.el in source form.
192 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
193 # this can break with GNU Make 3.81 and later if sh.exe is used.
195 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
198 # Dump an Emacs executable named bootstrap-emacs containing the
199 # files from loadup.el in source form.
201 bootstrap-emacs: bootstrap-temacs
202 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
204 $(CP) $(EMACS) ../bin
207 # Force recompile of files that depend on PURESIZE
210 - $(DEL) $(BLD)/alloc.$(O)
211 - $(DEL) $(BLD)/data.$(O)
212 - $(DEL) $(BLD)/intervals.$(O)
213 - $(DEL) $(BLD)/keyboard.$(O)
214 - $(DEL) $(BLD)/keymap.$(O)
217 # The resource file. NT 3.10 requires the use of cvtres; even though
218 # it is not necessary on later versions, it is still ok to use it.
220 $(TRES): ../nt/emacs.rc stamp_BLD
221 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
224 # Build the library. Split up the build into two phases...otherwise we
225 # run out of command line space.
229 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
232 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
233 $(TLIBW32): $(WIN32OBJ) $(FONTOBJ)
235 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
238 # Place lastfile.$(O) in its own library so that it can be loaded after
239 # the source libraries but before any system libraries. Doing so defines
240 # the end of Emacs' data section portably across compilers and systems.
242 $(TLASTLIB): $(BLD)/lastfile.$(O)
244 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
247 # Assuming INSTALL_DIR is defined, build and install emacs in it.
250 - mkdir "$(INSTALL_DIR)/bin"
251 $(CP) $(EMACS) $(INSTALL_DIR)/bin
256 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
257 # remove precious files if it happens to match their short 8+3 aliases.
259 - $(DEL) "s/*.h~" "m/*.h~"
260 - $(DEL) $(COMPILER_TEMP_FILES)
261 - $(DEL_TREE) $(OBJDIR)
265 - $(DEL) config.h epaths.h Makefile
267 maintainer-clean: distclean
272 - $(DEL_TREE) obj-spd
280 CONFIG_H = $(EMACS_ROOT)/src/s/ms-w32.h \
281 $(EMACS_ROOT)/src/m/intel386.h \
282 $(EMACS_ROOT)/src/config.h \
283 $(EMACS_ROOT)/nt/inc/sys/stat.h
285 $(BLD)/alloc.$(O) : \
288 $(EMACS_ROOT)/nt/inc/unistd.h \
289 $(EMACS_ROOT)/nt/inc/sys/time.h \
291 $(SRC)/blockinput.h \
296 $(SRC)/dispextern.h \
309 $(BLD)/atimer.$(O) : \
312 $(EMACS_ROOT)/nt/inc/unistd.h \
313 $(EMACS_ROOT)/nt/inc/sys/time.h \
315 $(SRC)/blockinput.h \
319 $(BLD)/buffer.$(O) : \
322 $(EMACS_ROOT)/nt/inc/unistd.h \
323 $(EMACS_ROOT)/nt/inc/sys/param.h \
324 $(EMACS_ROOT)/nt/inc/sys/time.h \
326 $(SRC)/blockinput.h \
332 $(SRC)/dispextern.h \
338 $(SRC)/region-cache.h \
343 $(BLD)/bytecode.$(O) : \
348 $(SRC)/dispextern.h \
353 $(BLD)/callint.$(O) : \
356 $(EMACS_ROOT)/nt/inc/sys/time.h \
360 $(SRC)/dispextern.h \
367 $(BLD)/callproc.$(O) : \
370 $(EMACS_ROOT)/nt/inc/unistd.h \
371 $(EMACS_ROOT)/nt/inc/sys/file.h \
372 $(EMACS_ROOT)/nt/inc/sys/time.h \
374 $(SRC)/blockinput.h \
381 $(SRC)/dispextern.h \
392 $(BLD)/casefiddle.$(O) : \
393 $(SRC)/casefiddle.c \
402 $(BLD)/casetab.$(O) : \
408 $(BLD)/category.$(O) : \
425 $(BLD)/character.$(O) : \
434 $(BLD)/charset.$(O) : \
437 $(EMACS_ROOT)/nt/inc/unistd.h \
444 $(BLD)/chartab.$(O) : \
455 $(SRC)/dispextern.h \
464 $(EMACS_ROOT)/nt/inc/sys/time.h \
469 $(SRC)/dispextern.h \
477 $(BLD)/coding.$(O) : \
486 $(SRC)/dispextern.h \
492 $(BLD)/composite.$(O) : \
499 $(SRC)/dispextern.h \
509 $(EMACS_ROOT)/nt/inc/sys/time.h \
513 $(SRC)/dispextern.h \
522 $(BLD)/dired.$(O) : \
525 $(EMACS_ROOT)/nt/inc/grp.h \
526 $(EMACS_ROOT)/nt/inc/pwd.h \
527 $(EMACS_ROOT)/nt/inc/unistd.h \
528 $(EMACS_ROOT)/nt/inc/sys/dir.h \
529 $(EMACS_ROOT)/nt/inc/sys/time.h \
531 $(SRC)/blockinput.h \
541 $(BLD)/dispnew.$(O) : \
544 $(EMACS_ROOT)/nt/inc/unistd.h \
545 $(EMACS_ROOT)/nt/inc/sys/time.h \
547 $(SRC)/blockinput.h \
554 $(SRC)/dispextern.h \
573 $(EMACS_ROOT)/nt/inc/unistd.h \
574 $(EMACS_ROOT)/nt/inc/sys/file.h \
575 $(EMACS_ROOT)/nt/inc/sys/time.h \
583 $(BLD)/doprnt.$(O) : \
586 $(EMACS_ROOT)/nt/inc/unistd.h \
589 $(BLD)/editfns.$(O) : \
592 $(EMACS_ROOT)/nt/inc/pwd.h \
593 $(EMACS_ROOT)/nt/inc/unistd.h \
594 $(EMACS_ROOT)/nt/inc/sys/time.h \
596 $(SRC)/blockinput.h \
601 $(SRC)/dispextern.h \
608 $(BLD)/emacs.$(O) : \
611 $(EMACS_ROOT)/nt/inc/unistd.h \
612 $(EMACS_ROOT)/nt/inc/sys/file.h \
613 $(EMACS_ROOT)/nt/inc/sys/time.h \
615 $(SRC)/blockinput.h \
620 $(SRC)/dispextern.h \
638 $(EMACS_ROOT)/nt/inc/sys/time.h \
640 $(SRC)/blockinput.h \
643 $(SRC)/dispextern.h \
648 $(BLD)/fileio.$(O) : \
651 $(EMACS_ROOT)/nt/inc/pwd.h \
652 $(EMACS_ROOT)/nt/inc/unistd.h \
653 $(EMACS_ROOT)/nt/inc/sys/time.h \
655 $(SRC)/blockinput.h \
661 $(SRC)/dispextern.h \
668 $(BLD)/filelock.$(O) : \
671 $(EMACS_ROOT)/nt/inc/pwd.h \
672 $(EMACS_ROOT)/nt/inc/unistd.h \
673 $(EMACS_ROOT)/nt/inc/sys/file.h \
674 $(EMACS_ROOT)/nt/inc/sys/time.h \
680 $(BLD)/filemode.$(O) : \
684 $(BLD)/firstfile.$(O) : \
688 $(BLD)/floatfns.$(O) : \
696 $(EMACS_ROOT)/nt/inc/langinfo.h \
697 $(EMACS_ROOT)/nt/inc/nl_types.h \
698 $(EMACS_ROOT)/nt/inc/unistd.h \
699 $(EMACS_ROOT)/nt/inc/sys/time.h \
701 $(SRC)/blockinput.h \
707 $(SRC)/dispextern.h \
725 $(SRC)/dispextern.h \
733 $(BLD)/fontset.$(O) : \
736 $(EMACS_ROOT)/nt/inc/sys/time.h \
738 $(SRC)/blockinput.h \
745 $(SRC)/dispextern.h \
757 $(BLD)/frame.$(O) : \
760 $(EMACS_ROOT)/nt/inc/sys/time.h \
762 $(SRC)/blockinput.h \
768 $(SRC)/dispextern.h \
780 $(BLD)/fringe.$(O) : \
783 $(EMACS_ROOT)/nt/inc/sys/time.h \
785 $(SRC)/blockinput.h \
787 $(SRC)/dispextern.h \
794 $(BLD)/gmalloc.$(O) : \
797 $(EMACS_ROOT)/nt/inc/unistd.h \
800 $(BLD)/image.$(O) : \
803 $(EMACS_ROOT)/nt/inc/unistd.h \
804 $(EMACS_ROOT)/nt/inc/sys/time.h \
806 $(SRC)/blockinput.h \
810 $(SRC)/dispextern.h \
820 $(BLD)/indent.$(O) : \
823 $(EMACS_ROOT)/nt/inc/sys/time.h \
829 $(SRC)/dispextern.h \
835 $(SRC)/region-cache.h \
842 $(BLD)/insdel.$(O) : \
845 $(EMACS_ROOT)/nt/inc/sys/time.h \
847 $(SRC)/blockinput.h \
851 $(SRC)/dispextern.h \
853 $(SRC)/region-cache.h \
858 $(BLD)/intervals.$(O) : \
861 $(EMACS_ROOT)/nt/inc/sys/time.h \
865 $(SRC)/dispextern.h \
873 $(BLD)/keyboard.$(O) : \
876 $(EMACS_ROOT)/nt/inc/unistd.h \
877 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
878 $(EMACS_ROOT)/nt/inc/sys/time.h \
880 $(SRC)/blockinput.h \
886 $(SRC)/dispextern.h \
904 $(BLD)/keymap.$(O) : \
907 $(EMACS_ROOT)/nt/inc/sys/time.h \
909 $(SRC)/blockinput.h \
916 $(SRC)/dispextern.h \
927 $(BLD)/lastfile.$(O) : \
931 $(BLD)/lread.$(O) : \
934 $(EMACS_ROOT)/nt/inc/unistd.h \
935 $(EMACS_ROOT)/nt/inc/sys/file.h \
936 $(EMACS_ROOT)/nt/inc/sys/time.h \
938 $(SRC)/blockinput.h \
945 $(SRC)/dispextern.h \
954 $(BLD)/macros.$(O) : \
957 $(EMACS_ROOT)/nt/inc/sys/time.h \
961 $(SRC)/dispextern.h \
968 $(BLD)/marker.$(O) : \
982 $(EMACS_ROOT)/nt/inc/sys/time.h \
984 $(SRC)/blockinput.h \
986 $(SRC)/dispextern.h \
996 $(BLD)/minibuf.$(O) : \
999 $(EMACS_ROOT)/nt/inc/sys/time.h \
1001 $(SRC)/character.h \
1004 $(SRC)/composite.h \
1005 $(SRC)/dispextern.h \
1007 $(SRC)/intervals.h \
1012 $(SRC)/termhooks.h \
1019 $(EMACS_ROOT)/nt/inc/grp.h \
1020 $(EMACS_ROOT)/nt/inc/pwd.h \
1021 $(EMACS_ROOT)/nt/inc/unistd.h \
1022 $(EMACS_ROOT)/nt/inc/sys/file.h \
1023 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1024 $(EMACS_ROOT)/nt/inc/sys/time.h \
1026 $(SRC)/dispextern.h \
1034 $(BLD)/w32heap.$(O) : \
1039 $(BLD)/w32inevt.$(O) : \
1042 $(EMACS_ROOT)/nt/inc/sys/time.h \
1044 $(SRC)/blockinput.h \
1046 $(SRC)/dispextern.h \
1050 $(SRC)/termhooks.h \
1055 $(BLD)/w32proc.$(O) : \
1058 $(EMACS_ROOT)/nt/inc/langinfo.h \
1059 $(EMACS_ROOT)/nt/inc/nl_types.h \
1060 $(EMACS_ROOT)/nt/inc/unistd.h \
1061 $(EMACS_ROOT)/nt/inc/sys/file.h \
1062 $(EMACS_ROOT)/nt/inc/sys/time.h \
1063 $(SRC)/character.h \
1065 $(SRC)/dispextern.h \
1067 $(SRC)/syssignal.h \
1075 $(BLD)/w32console.$(O) : \
1076 $(SRC)/w32console.c \
1078 $(SRC)/character.h \
1080 $(SRC)/dispextern.h \
1084 $(SRC)/termhooks.h \
1088 $(BLD)/print.$(O) : \
1091 $(EMACS_ROOT)/nt/inc/unistd.h \
1092 $(EMACS_ROOT)/nt/inc/sys/time.h \
1094 $(SRC)/blockinput.h \
1097 $(SRC)/character.h \
1100 $(SRC)/composite.h \
1101 $(SRC)/dispextern.h \
1104 $(SRC)/intervals.h \
1109 $(SRC)/termhooks.h \
1113 $(BLD)/process.$(O) : \
1116 $(EMACS_ROOT)/nt/inc/grp.h \
1117 $(EMACS_ROOT)/nt/inc/netdb.h \
1118 $(EMACS_ROOT)/nt/inc/pwd.h \
1119 $(EMACS_ROOT)/nt/inc/unistd.h \
1120 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1121 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1122 $(EMACS_ROOT)/nt/inc/sys/file.h \
1123 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1124 $(EMACS_ROOT)/nt/inc/sys/time.h \
1126 $(SRC)/blockinput.h \
1128 $(SRC)/character.h \
1131 $(SRC)/composite.h \
1132 $(SRC)/dispextern.h \
1136 $(SRC)/sysselect.h \
1137 $(SRC)/syssignal.h \
1141 $(SRC)/termhooks.h \
1147 $(BLD)/ralloc.$(O) : \
1150 $(EMACS_ROOT)/nt/inc/unistd.h \
1151 $(EMACS_ROOT)/nt/inc/sys/time.h \
1153 $(SRC)/blockinput.h \
1154 $(SRC)/getpagesize.h \
1157 $(BLD)/regex.$(O) : \
1162 $(SRC)/character.h \
1166 $(BLD)/region-cache.$(O) : \
1167 $(SRC)/region-cache.c \
1170 $(SRC)/region-cache.h
1172 $(BLD)/scroll.$(O) : \
1175 $(EMACS_ROOT)/nt/inc/sys/time.h \
1177 $(SRC)/dispextern.h \
1182 $(SRC)/termhooks.h \
1186 $(BLD)/search.$(O) : \
1189 $(EMACS_ROOT)/nt/inc/sys/time.h \
1191 $(SRC)/blockinput.h \
1194 $(SRC)/character.h \
1197 $(SRC)/composite.h \
1198 $(SRC)/dispextern.h \
1199 $(SRC)/intervals.h \
1201 $(SRC)/region-cache.h \
1206 $(BLD)/sound.$(O) : \
1209 $(EMACS_ROOT)/nt/inc/unistd.h \
1210 $(EMACS_ROOT)/nt/inc/sys/time.h \
1212 $(SRC)/dispextern.h \
1213 $(SRC)/syssignal.h \
1217 $(BLD)/strftime.$(O) : \
1220 $(EMACS_ROOT)/nt/inc/sys/time.h
1222 $(BLD)/syntax.$(O) : \
1227 $(SRC)/character.h \
1229 $(SRC)/composite.h \
1230 $(SRC)/dispextern.h \
1231 $(SRC)/intervals.h \
1237 $(BLD)/sysdep.$(O) : \
1240 $(EMACS_ROOT)/nt/inc/netdb.h \
1241 $(EMACS_ROOT)/nt/inc/unistd.h \
1242 $(EMACS_ROOT)/nt/inc/sys/file.h \
1243 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1244 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1245 $(EMACS_ROOT)/nt/inc/sys/time.h \
1247 $(SRC)/blockinput.h \
1250 $(SRC)/dispextern.h \
1254 $(SRC)/syssignal.h \
1259 $(SRC)/termhooks.h \
1265 $(BLD)/term.$(O) : \
1268 $(EMACS_ROOT)/nt/inc/unistd.h \
1269 $(EMACS_ROOT)/nt/inc/sys/file.h \
1270 $(EMACS_ROOT)/nt/inc/sys/time.h \
1272 $(SRC)/blockinput.h \
1274 $(SRC)/character.h \
1278 $(SRC)/composite.h \
1279 $(SRC)/dispextern.h \
1282 $(SRC)/intervals.h \
1285 $(SRC)/syssignal.h \
1289 $(SRC)/termhooks.h \
1294 $(BLD)/termcap.$(O) : \
1297 $(EMACS_ROOT)/nt/inc/unistd.h \
1298 $(EMACS_ROOT)/nt/inc/sys/file.h
1300 $(BLD)/terminal.$(O) : \
1303 $(EMACS_ROOT)/nt/inc/sys/time.h \
1306 $(SRC)/dispextern.h \
1311 $(SRC)/termhooks.h \
1314 $(BLD)/textprop.$(O) : \
1318 $(SRC)/composite.h \
1319 $(SRC)/dispextern.h \
1320 $(SRC)/intervals.h \
1324 $(BLD)/tparam.$(O) : \
1328 $(BLD)/undo.$(O) : \
1333 $(SRC)/dispextern.h \
1337 $(BLD)/unexw32.$(O) : \
1342 $(BLD)/vm-limit.$(O) : \
1347 $(BLD)/window.$(O) : \
1350 $(EMACS_ROOT)/nt/inc/sys/time.h \
1352 $(SRC)/blockinput.h \
1356 $(SRC)/composite.h \
1357 $(SRC)/dispextern.h \
1361 $(SRC)/intervals.h \
1366 $(SRC)/termhooks.h \
1371 $(BLD)/xdisp.$(O) : \
1374 $(EMACS_ROOT)/nt/inc/unistd.h \
1375 $(EMACS_ROOT)/nt/inc/sys/time.h \
1377 $(SRC)/blockinput.h \
1380 $(SRC)/character.h \
1384 $(SRC)/composite.h \
1385 $(SRC)/dispextern.h \
1391 $(SRC)/intervals.h \
1396 $(SRC)/region-cache.h \
1399 $(SRC)/termhooks.h \
1404 $(BLD)/xfaces.$(O) : \
1407 $(EMACS_ROOT)/nt/inc/sys/time.h \
1409 $(SRC)/blockinput.h \
1412 $(SRC)/character.h \
1415 $(SRC)/composite.h \
1416 $(SRC)/dispextern.h \
1420 $(SRC)/intervals.h \
1424 $(SRC)/termhooks.h \
1429 $(BLD)/w32fns.$(O) : \
1432 $(EMACS_ROOT)/nt/inc/sys/time.h \
1434 $(SRC)/blockinput.h \
1437 $(SRC)/character.h \
1440 $(SRC)/composite.h \
1441 $(SRC)/dispextern.h \
1446 $(SRC)/intervals.h \
1449 $(SRC)/termhooks.h \
1456 $(BLD)/w32menu.$(O) : \
1459 $(EMACS_ROOT)/nt/inc/sys/time.h \
1461 $(SRC)/blockinput.h \
1463 $(SRC)/character.h \
1466 $(SRC)/dispextern.h \
1471 $(SRC)/termhooks.h \
1476 $(BLD)/w32term.$(O) : \
1479 $(EMACS_ROOT)/nt/inc/unistd.h \
1480 $(EMACS_ROOT)/nt/inc/sys/time.h \
1482 $(SRC)/blockinput.h \
1485 $(SRC)/character.h \
1488 $(SRC)/composite.h \
1489 $(SRC)/dispextern.h \
1494 $(SRC)/intervals.h \
1501 $(SRC)/termhooks.h \
1509 $(BLD)/w32select.$(O) : \
1510 $(SRC)/w32select.c \
1512 $(EMACS_ROOT)/nt/inc/sys/time.h \
1514 $(SRC)/blockinput.h \
1515 $(SRC)/character.h \
1518 $(SRC)/composite.h \
1525 $(BLD)/w32reg.$(O) : \
1528 $(EMACS_ROOT)/nt/inc/sys/time.h \
1530 $(SRC)/blockinput.h \
1535 $(BLD)/w32xfns.$(O) : \
1538 $(EMACS_ROOT)/nt/inc/sys/time.h \
1540 $(SRC)/blockinput.h \
1543 $(SRC)/dispextern.h \
1551 $(BLD)/w32font.$(O) : \
1555 $(SRC)/character.h \
1557 $(SRC)/dispextern.h \
1565 $(BLD)/w32uniscribe.$(O) : \
1566 $(SRC)/w32uniscribe.c \
1569 $(SRC)/character.h \
1571 $(SRC)/composite.h \
1572 $(SRC)/dispextern.h \
1580 # Each object file depends on stamp_BLD, because in parallel builds we must
1581 # make sure $(BLD) exists before starting compilations.
1583 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD