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 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: stamp_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: stamp_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) $(XMFLAGS) 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 stamp_BLD
214 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
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)
256 - $(DEL) config.h epaths.h
260 - $(DEL_TREE) obj-spd
269 $(BLD)/abbrev.$(O) : \
271 $(EMACS_ROOT)/src/s/ms-w32.h \
272 $(EMACS_ROOT)/src/m/intel386.h \
273 $(EMACS_ROOT)/src/config.h \
277 $(SRC)/dispextern.h \
283 $(BLD)/alloc.$(O) : \
285 $(EMACS_ROOT)/src/s/ms-w32.h \
286 $(EMACS_ROOT)/src/m/intel386.h \
287 $(EMACS_ROOT)/src/config.h \
288 $(SRC)/blockinput.h \
292 $(SRC)/dispextern.h \
303 $(BLD)/atimer.$(O) : \
305 $(EMACS_ROOT)/src/s/ms-w32.h \
306 $(EMACS_ROOT)/src/m/intel386.h \
307 $(EMACS_ROOT)/src/config.h \
309 $(SRC)/m/intel386.h \
312 $(SRC)/blockinput.h \
316 $(BLD)/buffer.$(O) : \
318 $(EMACS_ROOT)/nt/inc/sys/param.h \
319 $(EMACS_ROOT)/src/s/ms-w32.h \
320 $(EMACS_ROOT)/src/m/intel386.h \
321 $(EMACS_ROOT)/src/config.h \
322 $(SRC)/blockinput.h \
327 $(SRC)/dispextern.h \
333 $(SRC)/region-cache.h \
338 $(BLD)/bytecode.$(O) : \
340 $(EMACS_ROOT)/src/s/ms-w32.h \
341 $(EMACS_ROOT)/src/m/intel386.h \
342 $(EMACS_ROOT)/src/config.h \
348 $(BLD)/callint.$(O) : \
350 $(EMACS_ROOT)/src/s/ms-w32.h \
351 $(EMACS_ROOT)/src/m/intel386.h \
352 $(EMACS_ROOT)/src/config.h \
355 $(SRC)/dispextern.h \
362 $(BLD)/callproc.$(O) : \
364 $(EMACS_ROOT)/src/s/ms-w32.h \
365 $(EMACS_ROOT)/src/m/intel386.h \
366 $(EMACS_ROOT)/src/config.h \
367 $(EMACS_ROOT)/nt/inc/sys/param.h \
368 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
369 $(EMACS_ROOT)/nt/inc/sys/file.h \
382 $(BLD)/casefiddle.$(O) : \
383 $(SRC)/casefiddle.c \
384 $(EMACS_ROOT)/src/s/ms-w32.h \
385 $(EMACS_ROOT)/src/m/intel386.h \
386 $(EMACS_ROOT)/src/config.h \
394 $(BLD)/casetab.$(O) : \
396 $(EMACS_ROOT)/src/s/ms-w32.h \
397 $(EMACS_ROOT)/src/m/intel386.h \
398 $(EMACS_ROOT)/src/config.h \
402 $(BLD)/category.$(O) : \
404 $(EMACS_ROOT)/src/s/ms-w32.h \
405 $(EMACS_ROOT)/src/m/intel386.h \
406 $(EMACS_ROOT)/src/config.h \
414 $(EMACS_ROOT)/src/s/ms-w32.h \
415 $(EMACS_ROOT)/src/m/intel386.h \
416 $(EMACS_ROOT)/src/config.h \
421 $(BLD)/charset.$(O) : \
423 $(EMACS_ROOT)/src/s/ms-w32.h \
424 $(EMACS_ROOT)/src/m/intel386.h \
425 $(EMACS_ROOT)/src/config.h \
435 $(EMACS_ROOT)/src/s/ms-w32.h \
436 $(EMACS_ROOT)/src/m/intel386.h \
437 $(EMACS_ROOT)/src/config.h \
443 $(EMACS_ROOT)/src/s/ms-w32.h \
444 $(EMACS_ROOT)/src/m/intel386.h \
445 $(EMACS_ROOT)/src/config.h \
449 $(SRC)/dispextern.h \
457 $(BLD)/coding.$(O) : \
459 $(EMACS_ROOT)/src/s/ms-w32.h \
460 $(EMACS_ROOT)/src/m/intel386.h \
461 $(EMACS_ROOT)/src/config.h \
467 $(SRC)/dispextern.h \
473 $(BLD)/composite.$(O) : \
475 $(EMACS_ROOT)/src/s/ms-w32.h \
476 $(EMACS_ROOT)/src/m/intel386.h \
477 $(EMACS_ROOT)/src/config.h \
481 $(SRC)/dispextern.h \
488 $(EMACS_ROOT)/src/s/ms-w32.h \
489 $(EMACS_ROOT)/src/m/intel386.h \
490 $(EMACS_ROOT)/src/config.h \
498 $(BLD)/dired.$(O) : \
500 $(EMACS_ROOT)/src/s/ms-w32.h \
501 $(EMACS_ROOT)/src/m/intel386.h \
502 $(EMACS_ROOT)/src/config.h \
512 $(BLD)/dispnew.$(O) : \
514 $(EMACS_ROOT)/src/s/ms-w32.h \
515 $(EMACS_ROOT)/src/m/intel386.h \
516 $(EMACS_ROOT)/src/config.h \
517 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
518 $(EMACS_ROOT)/nt/inc/sys/file.h \
520 $(SRC)/blockinput.h \
526 $(SRC)/dispextern.h \
545 $(EMACS_ROOT)/src/s/ms-w32.h \
546 $(EMACS_ROOT)/src/m/intel386.h \
547 $(EMACS_ROOT)/src/config.h \
548 $(EMACS_ROOT)/nt/inc/sys/file.h \
554 $(BLD)/doprnt.$(O) : \
556 $(EMACS_ROOT)/src/s/ms-w32.h \
557 $(EMACS_ROOT)/src/m/intel386.h \
558 $(EMACS_ROOT)/src/config.h \
561 $(BLD)/editfns.$(O) : \
563 $(EMACS_ROOT)/src/s/ms-w32.h \
564 $(EMACS_ROOT)/src/m/intel386.h \
565 $(EMACS_ROOT)/src/config.h \
566 $(EMACS_ROOT)/nt/inc/pwd.h \
572 $(SRC)/dispextern.h \
580 $(BLD)/emacs.$(O) : \
582 $(EMACS_ROOT)/src/s/ms-w32.h \
583 $(EMACS_ROOT)/src/m/intel386.h \
584 $(EMACS_ROOT)/src/config.h \
585 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
586 $(EMACS_ROOT)/nt/inc/sys/file.h \
588 $(SRC)/blockinput.h \
592 $(SRC)/dispextern.h \
608 $(EMACS_ROOT)/src/s/ms-w32.h \
609 $(EMACS_ROOT)/src/m/intel386.h \
610 $(EMACS_ROOT)/src/config.h \
612 $(SRC)/blockinput.h \
614 $(SRC)/dispextern.h \
620 $(BLD)/fileio.$(O) : \
622 $(EMACS_ROOT)/src/s/ms-w32.h \
623 $(EMACS_ROOT)/src/m/intel386.h \
624 $(EMACS_ROOT)/src/config.h \
625 $(EMACS_ROOT)/nt/inc/pwd.h \
626 $(EMACS_ROOT)/nt/inc/sys/param.h \
627 $(EMACS_ROOT)/nt/inc/sys/file.h \
634 $(SRC)/dispextern.h \
641 $(BLD)/filelock.$(O) : \
643 $(EMACS_ROOT)/src/s/ms-w32.h \
644 $(EMACS_ROOT)/src/m/intel386.h \
645 $(EMACS_ROOT)/src/config.h \
646 $(EMACS_ROOT)/nt/inc/pwd.h \
647 $(EMACS_ROOT)/nt/inc/sys/file.h \
648 $(EMACS_ROOT)/src/epaths.h \
655 $(BLD)/filemode.$(O) : \
657 $(EMACS_ROOT)/src/s/ms-w32.h \
658 $(EMACS_ROOT)/src/m/intel386.h \
659 $(EMACS_ROOT)/src/config.h \
661 $(SRC)/m/intel386.h \
664 $(BLD)/firstfile.$(O) : \
666 $(EMACS_ROOT)/src/s/ms-w32.h \
667 $(EMACS_ROOT)/src/m/intel386.h \
668 $(EMACS_ROOT)/src/config.h
670 $(BLD)/floatfns.$(O) : \
672 $(EMACS_ROOT)/src/s/ms-w32.h \
673 $(EMACS_ROOT)/src/m/intel386.h \
674 $(EMACS_ROOT)/src/config.h \
679 $(EMACS_ROOT)/src/s/ms-w32.h \
680 $(EMACS_ROOT)/src/m/intel386.h \
681 $(EMACS_ROOT)/src/config.h \
682 $(EMACS_ROOT)/nt/inc/langinfo.h \
683 $(EMACS_ROOT)/nt/inc/nl_types.h \
685 $(SRC)/blockinput.h \
692 $(SRC)/dispextern.h \
703 $(BLD)/fontset.$(O) : \
705 $(EMACS_ROOT)/src/s/ms-w32.h \
706 $(EMACS_ROOT)/src/m/intel386.h \
707 $(EMACS_ROOT)/src/config.h \
711 $(SRC)/dispextern.h \
719 $(BLD)/frame.$(O) : \
721 $(EMACS_ROOT)/src/s/ms-w32.h \
722 $(EMACS_ROOT)/src/m/intel386.h \
723 $(EMACS_ROOT)/src/config.h \
725 $(SRC)/blockinput.h \
729 $(SRC)/dispextern.h \
740 $(BLD)/fringe.$(O) : \
742 $(EMACS_ROOT)/src/s/ms-w32.h \
743 $(EMACS_ROOT)/src/m/intel386.h \
744 $(EMACS_ROOT)/src/config.h \
746 $(SRC)/blockinput.h \
748 $(SRC)/dispextern.h \
755 $(BLD)/gmalloc.$(O) : \
757 $(EMACS_ROOT)/src/s/ms-w32.h \
758 $(EMACS_ROOT)/src/m/intel386.h \
759 $(EMACS_ROOT)/src/config.h \
760 $(EMACS_ROOT)/nt/inc/sys/param.h \
765 $(EMACS_ROOT)/src/s/ms-w32.h \
766 $(EMACS_ROOT)/src/m/intel386.h \
767 $(EMACS_ROOT)/src/config.h \
769 $(SRC)/blockinput.h \
770 $(SRC)/dispextern.h \
781 $(BLD)/indent.$(O) : \
783 $(EMACS_ROOT)/src/s/ms-w32.h \
784 $(EMACS_ROOT)/src/m/intel386.h \
785 $(EMACS_ROOT)/src/config.h \
790 $(SRC)/dispextern.h \
796 $(SRC)/region-cache.h \
803 $(BLD)/insdel.$(O) : \
805 $(EMACS_ROOT)/src/s/ms-w32.h \
806 $(EMACS_ROOT)/src/m/intel386.h \
807 $(EMACS_ROOT)/src/config.h \
809 $(SRC)/blockinput.h \
813 $(SRC)/dispextern.h \
815 $(SRC)/region-cache.h \
821 $(BLD)/intervals.$(O) : \
823 $(EMACS_ROOT)/src/s/ms-w32.h \
824 $(EMACS_ROOT)/src/m/intel386.h \
825 $(EMACS_ROOT)/src/config.h \
828 $(SRC)/dispextern.h \
836 $(BLD)/keyboard.$(O) : \
838 $(EMACS_ROOT)/src/s/ms-w32.h \
839 $(EMACS_ROOT)/src/m/intel386.h \
840 $(EMACS_ROOT)/src/config.h \
841 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
842 $(EMACS_ROOT)/nt/inc/sys/file.h \
844 $(SRC)/blockinput.h \
849 $(SRC)/dispextern.h \
869 $(BLD)/keymap.$(O) : \
871 $(EMACS_ROOT)/src/s/ms-w32.h \
872 $(EMACS_ROOT)/src/m/intel386.h \
873 $(EMACS_ROOT)/src/config.h \
875 $(SRC)/blockinput.h \
880 $(SRC)/dispextern.h \
890 $(BLD)/lastfile.$(O) : \
892 $(EMACS_ROOT)/src/s/ms-w32.h \
893 $(EMACS_ROOT)/src/m/intel386.h \
894 $(EMACS_ROOT)/src/config.h
896 $(BLD)/lread.$(O) : \
898 $(EMACS_ROOT)/src/s/ms-w32.h \
899 $(EMACS_ROOT)/src/m/intel386.h \
900 $(EMACS_ROOT)/src/config.h \
901 $(EMACS_ROOT)/nt/inc/sys/file.h \
902 $(EMACS_ROOT)/src/epaths.h \
909 $(SRC)/dispextern.h \
916 $(BLD)/macros.$(O) : \
918 $(EMACS_ROOT)/src/s/ms-w32.h \
919 $(EMACS_ROOT)/src/m/intel386.h \
920 $(EMACS_ROOT)/src/config.h \
923 $(SRC)/dispextern.h \
930 $(BLD)/marker.$(O) : \
932 $(EMACS_ROOT)/src/s/ms-w32.h \
933 $(EMACS_ROOT)/src/m/intel386.h \
934 $(EMACS_ROOT)/src/config.h \
942 $(BLD)/minibuf.$(O) : \
944 $(EMACS_ROOT)/src/s/ms-w32.h \
945 $(EMACS_ROOT)/src/m/intel386.h \
946 $(EMACS_ROOT)/src/config.h \
951 $(SRC)/dispextern.h \
963 $(EMACS_ROOT)/nt/inc/pwd.h \
965 $(SRC)/m/intel386.h \
972 $(BLD)/w32heap.$(O) : \
975 $(SRC)/m/intel386.h \
979 $(BLD)/w32inevt.$(O) : \
982 $(SRC)/m/intel386.h \
985 $(SRC)/blockinput.h \
995 $(BLD)/w32proc.$(O) : \
998 $(SRC)/m/intel386.h \
999 $(EMACS_ROOT)/nt/inc/langinfo.h \
1000 $(EMACS_ROOT)/nt/inc/nl_types.h \
1003 $(SRC)/syssignal.h \
1012 $(BLD)/w32console.$(O) : \
1013 $(SRC)/w32console.c \
1015 $(SRC)/m/intel386.h \
1020 $(SRC)/dispextern.h \
1023 $(SRC)/termhooks.h \
1028 $(BLD)/print.$(O) : \
1030 $(EMACS_ROOT)/src/s/ms-w32.h \
1031 $(EMACS_ROOT)/src/m/intel386.h \
1032 $(EMACS_ROOT)/src/config.h \
1035 $(SRC)/composite.h \
1036 $(SRC)/dispextern.h \
1038 $(SRC)/intervals.h \
1046 $(BLD)/process.$(O) : \
1048 $(EMACS_ROOT)/src/s/ms-w32.h \
1049 $(EMACS_ROOT)/src/m/intel386.h \
1050 $(EMACS_ROOT)/src/config.h \
1051 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1052 $(EMACS_ROOT)/nt/inc/sys/file.h \
1054 $(SRC)/blockinput.h \
1060 $(SRC)/composite.h \
1061 $(SRC)/dispextern.h \
1065 $(SRC)/sysselect.h \
1066 $(SRC)/syssignal.h \
1070 $(SRC)/termhooks.h \
1076 $(BLD)/ralloc.$(O) : \
1078 $(EMACS_ROOT)/src/s/ms-w32.h \
1079 $(EMACS_ROOT)/src/m/intel386.h \
1080 $(EMACS_ROOT)/src/config.h \
1081 $(EMACS_ROOT)/nt/inc/sys/param.h \
1083 $(SRC)/m/intel386.h \
1085 $(SRC)/getpagesize.h
1087 $(BLD)/regex.$(O) : \
1089 $(EMACS_ROOT)/src/s/ms-w32.h \
1090 $(EMACS_ROOT)/src/m/intel386.h \
1091 $(EMACS_ROOT)/src/config.h \
1093 $(SRC)/m/intel386.h \
1101 $(BLD)/region-cache.$(O) : \
1102 $(SRC)/region-cache.c \
1103 $(EMACS_ROOT)/src/s/ms-w32.h \
1104 $(EMACS_ROOT)/src/m/intel386.h \
1105 $(EMACS_ROOT)/src/config.h \
1107 $(SRC)/region-cache.h
1109 $(BLD)/scroll.$(O) : \
1111 $(EMACS_ROOT)/src/s/ms-w32.h \
1112 $(EMACS_ROOT)/src/m/intel386.h \
1113 $(EMACS_ROOT)/src/config.h \
1114 $(SRC)/dispextern.h \
1122 $(BLD)/search.$(O) : \
1124 $(EMACS_ROOT)/src/s/ms-w32.h \
1125 $(EMACS_ROOT)/src/m/intel386.h \
1126 $(EMACS_ROOT)/src/config.h \
1128 $(SRC)/blockinput.h \
1133 $(SRC)/composite.h \
1134 $(SRC)/dispextern.h \
1135 $(SRC)/intervals.h \
1137 $(SRC)/region-cache.h \
1143 $(BLD)/sound.$(O) : \
1146 $(SRC)/dispextern.h \
1150 $(BLD)/strftime.$(O) : \
1152 $(EMACS_ROOT)/src/s/ms-w32.h \
1153 $(EMACS_ROOT)/src/m/intel386.h \
1154 $(EMACS_ROOT)/src/config.h
1156 $(BLD)/syntax.$(O) : \
1158 $(EMACS_ROOT)/src/s/ms-w32.h \
1159 $(EMACS_ROOT)/src/m/intel386.h \
1160 $(EMACS_ROOT)/src/config.h \
1165 $(SRC)/composite.h \
1166 $(SRC)/dispextern.h \
1167 $(SRC)/intervals.h \
1173 $(BLD)/sysdep.$(O) : \
1175 $(EMACS_ROOT)/src/s/ms-w32.h \
1176 $(EMACS_ROOT)/src/m/intel386.h \
1177 $(EMACS_ROOT)/src/config.h \
1178 $(EMACS_ROOT)/nt/inc/sys/param.h \
1179 $(EMACS_ROOT)/nt/inc/sys/file.h \
1180 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1181 $(EMACS_ROOT)/nt/inc/sys/file.h \
1183 $(SRC)/blockinput.h \
1184 $(SRC)/dispextern.h \
1189 $(SRC)/sysselect.h \
1190 $(SRC)/syssignal.h \
1195 $(SRC)/termhooks.h \
1201 $(BLD)/term.$(O) : \
1203 $(EMACS_ROOT)/src/s/ms-w32.h \
1204 $(EMACS_ROOT)/src/m/intel386.h \
1205 $(EMACS_ROOT)/src/config.h \
1210 $(SRC)/dispextern.h \
1216 $(SRC)/termhooks.h \
1222 $(BLD)/termcap.$(O) : \
1224 $(EMACS_ROOT)/src/s/ms-w32.h \
1225 $(EMACS_ROOT)/src/m/intel386.h \
1226 $(EMACS_ROOT)/src/config.h \
1227 $(EMACS_ROOT)/nt/inc/sys/file.h
1229 $(BLD)/textprop.$(O) : \
1231 $(EMACS_ROOT)/src/s/ms-w32.h \
1232 $(EMACS_ROOT)/src/m/intel386.h \
1233 $(EMACS_ROOT)/src/config.h \
1235 $(SRC)/composite.h \
1236 $(SRC)/dispextern.h \
1237 $(SRC)/intervals.h \
1242 $(BLD)/tparam.$(O) : \
1244 $(EMACS_ROOT)/src/s/ms-w32.h \
1245 $(EMACS_ROOT)/src/m/intel386.h \
1246 $(EMACS_ROOT)/src/config.h
1248 $(BLD)/undo.$(O) : \
1250 $(EMACS_ROOT)/src/s/ms-w32.h \
1251 $(EMACS_ROOT)/src/m/intel386.h \
1252 $(EMACS_ROOT)/src/config.h \
1256 $(BLD)/unexw32.$(O) : \
1258 $(EMACS_ROOT)/src/s/ms-w32.h \
1259 $(EMACS_ROOT)/src/m/intel386.h \
1260 $(EMACS_ROOT)/src/config.h \
1263 $(BLD)/vm-limit.$(O) : \
1265 $(EMACS_ROOT)/src/s/ms-w32.h \
1266 $(EMACS_ROOT)/src/m/intel386.h \
1267 $(EMACS_ROOT)/src/config.h \
1270 $(BLD)/window.$(O) : \
1272 $(EMACS_ROOT)/src/s/ms-w32.h \
1273 $(EMACS_ROOT)/src/m/intel386.h \
1274 $(EMACS_ROOT)/src/config.h \
1276 $(SRC)/blockinput.h \
1279 $(SRC)/composite.h \
1280 $(SRC)/dispextern.h \
1284 $(SRC)/intervals.h \
1294 $(BLD)/xdisp.$(O) : \
1296 $(EMACS_ROOT)/src/s/ms-w32.h \
1297 $(EMACS_ROOT)/src/m/intel386.h \
1298 $(EMACS_ROOT)/src/config.h \
1300 $(SRC)/blockinput.h \
1306 $(SRC)/composite.h \
1307 $(SRC)/dispextern.h \
1312 $(SRC)/intervals.h \
1317 $(SRC)/region-cache.h \
1320 $(SRC)/termhooks.h \
1326 $(BLD)/xfaces.$(O): \
1328 $(EMACS_ROOT)/src/s/ms-w32.h \
1329 $(EMACS_ROOT)/src/m/intel386.h \
1330 $(EMACS_ROOT)/src/config.h \
1332 $(SRC)/blockinput.h \
1335 $(SRC)/composite.h \
1336 $(SRC)/dispextern.h \
1339 $(SRC)/intervals.h \
1347 $(BLD)/w32fns.$(O): \
1349 $(EMACS_ROOT)/src/s/ms-w32.h \
1350 $(EMACS_ROOT)/src/m/intel386.h \
1351 $(EMACS_ROOT)/src/config.h \
1353 $(SRC)/blockinput.h \
1358 $(SRC)/composite.h \
1359 $(SRC)/dispextern.h \
1363 $(SRC)/intervals.h \
1366 $(SRC)/termhooks.h \
1373 $(BLD)/w32menu.$(O): \
1375 $(EMACS_ROOT)/src/s/ms-w32.h \
1376 $(EMACS_ROOT)/src/m/intel386.h \
1377 $(EMACS_ROOT)/src/config.h \
1379 $(SRC)/blockinput.h \
1383 $(SRC)/dispextern.h \
1388 $(SRC)/termhooks.h \
1394 $(BLD)/w32term.$(O): \
1396 $(EMACS_ROOT)/src/s/ms-w32.h \
1397 $(EMACS_ROOT)/src/m/intel386.h \
1398 $(EMACS_ROOT)/src/config.h \
1400 $(SRC)/blockinput.h \
1405 $(SRC)/composite.h \
1406 $(SRC)/dispextern.h \
1411 $(SRC)/intervals.h \
1417 $(SRC)/termhooks.h \
1425 $(BLD)/w32select.$(O): \
1426 $(SRC)/w32select.c \
1427 $(EMACS_ROOT)/src/s/ms-w32.h \
1428 $(EMACS_ROOT)/src/m/intel386.h \
1429 $(EMACS_ROOT)/src/config.h \
1431 $(SRC)/blockinput.h \
1436 $(SRC)/composite.h \
1437 $(SRC)/dispextern.h \
1446 $(BLD)/w32reg.$(O): \
1448 $(EMACS_ROOT)/src/s/ms-w32.h \
1449 $(EMACS_ROOT)/src/m/intel386.h \
1450 $(EMACS_ROOT)/src/config.h \
1452 $(SRC)/blockinput.h \
1458 $(BLD)/w32xfns.$(O): \
1460 $(EMACS_ROOT)/src/s/ms-w32.h \
1461 $(EMACS_ROOT)/src/m/intel386.h \
1462 $(EMACS_ROOT)/src/config.h \
1464 $(SRC)/blockinput.h \
1474 $(BLD)/w32bdf.$(O): \
1476 $(EMACS_ROOT)/src/s/ms-w32.h \
1477 $(EMACS_ROOT)/src/m/intel386.h \
1478 $(EMACS_ROOT)/src/config.h \
1480 $(SRC)/blockinput.h \
1482 $(SRC)/dispextern.h \
1491 # Each object file depends on stamp_BLD, because in parallel builds we must
1492 # make sure $(BLD) exists before starting compilations.
1494 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD