1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004,
3 # 2005, 2006, 2007 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, 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) \
129 WIN32OBJ = $(BLD)/w32term.$(O) \
130 $(BLD)/w32xfns.$(O) \
133 $(BLD)/w32select.$(O) \
134 $(BLD)/w32menu.$(O) \
154 # Build the executable and dump it.
159 # The dumped executable
161 emacs: stamp_BLD $(EMACS)
162 $(EMACS): $(DOC) $(TEMACS)
163 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
164 -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
167 # The undumped executable
168 # Note the extra post-link step to insert a static preload heap section.
169 # If preload runs out of memory, increase the last argument to addsection
170 # (it is the preload heap size in MB).
172 temacs: stamp_BLD $(TEMACS)
173 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
174 ../nt/$(BLD)/addsection.exe
175 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
176 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 16
177 echo $(OBJ0) > $(BLD)/buildobj.lst
178 echo $(OBJ1) >> $(BLD)/buildobj.lst
179 echo $(WIN32OBJ) >> $(BLD)/buildobj.lst
181 bootstrap: bootstrap-emacs
184 # Build a temacs with a sufficiently large PURESIZE to load the
185 # Lisp files from loadup.el in source form.
187 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
188 # this can break with GNU Make 3.81 and later if sh.exe is used.
190 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
193 # Dump an Emacs executable named bootstrap-emacs containing the
194 # files from loadup.el in source form.
196 bootstrap-emacs: bootstrap-temacs
197 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
199 $(CP) $(EMACS) ../bin
202 # Force recompile of files that depend on PURESIZE
205 - $(DEL) $(BLD)/alloc.$(O)
206 - $(DEL) $(BLD)/data.$(O)
207 - $(DEL) $(BLD)/intervals.$(O)
208 - $(DEL) $(BLD)/keyboard.$(O)
209 - $(DEL) $(BLD)/keymap.$(O)
212 # The resource file. NT 3.10 requires the use of cvtres; even though
213 # it is not necessary on later versions, it is still ok to use it.
215 $(TRES): ../nt/emacs.rc stamp_BLD
216 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
219 # Build the library. Split up the build into two phases...otherwise we
220 # run out of command line space.
224 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
227 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
228 $(TLIBW32): $(WIN32OBJ)
230 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
233 # Place lastfile.$(O) in its own library so that it can be loaded after
234 # the source libraries but before any system libraries. Doing so defines
235 # the end of Emacs' data section portably across compilers and systems.
237 $(TLASTLIB): $(BLD)/lastfile.$(O)
239 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
242 # Assuming INSTALL_DIR is defined, build and install emacs in it.
245 - mkdir "$(INSTALL_DIR)/bin"
246 $(CP) $(EMACS) $(INSTALL_DIR)/bin
251 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
252 # remove precious files if it happens to match their short 8+3 aliases.
254 - $(DEL) "s/*.h~" "m/*.h~"
255 - $(DEL) $(COMPILER_TEMP_FILES)
256 - $(DEL_TREE) $(OBJDIR)
260 - $(DEL) config.h epaths.h
264 - $(DEL_TREE) obj-spd
273 $(BLD)/abbrev.$(O) : \
275 $(EMACS_ROOT)/src/s/ms-w32.h \
276 $(EMACS_ROOT)/src/m/intel386.h \
277 $(EMACS_ROOT)/src/config.h \
281 $(SRC)/dispextern.h \
287 $(BLD)/alloc.$(O) : \
289 $(EMACS_ROOT)/src/s/ms-w32.h \
290 $(EMACS_ROOT)/src/m/intel386.h \
291 $(EMACS_ROOT)/src/config.h \
292 $(SRC)/blockinput.h \
296 $(SRC)/dispextern.h \
307 $(BLD)/atimer.$(O) : \
309 $(EMACS_ROOT)/src/s/ms-w32.h \
310 $(EMACS_ROOT)/src/m/intel386.h \
311 $(EMACS_ROOT)/src/config.h \
313 $(SRC)/m/intel386.h \
316 $(SRC)/blockinput.h \
320 $(BLD)/buffer.$(O) : \
322 $(EMACS_ROOT)/nt/inc/sys/param.h \
323 $(EMACS_ROOT)/src/s/ms-w32.h \
324 $(EMACS_ROOT)/src/m/intel386.h \
325 $(EMACS_ROOT)/src/config.h \
326 $(SRC)/blockinput.h \
331 $(SRC)/dispextern.h \
337 $(SRC)/region-cache.h \
342 $(BLD)/bytecode.$(O) : \
344 $(EMACS_ROOT)/src/s/ms-w32.h \
345 $(EMACS_ROOT)/src/m/intel386.h \
346 $(EMACS_ROOT)/src/config.h \
352 $(BLD)/callint.$(O) : \
354 $(EMACS_ROOT)/src/s/ms-w32.h \
355 $(EMACS_ROOT)/src/m/intel386.h \
356 $(EMACS_ROOT)/src/config.h \
359 $(SRC)/dispextern.h \
366 $(BLD)/callproc.$(O) : \
368 $(EMACS_ROOT)/src/s/ms-w32.h \
369 $(EMACS_ROOT)/src/m/intel386.h \
370 $(EMACS_ROOT)/src/config.h \
371 $(EMACS_ROOT)/nt/inc/sys/param.h \
372 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
373 $(EMACS_ROOT)/nt/inc/sys/file.h \
388 $(BLD)/casefiddle.$(O) : \
389 $(SRC)/casefiddle.c \
390 $(EMACS_ROOT)/src/s/ms-w32.h \
391 $(EMACS_ROOT)/src/m/intel386.h \
392 $(EMACS_ROOT)/src/config.h \
400 $(BLD)/casetab.$(O) : \
402 $(EMACS_ROOT)/src/s/ms-w32.h \
403 $(EMACS_ROOT)/src/m/intel386.h \
404 $(EMACS_ROOT)/src/config.h \
408 $(BLD)/category.$(O) : \
410 $(EMACS_ROOT)/src/s/ms-w32.h \
411 $(EMACS_ROOT)/src/m/intel386.h \
412 $(EMACS_ROOT)/src/config.h \
420 $(EMACS_ROOT)/src/s/ms-w32.h \
421 $(EMACS_ROOT)/src/m/intel386.h \
422 $(EMACS_ROOT)/src/config.h \
427 $(BLD)/charset.$(O) : \
429 $(EMACS_ROOT)/src/s/ms-w32.h \
430 $(EMACS_ROOT)/src/m/intel386.h \
431 $(EMACS_ROOT)/src/config.h \
441 $(EMACS_ROOT)/src/s/ms-w32.h \
442 $(EMACS_ROOT)/src/m/intel386.h \
443 $(EMACS_ROOT)/src/config.h \
449 $(EMACS_ROOT)/src/s/ms-w32.h \
450 $(EMACS_ROOT)/src/m/intel386.h \
451 $(EMACS_ROOT)/src/config.h \
455 $(SRC)/dispextern.h \
463 $(BLD)/coding.$(O) : \
465 $(EMACS_ROOT)/src/s/ms-w32.h \
466 $(EMACS_ROOT)/src/m/intel386.h \
467 $(EMACS_ROOT)/src/config.h \
473 $(SRC)/dispextern.h \
481 $(BLD)/composite.$(O) : \
483 $(EMACS_ROOT)/src/s/ms-w32.h \
484 $(EMACS_ROOT)/src/m/intel386.h \
485 $(EMACS_ROOT)/src/config.h \
489 $(SRC)/dispextern.h \
496 $(EMACS_ROOT)/src/s/ms-w32.h \
497 $(EMACS_ROOT)/src/m/intel386.h \
498 $(EMACS_ROOT)/src/config.h \
507 $(BLD)/dired.$(O) : \
509 $(EMACS_ROOT)/src/s/ms-w32.h \
510 $(EMACS_ROOT)/src/m/intel386.h \
511 $(EMACS_ROOT)/src/config.h \
521 $(BLD)/dispnew.$(O) : \
523 $(EMACS_ROOT)/src/s/ms-w32.h \
524 $(EMACS_ROOT)/src/m/intel386.h \
525 $(EMACS_ROOT)/src/config.h \
526 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
527 $(EMACS_ROOT)/nt/inc/sys/file.h \
529 $(SRC)/blockinput.h \
535 $(SRC)/dispextern.h \
554 $(EMACS_ROOT)/src/s/ms-w32.h \
555 $(EMACS_ROOT)/src/m/intel386.h \
556 $(EMACS_ROOT)/src/config.h \
557 $(EMACS_ROOT)/nt/inc/sys/file.h \
563 $(BLD)/doprnt.$(O) : \
565 $(EMACS_ROOT)/src/s/ms-w32.h \
566 $(EMACS_ROOT)/src/m/intel386.h \
567 $(EMACS_ROOT)/src/config.h \
570 $(BLD)/editfns.$(O) : \
572 $(EMACS_ROOT)/src/s/ms-w32.h \
573 $(EMACS_ROOT)/src/m/intel386.h \
574 $(EMACS_ROOT)/src/config.h \
575 $(EMACS_ROOT)/nt/inc/pwd.h \
581 $(SRC)/dispextern.h \
589 $(BLD)/emacs.$(O) : \
591 $(EMACS_ROOT)/src/s/ms-w32.h \
592 $(EMACS_ROOT)/src/m/intel386.h \
593 $(EMACS_ROOT)/src/config.h \
594 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
595 $(EMACS_ROOT)/nt/inc/sys/file.h \
597 $(SRC)/blockinput.h \
601 $(SRC)/dispextern.h \
617 $(EMACS_ROOT)/src/s/ms-w32.h \
618 $(EMACS_ROOT)/src/m/intel386.h \
619 $(EMACS_ROOT)/src/config.h \
621 $(SRC)/blockinput.h \
623 $(SRC)/dispextern.h \
629 $(BLD)/fileio.$(O) : \
631 $(EMACS_ROOT)/src/s/ms-w32.h \
632 $(EMACS_ROOT)/src/m/intel386.h \
633 $(EMACS_ROOT)/src/config.h \
634 $(EMACS_ROOT)/nt/inc/pwd.h \
635 $(EMACS_ROOT)/nt/inc/sys/param.h \
636 $(EMACS_ROOT)/nt/inc/sys/file.h \
643 $(SRC)/dispextern.h \
650 $(BLD)/filelock.$(O) : \
652 $(EMACS_ROOT)/src/s/ms-w32.h \
653 $(EMACS_ROOT)/src/m/intel386.h \
654 $(EMACS_ROOT)/src/config.h \
655 $(EMACS_ROOT)/nt/inc/pwd.h \
656 $(EMACS_ROOT)/nt/inc/sys/file.h \
657 $(EMACS_ROOT)/src/epaths.h \
664 $(BLD)/filemode.$(O) : \
666 $(EMACS_ROOT)/src/s/ms-w32.h \
667 $(EMACS_ROOT)/src/m/intel386.h \
668 $(EMACS_ROOT)/src/config.h \
670 $(SRC)/m/intel386.h \
673 $(BLD)/firstfile.$(O) : \
675 $(EMACS_ROOT)/src/s/ms-w32.h \
676 $(EMACS_ROOT)/src/m/intel386.h \
677 $(EMACS_ROOT)/src/config.h
679 $(BLD)/floatfns.$(O) : \
681 $(EMACS_ROOT)/src/s/ms-w32.h \
682 $(EMACS_ROOT)/src/m/intel386.h \
683 $(EMACS_ROOT)/src/config.h \
688 $(EMACS_ROOT)/src/s/ms-w32.h \
689 $(EMACS_ROOT)/src/m/intel386.h \
690 $(EMACS_ROOT)/src/config.h \
691 $(EMACS_ROOT)/nt/inc/langinfo.h \
692 $(EMACS_ROOT)/nt/inc/nl_types.h \
694 $(SRC)/blockinput.h \
701 $(SRC)/dispextern.h \
713 $(BLD)/fontset.$(O) : \
715 $(EMACS_ROOT)/src/s/ms-w32.h \
716 $(EMACS_ROOT)/src/m/intel386.h \
717 $(EMACS_ROOT)/src/config.h \
721 $(SRC)/dispextern.h \
730 $(BLD)/frame.$(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 \
740 $(SRC)/dispextern.h \
752 $(BLD)/fringe.$(O) : \
754 $(EMACS_ROOT)/src/s/ms-w32.h \
755 $(EMACS_ROOT)/src/m/intel386.h \
756 $(EMACS_ROOT)/src/config.h \
758 $(SRC)/blockinput.h \
760 $(SRC)/dispextern.h \
767 $(BLD)/gmalloc.$(O) : \
769 $(EMACS_ROOT)/src/s/ms-w32.h \
770 $(EMACS_ROOT)/src/m/intel386.h \
771 $(EMACS_ROOT)/src/config.h \
772 $(EMACS_ROOT)/nt/inc/sys/param.h \
777 $(EMACS_ROOT)/src/s/ms-w32.h \
778 $(EMACS_ROOT)/src/m/intel386.h \
779 $(EMACS_ROOT)/src/config.h \
781 $(SRC)/blockinput.h \
782 $(SRC)/dispextern.h \
793 $(BLD)/indent.$(O) : \
795 $(EMACS_ROOT)/src/s/ms-w32.h \
796 $(EMACS_ROOT)/src/m/intel386.h \
797 $(EMACS_ROOT)/src/config.h \
802 $(SRC)/dispextern.h \
808 $(SRC)/region-cache.h \
815 $(BLD)/insdel.$(O) : \
817 $(EMACS_ROOT)/src/s/ms-w32.h \
818 $(EMACS_ROOT)/src/m/intel386.h \
819 $(EMACS_ROOT)/src/config.h \
821 $(SRC)/blockinput.h \
825 $(SRC)/dispextern.h \
827 $(SRC)/region-cache.h \
833 $(BLD)/intervals.$(O) : \
835 $(EMACS_ROOT)/src/s/ms-w32.h \
836 $(EMACS_ROOT)/src/m/intel386.h \
837 $(EMACS_ROOT)/src/config.h \
840 $(SRC)/dispextern.h \
848 $(BLD)/keyboard.$(O) : \
850 $(EMACS_ROOT)/src/s/ms-w32.h \
851 $(EMACS_ROOT)/src/m/intel386.h \
852 $(EMACS_ROOT)/src/config.h \
853 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
854 $(EMACS_ROOT)/nt/inc/sys/file.h \
856 $(SRC)/blockinput.h \
861 $(SRC)/dispextern.h \
881 $(BLD)/keymap.$(O) : \
883 $(EMACS_ROOT)/src/s/ms-w32.h \
884 $(EMACS_ROOT)/src/m/intel386.h \
885 $(EMACS_ROOT)/src/config.h \
887 $(SRC)/blockinput.h \
892 $(SRC)/dispextern.h \
902 $(BLD)/lastfile.$(O) : \
904 $(EMACS_ROOT)/src/s/ms-w32.h \
905 $(EMACS_ROOT)/src/m/intel386.h \
906 $(EMACS_ROOT)/src/config.h
908 $(BLD)/lread.$(O) : \
910 $(EMACS_ROOT)/src/s/ms-w32.h \
911 $(EMACS_ROOT)/src/m/intel386.h \
912 $(EMACS_ROOT)/src/config.h \
913 $(EMACS_ROOT)/nt/inc/sys/file.h \
914 $(EMACS_ROOT)/src/epaths.h \
915 $(SRC)/blockinput.h \
922 $(SRC)/dispextern.h \
929 $(BLD)/macros.$(O) : \
931 $(EMACS_ROOT)/src/s/ms-w32.h \
932 $(EMACS_ROOT)/src/m/intel386.h \
933 $(EMACS_ROOT)/src/config.h \
936 $(SRC)/dispextern.h \
943 $(BLD)/marker.$(O) : \
945 $(EMACS_ROOT)/src/s/ms-w32.h \
946 $(EMACS_ROOT)/src/m/intel386.h \
947 $(EMACS_ROOT)/src/config.h \
955 $(BLD)/minibuf.$(O) : \
957 $(EMACS_ROOT)/src/s/ms-w32.h \
958 $(EMACS_ROOT)/src/m/intel386.h \
959 $(EMACS_ROOT)/src/config.h \
964 $(SRC)/dispextern.h \
977 $(EMACS_ROOT)/nt/inc/pwd.h \
979 $(SRC)/m/intel386.h \
986 $(BLD)/w32heap.$(O) : \
989 $(SRC)/m/intel386.h \
993 $(BLD)/w32inevt.$(O) : \
996 $(SRC)/m/intel386.h \
999 $(SRC)/blockinput.h \
1003 $(SRC)/termhooks.h \
1009 $(BLD)/w32proc.$(O) : \
1012 $(SRC)/m/intel386.h \
1013 $(EMACS_ROOT)/nt/inc/langinfo.h \
1014 $(EMACS_ROOT)/nt/inc/nl_types.h \
1017 $(SRC)/syssignal.h \
1026 $(BLD)/w32console.$(O) : \
1027 $(SRC)/w32console.c \
1029 $(SRC)/m/intel386.h \
1034 $(SRC)/dispextern.h \
1037 $(SRC)/termhooks.h \
1042 $(BLD)/print.$(O) : \
1044 $(EMACS_ROOT)/src/s/ms-w32.h \
1045 $(EMACS_ROOT)/src/m/intel386.h \
1046 $(EMACS_ROOT)/src/config.h \
1049 $(SRC)/composite.h \
1050 $(SRC)/dispextern.h \
1052 $(SRC)/intervals.h \
1060 $(BLD)/process.$(O) : \
1062 $(EMACS_ROOT)/src/s/ms-w32.h \
1063 $(EMACS_ROOT)/src/m/intel386.h \
1064 $(EMACS_ROOT)/src/config.h \
1065 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1066 $(EMACS_ROOT)/nt/inc/sys/file.h \
1068 $(SRC)/blockinput.h \
1074 $(SRC)/composite.h \
1075 $(SRC)/dispextern.h \
1079 $(SRC)/sysselect.h \
1080 $(SRC)/syssignal.h \
1084 $(SRC)/termhooks.h \
1090 $(BLD)/ralloc.$(O) : \
1092 $(EMACS_ROOT)/src/s/ms-w32.h \
1093 $(EMACS_ROOT)/src/m/intel386.h \
1094 $(EMACS_ROOT)/src/config.h \
1095 $(EMACS_ROOT)/nt/inc/sys/param.h \
1097 $(SRC)/m/intel386.h \
1099 $(SRC)/getpagesize.h
1101 $(BLD)/regex.$(O) : \
1103 $(EMACS_ROOT)/src/s/ms-w32.h \
1104 $(EMACS_ROOT)/src/m/intel386.h \
1105 $(EMACS_ROOT)/src/config.h \
1107 $(SRC)/m/intel386.h \
1115 $(BLD)/region-cache.$(O) : \
1116 $(SRC)/region-cache.c \
1117 $(EMACS_ROOT)/src/s/ms-w32.h \
1118 $(EMACS_ROOT)/src/m/intel386.h \
1119 $(EMACS_ROOT)/src/config.h \
1121 $(SRC)/region-cache.h
1123 $(BLD)/scroll.$(O) : \
1125 $(EMACS_ROOT)/src/s/ms-w32.h \
1126 $(EMACS_ROOT)/src/m/intel386.h \
1127 $(EMACS_ROOT)/src/config.h \
1128 $(SRC)/dispextern.h \
1132 $(SRC)/termhooks.h \
1137 $(BLD)/search.$(O) : \
1139 $(EMACS_ROOT)/src/s/ms-w32.h \
1140 $(EMACS_ROOT)/src/m/intel386.h \
1141 $(EMACS_ROOT)/src/config.h \
1143 $(SRC)/blockinput.h \
1148 $(SRC)/composite.h \
1149 $(SRC)/dispextern.h \
1150 $(SRC)/intervals.h \
1152 $(SRC)/region-cache.h \
1158 $(BLD)/sound.$(O) : \
1161 $(SRC)/dispextern.h \
1165 $(BLD)/strftime.$(O) : \
1167 $(EMACS_ROOT)/src/s/ms-w32.h \
1168 $(EMACS_ROOT)/src/m/intel386.h \
1169 $(EMACS_ROOT)/src/config.h
1171 $(BLD)/syntax.$(O) : \
1173 $(EMACS_ROOT)/src/s/ms-w32.h \
1174 $(EMACS_ROOT)/src/m/intel386.h \
1175 $(EMACS_ROOT)/src/config.h \
1180 $(SRC)/composite.h \
1181 $(SRC)/dispextern.h \
1182 $(SRC)/intervals.h \
1188 $(BLD)/sysdep.$(O) : \
1190 $(EMACS_ROOT)/src/s/ms-w32.h \
1191 $(EMACS_ROOT)/src/m/intel386.h \
1192 $(EMACS_ROOT)/src/config.h \
1193 $(EMACS_ROOT)/nt/inc/sys/param.h \
1194 $(EMACS_ROOT)/nt/inc/sys/file.h \
1195 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1196 $(EMACS_ROOT)/nt/inc/sys/file.h \
1198 $(SRC)/blockinput.h \
1200 $(SRC)/dispextern.h \
1205 $(SRC)/sysselect.h \
1206 $(SRC)/syssignal.h \
1211 $(SRC)/termhooks.h \
1217 $(BLD)/term.$(O) : \
1219 $(EMACS_ROOT)/src/s/ms-w32.h \
1220 $(EMACS_ROOT)/src/m/intel386.h \
1221 $(EMACS_ROOT)/src/config.h \
1226 $(SRC)/dispextern.h \
1232 $(SRC)/termhooks.h \
1238 $(BLD)/termcap.$(O) : \
1240 $(EMACS_ROOT)/src/s/ms-w32.h \
1241 $(EMACS_ROOT)/src/m/intel386.h \
1242 $(EMACS_ROOT)/src/config.h \
1243 $(EMACS_ROOT)/nt/inc/sys/file.h
1245 $(BLD)/terminal.$(O) : \
1247 $(EMACS_ROOT)/src/s/ms-w32.h \
1248 $(EMACS_ROOT)/src/m/intel386.h \
1249 $(EMACS_ROOT)/src/config.h \
1257 $(BLD)/textprop.$(O) : \
1259 $(EMACS_ROOT)/src/s/ms-w32.h \
1260 $(EMACS_ROOT)/src/m/intel386.h \
1261 $(EMACS_ROOT)/src/config.h \
1263 $(SRC)/composite.h \
1264 $(SRC)/dispextern.h \
1265 $(SRC)/intervals.h \
1270 $(BLD)/tparam.$(O) : \
1272 $(EMACS_ROOT)/src/s/ms-w32.h \
1273 $(EMACS_ROOT)/src/m/intel386.h \
1274 $(EMACS_ROOT)/src/config.h
1276 $(BLD)/undo.$(O) : \
1278 $(EMACS_ROOT)/src/s/ms-w32.h \
1279 $(EMACS_ROOT)/src/m/intel386.h \
1280 $(EMACS_ROOT)/src/config.h \
1284 $(BLD)/unexw32.$(O) : \
1286 $(EMACS_ROOT)/src/s/ms-w32.h \
1287 $(EMACS_ROOT)/src/m/intel386.h \
1288 $(EMACS_ROOT)/src/config.h \
1291 $(BLD)/vm-limit.$(O) : \
1293 $(EMACS_ROOT)/src/s/ms-w32.h \
1294 $(EMACS_ROOT)/src/m/intel386.h \
1295 $(EMACS_ROOT)/src/config.h \
1298 $(BLD)/window.$(O) : \
1300 $(EMACS_ROOT)/src/s/ms-w32.h \
1301 $(EMACS_ROOT)/src/m/intel386.h \
1302 $(EMACS_ROOT)/src/config.h \
1304 $(SRC)/blockinput.h \
1307 $(SRC)/composite.h \
1308 $(SRC)/dispextern.h \
1312 $(SRC)/intervals.h \
1322 $(BLD)/xdisp.$(O) : \
1324 $(EMACS_ROOT)/src/s/ms-w32.h \
1325 $(EMACS_ROOT)/src/m/intel386.h \
1326 $(EMACS_ROOT)/src/config.h \
1328 $(SRC)/blockinput.h \
1334 $(SRC)/composite.h \
1335 $(SRC)/dispextern.h \
1340 $(SRC)/intervals.h \
1345 $(SRC)/region-cache.h \
1348 $(SRC)/termhooks.h \
1354 $(BLD)/xfaces.$(O): \
1356 $(EMACS_ROOT)/src/s/ms-w32.h \
1357 $(EMACS_ROOT)/src/m/intel386.h \
1358 $(EMACS_ROOT)/src/config.h \
1360 $(SRC)/blockinput.h \
1363 $(SRC)/composite.h \
1364 $(SRC)/dispextern.h \
1367 $(SRC)/intervals.h \
1371 $(SRC)/termhooks.h \
1377 $(BLD)/w32fns.$(O): \
1379 $(EMACS_ROOT)/src/s/ms-w32.h \
1380 $(EMACS_ROOT)/src/m/intel386.h \
1381 $(EMACS_ROOT)/src/config.h \
1383 $(SRC)/blockinput.h \
1388 $(SRC)/composite.h \
1389 $(SRC)/dispextern.h \
1393 $(SRC)/intervals.h \
1396 $(SRC)/termhooks.h \
1403 $(BLD)/w32menu.$(O): \
1405 $(EMACS_ROOT)/src/s/ms-w32.h \
1406 $(EMACS_ROOT)/src/m/intel386.h \
1407 $(EMACS_ROOT)/src/config.h \
1409 $(SRC)/blockinput.h \
1413 $(SRC)/dispextern.h \
1418 $(SRC)/termhooks.h \
1424 $(BLD)/w32term.$(O): \
1426 $(EMACS_ROOT)/src/s/ms-w32.h \
1427 $(EMACS_ROOT)/src/m/intel386.h \
1428 $(EMACS_ROOT)/src/config.h \
1430 $(SRC)/blockinput.h \
1435 $(SRC)/composite.h \
1436 $(SRC)/dispextern.h \
1441 $(SRC)/intervals.h \
1447 $(SRC)/termhooks.h \
1455 $(BLD)/w32select.$(O): \
1456 $(SRC)/w32select.c \
1457 $(EMACS_ROOT)/src/s/ms-w32.h \
1458 $(EMACS_ROOT)/src/m/intel386.h \
1459 $(EMACS_ROOT)/src/config.h \
1461 $(SRC)/blockinput.h \
1466 $(SRC)/composite.h \
1467 $(SRC)/dispextern.h \
1476 $(BLD)/w32reg.$(O): \
1478 $(EMACS_ROOT)/src/s/ms-w32.h \
1479 $(EMACS_ROOT)/src/m/intel386.h \
1480 $(EMACS_ROOT)/src/config.h \
1482 $(SRC)/blockinput.h \
1488 $(BLD)/w32xfns.$(O): \
1490 $(EMACS_ROOT)/src/s/ms-w32.h \
1491 $(EMACS_ROOT)/src/m/intel386.h \
1492 $(EMACS_ROOT)/src/config.h \
1494 $(SRC)/blockinput.h \
1504 $(BLD)/w32bdf.$(O): \
1506 $(EMACS_ROOT)/src/s/ms-w32.h \
1507 $(EMACS_ROOT)/src/m/intel386.h \
1508 $(EMACS_ROOT)/src/config.h \
1510 $(SRC)/blockinput.h \
1512 $(SRC)/dispextern.h \
1521 # Each object file depends on stamp_BLD, because in parallel builds we must
1522 # make sure $(BLD) exists before starting compilations.
1524 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD