1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
2 # Copyright (c) 2000-2001, 2004 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 2, or (at your option)
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; see the file COPYING. If not, write to the
18 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 # Boston, MA 02111-1307, USA.
26 # Set EMACSLOADPATH correctly (in case already defined in environment).
27 EMACSLOADPATH=$(CURDIR)/../lisp
30 # HAVE_CONFIG_H is required by some generic gnu sources stuck into
31 # the emacs source tree.
33 LOCAL_FLAGS = -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I../nt/inc -D_UCHAR_T -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 FULL_LINK_FLAGS = $(LINK_FLAGS) $(TEMACS_EXTRA_LINK)
48 # Split up the objects into two sets so that we don't run out of
49 # command line space when we link them into a library.
51 # Put emacs.$(O) in a separate lib, since we need to have firstfile.$(O)
52 # as the "main" object file when linking.
54 OBJ0 = $(BLD)/emacs.$(O)
56 OBJ1 = $(BLD)/abbrev.$(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) \
119 $(BLD)/category.$(O) \
121 $(BLD)/fontset.$(O) \
125 WIN32OBJ = $(BLD)/w32term.$(O) \
126 $(BLD)/w32xfns.$(O) \
129 $(BLD)/w32select.$(O) \
130 $(BLD)/w32menu.$(O) \
149 # Build the executable and dump it.
154 # The dumped executable
156 emacs: $(BLD) $(EMACS)
157 $(EMACS): $(DOC) $(TEMACS)
158 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
159 -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
162 # The undumped executable
163 # Note the extra post-link step to insert a static preload heap section.
164 # If preload runs out of memory, increase the last argument to addsection
165 # (it is the preload heap size in MB).
167 temacs: $(BLD) $(TEMACS)
168 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES)
169 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
170 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 16
171 echo $(OBJ0) > $(BLD)/buildobj.lst
172 echo $(OBJ1) >> $(BLD)/buildobj.lst
173 echo $(WIN32OBJ) >> $(BLD)/buildobj.lst
175 bootstrap: bootstrap-emacs
178 # Build a temacs with a sufficiently large PURESIZE to load the
179 # Lisp files from loadup.el in source form.
182 $(MAKE) $(MFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
185 # Dump an Emacs executable named bootstrap-emacs containing the
186 # files from loadup.el in source form.
188 bootstrap-emacs: bootstrap-temacs
189 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
191 $(CP) $(EMACS) ../bin
194 # Force recompile of files that depend on PURESIZE
197 - $(DEL) $(BLD)/alloc.$(O)
198 - $(DEL) $(BLD)/data.$(O)
199 - $(DEL) $(BLD)/intervals.$(O)
200 - $(DEL) $(BLD)/keyboard.$(O)
201 - $(DEL) $(BLD)/keymap.$(O)
204 # The resource file. NT 3.10 requires the use of cvtres; even though
205 # it is not necessary on later versions, it is still ok to use it.
207 $(TRES): ../nt/emacs.rc
208 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ $(ALL_DEPS)
211 # Build the library. Split up the build into two phases...otherwise we
212 # run out of command line space.
216 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
219 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
220 $(TLIBW32): $(WIN32OBJ)
222 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
225 # Place lastfile.$(O) in its own library so that it can be loaded after
226 # the source libraries but before any system libraries. Doing so defines
227 # the end of Emacs' data section portably across compilers and systems.
229 $(TLASTLIB): $(BLD)/lastfile.$(O)
231 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
234 # Assuming INSTALL_DIR is defined, build and install emacs in it.
237 - mkdir "$(INSTALL_DIR)/bin"
238 $(CP) $(EMACS) $(INSTALL_DIR)/bin
244 - $(DEL) *~ "s/*~" "m/*~"
245 - $(DEL) $(COMPILER_TEMP_FILES)
246 - $(DEL_TREE) $(OBJDIR)
249 - $(DEL) config.h epaths.h
253 - $(DEL_TREE) obj-spd
262 $(BLD)/abbrev.$(O) : \
264 $(EMACS_ROOT)/src/s/ms-w32.h \
265 $(EMACS_ROOT)/src/m/intel386.h \
266 $(EMACS_ROOT)/src/config.h \
270 $(SRC)/dispextern.h \
276 $(BLD)/alloc.$(O) : \
278 $(EMACS_ROOT)/src/s/ms-w32.h \
279 $(EMACS_ROOT)/src/m/intel386.h \
280 $(EMACS_ROOT)/src/config.h \
281 $(SRC)/blockinput.h \
285 $(SRC)/dispextern.h \
296 $(BLD)/atimer.$(O) : \
298 $(EMACS_ROOT)/src/s/ms-w32.h \
299 $(EMACS_ROOT)/src/m/intel386.h \
300 $(EMACS_ROOT)/src/config.h \
302 $(SRC)/m/intel386.h \
305 $(SRC)/blockinput.h \
309 $(BLD)/buffer.$(O) : \
311 $(EMACS_ROOT)/nt/inc/sys/param.h \
312 $(EMACS_ROOT)/src/s/ms-w32.h \
313 $(EMACS_ROOT)/src/m/intel386.h \
314 $(EMACS_ROOT)/src/config.h \
315 $(SRC)/blockinput.h \
320 $(SRC)/dispextern.h \
326 $(SRC)/region-cache.h \
331 $(BLD)/bytecode.$(O) : \
333 $(EMACS_ROOT)/src/s/ms-w32.h \
334 $(EMACS_ROOT)/src/m/intel386.h \
335 $(EMACS_ROOT)/src/config.h \
341 $(BLD)/callint.$(O) : \
343 $(EMACS_ROOT)/src/s/ms-w32.h \
344 $(EMACS_ROOT)/src/m/intel386.h \
345 $(EMACS_ROOT)/src/config.h \
348 $(SRC)/dispextern.h \
355 $(BLD)/callproc.$(O) : \
357 $(EMACS_ROOT)/src/s/ms-w32.h \
358 $(EMACS_ROOT)/src/m/intel386.h \
359 $(EMACS_ROOT)/src/config.h \
360 $(EMACS_ROOT)/nt/inc/sys/param.h \
361 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
362 $(EMACS_ROOT)/nt/inc/sys/file.h \
375 $(BLD)/casefiddle.$(O) : \
376 $(SRC)/casefiddle.c \
377 $(EMACS_ROOT)/src/s/ms-w32.h \
378 $(EMACS_ROOT)/src/m/intel386.h \
379 $(EMACS_ROOT)/src/config.h \
387 $(BLD)/casetab.$(O) : \
389 $(EMACS_ROOT)/src/s/ms-w32.h \
390 $(EMACS_ROOT)/src/m/intel386.h \
391 $(EMACS_ROOT)/src/config.h \
395 $(BLD)/category.$(O) : \
397 $(EMACS_ROOT)/src/s/ms-w32.h \
398 $(EMACS_ROOT)/src/m/intel386.h \
399 $(EMACS_ROOT)/src/config.h \
407 $(EMACS_ROOT)/src/s/ms-w32.h \
408 $(EMACS_ROOT)/src/m/intel386.h \
409 $(EMACS_ROOT)/src/config.h \
414 $(BLD)/charset.$(O) : \
416 $(EMACS_ROOT)/src/s/ms-w32.h \
417 $(EMACS_ROOT)/src/m/intel386.h \
418 $(EMACS_ROOT)/src/config.h \
428 $(EMACS_ROOT)/src/s/ms-w32.h \
429 $(EMACS_ROOT)/src/m/intel386.h \
430 $(EMACS_ROOT)/src/config.h \
436 $(EMACS_ROOT)/src/s/ms-w32.h \
437 $(EMACS_ROOT)/src/m/intel386.h \
438 $(EMACS_ROOT)/src/config.h \
442 $(SRC)/dispextern.h \
450 $(BLD)/coding.$(O) : \
452 $(EMACS_ROOT)/src/s/ms-w32.h \
453 $(EMACS_ROOT)/src/m/intel386.h \
454 $(EMACS_ROOT)/src/config.h \
460 $(SRC)/dispextern.h \
466 $(BLD)/composite.$(O) : \
468 $(EMACS_ROOT)/src/s/ms-w32.h \
469 $(EMACS_ROOT)/src/m/intel386.h \
470 $(EMACS_ROOT)/src/config.h \
474 $(SRC)/dispextern.h \
481 $(EMACS_ROOT)/src/s/ms-w32.h \
482 $(EMACS_ROOT)/src/m/intel386.h \
483 $(EMACS_ROOT)/src/config.h \
491 $(BLD)/dired.$(O) : \
493 $(EMACS_ROOT)/src/s/ms-w32.h \
494 $(EMACS_ROOT)/src/m/intel386.h \
495 $(EMACS_ROOT)/src/config.h \
505 $(BLD)/dispnew.$(O) : \
507 $(EMACS_ROOT)/src/s/ms-w32.h \
508 $(EMACS_ROOT)/src/m/intel386.h \
509 $(EMACS_ROOT)/src/config.h \
510 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
511 $(EMACS_ROOT)/nt/inc/sys/file.h \
513 $(SRC)/blockinput.h \
519 $(SRC)/dispextern.h \
538 $(EMACS_ROOT)/src/s/ms-w32.h \
539 $(EMACS_ROOT)/src/m/intel386.h \
540 $(EMACS_ROOT)/src/config.h \
541 $(EMACS_ROOT)/nt/inc/sys/file.h \
547 $(BLD)/doprnt.$(O) : \
549 $(EMACS_ROOT)/src/s/ms-w32.h \
550 $(EMACS_ROOT)/src/m/intel386.h \
551 $(EMACS_ROOT)/src/config.h \
554 $(BLD)/editfns.$(O) : \
556 $(EMACS_ROOT)/src/s/ms-w32.h \
557 $(EMACS_ROOT)/src/m/intel386.h \
558 $(EMACS_ROOT)/src/config.h \
559 $(EMACS_ROOT)/nt/inc/pwd.h \
565 $(SRC)/dispextern.h \
573 $(BLD)/emacs.$(O) : \
575 $(EMACS_ROOT)/src/s/ms-w32.h \
576 $(EMACS_ROOT)/src/m/intel386.h \
577 $(EMACS_ROOT)/src/config.h \
578 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
579 $(EMACS_ROOT)/nt/inc/sys/file.h \
581 $(SRC)/blockinput.h \
585 $(SRC)/dispextern.h \
600 $(EMACS_ROOT)/src/s/ms-w32.h \
601 $(EMACS_ROOT)/src/m/intel386.h \
602 $(EMACS_ROOT)/src/config.h \
604 $(SRC)/blockinput.h \
606 $(SRC)/dispextern.h \
612 $(BLD)/fileio.$(O) : \
614 $(EMACS_ROOT)/src/s/ms-w32.h \
615 $(EMACS_ROOT)/src/m/intel386.h \
616 $(EMACS_ROOT)/src/config.h \
617 $(EMACS_ROOT)/nt/inc/pwd.h \
618 $(EMACS_ROOT)/nt/inc/sys/param.h \
619 $(EMACS_ROOT)/nt/inc/sys/file.h \
626 $(SRC)/dispextern.h \
633 $(BLD)/filelock.$(O) : \
635 $(EMACS_ROOT)/src/s/ms-w32.h \
636 $(EMACS_ROOT)/src/m/intel386.h \
637 $(EMACS_ROOT)/src/config.h \
638 $(EMACS_ROOT)/nt/inc/pwd.h \
639 $(EMACS_ROOT)/nt/inc/sys/file.h \
640 $(EMACS_ROOT)/src/epaths.h \
647 $(BLD)/filemode.$(O) : \
649 $(EMACS_ROOT)/src/s/ms-w32.h \
650 $(EMACS_ROOT)/src/m/intel386.h \
651 $(EMACS_ROOT)/src/config.h \
653 $(SRC)/m/intel386.h \
656 $(BLD)/firstfile.$(O) : \
658 $(EMACS_ROOT)/src/s/ms-w32.h \
659 $(EMACS_ROOT)/src/m/intel386.h \
660 $(EMACS_ROOT)/src/config.h
662 $(BLD)/floatfns.$(O) : \
664 $(EMACS_ROOT)/src/s/ms-w32.h \
665 $(EMACS_ROOT)/src/m/intel386.h \
666 $(EMACS_ROOT)/src/config.h \
671 $(EMACS_ROOT)/src/s/ms-w32.h \
672 $(EMACS_ROOT)/src/m/intel386.h \
673 $(EMACS_ROOT)/src/config.h \
675 $(SRC)/blockinput.h \
682 $(SRC)/dispextern.h \
693 $(BLD)/fontset.$(O) : \
695 $(EMACS_ROOT)/src/s/ms-w32.h \
696 $(EMACS_ROOT)/src/m/intel386.h \
697 $(EMACS_ROOT)/src/config.h \
701 $(SRC)/dispextern.h \
709 $(BLD)/frame.$(O) : \
711 $(EMACS_ROOT)/src/s/ms-w32.h \
712 $(EMACS_ROOT)/src/m/intel386.h \
713 $(EMACS_ROOT)/src/config.h \
715 $(SRC)/blockinput.h \
719 $(SRC)/dispextern.h \
730 $(BLD)/fringe.$(O) : \
732 $(EMACS_ROOT)/src/s/ms-w32.h \
733 $(EMACS_ROOT)/src/m/intel386.h \
734 $(EMACS_ROOT)/src/config.h \
736 $(SRC)/blockinput.h \
738 $(SRC)/dispextern.h \
745 $(BLD)/gmalloc.$(O) : \
747 $(EMACS_ROOT)/src/s/ms-w32.h \
748 $(EMACS_ROOT)/src/m/intel386.h \
749 $(EMACS_ROOT)/src/config.h \
750 $(EMACS_ROOT)/nt/inc/sys/param.h \
755 $(EMACS_ROOT)/src/s/ms-w32.h \
756 $(EMACS_ROOT)/src/m/intel386.h \
757 $(EMACS_ROOT)/src/config.h \
759 $(SRC)/blockinput.h \
760 $(SRC)/dispextern.h \
771 $(BLD)/indent.$(O) : \
773 $(EMACS_ROOT)/src/s/ms-w32.h \
774 $(EMACS_ROOT)/src/m/intel386.h \
775 $(EMACS_ROOT)/src/config.h \
780 $(SRC)/dispextern.h \
786 $(SRC)/region-cache.h \
793 $(BLD)/insdel.$(O) : \
795 $(EMACS_ROOT)/src/s/ms-w32.h \
796 $(EMACS_ROOT)/src/m/intel386.h \
797 $(EMACS_ROOT)/src/config.h \
799 $(SRC)/blockinput.h \
803 $(SRC)/dispextern.h \
805 $(SRC)/region-cache.h \
811 $(BLD)/intervals.$(O) : \
813 $(EMACS_ROOT)/src/s/ms-w32.h \
814 $(EMACS_ROOT)/src/m/intel386.h \
815 $(EMACS_ROOT)/src/config.h \
818 $(SRC)/dispextern.h \
826 $(BLD)/keyboard.$(O) : \
828 $(EMACS_ROOT)/src/s/ms-w32.h \
829 $(EMACS_ROOT)/src/m/intel386.h \
830 $(EMACS_ROOT)/src/config.h \
831 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
832 $(EMACS_ROOT)/nt/inc/sys/file.h \
834 $(SRC)/blockinput.h \
839 $(SRC)/dispextern.h \
859 $(BLD)/keymap.$(O) : \
861 $(EMACS_ROOT)/src/s/ms-w32.h \
862 $(EMACS_ROOT)/src/m/intel386.h \
863 $(EMACS_ROOT)/src/config.h \
865 $(SRC)/blockinput.h \
870 $(SRC)/dispextern.h \
880 $(BLD)/lastfile.$(O) : \
882 $(EMACS_ROOT)/src/s/ms-w32.h \
883 $(EMACS_ROOT)/src/m/intel386.h \
884 $(EMACS_ROOT)/src/config.h
886 $(BLD)/lread.$(O) : \
888 $(EMACS_ROOT)/src/s/ms-w32.h \
889 $(EMACS_ROOT)/src/m/intel386.h \
890 $(EMACS_ROOT)/src/config.h \
891 $(EMACS_ROOT)/nt/inc/sys/file.h \
892 $(EMACS_ROOT)/src/epaths.h \
899 $(SRC)/dispextern.h \
906 $(BLD)/macros.$(O) : \
908 $(EMACS_ROOT)/src/s/ms-w32.h \
909 $(EMACS_ROOT)/src/m/intel386.h \
910 $(EMACS_ROOT)/src/config.h \
913 $(SRC)/dispextern.h \
920 $(BLD)/marker.$(O) : \
922 $(EMACS_ROOT)/src/s/ms-w32.h \
923 $(EMACS_ROOT)/src/m/intel386.h \
924 $(EMACS_ROOT)/src/config.h \
932 $(BLD)/minibuf.$(O) : \
934 $(EMACS_ROOT)/src/s/ms-w32.h \
935 $(EMACS_ROOT)/src/m/intel386.h \
936 $(EMACS_ROOT)/src/config.h \
941 $(SRC)/dispextern.h \
953 $(EMACS_ROOT)/nt/inc/pwd.h \
955 $(SRC)/m/intel386.h \
962 $(BLD)/w32heap.$(O) : \
965 $(SRC)/m/intel386.h \
969 $(BLD)/w32inevt.$(O) : \
972 $(SRC)/m/intel386.h \
975 $(SRC)/blockinput.h \
985 $(BLD)/w32proc.$(O) : \
988 $(SRC)/m/intel386.h \
1000 $(BLD)/w32console.$(O) : \
1001 $(SRC)/w32console.c \
1003 $(SRC)/m/intel386.h \
1008 $(SRC)/dispextern.h \
1011 $(SRC)/termhooks.h \
1016 $(BLD)/print.$(O) : \
1018 $(EMACS_ROOT)/src/s/ms-w32.h \
1019 $(EMACS_ROOT)/src/m/intel386.h \
1020 $(EMACS_ROOT)/src/config.h \
1023 $(SRC)/composite.h \
1024 $(SRC)/dispextern.h \
1026 $(SRC)/intervals.h \
1034 $(BLD)/process.$(O) : \
1036 $(EMACS_ROOT)/src/s/ms-w32.h \
1037 $(EMACS_ROOT)/src/m/intel386.h \
1038 $(EMACS_ROOT)/src/config.h \
1039 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1040 $(EMACS_ROOT)/nt/inc/sys/file.h \
1042 $(SRC)/blockinput.h \
1048 $(SRC)/composite.h \
1049 $(SRC)/dispextern.h \
1053 $(SRC)/sysselect.h \
1054 $(SRC)/syssignal.h \
1058 $(SRC)/termhooks.h \
1064 $(BLD)/ralloc.$(O) : \
1066 $(EMACS_ROOT)/src/s/ms-w32.h \
1067 $(EMACS_ROOT)/src/m/intel386.h \
1068 $(EMACS_ROOT)/src/config.h \
1069 $(EMACS_ROOT)/nt/inc/sys/param.h \
1071 $(SRC)/m/intel386.h \
1073 $(SRC)/getpagesize.h
1075 $(BLD)/regex.$(O) : \
1077 $(EMACS_ROOT)/src/s/ms-w32.h \
1078 $(EMACS_ROOT)/src/m/intel386.h \
1079 $(EMACS_ROOT)/src/config.h \
1081 $(SRC)/m/intel386.h \
1089 $(BLD)/region-cache.$(O) : \
1090 $(SRC)/region-cache.c \
1091 $(EMACS_ROOT)/src/s/ms-w32.h \
1092 $(EMACS_ROOT)/src/m/intel386.h \
1093 $(EMACS_ROOT)/src/config.h \
1095 $(SRC)/region-cache.h
1097 $(BLD)/scroll.$(O) : \
1099 $(EMACS_ROOT)/src/s/ms-w32.h \
1100 $(EMACS_ROOT)/src/m/intel386.h \
1101 $(EMACS_ROOT)/src/config.h \
1102 $(SRC)/dispextern.h \
1110 $(BLD)/search.$(O) : \
1112 $(EMACS_ROOT)/src/s/ms-w32.h \
1113 $(EMACS_ROOT)/src/m/intel386.h \
1114 $(EMACS_ROOT)/src/config.h \
1116 $(SRC)/blockinput.h \
1121 $(SRC)/composite.h \
1122 $(SRC)/dispextern.h \
1123 $(SRC)/intervals.h \
1125 $(SRC)/region-cache.h \
1131 $(BLD)/sound.$(O) : \
1134 $(SRC)/dispextern.h \
1138 $(BLD)/strftime.$(O) : \
1140 $(EMACS_ROOT)/src/s/ms-w32.h \
1141 $(EMACS_ROOT)/src/m/intel386.h \
1142 $(EMACS_ROOT)/src/config.h
1144 $(BLD)/syntax.$(O) : \
1146 $(EMACS_ROOT)/src/s/ms-w32.h \
1147 $(EMACS_ROOT)/src/m/intel386.h \
1148 $(EMACS_ROOT)/src/config.h \
1153 $(SRC)/composite.h \
1154 $(SRC)/dispextern.h \
1155 $(SRC)/intervals.h \
1161 $(BLD)/sysdep.$(O) : \
1163 $(EMACS_ROOT)/src/s/ms-w32.h \
1164 $(EMACS_ROOT)/src/m/intel386.h \
1165 $(EMACS_ROOT)/src/config.h \
1166 $(EMACS_ROOT)/nt/inc/sys/param.h \
1167 $(EMACS_ROOT)/nt/inc/sys/file.h \
1168 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1169 $(EMACS_ROOT)/nt/inc/sys/file.h \
1171 $(SRC)/blockinput.h \
1172 $(SRC)/dispextern.h \
1177 $(SRC)/sysselect.h \
1178 $(SRC)/syssignal.h \
1183 $(SRC)/termhooks.h \
1189 $(BLD)/term.$(O) : \
1191 $(EMACS_ROOT)/src/s/ms-w32.h \
1192 $(EMACS_ROOT)/src/m/intel386.h \
1193 $(EMACS_ROOT)/src/config.h \
1198 $(SRC)/dispextern.h \
1204 $(SRC)/termhooks.h \
1210 $(BLD)/termcap.$(O) : \
1212 $(EMACS_ROOT)/src/s/ms-w32.h \
1213 $(EMACS_ROOT)/src/m/intel386.h \
1214 $(EMACS_ROOT)/src/config.h \
1215 $(EMACS_ROOT)/nt/inc/sys/file.h
1217 $(BLD)/textprop.$(O) : \
1219 $(EMACS_ROOT)/src/s/ms-w32.h \
1220 $(EMACS_ROOT)/src/m/intel386.h \
1221 $(EMACS_ROOT)/src/config.h \
1223 $(SRC)/composite.h \
1224 $(SRC)/dispextern.h \
1225 $(SRC)/intervals.h \
1230 $(BLD)/tparam.$(O) : \
1232 $(EMACS_ROOT)/src/s/ms-w32.h \
1233 $(EMACS_ROOT)/src/m/intel386.h \
1234 $(EMACS_ROOT)/src/config.h
1236 $(BLD)/undo.$(O) : \
1238 $(EMACS_ROOT)/src/s/ms-w32.h \
1239 $(EMACS_ROOT)/src/m/intel386.h \
1240 $(EMACS_ROOT)/src/config.h \
1244 $(BLD)/unexw32.$(O) : \
1246 $(EMACS_ROOT)/src/s/ms-w32.h \
1247 $(EMACS_ROOT)/src/m/intel386.h \
1248 $(EMACS_ROOT)/src/config.h \
1251 $(BLD)/vm-limit.$(O) : \
1253 $(EMACS_ROOT)/src/s/ms-w32.h \
1254 $(EMACS_ROOT)/src/m/intel386.h \
1255 $(EMACS_ROOT)/src/config.h \
1258 $(BLD)/window.$(O) : \
1260 $(EMACS_ROOT)/src/s/ms-w32.h \
1261 $(EMACS_ROOT)/src/m/intel386.h \
1262 $(EMACS_ROOT)/src/config.h \
1264 $(SRC)/blockinput.h \
1267 $(SRC)/composite.h \
1268 $(SRC)/dispextern.h \
1272 $(SRC)/intervals.h \
1282 $(BLD)/xdisp.$(O) : \
1284 $(EMACS_ROOT)/src/s/ms-w32.h \
1285 $(EMACS_ROOT)/src/m/intel386.h \
1286 $(EMACS_ROOT)/src/config.h \
1288 $(SRC)/blockinput.h \
1294 $(SRC)/composite.h \
1295 $(SRC)/dispextern.h \
1300 $(SRC)/intervals.h \
1305 $(SRC)/region-cache.h \
1308 $(SRC)/termhooks.h \
1314 $(BLD)/xfaces.$(O): \
1316 $(EMACS_ROOT)/src/s/ms-w32.h \
1317 $(EMACS_ROOT)/src/m/intel386.h \
1318 $(EMACS_ROOT)/src/config.h \
1320 $(SRC)/blockinput.h \
1323 $(SRC)/composite.h \
1324 $(SRC)/dispextern.h \
1327 $(SRC)/intervals.h \
1335 $(BLD)/w32fns.$(O): \
1337 $(EMACS_ROOT)/src/s/ms-w32.h \
1338 $(EMACS_ROOT)/src/m/intel386.h \
1339 $(EMACS_ROOT)/src/config.h \
1341 $(SRC)/blockinput.h \
1346 $(SRC)/composite.h \
1347 $(SRC)/dispextern.h \
1351 $(SRC)/intervals.h \
1354 $(SRC)/termhooks.h \
1361 $(BLD)/w32menu.$(O): \
1363 $(EMACS_ROOT)/src/s/ms-w32.h \
1364 $(EMACS_ROOT)/src/m/intel386.h \
1365 $(EMACS_ROOT)/src/config.h \
1367 $(SRC)/blockinput.h \
1371 $(SRC)/dispextern.h \
1376 $(SRC)/termhooks.h \
1382 $(BLD)/w32term.$(O): \
1384 $(EMACS_ROOT)/src/s/ms-w32.h \
1385 $(EMACS_ROOT)/src/m/intel386.h \
1386 $(EMACS_ROOT)/src/config.h \
1388 $(SRC)/blockinput.h \
1393 $(SRC)/composite.h \
1394 $(SRC)/dispextern.h \
1399 $(SRC)/intervals.h \
1405 $(SRC)/termhooks.h \
1413 $(BLD)/w32select.$(O): \
1414 $(SRC)/w32select.c \
1415 $(EMACS_ROOT)/src/s/ms-w32.h \
1416 $(EMACS_ROOT)/src/m/intel386.h \
1417 $(EMACS_ROOT)/src/config.h \
1419 $(SRC)/blockinput.h \
1424 $(SRC)/composite.h \
1425 $(SRC)/dispextern.h \
1433 $(BLD)/w32reg.$(O): \
1435 $(EMACS_ROOT)/src/s/ms-w32.h \
1436 $(EMACS_ROOT)/src/m/intel386.h \
1437 $(EMACS_ROOT)/src/config.h \
1439 $(SRC)/blockinput.h \
1445 $(BLD)/w32xfns.$(O): \
1447 $(EMACS_ROOT)/src/s/ms-w32.h \
1448 $(EMACS_ROOT)/src/m/intel386.h \
1449 $(EMACS_ROOT)/src/config.h \
1451 $(SRC)/blockinput.h \
1461 $(BLD)/w32bdf.$(O): \
1463 $(EMACS_ROOT)/src/s/ms-w32.h \
1464 $(EMACS_ROOT)/src/m/intel386.h \
1465 $(EMACS_ROOT)/src/config.h \
1467 $(SRC)/blockinput.h \
1469 $(SRC)/dispextern.h \