1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004,
3 # 2005, 2006 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 2, or (at your option)
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; see the file COPYING. If not, write to the
19 # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 # Boston, MA 02110-1301, USA.
27 # Set EMACSLOADPATH correctly (in case already defined in environment).
28 EMACSLOADPATH=$(CURDIR)/../lisp
31 # HAVE_CONFIG_H is required by some generic gnu sources stuck into
32 # the emacs source tree.
34 LOCAL_FLAGS = -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 $(EMACS_EXTRA_C_FLAGS)
36 EMACS = $(BLD)/emacs.exe
37 TEMACS = $(BLD)/temacs.exe
38 TEMACS_TMP = $(BLD)/temacs.bin
39 TLIB0 = $(BLD)/temacs0.$(A)
40 TLIB1 = $(BLD)/temacs1.$(A)
41 TLIBW32 = $(BLD)/temacw32.$(A)
42 TOBJ = $(BLD)/firstfile.$(O)
43 TRES = $(BLD)/emacs.res
44 TLASTLIB = $(BLD)/lastfile.$(A)
46 DOC = $(OBJDIR)/etc/DOC-X
48 FULL_LINK_FLAGS = $(LINK_FLAGS) $(TEMACS_EXTRA_LINK)
51 # Split up the objects into two sets so that we don't run out of
52 # command line space when we link them into a library.
54 # Put emacs.$(O) in a separate lib, since we need to have firstfile.$(O)
55 # as the "main" object file when linking.
57 OBJ0 = $(BLD)/emacs.$(O)
59 OBJ1 = $(BLD)/abbrev.$(O) \
63 $(BLD)/bytecode.$(O) \
65 $(BLD)/callproc.$(O) \
66 $(BLD)/casefiddle.$(O) \
77 $(BLD)/filelock.$(O) \
78 $(BLD)/filemode.$(O) \
82 $(BLD)/keyboard.$(O) \
91 $(BLD)/w32inevt.$(O) \
93 $(BLD)/w32console.$(O) \
103 $(BLD)/termcap.$(O) \
106 $(BLD)/unexw32.$(O) \
109 $(BLD)/casetab.$(O) \
110 $(BLD)/floatfns.$(O) \
112 $(BLD)/gmalloc.$(O) \
113 $(BLD)/intervals.$(O) \
114 $(BLD)/composite.$(O) \
116 $(BLD)/textprop.$(O) \
117 $(BLD)/vm-limit.$(O) \
118 $(BLD)/region-cache.$(O) \
119 $(BLD)/strftime.$(O) \
120 $(BLD)/charset.$(O) \
122 $(BLD)/category.$(O) \
124 $(BLD)/fontset.$(O) \
128 WIN32OBJ = $(BLD)/w32term.$(O) \
129 $(BLD)/w32xfns.$(O) \
132 $(BLD)/w32select.$(O) \
133 $(BLD)/w32menu.$(O) \
152 # Build the executable and dump it.
157 # The dumped executable
159 emacs: $(BLD) $(EMACS)
160 $(EMACS): $(DOC) $(TEMACS)
161 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
162 -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
165 # The undumped executable
166 # Note the extra post-link step to insert a static preload heap section.
167 # If preload runs out of memory, increase the last argument to addsection
168 # (it is the preload heap size in MB).
170 temacs: $(BLD) $(TEMACS)
171 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
172 ../nt/$(BLD)/addsection.exe
173 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
174 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 16
175 echo $(OBJ0) > $(BLD)/buildobj.lst
176 echo $(OBJ1) >> $(BLD)/buildobj.lst
177 echo $(WIN32OBJ) >> $(BLD)/buildobj.lst
179 bootstrap: bootstrap-emacs
182 # Build a temacs with a sufficiently large PURESIZE to load the
183 # Lisp files from loadup.el in source form.
185 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
186 # this can break with GNU Make 3.81 and later if sh.exe is used.
188 $(MAKE) $(MFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
191 # Dump an Emacs executable named bootstrap-emacs containing the
192 # files from loadup.el in source form.
194 bootstrap-emacs: bootstrap-temacs
195 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
197 $(CP) $(EMACS) ../bin
200 # Force recompile of files that depend on PURESIZE
203 - $(DEL) $(BLD)/alloc.$(O)
204 - $(DEL) $(BLD)/data.$(O)
205 - $(DEL) $(BLD)/intervals.$(O)
206 - $(DEL) $(BLD)/keyboard.$(O)
207 - $(DEL) $(BLD)/keymap.$(O)
210 # The resource file. NT 3.10 requires the use of cvtres; even though
211 # it is not necessary on later versions, it is still ok to use it.
213 $(TRES): ../nt/emacs.rc
214 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ $(ALL_DEPS)
217 # Build the library. Split up the build into two phases...otherwise we
218 # run out of command line space.
222 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
225 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
226 $(TLIBW32): $(WIN32OBJ)
228 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
231 # Place lastfile.$(O) in its own library so that it can be loaded after
232 # the source libraries but before any system libraries. Doing so defines
233 # the end of Emacs' data section portably across compilers and systems.
235 $(TLASTLIB): $(BLD)/lastfile.$(O)
237 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
240 # Assuming INSTALL_DIR is defined, build and install emacs in it.
243 - mkdir "$(INSTALL_DIR)/bin"
244 $(CP) $(EMACS) $(INSTALL_DIR)/bin
250 - $(DEL) *~ "s/*~" "m/*~"
251 - $(DEL) $(COMPILER_TEMP_FILES)
252 - $(DEL_TREE) $(OBJDIR)
255 - $(DEL) config.h epaths.h
259 - $(DEL_TREE) obj-spd
268 $(BLD)/abbrev.$(O) : \
270 $(EMACS_ROOT)/src/s/ms-w32.h \
271 $(EMACS_ROOT)/src/m/intel386.h \
272 $(EMACS_ROOT)/src/config.h \
276 $(SRC)/dispextern.h \
282 $(BLD)/alloc.$(O) : \
284 $(EMACS_ROOT)/src/s/ms-w32.h \
285 $(EMACS_ROOT)/src/m/intel386.h \
286 $(EMACS_ROOT)/src/config.h \
287 $(SRC)/blockinput.h \
291 $(SRC)/dispextern.h \
302 $(BLD)/atimer.$(O) : \
304 $(EMACS_ROOT)/src/s/ms-w32.h \
305 $(EMACS_ROOT)/src/m/intel386.h \
306 $(EMACS_ROOT)/src/config.h \
308 $(SRC)/m/intel386.h \
311 $(SRC)/blockinput.h \
315 $(BLD)/buffer.$(O) : \
317 $(EMACS_ROOT)/nt/inc/sys/param.h \
318 $(EMACS_ROOT)/src/s/ms-w32.h \
319 $(EMACS_ROOT)/src/m/intel386.h \
320 $(EMACS_ROOT)/src/config.h \
321 $(SRC)/blockinput.h \
326 $(SRC)/dispextern.h \
332 $(SRC)/region-cache.h \
337 $(BLD)/bytecode.$(O) : \
339 $(EMACS_ROOT)/src/s/ms-w32.h \
340 $(EMACS_ROOT)/src/m/intel386.h \
341 $(EMACS_ROOT)/src/config.h \
347 $(BLD)/callint.$(O) : \
349 $(EMACS_ROOT)/src/s/ms-w32.h \
350 $(EMACS_ROOT)/src/m/intel386.h \
351 $(EMACS_ROOT)/src/config.h \
354 $(SRC)/dispextern.h \
361 $(BLD)/callproc.$(O) : \
363 $(EMACS_ROOT)/src/s/ms-w32.h \
364 $(EMACS_ROOT)/src/m/intel386.h \
365 $(EMACS_ROOT)/src/config.h \
366 $(EMACS_ROOT)/nt/inc/sys/param.h \
367 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
368 $(EMACS_ROOT)/nt/inc/sys/file.h \
381 $(BLD)/casefiddle.$(O) : \
382 $(SRC)/casefiddle.c \
383 $(EMACS_ROOT)/src/s/ms-w32.h \
384 $(EMACS_ROOT)/src/m/intel386.h \
385 $(EMACS_ROOT)/src/config.h \
393 $(BLD)/casetab.$(O) : \
395 $(EMACS_ROOT)/src/s/ms-w32.h \
396 $(EMACS_ROOT)/src/m/intel386.h \
397 $(EMACS_ROOT)/src/config.h \
401 $(BLD)/category.$(O) : \
403 $(EMACS_ROOT)/src/s/ms-w32.h \
404 $(EMACS_ROOT)/src/m/intel386.h \
405 $(EMACS_ROOT)/src/config.h \
413 $(EMACS_ROOT)/src/s/ms-w32.h \
414 $(EMACS_ROOT)/src/m/intel386.h \
415 $(EMACS_ROOT)/src/config.h \
420 $(BLD)/charset.$(O) : \
422 $(EMACS_ROOT)/src/s/ms-w32.h \
423 $(EMACS_ROOT)/src/m/intel386.h \
424 $(EMACS_ROOT)/src/config.h \
434 $(EMACS_ROOT)/src/s/ms-w32.h \
435 $(EMACS_ROOT)/src/m/intel386.h \
436 $(EMACS_ROOT)/src/config.h \
442 $(EMACS_ROOT)/src/s/ms-w32.h \
443 $(EMACS_ROOT)/src/m/intel386.h \
444 $(EMACS_ROOT)/src/config.h \
448 $(SRC)/dispextern.h \
456 $(BLD)/coding.$(O) : \
458 $(EMACS_ROOT)/src/s/ms-w32.h \
459 $(EMACS_ROOT)/src/m/intel386.h \
460 $(EMACS_ROOT)/src/config.h \
466 $(SRC)/dispextern.h \
472 $(BLD)/composite.$(O) : \
474 $(EMACS_ROOT)/src/s/ms-w32.h \
475 $(EMACS_ROOT)/src/m/intel386.h \
476 $(EMACS_ROOT)/src/config.h \
480 $(SRC)/dispextern.h \
487 $(EMACS_ROOT)/src/s/ms-w32.h \
488 $(EMACS_ROOT)/src/m/intel386.h \
489 $(EMACS_ROOT)/src/config.h \
497 $(BLD)/dired.$(O) : \
499 $(EMACS_ROOT)/src/s/ms-w32.h \
500 $(EMACS_ROOT)/src/m/intel386.h \
501 $(EMACS_ROOT)/src/config.h \
511 $(BLD)/dispnew.$(O) : \
513 $(EMACS_ROOT)/src/s/ms-w32.h \
514 $(EMACS_ROOT)/src/m/intel386.h \
515 $(EMACS_ROOT)/src/config.h \
516 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
517 $(EMACS_ROOT)/nt/inc/sys/file.h \
519 $(SRC)/blockinput.h \
525 $(SRC)/dispextern.h \
544 $(EMACS_ROOT)/src/s/ms-w32.h \
545 $(EMACS_ROOT)/src/m/intel386.h \
546 $(EMACS_ROOT)/src/config.h \
547 $(EMACS_ROOT)/nt/inc/sys/file.h \
553 $(BLD)/doprnt.$(O) : \
555 $(EMACS_ROOT)/src/s/ms-w32.h \
556 $(EMACS_ROOT)/src/m/intel386.h \
557 $(EMACS_ROOT)/src/config.h \
560 $(BLD)/editfns.$(O) : \
562 $(EMACS_ROOT)/src/s/ms-w32.h \
563 $(EMACS_ROOT)/src/m/intel386.h \
564 $(EMACS_ROOT)/src/config.h \
565 $(EMACS_ROOT)/nt/inc/pwd.h \
571 $(SRC)/dispextern.h \
579 $(BLD)/emacs.$(O) : \
581 $(EMACS_ROOT)/src/s/ms-w32.h \
582 $(EMACS_ROOT)/src/m/intel386.h \
583 $(EMACS_ROOT)/src/config.h \
584 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
585 $(EMACS_ROOT)/nt/inc/sys/file.h \
587 $(SRC)/blockinput.h \
591 $(SRC)/dispextern.h \
607 $(EMACS_ROOT)/src/s/ms-w32.h \
608 $(EMACS_ROOT)/src/m/intel386.h \
609 $(EMACS_ROOT)/src/config.h \
611 $(SRC)/blockinput.h \
613 $(SRC)/dispextern.h \
619 $(BLD)/fileio.$(O) : \
621 $(EMACS_ROOT)/src/s/ms-w32.h \
622 $(EMACS_ROOT)/src/m/intel386.h \
623 $(EMACS_ROOT)/src/config.h \
624 $(EMACS_ROOT)/nt/inc/pwd.h \
625 $(EMACS_ROOT)/nt/inc/sys/param.h \
626 $(EMACS_ROOT)/nt/inc/sys/file.h \
633 $(SRC)/dispextern.h \
640 $(BLD)/filelock.$(O) : \
642 $(EMACS_ROOT)/src/s/ms-w32.h \
643 $(EMACS_ROOT)/src/m/intel386.h \
644 $(EMACS_ROOT)/src/config.h \
645 $(EMACS_ROOT)/nt/inc/pwd.h \
646 $(EMACS_ROOT)/nt/inc/sys/file.h \
647 $(EMACS_ROOT)/src/epaths.h \
654 $(BLD)/filemode.$(O) : \
656 $(EMACS_ROOT)/src/s/ms-w32.h \
657 $(EMACS_ROOT)/src/m/intel386.h \
658 $(EMACS_ROOT)/src/config.h \
660 $(SRC)/m/intel386.h \
663 $(BLD)/firstfile.$(O) : \
665 $(EMACS_ROOT)/src/s/ms-w32.h \
666 $(EMACS_ROOT)/src/m/intel386.h \
667 $(EMACS_ROOT)/src/config.h
669 $(BLD)/floatfns.$(O) : \
671 $(EMACS_ROOT)/src/s/ms-w32.h \
672 $(EMACS_ROOT)/src/m/intel386.h \
673 $(EMACS_ROOT)/src/config.h \
678 $(EMACS_ROOT)/src/s/ms-w32.h \
679 $(EMACS_ROOT)/src/m/intel386.h \
680 $(EMACS_ROOT)/src/config.h \
682 $(SRC)/blockinput.h \
689 $(SRC)/dispextern.h \
700 $(BLD)/fontset.$(O) : \
702 $(EMACS_ROOT)/src/s/ms-w32.h \
703 $(EMACS_ROOT)/src/m/intel386.h \
704 $(EMACS_ROOT)/src/config.h \
708 $(SRC)/dispextern.h \
716 $(BLD)/frame.$(O) : \
718 $(EMACS_ROOT)/src/s/ms-w32.h \
719 $(EMACS_ROOT)/src/m/intel386.h \
720 $(EMACS_ROOT)/src/config.h \
722 $(SRC)/blockinput.h \
726 $(SRC)/dispextern.h \
737 $(BLD)/fringe.$(O) : \
739 $(EMACS_ROOT)/src/s/ms-w32.h \
740 $(EMACS_ROOT)/src/m/intel386.h \
741 $(EMACS_ROOT)/src/config.h \
743 $(SRC)/blockinput.h \
745 $(SRC)/dispextern.h \
752 $(BLD)/gmalloc.$(O) : \
754 $(EMACS_ROOT)/src/s/ms-w32.h \
755 $(EMACS_ROOT)/src/m/intel386.h \
756 $(EMACS_ROOT)/src/config.h \
757 $(EMACS_ROOT)/nt/inc/sys/param.h \
762 $(EMACS_ROOT)/src/s/ms-w32.h \
763 $(EMACS_ROOT)/src/m/intel386.h \
764 $(EMACS_ROOT)/src/config.h \
766 $(SRC)/blockinput.h \
767 $(SRC)/dispextern.h \
778 $(BLD)/indent.$(O) : \
780 $(EMACS_ROOT)/src/s/ms-w32.h \
781 $(EMACS_ROOT)/src/m/intel386.h \
782 $(EMACS_ROOT)/src/config.h \
787 $(SRC)/dispextern.h \
793 $(SRC)/region-cache.h \
800 $(BLD)/insdel.$(O) : \
802 $(EMACS_ROOT)/src/s/ms-w32.h \
803 $(EMACS_ROOT)/src/m/intel386.h \
804 $(EMACS_ROOT)/src/config.h \
806 $(SRC)/blockinput.h \
810 $(SRC)/dispextern.h \
812 $(SRC)/region-cache.h \
818 $(BLD)/intervals.$(O) : \
820 $(EMACS_ROOT)/src/s/ms-w32.h \
821 $(EMACS_ROOT)/src/m/intel386.h \
822 $(EMACS_ROOT)/src/config.h \
825 $(SRC)/dispextern.h \
833 $(BLD)/keyboard.$(O) : \
835 $(EMACS_ROOT)/src/s/ms-w32.h \
836 $(EMACS_ROOT)/src/m/intel386.h \
837 $(EMACS_ROOT)/src/config.h \
838 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
839 $(EMACS_ROOT)/nt/inc/sys/file.h \
841 $(SRC)/blockinput.h \
846 $(SRC)/dispextern.h \
866 $(BLD)/keymap.$(O) : \
868 $(EMACS_ROOT)/src/s/ms-w32.h \
869 $(EMACS_ROOT)/src/m/intel386.h \
870 $(EMACS_ROOT)/src/config.h \
872 $(SRC)/blockinput.h \
877 $(SRC)/dispextern.h \
887 $(BLD)/lastfile.$(O) : \
889 $(EMACS_ROOT)/src/s/ms-w32.h \
890 $(EMACS_ROOT)/src/m/intel386.h \
891 $(EMACS_ROOT)/src/config.h
893 $(BLD)/lread.$(O) : \
895 $(EMACS_ROOT)/src/s/ms-w32.h \
896 $(EMACS_ROOT)/src/m/intel386.h \
897 $(EMACS_ROOT)/src/config.h \
898 $(EMACS_ROOT)/nt/inc/sys/file.h \
899 $(EMACS_ROOT)/src/epaths.h \
906 $(SRC)/dispextern.h \
913 $(BLD)/macros.$(O) : \
915 $(EMACS_ROOT)/src/s/ms-w32.h \
916 $(EMACS_ROOT)/src/m/intel386.h \
917 $(EMACS_ROOT)/src/config.h \
920 $(SRC)/dispextern.h \
927 $(BLD)/marker.$(O) : \
929 $(EMACS_ROOT)/src/s/ms-w32.h \
930 $(EMACS_ROOT)/src/m/intel386.h \
931 $(EMACS_ROOT)/src/config.h \
939 $(BLD)/minibuf.$(O) : \
941 $(EMACS_ROOT)/src/s/ms-w32.h \
942 $(EMACS_ROOT)/src/m/intel386.h \
943 $(EMACS_ROOT)/src/config.h \
948 $(SRC)/dispextern.h \
960 $(EMACS_ROOT)/nt/inc/pwd.h \
962 $(SRC)/m/intel386.h \
969 $(BLD)/w32heap.$(O) : \
972 $(SRC)/m/intel386.h \
976 $(BLD)/w32inevt.$(O) : \
979 $(SRC)/m/intel386.h \
982 $(SRC)/blockinput.h \
992 $(BLD)/w32proc.$(O) : \
995 $(SRC)/m/intel386.h \
1007 $(BLD)/w32console.$(O) : \
1008 $(SRC)/w32console.c \
1010 $(SRC)/m/intel386.h \
1015 $(SRC)/dispextern.h \
1018 $(SRC)/termhooks.h \
1023 $(BLD)/print.$(O) : \
1025 $(EMACS_ROOT)/src/s/ms-w32.h \
1026 $(EMACS_ROOT)/src/m/intel386.h \
1027 $(EMACS_ROOT)/src/config.h \
1030 $(SRC)/composite.h \
1031 $(SRC)/dispextern.h \
1033 $(SRC)/intervals.h \
1041 $(BLD)/process.$(O) : \
1043 $(EMACS_ROOT)/src/s/ms-w32.h \
1044 $(EMACS_ROOT)/src/m/intel386.h \
1045 $(EMACS_ROOT)/src/config.h \
1046 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1047 $(EMACS_ROOT)/nt/inc/sys/file.h \
1049 $(SRC)/blockinput.h \
1055 $(SRC)/composite.h \
1056 $(SRC)/dispextern.h \
1060 $(SRC)/sysselect.h \
1061 $(SRC)/syssignal.h \
1065 $(SRC)/termhooks.h \
1071 $(BLD)/ralloc.$(O) : \
1073 $(EMACS_ROOT)/src/s/ms-w32.h \
1074 $(EMACS_ROOT)/src/m/intel386.h \
1075 $(EMACS_ROOT)/src/config.h \
1076 $(EMACS_ROOT)/nt/inc/sys/param.h \
1078 $(SRC)/m/intel386.h \
1080 $(SRC)/getpagesize.h
1082 $(BLD)/regex.$(O) : \
1084 $(EMACS_ROOT)/src/s/ms-w32.h \
1085 $(EMACS_ROOT)/src/m/intel386.h \
1086 $(EMACS_ROOT)/src/config.h \
1088 $(SRC)/m/intel386.h \
1096 $(BLD)/region-cache.$(O) : \
1097 $(SRC)/region-cache.c \
1098 $(EMACS_ROOT)/src/s/ms-w32.h \
1099 $(EMACS_ROOT)/src/m/intel386.h \
1100 $(EMACS_ROOT)/src/config.h \
1102 $(SRC)/region-cache.h
1104 $(BLD)/scroll.$(O) : \
1106 $(EMACS_ROOT)/src/s/ms-w32.h \
1107 $(EMACS_ROOT)/src/m/intel386.h \
1108 $(EMACS_ROOT)/src/config.h \
1109 $(SRC)/dispextern.h \
1117 $(BLD)/search.$(O) : \
1119 $(EMACS_ROOT)/src/s/ms-w32.h \
1120 $(EMACS_ROOT)/src/m/intel386.h \
1121 $(EMACS_ROOT)/src/config.h \
1123 $(SRC)/blockinput.h \
1128 $(SRC)/composite.h \
1129 $(SRC)/dispextern.h \
1130 $(SRC)/intervals.h \
1132 $(SRC)/region-cache.h \
1138 $(BLD)/sound.$(O) : \
1141 $(SRC)/dispextern.h \
1145 $(BLD)/strftime.$(O) : \
1147 $(EMACS_ROOT)/src/s/ms-w32.h \
1148 $(EMACS_ROOT)/src/m/intel386.h \
1149 $(EMACS_ROOT)/src/config.h
1151 $(BLD)/syntax.$(O) : \
1153 $(EMACS_ROOT)/src/s/ms-w32.h \
1154 $(EMACS_ROOT)/src/m/intel386.h \
1155 $(EMACS_ROOT)/src/config.h \
1160 $(SRC)/composite.h \
1161 $(SRC)/dispextern.h \
1162 $(SRC)/intervals.h \
1168 $(BLD)/sysdep.$(O) : \
1170 $(EMACS_ROOT)/src/s/ms-w32.h \
1171 $(EMACS_ROOT)/src/m/intel386.h \
1172 $(EMACS_ROOT)/src/config.h \
1173 $(EMACS_ROOT)/nt/inc/sys/param.h \
1174 $(EMACS_ROOT)/nt/inc/sys/file.h \
1175 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1176 $(EMACS_ROOT)/nt/inc/sys/file.h \
1178 $(SRC)/blockinput.h \
1179 $(SRC)/dispextern.h \
1184 $(SRC)/sysselect.h \
1185 $(SRC)/syssignal.h \
1190 $(SRC)/termhooks.h \
1196 $(BLD)/term.$(O) : \
1198 $(EMACS_ROOT)/src/s/ms-w32.h \
1199 $(EMACS_ROOT)/src/m/intel386.h \
1200 $(EMACS_ROOT)/src/config.h \
1205 $(SRC)/dispextern.h \
1211 $(SRC)/termhooks.h \
1217 $(BLD)/termcap.$(O) : \
1219 $(EMACS_ROOT)/src/s/ms-w32.h \
1220 $(EMACS_ROOT)/src/m/intel386.h \
1221 $(EMACS_ROOT)/src/config.h \
1222 $(EMACS_ROOT)/nt/inc/sys/file.h
1224 $(BLD)/textprop.$(O) : \
1226 $(EMACS_ROOT)/src/s/ms-w32.h \
1227 $(EMACS_ROOT)/src/m/intel386.h \
1228 $(EMACS_ROOT)/src/config.h \
1230 $(SRC)/composite.h \
1231 $(SRC)/dispextern.h \
1232 $(SRC)/intervals.h \
1237 $(BLD)/tparam.$(O) : \
1239 $(EMACS_ROOT)/src/s/ms-w32.h \
1240 $(EMACS_ROOT)/src/m/intel386.h \
1241 $(EMACS_ROOT)/src/config.h
1243 $(BLD)/undo.$(O) : \
1245 $(EMACS_ROOT)/src/s/ms-w32.h \
1246 $(EMACS_ROOT)/src/m/intel386.h \
1247 $(EMACS_ROOT)/src/config.h \
1251 $(BLD)/unexw32.$(O) : \
1253 $(EMACS_ROOT)/src/s/ms-w32.h \
1254 $(EMACS_ROOT)/src/m/intel386.h \
1255 $(EMACS_ROOT)/src/config.h \
1258 $(BLD)/vm-limit.$(O) : \
1260 $(EMACS_ROOT)/src/s/ms-w32.h \
1261 $(EMACS_ROOT)/src/m/intel386.h \
1262 $(EMACS_ROOT)/src/config.h \
1265 $(BLD)/window.$(O) : \
1267 $(EMACS_ROOT)/src/s/ms-w32.h \
1268 $(EMACS_ROOT)/src/m/intel386.h \
1269 $(EMACS_ROOT)/src/config.h \
1271 $(SRC)/blockinput.h \
1274 $(SRC)/composite.h \
1275 $(SRC)/dispextern.h \
1279 $(SRC)/intervals.h \
1289 $(BLD)/xdisp.$(O) : \
1291 $(EMACS_ROOT)/src/s/ms-w32.h \
1292 $(EMACS_ROOT)/src/m/intel386.h \
1293 $(EMACS_ROOT)/src/config.h \
1295 $(SRC)/blockinput.h \
1301 $(SRC)/composite.h \
1302 $(SRC)/dispextern.h \
1307 $(SRC)/intervals.h \
1312 $(SRC)/region-cache.h \
1315 $(SRC)/termhooks.h \
1321 $(BLD)/xfaces.$(O): \
1323 $(EMACS_ROOT)/src/s/ms-w32.h \
1324 $(EMACS_ROOT)/src/m/intel386.h \
1325 $(EMACS_ROOT)/src/config.h \
1327 $(SRC)/blockinput.h \
1330 $(SRC)/composite.h \
1331 $(SRC)/dispextern.h \
1334 $(SRC)/intervals.h \
1342 $(BLD)/w32fns.$(O): \
1344 $(EMACS_ROOT)/src/s/ms-w32.h \
1345 $(EMACS_ROOT)/src/m/intel386.h \
1346 $(EMACS_ROOT)/src/config.h \
1348 $(SRC)/blockinput.h \
1353 $(SRC)/composite.h \
1354 $(SRC)/dispextern.h \
1358 $(SRC)/intervals.h \
1361 $(SRC)/termhooks.h \
1368 $(BLD)/w32menu.$(O): \
1370 $(EMACS_ROOT)/src/s/ms-w32.h \
1371 $(EMACS_ROOT)/src/m/intel386.h \
1372 $(EMACS_ROOT)/src/config.h \
1374 $(SRC)/blockinput.h \
1378 $(SRC)/dispextern.h \
1383 $(SRC)/termhooks.h \
1389 $(BLD)/w32term.$(O): \
1391 $(EMACS_ROOT)/src/s/ms-w32.h \
1392 $(EMACS_ROOT)/src/m/intel386.h \
1393 $(EMACS_ROOT)/src/config.h \
1395 $(SRC)/blockinput.h \
1400 $(SRC)/composite.h \
1401 $(SRC)/dispextern.h \
1406 $(SRC)/intervals.h \
1412 $(SRC)/termhooks.h \
1420 $(BLD)/w32select.$(O): \
1421 $(SRC)/w32select.c \
1422 $(EMACS_ROOT)/src/s/ms-w32.h \
1423 $(EMACS_ROOT)/src/m/intel386.h \
1424 $(EMACS_ROOT)/src/config.h \
1426 $(SRC)/blockinput.h \
1431 $(SRC)/composite.h \
1432 $(SRC)/dispextern.h \
1441 $(BLD)/w32reg.$(O): \
1443 $(EMACS_ROOT)/src/s/ms-w32.h \
1444 $(EMACS_ROOT)/src/m/intel386.h \
1445 $(EMACS_ROOT)/src/config.h \
1447 $(SRC)/blockinput.h \
1453 $(BLD)/w32xfns.$(O): \
1455 $(EMACS_ROOT)/src/s/ms-w32.h \
1456 $(EMACS_ROOT)/src/m/intel386.h \
1457 $(EMACS_ROOT)/src/config.h \
1459 $(SRC)/blockinput.h \
1469 $(BLD)/w32bdf.$(O): \
1471 $(EMACS_ROOT)/src/s/ms-w32.h \
1472 $(EMACS_ROOT)/src/m/intel386.h \
1473 $(EMACS_ROOT)/src/config.h \
1475 $(SRC)/blockinput.h \
1477 $(SRC)/dispextern.h \