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) \
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 \
386 $(BLD)/casefiddle.$(O) : \
387 $(SRC)/casefiddle.c \
388 $(EMACS_ROOT)/src/s/ms-w32.h \
389 $(EMACS_ROOT)/src/m/intel386.h \
390 $(EMACS_ROOT)/src/config.h \
398 $(BLD)/casetab.$(O) : \
400 $(EMACS_ROOT)/src/s/ms-w32.h \
401 $(EMACS_ROOT)/src/m/intel386.h \
402 $(EMACS_ROOT)/src/config.h \
406 $(BLD)/category.$(O) : \
408 $(EMACS_ROOT)/src/s/ms-w32.h \
409 $(EMACS_ROOT)/src/m/intel386.h \
410 $(EMACS_ROOT)/src/config.h \
418 $(EMACS_ROOT)/src/s/ms-w32.h \
419 $(EMACS_ROOT)/src/m/intel386.h \
420 $(EMACS_ROOT)/src/config.h \
425 $(BLD)/charset.$(O) : \
427 $(EMACS_ROOT)/src/s/ms-w32.h \
428 $(EMACS_ROOT)/src/m/intel386.h \
429 $(EMACS_ROOT)/src/config.h \
439 $(EMACS_ROOT)/src/s/ms-w32.h \
440 $(EMACS_ROOT)/src/m/intel386.h \
441 $(EMACS_ROOT)/src/config.h \
447 $(EMACS_ROOT)/src/s/ms-w32.h \
448 $(EMACS_ROOT)/src/m/intel386.h \
449 $(EMACS_ROOT)/src/config.h \
453 $(SRC)/dispextern.h \
461 $(BLD)/coding.$(O) : \
463 $(EMACS_ROOT)/src/s/ms-w32.h \
464 $(EMACS_ROOT)/src/m/intel386.h \
465 $(EMACS_ROOT)/src/config.h \
471 $(SRC)/dispextern.h \
477 $(BLD)/composite.$(O) : \
479 $(EMACS_ROOT)/src/s/ms-w32.h \
480 $(EMACS_ROOT)/src/m/intel386.h \
481 $(EMACS_ROOT)/src/config.h \
485 $(SRC)/dispextern.h \
492 $(EMACS_ROOT)/src/s/ms-w32.h \
493 $(EMACS_ROOT)/src/m/intel386.h \
494 $(EMACS_ROOT)/src/config.h \
502 $(BLD)/dired.$(O) : \
504 $(EMACS_ROOT)/src/s/ms-w32.h \
505 $(EMACS_ROOT)/src/m/intel386.h \
506 $(EMACS_ROOT)/src/config.h \
516 $(BLD)/dispnew.$(O) : \
518 $(EMACS_ROOT)/src/s/ms-w32.h \
519 $(EMACS_ROOT)/src/m/intel386.h \
520 $(EMACS_ROOT)/src/config.h \
521 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
522 $(EMACS_ROOT)/nt/inc/sys/file.h \
524 $(SRC)/blockinput.h \
530 $(SRC)/dispextern.h \
549 $(EMACS_ROOT)/src/s/ms-w32.h \
550 $(EMACS_ROOT)/src/m/intel386.h \
551 $(EMACS_ROOT)/src/config.h \
552 $(EMACS_ROOT)/nt/inc/sys/file.h \
558 $(BLD)/doprnt.$(O) : \
560 $(EMACS_ROOT)/src/s/ms-w32.h \
561 $(EMACS_ROOT)/src/m/intel386.h \
562 $(EMACS_ROOT)/src/config.h \
565 $(BLD)/editfns.$(O) : \
567 $(EMACS_ROOT)/src/s/ms-w32.h \
568 $(EMACS_ROOT)/src/m/intel386.h \
569 $(EMACS_ROOT)/src/config.h \
570 $(EMACS_ROOT)/nt/inc/pwd.h \
576 $(SRC)/dispextern.h \
584 $(BLD)/emacs.$(O) : \
586 $(EMACS_ROOT)/src/s/ms-w32.h \
587 $(EMACS_ROOT)/src/m/intel386.h \
588 $(EMACS_ROOT)/src/config.h \
589 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
590 $(EMACS_ROOT)/nt/inc/sys/file.h \
592 $(SRC)/blockinput.h \
596 $(SRC)/dispextern.h \
612 $(EMACS_ROOT)/src/s/ms-w32.h \
613 $(EMACS_ROOT)/src/m/intel386.h \
614 $(EMACS_ROOT)/src/config.h \
616 $(SRC)/blockinput.h \
618 $(SRC)/dispextern.h \
624 $(BLD)/fileio.$(O) : \
626 $(EMACS_ROOT)/src/s/ms-w32.h \
627 $(EMACS_ROOT)/src/m/intel386.h \
628 $(EMACS_ROOT)/src/config.h \
629 $(EMACS_ROOT)/nt/inc/pwd.h \
630 $(EMACS_ROOT)/nt/inc/sys/param.h \
631 $(EMACS_ROOT)/nt/inc/sys/file.h \
638 $(SRC)/dispextern.h \
645 $(BLD)/filelock.$(O) : \
647 $(EMACS_ROOT)/src/s/ms-w32.h \
648 $(EMACS_ROOT)/src/m/intel386.h \
649 $(EMACS_ROOT)/src/config.h \
650 $(EMACS_ROOT)/nt/inc/pwd.h \
651 $(EMACS_ROOT)/nt/inc/sys/file.h \
652 $(EMACS_ROOT)/src/epaths.h \
659 $(BLD)/filemode.$(O) : \
661 $(EMACS_ROOT)/src/s/ms-w32.h \
662 $(EMACS_ROOT)/src/m/intel386.h \
663 $(EMACS_ROOT)/src/config.h \
665 $(SRC)/m/intel386.h \
668 $(BLD)/firstfile.$(O) : \
670 $(EMACS_ROOT)/src/s/ms-w32.h \
671 $(EMACS_ROOT)/src/m/intel386.h \
672 $(EMACS_ROOT)/src/config.h
674 $(BLD)/floatfns.$(O) : \
676 $(EMACS_ROOT)/src/s/ms-w32.h \
677 $(EMACS_ROOT)/src/m/intel386.h \
678 $(EMACS_ROOT)/src/config.h \
683 $(EMACS_ROOT)/src/s/ms-w32.h \
684 $(EMACS_ROOT)/src/m/intel386.h \
685 $(EMACS_ROOT)/src/config.h \
686 $(EMACS_ROOT)/nt/inc/langinfo.h \
687 $(EMACS_ROOT)/nt/inc/nl_types.h \
689 $(SRC)/blockinput.h \
696 $(SRC)/dispextern.h \
707 $(BLD)/fontset.$(O) : \
709 $(EMACS_ROOT)/src/s/ms-w32.h \
710 $(EMACS_ROOT)/src/m/intel386.h \
711 $(EMACS_ROOT)/src/config.h \
715 $(SRC)/dispextern.h \
723 $(BLD)/frame.$(O) : \
725 $(EMACS_ROOT)/src/s/ms-w32.h \
726 $(EMACS_ROOT)/src/m/intel386.h \
727 $(EMACS_ROOT)/src/config.h \
729 $(SRC)/blockinput.h \
733 $(SRC)/dispextern.h \
744 $(BLD)/fringe.$(O) : \
746 $(EMACS_ROOT)/src/s/ms-w32.h \
747 $(EMACS_ROOT)/src/m/intel386.h \
748 $(EMACS_ROOT)/src/config.h \
750 $(SRC)/blockinput.h \
752 $(SRC)/dispextern.h \
759 $(BLD)/gmalloc.$(O) : \
761 $(EMACS_ROOT)/src/s/ms-w32.h \
762 $(EMACS_ROOT)/src/m/intel386.h \
763 $(EMACS_ROOT)/src/config.h \
764 $(EMACS_ROOT)/nt/inc/sys/param.h \
769 $(EMACS_ROOT)/src/s/ms-w32.h \
770 $(EMACS_ROOT)/src/m/intel386.h \
771 $(EMACS_ROOT)/src/config.h \
773 $(SRC)/blockinput.h \
774 $(SRC)/dispextern.h \
785 $(BLD)/indent.$(O) : \
787 $(EMACS_ROOT)/src/s/ms-w32.h \
788 $(EMACS_ROOT)/src/m/intel386.h \
789 $(EMACS_ROOT)/src/config.h \
794 $(SRC)/dispextern.h \
800 $(SRC)/region-cache.h \
807 $(BLD)/insdel.$(O) : \
809 $(EMACS_ROOT)/src/s/ms-w32.h \
810 $(EMACS_ROOT)/src/m/intel386.h \
811 $(EMACS_ROOT)/src/config.h \
813 $(SRC)/blockinput.h \
817 $(SRC)/dispextern.h \
819 $(SRC)/region-cache.h \
825 $(BLD)/intervals.$(O) : \
827 $(EMACS_ROOT)/src/s/ms-w32.h \
828 $(EMACS_ROOT)/src/m/intel386.h \
829 $(EMACS_ROOT)/src/config.h \
832 $(SRC)/dispextern.h \
840 $(BLD)/keyboard.$(O) : \
842 $(EMACS_ROOT)/src/s/ms-w32.h \
843 $(EMACS_ROOT)/src/m/intel386.h \
844 $(EMACS_ROOT)/src/config.h \
845 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
846 $(EMACS_ROOT)/nt/inc/sys/file.h \
848 $(SRC)/blockinput.h \
853 $(SRC)/dispextern.h \
873 $(BLD)/keymap.$(O) : \
875 $(EMACS_ROOT)/src/s/ms-w32.h \
876 $(EMACS_ROOT)/src/m/intel386.h \
877 $(EMACS_ROOT)/src/config.h \
879 $(SRC)/blockinput.h \
884 $(SRC)/dispextern.h \
894 $(BLD)/lastfile.$(O) : \
896 $(EMACS_ROOT)/src/s/ms-w32.h \
897 $(EMACS_ROOT)/src/m/intel386.h \
898 $(EMACS_ROOT)/src/config.h
900 $(BLD)/lread.$(O) : \
902 $(EMACS_ROOT)/src/s/ms-w32.h \
903 $(EMACS_ROOT)/src/m/intel386.h \
904 $(EMACS_ROOT)/src/config.h \
905 $(EMACS_ROOT)/nt/inc/sys/file.h \
906 $(EMACS_ROOT)/src/epaths.h \
913 $(SRC)/dispextern.h \
920 $(BLD)/macros.$(O) : \
922 $(EMACS_ROOT)/src/s/ms-w32.h \
923 $(EMACS_ROOT)/src/m/intel386.h \
924 $(EMACS_ROOT)/src/config.h \
927 $(SRC)/dispextern.h \
934 $(BLD)/marker.$(O) : \
936 $(EMACS_ROOT)/src/s/ms-w32.h \
937 $(EMACS_ROOT)/src/m/intel386.h \
938 $(EMACS_ROOT)/src/config.h \
946 $(BLD)/minibuf.$(O) : \
948 $(EMACS_ROOT)/src/s/ms-w32.h \
949 $(EMACS_ROOT)/src/m/intel386.h \
950 $(EMACS_ROOT)/src/config.h \
955 $(SRC)/dispextern.h \
967 $(EMACS_ROOT)/nt/inc/pwd.h \
969 $(SRC)/m/intel386.h \
976 $(BLD)/w32heap.$(O) : \
979 $(SRC)/m/intel386.h \
983 $(BLD)/w32inevt.$(O) : \
986 $(SRC)/m/intel386.h \
989 $(SRC)/blockinput.h \
999 $(BLD)/w32proc.$(O) : \
1002 $(SRC)/m/intel386.h \
1003 $(EMACS_ROOT)/nt/inc/langinfo.h \
1004 $(EMACS_ROOT)/nt/inc/nl_types.h \
1007 $(SRC)/syssignal.h \
1016 $(BLD)/w32console.$(O) : \
1017 $(SRC)/w32console.c \
1019 $(SRC)/m/intel386.h \
1024 $(SRC)/dispextern.h \
1027 $(SRC)/termhooks.h \
1032 $(BLD)/print.$(O) : \
1034 $(EMACS_ROOT)/src/s/ms-w32.h \
1035 $(EMACS_ROOT)/src/m/intel386.h \
1036 $(EMACS_ROOT)/src/config.h \
1039 $(SRC)/composite.h \
1040 $(SRC)/dispextern.h \
1042 $(SRC)/intervals.h \
1050 $(BLD)/process.$(O) : \
1052 $(EMACS_ROOT)/src/s/ms-w32.h \
1053 $(EMACS_ROOT)/src/m/intel386.h \
1054 $(EMACS_ROOT)/src/config.h \
1055 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1056 $(EMACS_ROOT)/nt/inc/sys/file.h \
1058 $(SRC)/blockinput.h \
1064 $(SRC)/composite.h \
1065 $(SRC)/dispextern.h \
1069 $(SRC)/sysselect.h \
1070 $(SRC)/syssignal.h \
1074 $(SRC)/termhooks.h \
1080 $(BLD)/ralloc.$(O) : \
1082 $(EMACS_ROOT)/src/s/ms-w32.h \
1083 $(EMACS_ROOT)/src/m/intel386.h \
1084 $(EMACS_ROOT)/src/config.h \
1085 $(EMACS_ROOT)/nt/inc/sys/param.h \
1087 $(SRC)/m/intel386.h \
1089 $(SRC)/getpagesize.h
1091 $(BLD)/regex.$(O) : \
1093 $(EMACS_ROOT)/src/s/ms-w32.h \
1094 $(EMACS_ROOT)/src/m/intel386.h \
1095 $(EMACS_ROOT)/src/config.h \
1097 $(SRC)/m/intel386.h \
1105 $(BLD)/region-cache.$(O) : \
1106 $(SRC)/region-cache.c \
1107 $(EMACS_ROOT)/src/s/ms-w32.h \
1108 $(EMACS_ROOT)/src/m/intel386.h \
1109 $(EMACS_ROOT)/src/config.h \
1111 $(SRC)/region-cache.h
1113 $(BLD)/scroll.$(O) : \
1115 $(EMACS_ROOT)/src/s/ms-w32.h \
1116 $(EMACS_ROOT)/src/m/intel386.h \
1117 $(EMACS_ROOT)/src/config.h \
1118 $(SRC)/dispextern.h \
1126 $(BLD)/search.$(O) : \
1128 $(EMACS_ROOT)/src/s/ms-w32.h \
1129 $(EMACS_ROOT)/src/m/intel386.h \
1130 $(EMACS_ROOT)/src/config.h \
1132 $(SRC)/blockinput.h \
1137 $(SRC)/composite.h \
1138 $(SRC)/dispextern.h \
1139 $(SRC)/intervals.h \
1141 $(SRC)/region-cache.h \
1147 $(BLD)/sound.$(O) : \
1150 $(SRC)/dispextern.h \
1154 $(BLD)/strftime.$(O) : \
1156 $(EMACS_ROOT)/src/s/ms-w32.h \
1157 $(EMACS_ROOT)/src/m/intel386.h \
1158 $(EMACS_ROOT)/src/config.h
1160 $(BLD)/syntax.$(O) : \
1162 $(EMACS_ROOT)/src/s/ms-w32.h \
1163 $(EMACS_ROOT)/src/m/intel386.h \
1164 $(EMACS_ROOT)/src/config.h \
1169 $(SRC)/composite.h \
1170 $(SRC)/dispextern.h \
1171 $(SRC)/intervals.h \
1177 $(BLD)/sysdep.$(O) : \
1179 $(EMACS_ROOT)/src/s/ms-w32.h \
1180 $(EMACS_ROOT)/src/m/intel386.h \
1181 $(EMACS_ROOT)/src/config.h \
1182 $(EMACS_ROOT)/nt/inc/sys/param.h \
1183 $(EMACS_ROOT)/nt/inc/sys/file.h \
1184 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1185 $(EMACS_ROOT)/nt/inc/sys/file.h \
1187 $(SRC)/blockinput.h \
1188 $(SRC)/dispextern.h \
1193 $(SRC)/sysselect.h \
1194 $(SRC)/syssignal.h \
1199 $(SRC)/termhooks.h \
1205 $(BLD)/term.$(O) : \
1207 $(EMACS_ROOT)/src/s/ms-w32.h \
1208 $(EMACS_ROOT)/src/m/intel386.h \
1209 $(EMACS_ROOT)/src/config.h \
1214 $(SRC)/dispextern.h \
1220 $(SRC)/termhooks.h \
1226 $(BLD)/termcap.$(O) : \
1228 $(EMACS_ROOT)/src/s/ms-w32.h \
1229 $(EMACS_ROOT)/src/m/intel386.h \
1230 $(EMACS_ROOT)/src/config.h \
1231 $(EMACS_ROOT)/nt/inc/sys/file.h
1233 $(BLD)/textprop.$(O) : \
1235 $(EMACS_ROOT)/src/s/ms-w32.h \
1236 $(EMACS_ROOT)/src/m/intel386.h \
1237 $(EMACS_ROOT)/src/config.h \
1239 $(SRC)/composite.h \
1240 $(SRC)/dispextern.h \
1241 $(SRC)/intervals.h \
1246 $(BLD)/tparam.$(O) : \
1248 $(EMACS_ROOT)/src/s/ms-w32.h \
1249 $(EMACS_ROOT)/src/m/intel386.h \
1250 $(EMACS_ROOT)/src/config.h
1252 $(BLD)/undo.$(O) : \
1254 $(EMACS_ROOT)/src/s/ms-w32.h \
1255 $(EMACS_ROOT)/src/m/intel386.h \
1256 $(EMACS_ROOT)/src/config.h \
1260 $(BLD)/unexw32.$(O) : \
1262 $(EMACS_ROOT)/src/s/ms-w32.h \
1263 $(EMACS_ROOT)/src/m/intel386.h \
1264 $(EMACS_ROOT)/src/config.h \
1267 $(BLD)/vm-limit.$(O) : \
1269 $(EMACS_ROOT)/src/s/ms-w32.h \
1270 $(EMACS_ROOT)/src/m/intel386.h \
1271 $(EMACS_ROOT)/src/config.h \
1274 $(BLD)/window.$(O) : \
1276 $(EMACS_ROOT)/src/s/ms-w32.h \
1277 $(EMACS_ROOT)/src/m/intel386.h \
1278 $(EMACS_ROOT)/src/config.h \
1280 $(SRC)/blockinput.h \
1283 $(SRC)/composite.h \
1284 $(SRC)/dispextern.h \
1288 $(SRC)/intervals.h \
1298 $(BLD)/xdisp.$(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 \
1310 $(SRC)/composite.h \
1311 $(SRC)/dispextern.h \
1316 $(SRC)/intervals.h \
1321 $(SRC)/region-cache.h \
1324 $(SRC)/termhooks.h \
1330 $(BLD)/xfaces.$(O): \
1332 $(EMACS_ROOT)/src/s/ms-w32.h \
1333 $(EMACS_ROOT)/src/m/intel386.h \
1334 $(EMACS_ROOT)/src/config.h \
1336 $(SRC)/blockinput.h \
1339 $(SRC)/composite.h \
1340 $(SRC)/dispextern.h \
1343 $(SRC)/intervals.h \
1351 $(BLD)/w32fns.$(O): \
1353 $(EMACS_ROOT)/src/s/ms-w32.h \
1354 $(EMACS_ROOT)/src/m/intel386.h \
1355 $(EMACS_ROOT)/src/config.h \
1357 $(SRC)/blockinput.h \
1362 $(SRC)/composite.h \
1363 $(SRC)/dispextern.h \
1367 $(SRC)/intervals.h \
1370 $(SRC)/termhooks.h \
1377 $(BLD)/w32menu.$(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 \
1387 $(SRC)/dispextern.h \
1392 $(SRC)/termhooks.h \
1398 $(BLD)/w32term.$(O): \
1400 $(EMACS_ROOT)/src/s/ms-w32.h \
1401 $(EMACS_ROOT)/src/m/intel386.h \
1402 $(EMACS_ROOT)/src/config.h \
1404 $(SRC)/blockinput.h \
1409 $(SRC)/composite.h \
1410 $(SRC)/dispextern.h \
1415 $(SRC)/intervals.h \
1421 $(SRC)/termhooks.h \
1429 $(BLD)/w32select.$(O): \
1430 $(SRC)/w32select.c \
1431 $(EMACS_ROOT)/src/s/ms-w32.h \
1432 $(EMACS_ROOT)/src/m/intel386.h \
1433 $(EMACS_ROOT)/src/config.h \
1435 $(SRC)/blockinput.h \
1440 $(SRC)/composite.h \
1441 $(SRC)/dispextern.h \
1450 $(BLD)/w32reg.$(O): \
1452 $(EMACS_ROOT)/src/s/ms-w32.h \
1453 $(EMACS_ROOT)/src/m/intel386.h \
1454 $(EMACS_ROOT)/src/config.h \
1456 $(SRC)/blockinput.h \
1462 $(BLD)/w32xfns.$(O): \
1464 $(EMACS_ROOT)/src/s/ms-w32.h \
1465 $(EMACS_ROOT)/src/m/intel386.h \
1466 $(EMACS_ROOT)/src/config.h \
1468 $(SRC)/blockinput.h \
1478 $(BLD)/w32bdf.$(O): \
1480 $(EMACS_ROOT)/src/s/ms-w32.h \
1481 $(EMACS_ROOT)/src/m/intel386.h \
1482 $(EMACS_ROOT)/src/config.h \
1484 $(SRC)/blockinput.h \
1486 $(SRC)/dispextern.h \
1495 # Each object file depends on stamp_BLD, because in parallel builds we must
1496 # make sure $(BLD) exists before starting compilations.
1498 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD