1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004,
3 # 2005, 2006, 2007, 2008 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)/alloc.$(O) \
62 $(BLD)/bytecode.$(O) \
64 $(BLD)/callproc.$(O) \
65 $(BLD)/casefiddle.$(O) \
76 $(BLD)/filelock.$(O) \
77 $(BLD)/filemode.$(O) \
81 $(BLD)/keyboard.$(O) \
90 $(BLD)/w32inevt.$(O) \
92 $(BLD)/w32console.$(O) \
102 $(BLD)/termcap.$(O) \
105 $(BLD)/unexw32.$(O) \
108 $(BLD)/casetab.$(O) \
109 $(BLD)/floatfns.$(O) \
111 $(BLD)/gmalloc.$(O) \
112 $(BLD)/intervals.$(O) \
113 $(BLD)/composite.$(O) \
115 $(BLD)/textprop.$(O) \
116 $(BLD)/vm-limit.$(O) \
117 $(BLD)/region-cache.$(O) \
118 $(BLD)/strftime.$(O) \
119 $(BLD)/charset.$(O) \
120 $(BLD)/character.$(O) \
121 $(BLD)/chartab.$(O) \
123 $(BLD)/category.$(O) \
125 $(BLD)/fontset.$(O) \
131 WIN32OBJ = $(BLD)/w32term.$(O) \
132 $(BLD)/w32xfns.$(O) \
135 $(BLD)/w32select.$(O) \
136 $(BLD)/w32menu.$(O) \
141 ifdef USE_FONTBACKEND
142 FONTOBJ = $(BLD)/font.$(O) \
163 # Build the executable and dump it.
168 # The dumped executable
170 emacs: stamp_BLD $(EMACS)
171 $(EMACS): $(DOC) $(TEMACS)
172 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
173 -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
176 # The undumped executable
177 # Note the extra post-link step to insert a static preload heap section.
178 # If preload runs out of memory, increase the last argument to addsection
179 # (it is the preload heap size in MB).
181 temacs: stamp_BLD $(TEMACS)
182 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
183 ../nt/$(BLD)/addsection.exe
184 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
185 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 20
186 echo $(OBJ0) > $(BLD)/buildobj.lst
187 echo $(OBJ1) >> $(BLD)/buildobj.lst
188 echo $(WIN32OBJ) >> $(BLD)/buildobj.lst
189 echo $(FONTOBJ) >> $(BLD)/buildobj.lst
191 bootstrap: bootstrap-emacs
194 # Build a temacs with a sufficiently large PURESIZE to load the
195 # Lisp files from loadup.el in source form.
197 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
198 # this can break with GNU Make 3.81 and later if sh.exe is used.
200 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
203 # Dump an Emacs executable named bootstrap-emacs containing the
204 # files from loadup.el in source form.
206 bootstrap-emacs: bootstrap-temacs
207 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
209 $(CP) $(EMACS) ../bin
212 # Force recompile of files that depend on PURESIZE
215 - $(DEL) $(BLD)/alloc.$(O)
216 - $(DEL) $(BLD)/data.$(O)
217 - $(DEL) $(BLD)/intervals.$(O)
218 - $(DEL) $(BLD)/keyboard.$(O)
219 - $(DEL) $(BLD)/keymap.$(O)
222 # The resource file. NT 3.10 requires the use of cvtres; even though
223 # it is not necessary on later versions, it is still ok to use it.
225 $(TRES): ../nt/emacs.rc stamp_BLD
226 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
229 # Build the library. Split up the build into two phases...otherwise we
230 # run out of command line space.
234 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
237 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
238 $(TLIBW32): $(WIN32OBJ) $(FONTOBJ)
240 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
243 # Place lastfile.$(O) in its own library so that it can be loaded after
244 # the source libraries but before any system libraries. Doing so defines
245 # the end of Emacs' data section portably across compilers and systems.
247 $(TLASTLIB): $(BLD)/lastfile.$(O)
249 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
252 # Assuming INSTALL_DIR is defined, build and install emacs in it.
255 - mkdir "$(INSTALL_DIR)/bin"
256 $(CP) $(EMACS) $(INSTALL_DIR)/bin
261 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
262 # remove precious files if it happens to match their short 8+3 aliases.
264 - $(DEL) "s/*.h~" "m/*.h~"
265 - $(DEL) $(COMPILER_TEMP_FILES)
266 - $(DEL_TREE) $(OBJDIR)
270 - $(DEL) config.h epaths.h
274 - $(DEL_TREE) obj-spd
283 $(BLD)/abbrev.$(O) : \
285 $(EMACS_ROOT)/src/s/ms-w32.h \
286 $(EMACS_ROOT)/src/m/intel386.h \
287 $(EMACS_ROOT)/src/config.h \
292 $(SRC)/dispextern.h \
298 $(BLD)/alloc.$(O) : \
300 $(EMACS_ROOT)/src/s/ms-w32.h \
301 $(EMACS_ROOT)/src/m/intel386.h \
302 $(EMACS_ROOT)/src/config.h \
303 $(SRC)/blockinput.h \
308 $(SRC)/dispextern.h \
319 $(BLD)/atimer.$(O) : \
321 $(EMACS_ROOT)/src/s/ms-w32.h \
322 $(EMACS_ROOT)/src/m/intel386.h \
323 $(EMACS_ROOT)/src/config.h \
325 $(SRC)/m/intel386.h \
328 $(SRC)/blockinput.h \
332 $(BLD)/buffer.$(O) : \
334 $(EMACS_ROOT)/nt/inc/sys/param.h \
335 $(EMACS_ROOT)/src/s/ms-w32.h \
336 $(EMACS_ROOT)/src/m/intel386.h \
337 $(EMACS_ROOT)/src/config.h \
338 $(SRC)/blockinput.h \
343 $(SRC)/dispextern.h \
349 $(SRC)/region-cache.h \
354 $(BLD)/bytecode.$(O) : \
356 $(EMACS_ROOT)/src/s/ms-w32.h \
357 $(EMACS_ROOT)/src/m/intel386.h \
358 $(EMACS_ROOT)/src/config.h \
364 $(BLD)/callint.$(O) : \
366 $(EMACS_ROOT)/src/s/ms-w32.h \
367 $(EMACS_ROOT)/src/m/intel386.h \
368 $(EMACS_ROOT)/src/config.h \
371 $(SRC)/dispextern.h \
378 $(BLD)/callproc.$(O) : \
380 $(EMACS_ROOT)/src/s/ms-w32.h \
381 $(EMACS_ROOT)/src/m/intel386.h \
382 $(EMACS_ROOT)/src/config.h \
383 $(EMACS_ROOT)/nt/inc/sys/param.h \
384 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
385 $(EMACS_ROOT)/nt/inc/sys/file.h \
401 $(BLD)/casefiddle.$(O) : \
402 $(SRC)/casefiddle.c \
403 $(EMACS_ROOT)/src/s/ms-w32.h \
404 $(EMACS_ROOT)/src/m/intel386.h \
405 $(EMACS_ROOT)/src/config.h \
414 $(BLD)/casetab.$(O) : \
416 $(EMACS_ROOT)/src/s/ms-w32.h \
417 $(EMACS_ROOT)/src/m/intel386.h \
418 $(EMACS_ROOT)/src/config.h \
422 $(BLD)/category.$(O) : \
424 $(EMACS_ROOT)/src/s/ms-w32.h \
425 $(EMACS_ROOT)/src/m/intel386.h \
426 $(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 $(BLD)/character.$(O) : \
445 $(EMACS_ROOT)/src/s/ms-w32.h \
446 $(EMACS_ROOT)/src/m/intel386.h \
447 $(EMACS_ROOT)/src/config.h \
455 $(BLD)/charset.$(O) : \
457 $(EMACS_ROOT)/src/s/ms-w32.h \
458 $(EMACS_ROOT)/src/m/intel386.h \
459 $(EMACS_ROOT)/src/config.h \
468 $(BLD)/chartab.$(O) : \
470 $(EMACS_ROOT)/src/s/ms-w32.h \
471 $(EMACS_ROOT)/src/m/intel386.h \
472 $(EMACS_ROOT)/src/config.h \
478 $(EMACS_ROOT)/src/s/ms-w32.h \
479 $(EMACS_ROOT)/src/m/intel386.h \
480 $(EMACS_ROOT)/src/config.h \
486 $(EMACS_ROOT)/src/s/ms-w32.h \
487 $(EMACS_ROOT)/src/m/intel386.h \
488 $(EMACS_ROOT)/src/config.h \
493 $(SRC)/dispextern.h \
501 $(BLD)/coding.$(O) : \
503 $(EMACS_ROOT)/src/s/ms-w32.h \
504 $(EMACS_ROOT)/src/m/intel386.h \
505 $(EMACS_ROOT)/src/config.h \
512 $(SRC)/dispextern.h \
520 $(BLD)/composite.$(O) : \
522 $(EMACS_ROOT)/src/s/ms-w32.h \
523 $(EMACS_ROOT)/src/m/intel386.h \
524 $(EMACS_ROOT)/src/config.h \
529 $(SRC)/dispextern.h \
536 $(EMACS_ROOT)/src/s/ms-w32.h \
537 $(EMACS_ROOT)/src/m/intel386.h \
538 $(EMACS_ROOT)/src/config.h \
548 $(BLD)/dired.$(O) : \
550 $(EMACS_ROOT)/src/s/ms-w32.h \
551 $(EMACS_ROOT)/src/m/intel386.h \
552 $(EMACS_ROOT)/src/config.h \
563 $(BLD)/dispnew.$(O) : \
565 $(EMACS_ROOT)/src/s/ms-w32.h \
566 $(EMACS_ROOT)/src/m/intel386.h \
567 $(EMACS_ROOT)/src/config.h \
568 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
569 $(EMACS_ROOT)/nt/inc/sys/file.h \
571 $(SRC)/blockinput.h \
578 $(SRC)/dispextern.h \
597 $(EMACS_ROOT)/src/s/ms-w32.h \
598 $(EMACS_ROOT)/src/m/intel386.h \
599 $(EMACS_ROOT)/src/config.h \
600 $(EMACS_ROOT)/nt/inc/sys/file.h \
607 $(BLD)/doprnt.$(O) : \
609 $(EMACS_ROOT)/src/s/ms-w32.h \
610 $(EMACS_ROOT)/src/m/intel386.h \
611 $(EMACS_ROOT)/src/config.h \
615 $(BLD)/editfns.$(O) : \
617 $(EMACS_ROOT)/src/s/ms-w32.h \
618 $(EMACS_ROOT)/src/m/intel386.h \
619 $(EMACS_ROOT)/src/config.h \
620 $(EMACS_ROOT)/nt/inc/pwd.h \
627 $(SRC)/dispextern.h \
635 $(BLD)/emacs.$(O) : \
637 $(EMACS_ROOT)/src/s/ms-w32.h \
638 $(EMACS_ROOT)/src/m/intel386.h \
639 $(EMACS_ROOT)/src/config.h \
640 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
641 $(EMACS_ROOT)/nt/inc/sys/file.h \
643 $(SRC)/blockinput.h \
647 $(SRC)/dispextern.h \
663 $(EMACS_ROOT)/src/s/ms-w32.h \
664 $(EMACS_ROOT)/src/m/intel386.h \
665 $(EMACS_ROOT)/src/config.h \
667 $(SRC)/blockinput.h \
669 $(SRC)/dispextern.h \
675 $(BLD)/fileio.$(O) : \
677 $(EMACS_ROOT)/src/s/ms-w32.h \
678 $(EMACS_ROOT)/src/m/intel386.h \
679 $(EMACS_ROOT)/src/config.h \
680 $(EMACS_ROOT)/nt/inc/pwd.h \
681 $(EMACS_ROOT)/nt/inc/sys/param.h \
682 $(EMACS_ROOT)/nt/inc/sys/file.h \
690 $(SRC)/dispextern.h \
697 $(BLD)/filelock.$(O) : \
699 $(EMACS_ROOT)/src/s/ms-w32.h \
700 $(EMACS_ROOT)/src/m/intel386.h \
701 $(EMACS_ROOT)/src/config.h \
702 $(EMACS_ROOT)/nt/inc/pwd.h \
703 $(EMACS_ROOT)/nt/inc/sys/file.h \
704 $(EMACS_ROOT)/src/epaths.h \
712 $(BLD)/filemode.$(O) : \
714 $(EMACS_ROOT)/src/s/ms-w32.h \
715 $(EMACS_ROOT)/src/m/intel386.h \
716 $(EMACS_ROOT)/src/config.h \
718 $(SRC)/m/intel386.h \
721 $(BLD)/firstfile.$(O) : \
723 $(EMACS_ROOT)/src/s/ms-w32.h \
724 $(EMACS_ROOT)/src/m/intel386.h \
725 $(EMACS_ROOT)/src/config.h
727 $(BLD)/floatfns.$(O) : \
729 $(EMACS_ROOT)/src/s/ms-w32.h \
730 $(EMACS_ROOT)/src/m/intel386.h \
731 $(EMACS_ROOT)/src/config.h \
736 $(EMACS_ROOT)/src/s/ms-w32.h \
737 $(EMACS_ROOT)/src/m/intel386.h \
738 $(EMACS_ROOT)/src/config.h \
739 $(EMACS_ROOT)/nt/inc/langinfo.h \
740 $(EMACS_ROOT)/nt/inc/nl_types.h \
742 $(SRC)/blockinput.h \
750 $(SRC)/dispextern.h \
764 $(EMACS_ROOT)/src/s/ms-w32.h \
765 $(EMACS_ROOT)/src/m/intel386.h \
766 $(EMACS_ROOT)/src/config.h \
767 $(SRC)/dispextern.h \
775 $(BLD)/fontset.$(O) : \
777 $(EMACS_ROOT)/src/s/ms-w32.h \
778 $(EMACS_ROOT)/src/m/intel386.h \
779 $(EMACS_ROOT)/src/config.h \
784 $(SRC)/dispextern.h \
794 $(BLD)/frame.$(O) : \
796 $(EMACS_ROOT)/src/s/ms-w32.h \
797 $(EMACS_ROOT)/src/m/intel386.h \
798 $(EMACS_ROOT)/src/config.h \
800 $(SRC)/blockinput.h \
805 $(SRC)/dispextern.h \
817 $(BLD)/fringe.$(O) : \
819 $(EMACS_ROOT)/src/s/ms-w32.h \
820 $(EMACS_ROOT)/src/m/intel386.h \
821 $(EMACS_ROOT)/src/config.h \
823 $(SRC)/blockinput.h \
825 $(SRC)/dispextern.h \
832 $(BLD)/gmalloc.$(O) : \
834 $(EMACS_ROOT)/src/s/ms-w32.h \
835 $(EMACS_ROOT)/src/m/intel386.h \
836 $(EMACS_ROOT)/src/config.h \
837 $(EMACS_ROOT)/nt/inc/sys/param.h \
842 $(EMACS_ROOT)/src/s/ms-w32.h \
843 $(EMACS_ROOT)/src/m/intel386.h \
844 $(EMACS_ROOT)/src/config.h \
846 $(SRC)/blockinput.h \
847 $(SRC)/dispextern.h \
858 $(BLD)/indent.$(O) : \
860 $(EMACS_ROOT)/src/s/ms-w32.h \
861 $(EMACS_ROOT)/src/m/intel386.h \
862 $(EMACS_ROOT)/src/config.h \
868 $(SRC)/dispextern.h \
874 $(SRC)/region-cache.h \
881 $(BLD)/insdel.$(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 \
894 $(SRC)/region-cache.h \
900 $(BLD)/intervals.$(O) : \
902 $(EMACS_ROOT)/src/s/ms-w32.h \
903 $(EMACS_ROOT)/src/m/intel386.h \
904 $(EMACS_ROOT)/src/config.h \
907 $(SRC)/dispextern.h \
915 $(BLD)/keyboard.$(O) : \
917 $(EMACS_ROOT)/src/s/ms-w32.h \
918 $(EMACS_ROOT)/src/m/intel386.h \
919 $(EMACS_ROOT)/src/config.h \
920 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
921 $(EMACS_ROOT)/nt/inc/sys/file.h \
923 $(SRC)/blockinput.h \
929 $(SRC)/dispextern.h \
949 $(BLD)/keymap.$(O) : \
951 $(EMACS_ROOT)/src/s/ms-w32.h \
952 $(EMACS_ROOT)/src/m/intel386.h \
953 $(EMACS_ROOT)/src/config.h \
955 $(SRC)/blockinput.h \
961 $(SRC)/dispextern.h \
971 $(BLD)/lastfile.$(O) : \
973 $(EMACS_ROOT)/src/s/ms-w32.h \
974 $(EMACS_ROOT)/src/m/intel386.h \
975 $(EMACS_ROOT)/src/config.h
977 $(BLD)/lread.$(O) : \
979 $(EMACS_ROOT)/src/s/ms-w32.h \
980 $(EMACS_ROOT)/src/m/intel386.h \
981 $(EMACS_ROOT)/src/config.h \
982 $(EMACS_ROOT)/nt/inc/sys/file.h \
983 $(EMACS_ROOT)/src/epaths.h \
984 $(SRC)/blockinput.h \
992 $(SRC)/dispextern.h \
999 $(BLD)/macros.$(O) : \
1001 $(EMACS_ROOT)/src/s/ms-w32.h \
1002 $(EMACS_ROOT)/src/m/intel386.h \
1003 $(EMACS_ROOT)/src/config.h \
1006 $(SRC)/dispextern.h \
1013 $(BLD)/marker.$(O) : \
1015 $(EMACS_ROOT)/src/s/ms-w32.h \
1016 $(EMACS_ROOT)/src/m/intel386.h \
1017 $(EMACS_ROOT)/src/config.h \
1019 $(SRC)/character.h \
1026 $(BLD)/minibuf.$(O) : \
1028 $(EMACS_ROOT)/src/s/ms-w32.h \
1029 $(EMACS_ROOT)/src/m/intel386.h \
1030 $(EMACS_ROOT)/src/config.h \
1032 $(SRC)/character.h \
1035 $(SRC)/composite.h \
1036 $(SRC)/dispextern.h \
1038 $(SRC)/intervals.h \
1042 $(SRC)/termhooks.h \
1049 $(EMACS_ROOT)/nt/inc/pwd.h \
1051 $(SRC)/m/intel386.h \
1058 $(BLD)/w32heap.$(O) : \
1061 $(SRC)/m/intel386.h \
1065 $(BLD)/w32inevt.$(O) : \
1068 $(SRC)/m/intel386.h \
1071 $(SRC)/blockinput.h \
1075 $(SRC)/termhooks.h \
1081 $(BLD)/w32proc.$(O) : \
1084 $(SRC)/m/intel386.h \
1085 $(EMACS_ROOT)/nt/inc/langinfo.h \
1086 $(EMACS_ROOT)/nt/inc/nl_types.h \
1088 $(SRC)/character.h \
1090 $(SRC)/syssignal.h \
1099 $(BLD)/w32console.$(O) : \
1100 $(SRC)/w32console.c \
1102 $(SRC)/m/intel386.h \
1104 $(SRC)/character.h \
1108 $(SRC)/dispextern.h \
1111 $(SRC)/termhooks.h \
1116 $(BLD)/print.$(O) : \
1118 $(EMACS_ROOT)/src/s/ms-w32.h \
1119 $(EMACS_ROOT)/src/m/intel386.h \
1120 $(EMACS_ROOT)/src/config.h \
1122 $(SRC)/character.h \
1124 $(SRC)/composite.h \
1125 $(SRC)/dispextern.h \
1127 $(SRC)/intervals.h \
1135 $(BLD)/process.$(O) : \
1137 $(EMACS_ROOT)/src/s/ms-w32.h \
1138 $(EMACS_ROOT)/src/m/intel386.h \
1139 $(EMACS_ROOT)/src/config.h \
1140 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1141 $(EMACS_ROOT)/nt/inc/sys/file.h \
1143 $(SRC)/blockinput.h \
1146 $(SRC)/character.h \
1150 $(SRC)/composite.h \
1151 $(SRC)/dispextern.h \
1155 $(SRC)/sysselect.h \
1156 $(SRC)/syssignal.h \
1160 $(SRC)/termhooks.h \
1166 $(BLD)/ralloc.$(O) : \
1168 $(EMACS_ROOT)/src/s/ms-w32.h \
1169 $(EMACS_ROOT)/src/m/intel386.h \
1170 $(EMACS_ROOT)/src/config.h \
1171 $(EMACS_ROOT)/nt/inc/sys/param.h \
1173 $(SRC)/m/intel386.h \
1175 $(SRC)/getpagesize.h
1177 $(BLD)/regex.$(O) : \
1179 $(EMACS_ROOT)/src/s/ms-w32.h \
1180 $(EMACS_ROOT)/src/m/intel386.h \
1181 $(EMACS_ROOT)/src/config.h \
1183 $(SRC)/m/intel386.h \
1186 $(SRC)/character.h \
1192 $(BLD)/region-cache.$(O) : \
1193 $(SRC)/region-cache.c \
1194 $(EMACS_ROOT)/src/s/ms-w32.h \
1195 $(EMACS_ROOT)/src/m/intel386.h \
1196 $(EMACS_ROOT)/src/config.h \
1198 $(SRC)/region-cache.h
1200 $(BLD)/scroll.$(O) : \
1202 $(EMACS_ROOT)/src/s/ms-w32.h \
1203 $(EMACS_ROOT)/src/m/intel386.h \
1204 $(EMACS_ROOT)/src/config.h \
1205 $(SRC)/dispextern.h \
1209 $(SRC)/termhooks.h \
1214 $(BLD)/search.$(O) : \
1216 $(EMACS_ROOT)/src/s/ms-w32.h \
1217 $(EMACS_ROOT)/src/m/intel386.h \
1218 $(EMACS_ROOT)/src/config.h \
1220 $(SRC)/blockinput.h \
1223 $(SRC)/character.h \
1226 $(SRC)/composite.h \
1227 $(SRC)/dispextern.h \
1228 $(SRC)/intervals.h \
1230 $(SRC)/region-cache.h \
1236 $(BLD)/sound.$(O) : \
1239 $(SRC)/dispextern.h \
1243 $(BLD)/strftime.$(O) : \
1245 $(EMACS_ROOT)/src/s/ms-w32.h \
1246 $(EMACS_ROOT)/src/m/intel386.h \
1247 $(EMACS_ROOT)/src/config.h
1249 $(BLD)/syntax.$(O) : \
1251 $(EMACS_ROOT)/src/s/ms-w32.h \
1252 $(EMACS_ROOT)/src/m/intel386.h \
1253 $(EMACS_ROOT)/src/config.h \
1256 $(SRC)/character.h \
1259 $(SRC)/composite.h \
1260 $(SRC)/dispextern.h \
1261 $(SRC)/intervals.h \
1267 $(BLD)/sysdep.$(O) : \
1269 $(EMACS_ROOT)/src/s/ms-w32.h \
1270 $(EMACS_ROOT)/src/m/intel386.h \
1271 $(EMACS_ROOT)/src/config.h \
1272 $(EMACS_ROOT)/nt/inc/sys/param.h \
1273 $(EMACS_ROOT)/nt/inc/sys/file.h \
1274 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1275 $(EMACS_ROOT)/nt/inc/sys/file.h \
1277 $(SRC)/blockinput.h \
1279 $(SRC)/dispextern.h \
1284 $(SRC)/sysselect.h \
1285 $(SRC)/syssignal.h \
1290 $(SRC)/termhooks.h \
1296 $(BLD)/term.$(O) : \
1298 $(EMACS_ROOT)/src/s/ms-w32.h \
1299 $(EMACS_ROOT)/src/m/intel386.h \
1300 $(EMACS_ROOT)/src/config.h \
1302 $(SRC)/character.h \
1306 $(SRC)/dispextern.h \
1312 $(SRC)/termhooks.h \
1318 $(BLD)/termcap.$(O) : \
1320 $(EMACS_ROOT)/src/s/ms-w32.h \
1321 $(EMACS_ROOT)/src/m/intel386.h \
1322 $(EMACS_ROOT)/src/config.h \
1323 $(EMACS_ROOT)/nt/inc/sys/file.h
1325 $(BLD)/terminal.$(O) : \
1327 $(EMACS_ROOT)/src/s/ms-w32.h \
1328 $(EMACS_ROOT)/src/m/intel386.h \
1329 $(EMACS_ROOT)/src/config.h \
1337 $(BLD)/textprop.$(O) : \
1339 $(EMACS_ROOT)/src/s/ms-w32.h \
1340 $(EMACS_ROOT)/src/m/intel386.h \
1341 $(EMACS_ROOT)/src/config.h \
1343 $(SRC)/composite.h \
1344 $(SRC)/dispextern.h \
1345 $(SRC)/intervals.h \
1350 $(BLD)/tparam.$(O) : \
1352 $(EMACS_ROOT)/src/s/ms-w32.h \
1353 $(EMACS_ROOT)/src/m/intel386.h \
1354 $(EMACS_ROOT)/src/config.h
1356 $(BLD)/undo.$(O) : \
1358 $(EMACS_ROOT)/src/s/ms-w32.h \
1359 $(EMACS_ROOT)/src/m/intel386.h \
1360 $(EMACS_ROOT)/src/config.h \
1364 $(BLD)/unexw32.$(O) : \
1366 $(EMACS_ROOT)/src/s/ms-w32.h \
1367 $(EMACS_ROOT)/src/m/intel386.h \
1368 $(EMACS_ROOT)/src/config.h \
1371 $(BLD)/vm-limit.$(O) : \
1373 $(EMACS_ROOT)/src/s/ms-w32.h \
1374 $(EMACS_ROOT)/src/m/intel386.h \
1375 $(EMACS_ROOT)/src/config.h \
1378 $(BLD)/window.$(O) : \
1380 $(EMACS_ROOT)/src/s/ms-w32.h \
1381 $(EMACS_ROOT)/src/m/intel386.h \
1382 $(EMACS_ROOT)/src/config.h \
1384 $(SRC)/blockinput.h \
1387 $(SRC)/composite.h \
1388 $(SRC)/dispextern.h \
1392 $(SRC)/intervals.h \
1402 $(BLD)/xdisp.$(O) : \
1404 $(EMACS_ROOT)/src/s/ms-w32.h \
1405 $(EMACS_ROOT)/src/m/intel386.h \
1406 $(EMACS_ROOT)/src/config.h \
1408 $(SRC)/blockinput.h \
1411 $(SRC)/character.h \
1415 $(SRC)/composite.h \
1416 $(SRC)/dispextern.h \
1422 $(SRC)/intervals.h \
1427 $(SRC)/region-cache.h \
1430 $(SRC)/termhooks.h \
1436 $(BLD)/xfaces.$(O): \
1438 $(EMACS_ROOT)/src/s/ms-w32.h \
1439 $(EMACS_ROOT)/src/m/intel386.h \
1440 $(EMACS_ROOT)/src/config.h \
1442 $(SRC)/blockinput.h \
1444 $(SRC)/character.h \
1446 $(SRC)/composite.h \
1447 $(SRC)/dispextern.h \
1451 $(SRC)/intervals.h \
1455 $(SRC)/termhooks.h \
1461 $(BLD)/w32fns.$(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 \
1470 $(SRC)/character.h \
1473 $(SRC)/composite.h \
1474 $(SRC)/dispextern.h \
1479 $(SRC)/intervals.h \
1482 $(SRC)/termhooks.h \
1489 $(BLD)/w32menu.$(O): \
1491 $(EMACS_ROOT)/src/s/ms-w32.h \
1492 $(EMACS_ROOT)/src/m/intel386.h \
1493 $(EMACS_ROOT)/src/config.h \
1495 $(SRC)/blockinput.h \
1497 $(SRC)/character.h \
1500 $(SRC)/dispextern.h \
1505 $(SRC)/termhooks.h \
1511 $(BLD)/w32term.$(O): \
1513 $(EMACS_ROOT)/src/s/ms-w32.h \
1514 $(EMACS_ROOT)/src/m/intel386.h \
1515 $(EMACS_ROOT)/src/config.h \
1517 $(SRC)/blockinput.h \
1520 $(SRC)/character.h \
1523 $(SRC)/composite.h \
1524 $(SRC)/dispextern.h \
1530 $(SRC)/intervals.h \
1536 $(SRC)/termhooks.h \
1544 $(BLD)/w32select.$(O): \
1545 $(SRC)/w32select.c \
1546 $(EMACS_ROOT)/src/s/ms-w32.h \
1547 $(EMACS_ROOT)/src/m/intel386.h \
1548 $(EMACS_ROOT)/src/config.h \
1550 $(SRC)/blockinput.h \
1553 $(SRC)/character.h \
1556 $(SRC)/composite.h \
1557 $(SRC)/dispextern.h \
1566 $(BLD)/w32reg.$(O): \
1568 $(EMACS_ROOT)/src/s/ms-w32.h \
1569 $(EMACS_ROOT)/src/m/intel386.h \
1570 $(EMACS_ROOT)/src/config.h \
1572 $(SRC)/blockinput.h \
1578 $(BLD)/w32xfns.$(O): \
1580 $(EMACS_ROOT)/src/s/ms-w32.h \
1581 $(EMACS_ROOT)/src/m/intel386.h \
1582 $(EMACS_ROOT)/src/config.h \
1584 $(SRC)/blockinput.h \
1585 $(SRC)/character.h \
1595 $(BLD)/w32bdf.$(O): \
1597 $(EMACS_ROOT)/src/s/ms-w32.h \
1598 $(EMACS_ROOT)/src/m/intel386.h \
1599 $(EMACS_ROOT)/src/config.h \
1601 $(SRC)/blockinput.h \
1602 $(SRC)/character.h \
1604 $(SRC)/dispextern.h \
1613 $(BLD)/w32font$(O): \
1615 $(EMACS_ROOT)/src/s/ms-w32.h \
1616 $(EMACS_ROOT)/src/m/intel386.h \
1617 $(EMACS_ROOT)/src/config.h \
1618 $(SRC)/character.h \
1620 $(SRC)/dispextern.h \
1628 # Each object file depends on stamp_BLD, because in parallel builds we must
1629 # make sure $(BLD) exists before starting compilations.
1631 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD