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) \
128 WIN32OBJ = $(BLD)/w32term.$(O) \
129 $(BLD)/w32xfns.$(O) \
132 $(BLD)/w32select.$(O) \
133 $(BLD)/w32menu.$(O) \
153 # Build the executable and dump it.
158 # The dumped executable
160 emacs: stamp_BLD $(EMACS)
161 $(EMACS): $(DOC) $(TEMACS)
162 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
163 -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
166 # The undumped executable
167 # Note the extra post-link step to insert a static preload heap section.
168 # If preload runs out of memory, increase the last argument to addsection
169 # (it is the preload heap size in MB).
171 temacs: stamp_BLD $(TEMACS)
172 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
173 ../nt/$(BLD)/addsection.exe
174 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
175 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 16
176 echo $(OBJ0) > $(BLD)/buildobj.lst
177 echo $(OBJ1) >> $(BLD)/buildobj.lst
178 echo $(WIN32OBJ) >> $(BLD)/buildobj.lst
180 bootstrap: bootstrap-emacs
183 # Build a temacs with a sufficiently large PURESIZE to load the
184 # Lisp files from loadup.el in source form.
186 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
187 # this can break with GNU Make 3.81 and later if sh.exe is used.
189 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
192 # Dump an Emacs executable named bootstrap-emacs containing the
193 # files from loadup.el in source form.
195 bootstrap-emacs: bootstrap-temacs
196 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
198 $(CP) $(EMACS) ../bin
201 # Force recompile of files that depend on PURESIZE
204 - $(DEL) $(BLD)/alloc.$(O)
205 - $(DEL) $(BLD)/data.$(O)
206 - $(DEL) $(BLD)/intervals.$(O)
207 - $(DEL) $(BLD)/keyboard.$(O)
208 - $(DEL) $(BLD)/keymap.$(O)
211 # The resource file. NT 3.10 requires the use of cvtres; even though
212 # it is not necessary on later versions, it is still ok to use it.
214 $(TRES): ../nt/emacs.rc stamp_BLD
215 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
218 # Build the library. Split up the build into two phases...otherwise we
219 # run out of command line space.
223 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
226 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
227 $(TLIBW32): $(WIN32OBJ)
229 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
232 # Place lastfile.$(O) in its own library so that it can be loaded after
233 # the source libraries but before any system libraries. Doing so defines
234 # the end of Emacs' data section portably across compilers and systems.
236 $(TLASTLIB): $(BLD)/lastfile.$(O)
238 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
241 # Assuming INSTALL_DIR is defined, build and install emacs in it.
244 - mkdir "$(INSTALL_DIR)/bin"
245 $(CP) $(EMACS) $(INSTALL_DIR)/bin
250 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
251 # remove precious files if it happens to match their short 8+3 aliases.
253 - $(DEL) "s/*.h~" "m/*.h~"
254 - $(DEL) $(COMPILER_TEMP_FILES)
255 - $(DEL_TREE) $(OBJDIR)
259 - $(DEL) config.h epaths.h
263 - $(DEL_TREE) obj-spd
272 $(BLD)/abbrev.$(O) : \
274 $(EMACS_ROOT)/src/s/ms-w32.h \
275 $(EMACS_ROOT)/src/m/intel386.h \
276 $(EMACS_ROOT)/src/config.h \
280 $(SRC)/dispextern.h \
286 $(BLD)/alloc.$(O) : \
288 $(EMACS_ROOT)/src/s/ms-w32.h \
289 $(EMACS_ROOT)/src/m/intel386.h \
290 $(EMACS_ROOT)/src/config.h \
291 $(SRC)/blockinput.h \
295 $(SRC)/dispextern.h \
306 $(BLD)/atimer.$(O) : \
308 $(EMACS_ROOT)/src/s/ms-w32.h \
309 $(EMACS_ROOT)/src/m/intel386.h \
310 $(EMACS_ROOT)/src/config.h \
312 $(SRC)/m/intel386.h \
315 $(SRC)/blockinput.h \
319 $(BLD)/buffer.$(O) : \
321 $(EMACS_ROOT)/nt/inc/sys/param.h \
322 $(EMACS_ROOT)/src/s/ms-w32.h \
323 $(EMACS_ROOT)/src/m/intel386.h \
324 $(EMACS_ROOT)/src/config.h \
325 $(SRC)/blockinput.h \
330 $(SRC)/dispextern.h \
336 $(SRC)/region-cache.h \
341 $(BLD)/bytecode.$(O) : \
343 $(EMACS_ROOT)/src/s/ms-w32.h \
344 $(EMACS_ROOT)/src/m/intel386.h \
345 $(EMACS_ROOT)/src/config.h \
351 $(BLD)/callint.$(O) : \
353 $(EMACS_ROOT)/src/s/ms-w32.h \
354 $(EMACS_ROOT)/src/m/intel386.h \
355 $(EMACS_ROOT)/src/config.h \
358 $(SRC)/dispextern.h \
365 $(BLD)/callproc.$(O) : \
367 $(EMACS_ROOT)/src/s/ms-w32.h \
368 $(EMACS_ROOT)/src/m/intel386.h \
369 $(EMACS_ROOT)/src/config.h \
370 $(EMACS_ROOT)/nt/inc/sys/param.h \
371 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
372 $(EMACS_ROOT)/nt/inc/sys/file.h \
385 $(BLD)/casefiddle.$(O) : \
386 $(SRC)/casefiddle.c \
387 $(EMACS_ROOT)/src/s/ms-w32.h \
388 $(EMACS_ROOT)/src/m/intel386.h \
389 $(EMACS_ROOT)/src/config.h \
397 $(BLD)/casetab.$(O) : \
399 $(EMACS_ROOT)/src/s/ms-w32.h \
400 $(EMACS_ROOT)/src/m/intel386.h \
401 $(EMACS_ROOT)/src/config.h \
405 $(BLD)/category.$(O) : \
407 $(EMACS_ROOT)/src/s/ms-w32.h \
408 $(EMACS_ROOT)/src/m/intel386.h \
409 $(EMACS_ROOT)/src/config.h \
417 $(EMACS_ROOT)/src/s/ms-w32.h \
418 $(EMACS_ROOT)/src/m/intel386.h \
419 $(EMACS_ROOT)/src/config.h \
424 $(BLD)/charset.$(O) : \
426 $(EMACS_ROOT)/src/s/ms-w32.h \
427 $(EMACS_ROOT)/src/m/intel386.h \
428 $(EMACS_ROOT)/src/config.h \
438 $(EMACS_ROOT)/src/s/ms-w32.h \
439 $(EMACS_ROOT)/src/m/intel386.h \
440 $(EMACS_ROOT)/src/config.h \
446 $(EMACS_ROOT)/src/s/ms-w32.h \
447 $(EMACS_ROOT)/src/m/intel386.h \
448 $(EMACS_ROOT)/src/config.h \
452 $(SRC)/dispextern.h \
460 $(BLD)/coding.$(O) : \
462 $(EMACS_ROOT)/src/s/ms-w32.h \
463 $(EMACS_ROOT)/src/m/intel386.h \
464 $(EMACS_ROOT)/src/config.h \
470 $(SRC)/dispextern.h \
476 $(BLD)/composite.$(O) : \
478 $(EMACS_ROOT)/src/s/ms-w32.h \
479 $(EMACS_ROOT)/src/m/intel386.h \
480 $(EMACS_ROOT)/src/config.h \
484 $(SRC)/dispextern.h \
491 $(EMACS_ROOT)/src/s/ms-w32.h \
492 $(EMACS_ROOT)/src/m/intel386.h \
493 $(EMACS_ROOT)/src/config.h \
501 $(BLD)/dired.$(O) : \
503 $(EMACS_ROOT)/src/s/ms-w32.h \
504 $(EMACS_ROOT)/src/m/intel386.h \
505 $(EMACS_ROOT)/src/config.h \
515 $(BLD)/dispnew.$(O) : \
517 $(EMACS_ROOT)/src/s/ms-w32.h \
518 $(EMACS_ROOT)/src/m/intel386.h \
519 $(EMACS_ROOT)/src/config.h \
520 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
521 $(EMACS_ROOT)/nt/inc/sys/file.h \
523 $(SRC)/blockinput.h \
529 $(SRC)/dispextern.h \
548 $(EMACS_ROOT)/src/s/ms-w32.h \
549 $(EMACS_ROOT)/src/m/intel386.h \
550 $(EMACS_ROOT)/src/config.h \
551 $(EMACS_ROOT)/nt/inc/sys/file.h \
557 $(BLD)/doprnt.$(O) : \
559 $(EMACS_ROOT)/src/s/ms-w32.h \
560 $(EMACS_ROOT)/src/m/intel386.h \
561 $(EMACS_ROOT)/src/config.h \
564 $(BLD)/editfns.$(O) : \
566 $(EMACS_ROOT)/src/s/ms-w32.h \
567 $(EMACS_ROOT)/src/m/intel386.h \
568 $(EMACS_ROOT)/src/config.h \
569 $(EMACS_ROOT)/nt/inc/pwd.h \
575 $(SRC)/dispextern.h \
583 $(BLD)/emacs.$(O) : \
585 $(EMACS_ROOT)/src/s/ms-w32.h \
586 $(EMACS_ROOT)/src/m/intel386.h \
587 $(EMACS_ROOT)/src/config.h \
588 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
589 $(EMACS_ROOT)/nt/inc/sys/file.h \
591 $(SRC)/blockinput.h \
595 $(SRC)/dispextern.h \
611 $(EMACS_ROOT)/src/s/ms-w32.h \
612 $(EMACS_ROOT)/src/m/intel386.h \
613 $(EMACS_ROOT)/src/config.h \
615 $(SRC)/blockinput.h \
617 $(SRC)/dispextern.h \
623 $(BLD)/fileio.$(O) : \
625 $(EMACS_ROOT)/src/s/ms-w32.h \
626 $(EMACS_ROOT)/src/m/intel386.h \
627 $(EMACS_ROOT)/src/config.h \
628 $(EMACS_ROOT)/nt/inc/pwd.h \
629 $(EMACS_ROOT)/nt/inc/sys/param.h \
630 $(EMACS_ROOT)/nt/inc/sys/file.h \
637 $(SRC)/dispextern.h \
644 $(BLD)/filelock.$(O) : \
646 $(EMACS_ROOT)/src/s/ms-w32.h \
647 $(EMACS_ROOT)/src/m/intel386.h \
648 $(EMACS_ROOT)/src/config.h \
649 $(EMACS_ROOT)/nt/inc/pwd.h \
650 $(EMACS_ROOT)/nt/inc/sys/file.h \
651 $(EMACS_ROOT)/src/epaths.h \
658 $(BLD)/filemode.$(O) : \
660 $(EMACS_ROOT)/src/s/ms-w32.h \
661 $(EMACS_ROOT)/src/m/intel386.h \
662 $(EMACS_ROOT)/src/config.h \
664 $(SRC)/m/intel386.h \
667 $(BLD)/firstfile.$(O) : \
669 $(EMACS_ROOT)/src/s/ms-w32.h \
670 $(EMACS_ROOT)/src/m/intel386.h \
671 $(EMACS_ROOT)/src/config.h
673 $(BLD)/floatfns.$(O) : \
675 $(EMACS_ROOT)/src/s/ms-w32.h \
676 $(EMACS_ROOT)/src/m/intel386.h \
677 $(EMACS_ROOT)/src/config.h \
682 $(EMACS_ROOT)/src/s/ms-w32.h \
683 $(EMACS_ROOT)/src/m/intel386.h \
684 $(EMACS_ROOT)/src/config.h \
685 $(EMACS_ROOT)/nt/inc/langinfo.h \
686 $(EMACS_ROOT)/nt/inc/nl_types.h \
688 $(SRC)/blockinput.h \
695 $(SRC)/dispextern.h \
706 $(BLD)/fontset.$(O) : \
708 $(EMACS_ROOT)/src/s/ms-w32.h \
709 $(EMACS_ROOT)/src/m/intel386.h \
710 $(EMACS_ROOT)/src/config.h \
714 $(SRC)/dispextern.h \
722 $(BLD)/frame.$(O) : \
724 $(EMACS_ROOT)/src/s/ms-w32.h \
725 $(EMACS_ROOT)/src/m/intel386.h \
726 $(EMACS_ROOT)/src/config.h \
728 $(SRC)/blockinput.h \
732 $(SRC)/dispextern.h \
743 $(BLD)/fringe.$(O) : \
745 $(EMACS_ROOT)/src/s/ms-w32.h \
746 $(EMACS_ROOT)/src/m/intel386.h \
747 $(EMACS_ROOT)/src/config.h \
749 $(SRC)/blockinput.h \
751 $(SRC)/dispextern.h \
758 $(BLD)/gmalloc.$(O) : \
760 $(EMACS_ROOT)/src/s/ms-w32.h \
761 $(EMACS_ROOT)/src/m/intel386.h \
762 $(EMACS_ROOT)/src/config.h \
763 $(EMACS_ROOT)/nt/inc/sys/param.h \
768 $(EMACS_ROOT)/src/s/ms-w32.h \
769 $(EMACS_ROOT)/src/m/intel386.h \
770 $(EMACS_ROOT)/src/config.h \
772 $(SRC)/blockinput.h \
773 $(SRC)/dispextern.h \
784 $(BLD)/indent.$(O) : \
786 $(EMACS_ROOT)/src/s/ms-w32.h \
787 $(EMACS_ROOT)/src/m/intel386.h \
788 $(EMACS_ROOT)/src/config.h \
793 $(SRC)/dispextern.h \
799 $(SRC)/region-cache.h \
806 $(BLD)/insdel.$(O) : \
808 $(EMACS_ROOT)/src/s/ms-w32.h \
809 $(EMACS_ROOT)/src/m/intel386.h \
810 $(EMACS_ROOT)/src/config.h \
812 $(SRC)/blockinput.h \
816 $(SRC)/dispextern.h \
818 $(SRC)/region-cache.h \
824 $(BLD)/intervals.$(O) : \
826 $(EMACS_ROOT)/src/s/ms-w32.h \
827 $(EMACS_ROOT)/src/m/intel386.h \
828 $(EMACS_ROOT)/src/config.h \
831 $(SRC)/dispextern.h \
839 $(BLD)/keyboard.$(O) : \
841 $(EMACS_ROOT)/src/s/ms-w32.h \
842 $(EMACS_ROOT)/src/m/intel386.h \
843 $(EMACS_ROOT)/src/config.h \
844 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
845 $(EMACS_ROOT)/nt/inc/sys/file.h \
847 $(SRC)/blockinput.h \
852 $(SRC)/dispextern.h \
872 $(BLD)/keymap.$(O) : \
874 $(EMACS_ROOT)/src/s/ms-w32.h \
875 $(EMACS_ROOT)/src/m/intel386.h \
876 $(EMACS_ROOT)/src/config.h \
878 $(SRC)/blockinput.h \
883 $(SRC)/dispextern.h \
893 $(BLD)/lastfile.$(O) : \
895 $(EMACS_ROOT)/src/s/ms-w32.h \
896 $(EMACS_ROOT)/src/m/intel386.h \
897 $(EMACS_ROOT)/src/config.h
899 $(BLD)/lread.$(O) : \
901 $(EMACS_ROOT)/src/s/ms-w32.h \
902 $(EMACS_ROOT)/src/m/intel386.h \
903 $(EMACS_ROOT)/src/config.h \
904 $(EMACS_ROOT)/nt/inc/sys/file.h \
905 $(EMACS_ROOT)/src/epaths.h \
912 $(SRC)/dispextern.h \
919 $(BLD)/macros.$(O) : \
921 $(EMACS_ROOT)/src/s/ms-w32.h \
922 $(EMACS_ROOT)/src/m/intel386.h \
923 $(EMACS_ROOT)/src/config.h \
926 $(SRC)/dispextern.h \
933 $(BLD)/marker.$(O) : \
935 $(EMACS_ROOT)/src/s/ms-w32.h \
936 $(EMACS_ROOT)/src/m/intel386.h \
937 $(EMACS_ROOT)/src/config.h \
945 $(BLD)/minibuf.$(O) : \
947 $(EMACS_ROOT)/src/s/ms-w32.h \
948 $(EMACS_ROOT)/src/m/intel386.h \
949 $(EMACS_ROOT)/src/config.h \
954 $(SRC)/dispextern.h \
966 $(EMACS_ROOT)/nt/inc/pwd.h \
968 $(SRC)/m/intel386.h \
975 $(BLD)/w32heap.$(O) : \
978 $(SRC)/m/intel386.h \
982 $(BLD)/w32inevt.$(O) : \
985 $(SRC)/m/intel386.h \
988 $(SRC)/blockinput.h \
998 $(BLD)/w32proc.$(O) : \
1001 $(SRC)/m/intel386.h \
1002 $(EMACS_ROOT)/nt/inc/langinfo.h \
1003 $(EMACS_ROOT)/nt/inc/nl_types.h \
1006 $(SRC)/syssignal.h \
1015 $(BLD)/w32console.$(O) : \
1016 $(SRC)/w32console.c \
1018 $(SRC)/m/intel386.h \
1023 $(SRC)/dispextern.h \
1026 $(SRC)/termhooks.h \
1031 $(BLD)/print.$(O) : \
1033 $(EMACS_ROOT)/src/s/ms-w32.h \
1034 $(EMACS_ROOT)/src/m/intel386.h \
1035 $(EMACS_ROOT)/src/config.h \
1038 $(SRC)/composite.h \
1039 $(SRC)/dispextern.h \
1041 $(SRC)/intervals.h \
1049 $(BLD)/process.$(O) : \
1051 $(EMACS_ROOT)/src/s/ms-w32.h \
1052 $(EMACS_ROOT)/src/m/intel386.h \
1053 $(EMACS_ROOT)/src/config.h \
1054 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1055 $(EMACS_ROOT)/nt/inc/sys/file.h \
1057 $(SRC)/blockinput.h \
1063 $(SRC)/composite.h \
1064 $(SRC)/dispextern.h \
1068 $(SRC)/sysselect.h \
1069 $(SRC)/syssignal.h \
1073 $(SRC)/termhooks.h \
1079 $(BLD)/ralloc.$(O) : \
1081 $(EMACS_ROOT)/src/s/ms-w32.h \
1082 $(EMACS_ROOT)/src/m/intel386.h \
1083 $(EMACS_ROOT)/src/config.h \
1084 $(EMACS_ROOT)/nt/inc/sys/param.h \
1086 $(SRC)/m/intel386.h \
1088 $(SRC)/getpagesize.h
1090 $(BLD)/regex.$(O) : \
1092 $(EMACS_ROOT)/src/s/ms-w32.h \
1093 $(EMACS_ROOT)/src/m/intel386.h \
1094 $(EMACS_ROOT)/src/config.h \
1096 $(SRC)/m/intel386.h \
1104 $(BLD)/region-cache.$(O) : \
1105 $(SRC)/region-cache.c \
1106 $(EMACS_ROOT)/src/s/ms-w32.h \
1107 $(EMACS_ROOT)/src/m/intel386.h \
1108 $(EMACS_ROOT)/src/config.h \
1110 $(SRC)/region-cache.h
1112 $(BLD)/scroll.$(O) : \
1114 $(EMACS_ROOT)/src/s/ms-w32.h \
1115 $(EMACS_ROOT)/src/m/intel386.h \
1116 $(EMACS_ROOT)/src/config.h \
1117 $(SRC)/dispextern.h \
1125 $(BLD)/search.$(O) : \
1127 $(EMACS_ROOT)/src/s/ms-w32.h \
1128 $(EMACS_ROOT)/src/m/intel386.h \
1129 $(EMACS_ROOT)/src/config.h \
1131 $(SRC)/blockinput.h \
1136 $(SRC)/composite.h \
1137 $(SRC)/dispextern.h \
1138 $(SRC)/intervals.h \
1140 $(SRC)/region-cache.h \
1146 $(BLD)/sound.$(O) : \
1149 $(SRC)/dispextern.h \
1153 $(BLD)/strftime.$(O) : \
1155 $(EMACS_ROOT)/src/s/ms-w32.h \
1156 $(EMACS_ROOT)/src/m/intel386.h \
1157 $(EMACS_ROOT)/src/config.h
1159 $(BLD)/syntax.$(O) : \
1161 $(EMACS_ROOT)/src/s/ms-w32.h \
1162 $(EMACS_ROOT)/src/m/intel386.h \
1163 $(EMACS_ROOT)/src/config.h \
1168 $(SRC)/composite.h \
1169 $(SRC)/dispextern.h \
1170 $(SRC)/intervals.h \
1176 $(BLD)/sysdep.$(O) : \
1178 $(EMACS_ROOT)/src/s/ms-w32.h \
1179 $(EMACS_ROOT)/src/m/intel386.h \
1180 $(EMACS_ROOT)/src/config.h \
1181 $(EMACS_ROOT)/nt/inc/sys/param.h \
1182 $(EMACS_ROOT)/nt/inc/sys/file.h \
1183 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1184 $(EMACS_ROOT)/nt/inc/sys/file.h \
1186 $(SRC)/blockinput.h \
1187 $(SRC)/dispextern.h \
1192 $(SRC)/sysselect.h \
1193 $(SRC)/syssignal.h \
1198 $(SRC)/termhooks.h \
1204 $(BLD)/term.$(O) : \
1206 $(EMACS_ROOT)/src/s/ms-w32.h \
1207 $(EMACS_ROOT)/src/m/intel386.h \
1208 $(EMACS_ROOT)/src/config.h \
1213 $(SRC)/dispextern.h \
1219 $(SRC)/termhooks.h \
1225 $(BLD)/termcap.$(O) : \
1227 $(EMACS_ROOT)/src/s/ms-w32.h \
1228 $(EMACS_ROOT)/src/m/intel386.h \
1229 $(EMACS_ROOT)/src/config.h \
1230 $(EMACS_ROOT)/nt/inc/sys/file.h
1232 $(BLD)/textprop.$(O) : \
1234 $(EMACS_ROOT)/src/s/ms-w32.h \
1235 $(EMACS_ROOT)/src/m/intel386.h \
1236 $(EMACS_ROOT)/src/config.h \
1238 $(SRC)/composite.h \
1239 $(SRC)/dispextern.h \
1240 $(SRC)/intervals.h \
1245 $(BLD)/tparam.$(O) : \
1247 $(EMACS_ROOT)/src/s/ms-w32.h \
1248 $(EMACS_ROOT)/src/m/intel386.h \
1249 $(EMACS_ROOT)/src/config.h
1251 $(BLD)/undo.$(O) : \
1253 $(EMACS_ROOT)/src/s/ms-w32.h \
1254 $(EMACS_ROOT)/src/m/intel386.h \
1255 $(EMACS_ROOT)/src/config.h \
1259 $(BLD)/unexw32.$(O) : \
1261 $(EMACS_ROOT)/src/s/ms-w32.h \
1262 $(EMACS_ROOT)/src/m/intel386.h \
1263 $(EMACS_ROOT)/src/config.h \
1266 $(BLD)/vm-limit.$(O) : \
1268 $(EMACS_ROOT)/src/s/ms-w32.h \
1269 $(EMACS_ROOT)/src/m/intel386.h \
1270 $(EMACS_ROOT)/src/config.h \
1273 $(BLD)/window.$(O) : \
1275 $(EMACS_ROOT)/src/s/ms-w32.h \
1276 $(EMACS_ROOT)/src/m/intel386.h \
1277 $(EMACS_ROOT)/src/config.h \
1279 $(SRC)/blockinput.h \
1282 $(SRC)/composite.h \
1283 $(SRC)/dispextern.h \
1287 $(SRC)/intervals.h \
1297 $(BLD)/xdisp.$(O) : \
1299 $(EMACS_ROOT)/src/s/ms-w32.h \
1300 $(EMACS_ROOT)/src/m/intel386.h \
1301 $(EMACS_ROOT)/src/config.h \
1303 $(SRC)/blockinput.h \
1309 $(SRC)/composite.h \
1310 $(SRC)/dispextern.h \
1315 $(SRC)/intervals.h \
1320 $(SRC)/region-cache.h \
1323 $(SRC)/termhooks.h \
1329 $(BLD)/xfaces.$(O): \
1331 $(EMACS_ROOT)/src/s/ms-w32.h \
1332 $(EMACS_ROOT)/src/m/intel386.h \
1333 $(EMACS_ROOT)/src/config.h \
1335 $(SRC)/blockinput.h \
1338 $(SRC)/composite.h \
1339 $(SRC)/dispextern.h \
1342 $(SRC)/intervals.h \
1350 $(BLD)/w32fns.$(O): \
1352 $(EMACS_ROOT)/src/s/ms-w32.h \
1353 $(EMACS_ROOT)/src/m/intel386.h \
1354 $(EMACS_ROOT)/src/config.h \
1356 $(SRC)/blockinput.h \
1361 $(SRC)/composite.h \
1362 $(SRC)/dispextern.h \
1366 $(SRC)/intervals.h \
1369 $(SRC)/termhooks.h \
1376 $(BLD)/w32menu.$(O): \
1378 $(EMACS_ROOT)/src/s/ms-w32.h \
1379 $(EMACS_ROOT)/src/m/intel386.h \
1380 $(EMACS_ROOT)/src/config.h \
1382 $(SRC)/blockinput.h \
1386 $(SRC)/dispextern.h \
1391 $(SRC)/termhooks.h \
1397 $(BLD)/w32term.$(O): \
1399 $(EMACS_ROOT)/src/s/ms-w32.h \
1400 $(EMACS_ROOT)/src/m/intel386.h \
1401 $(EMACS_ROOT)/src/config.h \
1403 $(SRC)/blockinput.h \
1408 $(SRC)/composite.h \
1409 $(SRC)/dispextern.h \
1414 $(SRC)/intervals.h \
1420 $(SRC)/termhooks.h \
1428 $(BLD)/w32select.$(O): \
1429 $(SRC)/w32select.c \
1430 $(EMACS_ROOT)/src/s/ms-w32.h \
1431 $(EMACS_ROOT)/src/m/intel386.h \
1432 $(EMACS_ROOT)/src/config.h \
1434 $(SRC)/blockinput.h \
1439 $(SRC)/composite.h \
1440 $(SRC)/dispextern.h \
1449 $(BLD)/w32reg.$(O): \
1451 $(EMACS_ROOT)/src/s/ms-w32.h \
1452 $(EMACS_ROOT)/src/m/intel386.h \
1453 $(EMACS_ROOT)/src/config.h \
1455 $(SRC)/blockinput.h \
1461 $(BLD)/w32xfns.$(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 \
1477 $(BLD)/w32bdf.$(O): \
1479 $(EMACS_ROOT)/src/s/ms-w32.h \
1480 $(EMACS_ROOT)/src/m/intel386.h \
1481 $(EMACS_ROOT)/src/config.h \
1483 $(SRC)/blockinput.h \
1485 $(SRC)/dispextern.h \
1494 # Each object file depends on stamp_BLD, because in parallel builds we must
1495 # make sure $(BLD) exists before starting compilations.
1497 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD