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) \
121 $(BLD)/character.$(O) \
122 $(BLD)/chartab.$(O) \
124 $(BLD)/category.$(O) \
126 $(BLD)/fontset.$(O) \
132 WIN32OBJ = $(BLD)/w32term.$(O) \
133 $(BLD)/w32xfns.$(O) \
136 $(BLD)/w32select.$(O) \
137 $(BLD)/w32menu.$(O) \
142 ifdef USE_FONTBACKEND
143 FONTOBJ = $(BLD)/font.$(O) \
164 # Build the executable and dump it.
169 # The dumped executable
171 emacs: stamp_BLD $(EMACS)
172 $(EMACS): $(DOC) $(TEMACS)
173 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
174 -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
177 # The undumped executable
178 # Note the extra post-link step to insert a static preload heap section.
179 # If preload runs out of memory, increase the last argument to addsection
180 # (it is the preload heap size in MB).
182 temacs: stamp_BLD $(TEMACS)
183 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
184 ../nt/$(BLD)/addsection.exe
185 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
186 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 20
187 echo $(OBJ0) > $(BLD)/buildobj.lst
188 echo $(OBJ1) >> $(BLD)/buildobj.lst
189 echo $(WIN32OBJ) >> $(BLD)/buildobj.lst
190 echo $(FONTOBJ) >> $(BLD)/buildobj.lst
192 bootstrap: bootstrap-emacs
195 # Build a temacs with a sufficiently large PURESIZE to load the
196 # Lisp files from loadup.el in source form.
198 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
199 # this can break with GNU Make 3.81 and later if sh.exe is used.
201 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
204 # Dump an Emacs executable named bootstrap-emacs containing the
205 # files from loadup.el in source form.
207 bootstrap-emacs: bootstrap-temacs
208 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
210 $(CP) $(EMACS) ../bin
213 # Force recompile of files that depend on PURESIZE
216 - $(DEL) $(BLD)/alloc.$(O)
217 - $(DEL) $(BLD)/data.$(O)
218 - $(DEL) $(BLD)/intervals.$(O)
219 - $(DEL) $(BLD)/keyboard.$(O)
220 - $(DEL) $(BLD)/keymap.$(O)
223 # The resource file. NT 3.10 requires the use of cvtres; even though
224 # it is not necessary on later versions, it is still ok to use it.
226 $(TRES): ../nt/emacs.rc stamp_BLD
227 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
230 # Build the library. Split up the build into two phases...otherwise we
231 # run out of command line space.
235 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
238 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
239 $(TLIBW32): $(WIN32OBJ) $(FONTOBJ)
241 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
244 # Place lastfile.$(O) in its own library so that it can be loaded after
245 # the source libraries but before any system libraries. Doing so defines
246 # the end of Emacs' data section portably across compilers and systems.
248 $(TLASTLIB): $(BLD)/lastfile.$(O)
250 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
253 # Assuming INSTALL_DIR is defined, build and install emacs in it.
256 - mkdir "$(INSTALL_DIR)/bin"
257 $(CP) $(EMACS) $(INSTALL_DIR)/bin
262 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
263 # remove precious files if it happens to match their short 8+3 aliases.
265 - $(DEL) "s/*.h~" "m/*.h~"
266 - $(DEL) $(COMPILER_TEMP_FILES)
267 - $(DEL_TREE) $(OBJDIR)
271 - $(DEL) config.h epaths.h
275 - $(DEL_TREE) obj-spd
284 $(BLD)/abbrev.$(O) : \
286 $(EMACS_ROOT)/src/s/ms-w32.h \
287 $(EMACS_ROOT)/src/m/intel386.h \
288 $(EMACS_ROOT)/src/config.h \
293 $(SRC)/dispextern.h \
299 $(BLD)/alloc.$(O) : \
301 $(EMACS_ROOT)/src/s/ms-w32.h \
302 $(EMACS_ROOT)/src/m/intel386.h \
303 $(EMACS_ROOT)/src/config.h \
304 $(SRC)/blockinput.h \
309 $(SRC)/dispextern.h \
320 $(BLD)/atimer.$(O) : \
322 $(EMACS_ROOT)/src/s/ms-w32.h \
323 $(EMACS_ROOT)/src/m/intel386.h \
324 $(EMACS_ROOT)/src/config.h \
326 $(SRC)/m/intel386.h \
329 $(SRC)/blockinput.h \
333 $(BLD)/buffer.$(O) : \
335 $(EMACS_ROOT)/nt/inc/sys/param.h \
336 $(EMACS_ROOT)/src/s/ms-w32.h \
337 $(EMACS_ROOT)/src/m/intel386.h \
338 $(EMACS_ROOT)/src/config.h \
339 $(SRC)/blockinput.h \
344 $(SRC)/dispextern.h \
350 $(SRC)/region-cache.h \
355 $(BLD)/bytecode.$(O) : \
357 $(EMACS_ROOT)/src/s/ms-w32.h \
358 $(EMACS_ROOT)/src/m/intel386.h \
359 $(EMACS_ROOT)/src/config.h \
365 $(BLD)/callint.$(O) : \
367 $(EMACS_ROOT)/src/s/ms-w32.h \
368 $(EMACS_ROOT)/src/m/intel386.h \
369 $(EMACS_ROOT)/src/config.h \
372 $(SRC)/dispextern.h \
379 $(BLD)/callproc.$(O) : \
381 $(EMACS_ROOT)/src/s/ms-w32.h \
382 $(EMACS_ROOT)/src/m/intel386.h \
383 $(EMACS_ROOT)/src/config.h \
384 $(EMACS_ROOT)/nt/inc/sys/param.h \
385 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
386 $(EMACS_ROOT)/nt/inc/sys/file.h \
402 $(BLD)/casefiddle.$(O) : \
403 $(SRC)/casefiddle.c \
404 $(EMACS_ROOT)/src/s/ms-w32.h \
405 $(EMACS_ROOT)/src/m/intel386.h \
406 $(EMACS_ROOT)/src/config.h \
415 $(BLD)/casetab.$(O) : \
417 $(EMACS_ROOT)/src/s/ms-w32.h \
418 $(EMACS_ROOT)/src/m/intel386.h \
419 $(EMACS_ROOT)/src/config.h \
423 $(BLD)/category.$(O) : \
425 $(EMACS_ROOT)/src/s/ms-w32.h \
426 $(EMACS_ROOT)/src/m/intel386.h \
427 $(EMACS_ROOT)/src/config.h \
436 $(EMACS_ROOT)/src/s/ms-w32.h \
437 $(EMACS_ROOT)/src/m/intel386.h \
438 $(EMACS_ROOT)/src/config.h \
444 $(BLD)/character.$(O) : \
446 $(EMACS_ROOT)/src/s/ms-w32.h \
447 $(EMACS_ROOT)/src/m/intel386.h \
448 $(EMACS_ROOT)/src/config.h \
456 $(BLD)/charset.$(O) : \
458 $(EMACS_ROOT)/src/s/ms-w32.h \
459 $(EMACS_ROOT)/src/m/intel386.h \
460 $(EMACS_ROOT)/src/config.h \
469 $(BLD)/chartab.$(O) : \
471 $(EMACS_ROOT)/src/s/ms-w32.h \
472 $(EMACS_ROOT)/src/m/intel386.h \
473 $(EMACS_ROOT)/src/config.h \
479 $(EMACS_ROOT)/src/s/ms-w32.h \
480 $(EMACS_ROOT)/src/m/intel386.h \
481 $(EMACS_ROOT)/src/config.h \
487 $(EMACS_ROOT)/src/s/ms-w32.h \
488 $(EMACS_ROOT)/src/m/intel386.h \
489 $(EMACS_ROOT)/src/config.h \
494 $(SRC)/dispextern.h \
502 $(BLD)/coding.$(O) : \
504 $(EMACS_ROOT)/src/s/ms-w32.h \
505 $(EMACS_ROOT)/src/m/intel386.h \
506 $(EMACS_ROOT)/src/config.h \
513 $(SRC)/dispextern.h \
521 $(BLD)/composite.$(O) : \
523 $(EMACS_ROOT)/src/s/ms-w32.h \
524 $(EMACS_ROOT)/src/m/intel386.h \
525 $(EMACS_ROOT)/src/config.h \
530 $(SRC)/dispextern.h \
537 $(EMACS_ROOT)/src/s/ms-w32.h \
538 $(EMACS_ROOT)/src/m/intel386.h \
539 $(EMACS_ROOT)/src/config.h \
549 $(BLD)/dired.$(O) : \
551 $(EMACS_ROOT)/src/s/ms-w32.h \
552 $(EMACS_ROOT)/src/m/intel386.h \
553 $(EMACS_ROOT)/src/config.h \
564 $(BLD)/dispnew.$(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/sys/ioctl.h \
570 $(EMACS_ROOT)/nt/inc/sys/file.h \
572 $(SRC)/blockinput.h \
579 $(SRC)/dispextern.h \
598 $(EMACS_ROOT)/src/s/ms-w32.h \
599 $(EMACS_ROOT)/src/m/intel386.h \
600 $(EMACS_ROOT)/src/config.h \
601 $(EMACS_ROOT)/nt/inc/sys/file.h \
608 $(BLD)/doprnt.$(O) : \
610 $(EMACS_ROOT)/src/s/ms-w32.h \
611 $(EMACS_ROOT)/src/m/intel386.h \
612 $(EMACS_ROOT)/src/config.h \
616 $(BLD)/editfns.$(O) : \
618 $(EMACS_ROOT)/src/s/ms-w32.h \
619 $(EMACS_ROOT)/src/m/intel386.h \
620 $(EMACS_ROOT)/src/config.h \
621 $(EMACS_ROOT)/nt/inc/pwd.h \
628 $(SRC)/dispextern.h \
636 $(BLD)/emacs.$(O) : \
638 $(EMACS_ROOT)/src/s/ms-w32.h \
639 $(EMACS_ROOT)/src/m/intel386.h \
640 $(EMACS_ROOT)/src/config.h \
641 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
642 $(EMACS_ROOT)/nt/inc/sys/file.h \
644 $(SRC)/blockinput.h \
648 $(SRC)/dispextern.h \
664 $(EMACS_ROOT)/src/s/ms-w32.h \
665 $(EMACS_ROOT)/src/m/intel386.h \
666 $(EMACS_ROOT)/src/config.h \
668 $(SRC)/blockinput.h \
670 $(SRC)/dispextern.h \
676 $(BLD)/fileio.$(O) : \
678 $(EMACS_ROOT)/src/s/ms-w32.h \
679 $(EMACS_ROOT)/src/m/intel386.h \
680 $(EMACS_ROOT)/src/config.h \
681 $(EMACS_ROOT)/nt/inc/pwd.h \
682 $(EMACS_ROOT)/nt/inc/sys/param.h \
683 $(EMACS_ROOT)/nt/inc/sys/file.h \
691 $(SRC)/dispextern.h \
698 $(BLD)/filelock.$(O) : \
700 $(EMACS_ROOT)/src/s/ms-w32.h \
701 $(EMACS_ROOT)/src/m/intel386.h \
702 $(EMACS_ROOT)/src/config.h \
703 $(EMACS_ROOT)/nt/inc/pwd.h \
704 $(EMACS_ROOT)/nt/inc/sys/file.h \
705 $(EMACS_ROOT)/src/epaths.h \
713 $(BLD)/filemode.$(O) : \
715 $(EMACS_ROOT)/src/s/ms-w32.h \
716 $(EMACS_ROOT)/src/m/intel386.h \
717 $(EMACS_ROOT)/src/config.h \
719 $(SRC)/m/intel386.h \
722 $(BLD)/firstfile.$(O) : \
724 $(EMACS_ROOT)/src/s/ms-w32.h \
725 $(EMACS_ROOT)/src/m/intel386.h \
726 $(EMACS_ROOT)/src/config.h
728 $(BLD)/floatfns.$(O) : \
730 $(EMACS_ROOT)/src/s/ms-w32.h \
731 $(EMACS_ROOT)/src/m/intel386.h \
732 $(EMACS_ROOT)/src/config.h \
737 $(EMACS_ROOT)/src/s/ms-w32.h \
738 $(EMACS_ROOT)/src/m/intel386.h \
739 $(EMACS_ROOT)/src/config.h \
740 $(EMACS_ROOT)/nt/inc/langinfo.h \
741 $(EMACS_ROOT)/nt/inc/nl_types.h \
743 $(SRC)/blockinput.h \
751 $(SRC)/dispextern.h \
765 $(EMACS_ROOT)/src/s/ms-w32.h \
766 $(EMACS_ROOT)/src/m/intel386.h \
767 $(EMACS_ROOT)/src/config.h \
768 $(SRC)/dispextern.h \
776 $(BLD)/fontset.$(O) : \
778 $(EMACS_ROOT)/src/s/ms-w32.h \
779 $(EMACS_ROOT)/src/m/intel386.h \
780 $(EMACS_ROOT)/src/config.h \
785 $(SRC)/dispextern.h \
795 $(BLD)/frame.$(O) : \
797 $(EMACS_ROOT)/src/s/ms-w32.h \
798 $(EMACS_ROOT)/src/m/intel386.h \
799 $(EMACS_ROOT)/src/config.h \
801 $(SRC)/blockinput.h \
806 $(SRC)/dispextern.h \
818 $(BLD)/fringe.$(O) : \
820 $(EMACS_ROOT)/src/s/ms-w32.h \
821 $(EMACS_ROOT)/src/m/intel386.h \
822 $(EMACS_ROOT)/src/config.h \
824 $(SRC)/blockinput.h \
826 $(SRC)/dispextern.h \
833 $(BLD)/gmalloc.$(O) : \
835 $(EMACS_ROOT)/src/s/ms-w32.h \
836 $(EMACS_ROOT)/src/m/intel386.h \
837 $(EMACS_ROOT)/src/config.h \
838 $(EMACS_ROOT)/nt/inc/sys/param.h \
843 $(EMACS_ROOT)/src/s/ms-w32.h \
844 $(EMACS_ROOT)/src/m/intel386.h \
845 $(EMACS_ROOT)/src/config.h \
847 $(SRC)/blockinput.h \
848 $(SRC)/dispextern.h \
859 $(BLD)/indent.$(O) : \
861 $(EMACS_ROOT)/src/s/ms-w32.h \
862 $(EMACS_ROOT)/src/m/intel386.h \
863 $(EMACS_ROOT)/src/config.h \
869 $(SRC)/dispextern.h \
875 $(SRC)/region-cache.h \
882 $(BLD)/insdel.$(O) : \
884 $(EMACS_ROOT)/src/s/ms-w32.h \
885 $(EMACS_ROOT)/src/m/intel386.h \
886 $(EMACS_ROOT)/src/config.h \
888 $(SRC)/blockinput.h \
893 $(SRC)/dispextern.h \
895 $(SRC)/region-cache.h \
901 $(BLD)/intervals.$(O) : \
903 $(EMACS_ROOT)/src/s/ms-w32.h \
904 $(EMACS_ROOT)/src/m/intel386.h \
905 $(EMACS_ROOT)/src/config.h \
908 $(SRC)/dispextern.h \
916 $(BLD)/keyboard.$(O) : \
918 $(EMACS_ROOT)/src/s/ms-w32.h \
919 $(EMACS_ROOT)/src/m/intel386.h \
920 $(EMACS_ROOT)/src/config.h \
921 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
922 $(EMACS_ROOT)/nt/inc/sys/file.h \
924 $(SRC)/blockinput.h \
930 $(SRC)/dispextern.h \
950 $(BLD)/keymap.$(O) : \
952 $(EMACS_ROOT)/src/s/ms-w32.h \
953 $(EMACS_ROOT)/src/m/intel386.h \
954 $(EMACS_ROOT)/src/config.h \
956 $(SRC)/blockinput.h \
962 $(SRC)/dispextern.h \
972 $(BLD)/lastfile.$(O) : \
974 $(EMACS_ROOT)/src/s/ms-w32.h \
975 $(EMACS_ROOT)/src/m/intel386.h \
976 $(EMACS_ROOT)/src/config.h
978 $(BLD)/lread.$(O) : \
980 $(EMACS_ROOT)/src/s/ms-w32.h \
981 $(EMACS_ROOT)/src/m/intel386.h \
982 $(EMACS_ROOT)/src/config.h \
983 $(EMACS_ROOT)/nt/inc/sys/file.h \
984 $(EMACS_ROOT)/src/epaths.h \
985 $(SRC)/blockinput.h \
993 $(SRC)/dispextern.h \
1000 $(BLD)/macros.$(O) : \
1002 $(EMACS_ROOT)/src/s/ms-w32.h \
1003 $(EMACS_ROOT)/src/m/intel386.h \
1004 $(EMACS_ROOT)/src/config.h \
1007 $(SRC)/dispextern.h \
1014 $(BLD)/marker.$(O) : \
1016 $(EMACS_ROOT)/src/s/ms-w32.h \
1017 $(EMACS_ROOT)/src/m/intel386.h \
1018 $(EMACS_ROOT)/src/config.h \
1020 $(SRC)/character.h \
1027 $(BLD)/minibuf.$(O) : \
1029 $(EMACS_ROOT)/src/s/ms-w32.h \
1030 $(EMACS_ROOT)/src/m/intel386.h \
1031 $(EMACS_ROOT)/src/config.h \
1033 $(SRC)/character.h \
1036 $(SRC)/composite.h \
1037 $(SRC)/dispextern.h \
1039 $(SRC)/intervals.h \
1043 $(SRC)/termhooks.h \
1050 $(EMACS_ROOT)/nt/inc/pwd.h \
1052 $(SRC)/m/intel386.h \
1059 $(BLD)/w32heap.$(O) : \
1062 $(SRC)/m/intel386.h \
1066 $(BLD)/w32inevt.$(O) : \
1069 $(SRC)/m/intel386.h \
1072 $(SRC)/blockinput.h \
1076 $(SRC)/termhooks.h \
1082 $(BLD)/w32proc.$(O) : \
1085 $(SRC)/m/intel386.h \
1086 $(EMACS_ROOT)/nt/inc/langinfo.h \
1087 $(EMACS_ROOT)/nt/inc/nl_types.h \
1089 $(SRC)/character.h \
1091 $(SRC)/syssignal.h \
1100 $(BLD)/w32console.$(O) : \
1101 $(SRC)/w32console.c \
1103 $(SRC)/m/intel386.h \
1105 $(SRC)/character.h \
1109 $(SRC)/dispextern.h \
1112 $(SRC)/termhooks.h \
1117 $(BLD)/print.$(O) : \
1119 $(EMACS_ROOT)/src/s/ms-w32.h \
1120 $(EMACS_ROOT)/src/m/intel386.h \
1121 $(EMACS_ROOT)/src/config.h \
1123 $(SRC)/character.h \
1125 $(SRC)/composite.h \
1126 $(SRC)/dispextern.h \
1128 $(SRC)/intervals.h \
1136 $(BLD)/process.$(O) : \
1138 $(EMACS_ROOT)/src/s/ms-w32.h \
1139 $(EMACS_ROOT)/src/m/intel386.h \
1140 $(EMACS_ROOT)/src/config.h \
1141 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1142 $(EMACS_ROOT)/nt/inc/sys/file.h \
1144 $(SRC)/blockinput.h \
1147 $(SRC)/character.h \
1151 $(SRC)/composite.h \
1152 $(SRC)/dispextern.h \
1156 $(SRC)/sysselect.h \
1157 $(SRC)/syssignal.h \
1161 $(SRC)/termhooks.h \
1167 $(BLD)/ralloc.$(O) : \
1169 $(EMACS_ROOT)/src/s/ms-w32.h \
1170 $(EMACS_ROOT)/src/m/intel386.h \
1171 $(EMACS_ROOT)/src/config.h \
1172 $(EMACS_ROOT)/nt/inc/sys/param.h \
1174 $(SRC)/m/intel386.h \
1176 $(SRC)/getpagesize.h
1178 $(BLD)/regex.$(O) : \
1180 $(EMACS_ROOT)/src/s/ms-w32.h \
1181 $(EMACS_ROOT)/src/m/intel386.h \
1182 $(EMACS_ROOT)/src/config.h \
1184 $(SRC)/m/intel386.h \
1187 $(SRC)/character.h \
1193 $(BLD)/region-cache.$(O) : \
1194 $(SRC)/region-cache.c \
1195 $(EMACS_ROOT)/src/s/ms-w32.h \
1196 $(EMACS_ROOT)/src/m/intel386.h \
1197 $(EMACS_ROOT)/src/config.h \
1199 $(SRC)/region-cache.h
1201 $(BLD)/scroll.$(O) : \
1203 $(EMACS_ROOT)/src/s/ms-w32.h \
1204 $(EMACS_ROOT)/src/m/intel386.h \
1205 $(EMACS_ROOT)/src/config.h \
1206 $(SRC)/dispextern.h \
1210 $(SRC)/termhooks.h \
1215 $(BLD)/search.$(O) : \
1217 $(EMACS_ROOT)/src/s/ms-w32.h \
1218 $(EMACS_ROOT)/src/m/intel386.h \
1219 $(EMACS_ROOT)/src/config.h \
1221 $(SRC)/blockinput.h \
1224 $(SRC)/character.h \
1227 $(SRC)/composite.h \
1228 $(SRC)/dispextern.h \
1229 $(SRC)/intervals.h \
1231 $(SRC)/region-cache.h \
1237 $(BLD)/sound.$(O) : \
1240 $(SRC)/dispextern.h \
1244 $(BLD)/strftime.$(O) : \
1246 $(EMACS_ROOT)/src/s/ms-w32.h \
1247 $(EMACS_ROOT)/src/m/intel386.h \
1248 $(EMACS_ROOT)/src/config.h
1250 $(BLD)/syntax.$(O) : \
1252 $(EMACS_ROOT)/src/s/ms-w32.h \
1253 $(EMACS_ROOT)/src/m/intel386.h \
1254 $(EMACS_ROOT)/src/config.h \
1257 $(SRC)/character.h \
1260 $(SRC)/composite.h \
1261 $(SRC)/dispextern.h \
1262 $(SRC)/intervals.h \
1268 $(BLD)/sysdep.$(O) : \
1270 $(EMACS_ROOT)/src/s/ms-w32.h \
1271 $(EMACS_ROOT)/src/m/intel386.h \
1272 $(EMACS_ROOT)/src/config.h \
1273 $(EMACS_ROOT)/nt/inc/sys/param.h \
1274 $(EMACS_ROOT)/nt/inc/sys/file.h \
1275 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1276 $(EMACS_ROOT)/nt/inc/sys/file.h \
1278 $(SRC)/blockinput.h \
1280 $(SRC)/dispextern.h \
1285 $(SRC)/sysselect.h \
1286 $(SRC)/syssignal.h \
1291 $(SRC)/termhooks.h \
1297 $(BLD)/term.$(O) : \
1299 $(EMACS_ROOT)/src/s/ms-w32.h \
1300 $(EMACS_ROOT)/src/m/intel386.h \
1301 $(EMACS_ROOT)/src/config.h \
1303 $(SRC)/character.h \
1307 $(SRC)/dispextern.h \
1313 $(SRC)/termhooks.h \
1319 $(BLD)/termcap.$(O) : \
1321 $(EMACS_ROOT)/src/s/ms-w32.h \
1322 $(EMACS_ROOT)/src/m/intel386.h \
1323 $(EMACS_ROOT)/src/config.h \
1324 $(EMACS_ROOT)/nt/inc/sys/file.h
1326 $(BLD)/terminal.$(O) : \
1328 $(EMACS_ROOT)/src/s/ms-w32.h \
1329 $(EMACS_ROOT)/src/m/intel386.h \
1330 $(EMACS_ROOT)/src/config.h \
1338 $(BLD)/textprop.$(O) : \
1340 $(EMACS_ROOT)/src/s/ms-w32.h \
1341 $(EMACS_ROOT)/src/m/intel386.h \
1342 $(EMACS_ROOT)/src/config.h \
1344 $(SRC)/composite.h \
1345 $(SRC)/dispextern.h \
1346 $(SRC)/intervals.h \
1351 $(BLD)/tparam.$(O) : \
1353 $(EMACS_ROOT)/src/s/ms-w32.h \
1354 $(EMACS_ROOT)/src/m/intel386.h \
1355 $(EMACS_ROOT)/src/config.h
1357 $(BLD)/undo.$(O) : \
1359 $(EMACS_ROOT)/src/s/ms-w32.h \
1360 $(EMACS_ROOT)/src/m/intel386.h \
1361 $(EMACS_ROOT)/src/config.h \
1365 $(BLD)/unexw32.$(O) : \
1367 $(EMACS_ROOT)/src/s/ms-w32.h \
1368 $(EMACS_ROOT)/src/m/intel386.h \
1369 $(EMACS_ROOT)/src/config.h \
1372 $(BLD)/vm-limit.$(O) : \
1374 $(EMACS_ROOT)/src/s/ms-w32.h \
1375 $(EMACS_ROOT)/src/m/intel386.h \
1376 $(EMACS_ROOT)/src/config.h \
1379 $(BLD)/window.$(O) : \
1381 $(EMACS_ROOT)/src/s/ms-w32.h \
1382 $(EMACS_ROOT)/src/m/intel386.h \
1383 $(EMACS_ROOT)/src/config.h \
1385 $(SRC)/blockinput.h \
1388 $(SRC)/composite.h \
1389 $(SRC)/dispextern.h \
1393 $(SRC)/intervals.h \
1403 $(BLD)/xdisp.$(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 \
1412 $(SRC)/character.h \
1416 $(SRC)/composite.h \
1417 $(SRC)/dispextern.h \
1423 $(SRC)/intervals.h \
1428 $(SRC)/region-cache.h \
1431 $(SRC)/termhooks.h \
1437 $(BLD)/xfaces.$(O): \
1439 $(EMACS_ROOT)/src/s/ms-w32.h \
1440 $(EMACS_ROOT)/src/m/intel386.h \
1441 $(EMACS_ROOT)/src/config.h \
1443 $(SRC)/blockinput.h \
1445 $(SRC)/character.h \
1447 $(SRC)/composite.h \
1448 $(SRC)/dispextern.h \
1452 $(SRC)/intervals.h \
1456 $(SRC)/termhooks.h \
1462 $(BLD)/w32fns.$(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 \
1471 $(SRC)/character.h \
1474 $(SRC)/composite.h \
1475 $(SRC)/dispextern.h \
1480 $(SRC)/intervals.h \
1483 $(SRC)/termhooks.h \
1490 $(BLD)/w32menu.$(O): \
1492 $(EMACS_ROOT)/src/s/ms-w32.h \
1493 $(EMACS_ROOT)/src/m/intel386.h \
1494 $(EMACS_ROOT)/src/config.h \
1496 $(SRC)/blockinput.h \
1498 $(SRC)/character.h \
1501 $(SRC)/dispextern.h \
1506 $(SRC)/termhooks.h \
1512 $(BLD)/w32term.$(O): \
1514 $(EMACS_ROOT)/src/s/ms-w32.h \
1515 $(EMACS_ROOT)/src/m/intel386.h \
1516 $(EMACS_ROOT)/src/config.h \
1518 $(SRC)/blockinput.h \
1521 $(SRC)/character.h \
1524 $(SRC)/composite.h \
1525 $(SRC)/dispextern.h \
1531 $(SRC)/intervals.h \
1537 $(SRC)/termhooks.h \
1545 $(BLD)/w32select.$(O): \
1546 $(SRC)/w32select.c \
1547 $(EMACS_ROOT)/src/s/ms-w32.h \
1548 $(EMACS_ROOT)/src/m/intel386.h \
1549 $(EMACS_ROOT)/src/config.h \
1551 $(SRC)/blockinput.h \
1554 $(SRC)/character.h \
1557 $(SRC)/composite.h \
1558 $(SRC)/dispextern.h \
1567 $(BLD)/w32reg.$(O): \
1569 $(EMACS_ROOT)/src/s/ms-w32.h \
1570 $(EMACS_ROOT)/src/m/intel386.h \
1571 $(EMACS_ROOT)/src/config.h \
1573 $(SRC)/blockinput.h \
1579 $(BLD)/w32xfns.$(O): \
1581 $(EMACS_ROOT)/src/s/ms-w32.h \
1582 $(EMACS_ROOT)/src/m/intel386.h \
1583 $(EMACS_ROOT)/src/config.h \
1585 $(SRC)/blockinput.h \
1586 $(SRC)/character.h \
1596 $(BLD)/w32bdf.$(O): \
1598 $(EMACS_ROOT)/src/s/ms-w32.h \
1599 $(EMACS_ROOT)/src/m/intel386.h \
1600 $(EMACS_ROOT)/src/config.h \
1602 $(SRC)/blockinput.h \
1603 $(SRC)/character.h \
1605 $(SRC)/dispextern.h \
1614 $(BLD)/w32font$(O): \
1616 $(EMACS_ROOT)/src/s/ms-w32.h \
1617 $(EMACS_ROOT)/src/m/intel386.h \
1618 $(EMACS_ROOT)/src/config.h \
1619 $(SRC)/character.h \
1621 $(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