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) \
129 WIN32OBJ = $(BLD)/w32term.$(O) \
130 $(BLD)/w32xfns.$(O) \
133 $(BLD)/w32select.$(O) \
134 $(BLD)/w32menu.$(O) \
155 # Build the executable and dump it.
160 # The dumped executable
162 emacs: stamp_BLD $(EMACS)
163 $(EMACS): $(DOC) $(TEMACS)
164 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
165 -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
168 # The undumped executable
169 # Note the extra post-link step to insert a static preload heap section.
170 # If preload runs out of memory, increase the last argument to addsection
171 # (it is the preload heap size in MB).
173 temacs: stamp_BLD $(TEMACS)
174 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
175 ../nt/$(BLD)/addsection.exe
176 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
177 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 16
178 echo $(OBJ0) > $(BLD)/buildobj.lst
179 echo $(OBJ1) >> $(BLD)/buildobj.lst
180 echo $(WIN32OBJ) >> $(BLD)/buildobj.lst
182 bootstrap: bootstrap-emacs
185 # Build a temacs with a sufficiently large PURESIZE to load the
186 # Lisp files from loadup.el in source form.
188 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
189 # this can break with GNU Make 3.81 and later if sh.exe is used.
191 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
194 # Dump an Emacs executable named bootstrap-emacs containing the
195 # files from loadup.el in source form.
197 bootstrap-emacs: bootstrap-temacs
198 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
200 $(CP) $(EMACS) ../bin
203 # Force recompile of files that depend on PURESIZE
206 - $(DEL) $(BLD)/alloc.$(O)
207 - $(DEL) $(BLD)/data.$(O)
208 - $(DEL) $(BLD)/intervals.$(O)
209 - $(DEL) $(BLD)/keyboard.$(O)
210 - $(DEL) $(BLD)/keymap.$(O)
213 # The resource file. NT 3.10 requires the use of cvtres; even though
214 # it is not necessary on later versions, it is still ok to use it.
216 $(TRES): ../nt/emacs.rc stamp_BLD
217 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
220 # Build the library. Split up the build into two phases...otherwise we
221 # run out of command line space.
225 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
228 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
229 $(TLIBW32): $(WIN32OBJ)
231 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
234 # Place lastfile.$(O) in its own library so that it can be loaded after
235 # the source libraries but before any system libraries. Doing so defines
236 # the end of Emacs' data section portably across compilers and systems.
238 $(TLASTLIB): $(BLD)/lastfile.$(O)
240 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
243 # Assuming INSTALL_DIR is defined, build and install emacs in it.
246 - mkdir "$(INSTALL_DIR)/bin"
247 $(CP) $(EMACS) $(INSTALL_DIR)/bin
252 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
253 # remove precious files if it happens to match their short 8+3 aliases.
255 - $(DEL) "s/*.h~" "m/*.h~"
256 - $(DEL) $(COMPILER_TEMP_FILES)
257 - $(DEL_TREE) $(OBJDIR)
261 - $(DEL) config.h epaths.h
265 - $(DEL_TREE) obj-spd
274 $(BLD)/abbrev.$(O) : \
276 $(EMACS_ROOT)/src/s/ms-w32.h \
277 $(EMACS_ROOT)/src/m/intel386.h \
278 $(EMACS_ROOT)/src/config.h \
282 $(SRC)/dispextern.h \
288 $(BLD)/alloc.$(O) : \
290 $(EMACS_ROOT)/src/s/ms-w32.h \
291 $(EMACS_ROOT)/src/m/intel386.h \
292 $(EMACS_ROOT)/src/config.h \
293 $(SRC)/blockinput.h \
297 $(SRC)/dispextern.h \
308 $(BLD)/atimer.$(O) : \
310 $(EMACS_ROOT)/src/s/ms-w32.h \
311 $(EMACS_ROOT)/src/m/intel386.h \
312 $(EMACS_ROOT)/src/config.h \
314 $(SRC)/m/intel386.h \
317 $(SRC)/blockinput.h \
321 $(BLD)/buffer.$(O) : \
323 $(EMACS_ROOT)/nt/inc/sys/param.h \
324 $(EMACS_ROOT)/src/s/ms-w32.h \
325 $(EMACS_ROOT)/src/m/intel386.h \
326 $(EMACS_ROOT)/src/config.h \
327 $(SRC)/blockinput.h \
332 $(SRC)/dispextern.h \
338 $(SRC)/region-cache.h \
343 $(BLD)/bytecode.$(O) : \
345 $(EMACS_ROOT)/src/s/ms-w32.h \
346 $(EMACS_ROOT)/src/m/intel386.h \
347 $(EMACS_ROOT)/src/config.h \
353 $(BLD)/callint.$(O) : \
355 $(EMACS_ROOT)/src/s/ms-w32.h \
356 $(EMACS_ROOT)/src/m/intel386.h \
357 $(EMACS_ROOT)/src/config.h \
360 $(SRC)/dispextern.h \
367 $(BLD)/callproc.$(O) : \
369 $(EMACS_ROOT)/src/s/ms-w32.h \
370 $(EMACS_ROOT)/src/m/intel386.h \
371 $(EMACS_ROOT)/src/config.h \
372 $(EMACS_ROOT)/nt/inc/sys/param.h \
373 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
374 $(EMACS_ROOT)/nt/inc/sys/file.h \
389 $(BLD)/casefiddle.$(O) : \
390 $(SRC)/casefiddle.c \
391 $(EMACS_ROOT)/src/s/ms-w32.h \
392 $(EMACS_ROOT)/src/m/intel386.h \
393 $(EMACS_ROOT)/src/config.h \
401 $(BLD)/casetab.$(O) : \
403 $(EMACS_ROOT)/src/s/ms-w32.h \
404 $(EMACS_ROOT)/src/m/intel386.h \
405 $(EMACS_ROOT)/src/config.h \
409 $(BLD)/category.$(O) : \
411 $(EMACS_ROOT)/src/s/ms-w32.h \
412 $(EMACS_ROOT)/src/m/intel386.h \
413 $(EMACS_ROOT)/src/config.h \
421 $(EMACS_ROOT)/src/s/ms-w32.h \
422 $(EMACS_ROOT)/src/m/intel386.h \
423 $(EMACS_ROOT)/src/config.h \
428 $(BLD)/charset.$(O) : \
430 $(EMACS_ROOT)/src/s/ms-w32.h \
431 $(EMACS_ROOT)/src/m/intel386.h \
432 $(EMACS_ROOT)/src/config.h \
442 $(EMACS_ROOT)/src/s/ms-w32.h \
443 $(EMACS_ROOT)/src/m/intel386.h \
444 $(EMACS_ROOT)/src/config.h \
450 $(EMACS_ROOT)/src/s/ms-w32.h \
451 $(EMACS_ROOT)/src/m/intel386.h \
452 $(EMACS_ROOT)/src/config.h \
456 $(SRC)/dispextern.h \
464 $(BLD)/coding.$(O) : \
466 $(EMACS_ROOT)/src/s/ms-w32.h \
467 $(EMACS_ROOT)/src/m/intel386.h \
468 $(EMACS_ROOT)/src/config.h \
474 $(SRC)/dispextern.h \
482 $(BLD)/composite.$(O) : \
484 $(EMACS_ROOT)/src/s/ms-w32.h \
485 $(EMACS_ROOT)/src/m/intel386.h \
486 $(EMACS_ROOT)/src/config.h \
490 $(SRC)/dispextern.h \
497 $(EMACS_ROOT)/src/s/ms-w32.h \
498 $(EMACS_ROOT)/src/m/intel386.h \
499 $(EMACS_ROOT)/src/config.h \
508 $(BLD)/dired.$(O) : \
510 $(EMACS_ROOT)/src/s/ms-w32.h \
511 $(EMACS_ROOT)/src/m/intel386.h \
512 $(EMACS_ROOT)/src/config.h \
522 $(BLD)/dispnew.$(O) : \
524 $(EMACS_ROOT)/src/s/ms-w32.h \
525 $(EMACS_ROOT)/src/m/intel386.h \
526 $(EMACS_ROOT)/src/config.h \
527 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
528 $(EMACS_ROOT)/nt/inc/sys/file.h \
530 $(SRC)/blockinput.h \
536 $(SRC)/dispextern.h \
555 $(EMACS_ROOT)/src/s/ms-w32.h \
556 $(EMACS_ROOT)/src/m/intel386.h \
557 $(EMACS_ROOT)/src/config.h \
558 $(EMACS_ROOT)/nt/inc/sys/file.h \
564 $(BLD)/doprnt.$(O) : \
566 $(EMACS_ROOT)/src/s/ms-w32.h \
567 $(EMACS_ROOT)/src/m/intel386.h \
568 $(EMACS_ROOT)/src/config.h \
571 $(BLD)/editfns.$(O) : \
573 $(EMACS_ROOT)/src/s/ms-w32.h \
574 $(EMACS_ROOT)/src/m/intel386.h \
575 $(EMACS_ROOT)/src/config.h \
576 $(EMACS_ROOT)/nt/inc/pwd.h \
582 $(SRC)/dispextern.h \
590 $(BLD)/emacs.$(O) : \
592 $(EMACS_ROOT)/src/s/ms-w32.h \
593 $(EMACS_ROOT)/src/m/intel386.h \
594 $(EMACS_ROOT)/src/config.h \
595 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
596 $(EMACS_ROOT)/nt/inc/sys/file.h \
598 $(SRC)/blockinput.h \
602 $(SRC)/dispextern.h \
618 $(EMACS_ROOT)/src/s/ms-w32.h \
619 $(EMACS_ROOT)/src/m/intel386.h \
620 $(EMACS_ROOT)/src/config.h \
622 $(SRC)/blockinput.h \
624 $(SRC)/dispextern.h \
630 $(BLD)/fileio.$(O) : \
632 $(EMACS_ROOT)/src/s/ms-w32.h \
633 $(EMACS_ROOT)/src/m/intel386.h \
634 $(EMACS_ROOT)/src/config.h \
635 $(EMACS_ROOT)/nt/inc/pwd.h \
636 $(EMACS_ROOT)/nt/inc/sys/param.h \
637 $(EMACS_ROOT)/nt/inc/sys/file.h \
644 $(SRC)/dispextern.h \
651 $(BLD)/filelock.$(O) : \
653 $(EMACS_ROOT)/src/s/ms-w32.h \
654 $(EMACS_ROOT)/src/m/intel386.h \
655 $(EMACS_ROOT)/src/config.h \
656 $(EMACS_ROOT)/nt/inc/pwd.h \
657 $(EMACS_ROOT)/nt/inc/sys/file.h \
658 $(EMACS_ROOT)/src/epaths.h \
665 $(BLD)/filemode.$(O) : \
667 $(EMACS_ROOT)/src/s/ms-w32.h \
668 $(EMACS_ROOT)/src/m/intel386.h \
669 $(EMACS_ROOT)/src/config.h \
671 $(SRC)/m/intel386.h \
674 $(BLD)/firstfile.$(O) : \
676 $(EMACS_ROOT)/src/s/ms-w32.h \
677 $(EMACS_ROOT)/src/m/intel386.h \
678 $(EMACS_ROOT)/src/config.h
680 $(BLD)/floatfns.$(O) : \
682 $(EMACS_ROOT)/src/s/ms-w32.h \
683 $(EMACS_ROOT)/src/m/intel386.h \
684 $(EMACS_ROOT)/src/config.h \
689 $(EMACS_ROOT)/src/s/ms-w32.h \
690 $(EMACS_ROOT)/src/m/intel386.h \
691 $(EMACS_ROOT)/src/config.h \
692 $(EMACS_ROOT)/nt/inc/langinfo.h \
693 $(EMACS_ROOT)/nt/inc/nl_types.h \
695 $(SRC)/blockinput.h \
702 $(SRC)/dispextern.h \
714 $(BLD)/fontset.$(O) : \
716 $(EMACS_ROOT)/src/s/ms-w32.h \
717 $(EMACS_ROOT)/src/m/intel386.h \
718 $(EMACS_ROOT)/src/config.h \
722 $(SRC)/dispextern.h \
731 $(BLD)/frame.$(O) : \
733 $(EMACS_ROOT)/src/s/ms-w32.h \
734 $(EMACS_ROOT)/src/m/intel386.h \
735 $(EMACS_ROOT)/src/config.h \
737 $(SRC)/blockinput.h \
741 $(SRC)/dispextern.h \
753 $(BLD)/fringe.$(O) : \
755 $(EMACS_ROOT)/src/s/ms-w32.h \
756 $(EMACS_ROOT)/src/m/intel386.h \
757 $(EMACS_ROOT)/src/config.h \
759 $(SRC)/blockinput.h \
761 $(SRC)/dispextern.h \
768 $(BLD)/gmalloc.$(O) : \
770 $(EMACS_ROOT)/src/s/ms-w32.h \
771 $(EMACS_ROOT)/src/m/intel386.h \
772 $(EMACS_ROOT)/src/config.h \
773 $(EMACS_ROOT)/nt/inc/sys/param.h \
778 $(EMACS_ROOT)/src/s/ms-w32.h \
779 $(EMACS_ROOT)/src/m/intel386.h \
780 $(EMACS_ROOT)/src/config.h \
782 $(SRC)/blockinput.h \
783 $(SRC)/dispextern.h \
794 $(BLD)/indent.$(O) : \
796 $(EMACS_ROOT)/src/s/ms-w32.h \
797 $(EMACS_ROOT)/src/m/intel386.h \
798 $(EMACS_ROOT)/src/config.h \
803 $(SRC)/dispextern.h \
809 $(SRC)/region-cache.h \
816 $(BLD)/insdel.$(O) : \
818 $(EMACS_ROOT)/src/s/ms-w32.h \
819 $(EMACS_ROOT)/src/m/intel386.h \
820 $(EMACS_ROOT)/src/config.h \
822 $(SRC)/blockinput.h \
826 $(SRC)/dispextern.h \
828 $(SRC)/region-cache.h \
834 $(BLD)/intervals.$(O) : \
836 $(EMACS_ROOT)/src/s/ms-w32.h \
837 $(EMACS_ROOT)/src/m/intel386.h \
838 $(EMACS_ROOT)/src/config.h \
841 $(SRC)/dispextern.h \
849 $(BLD)/keyboard.$(O) : \
851 $(EMACS_ROOT)/src/s/ms-w32.h \
852 $(EMACS_ROOT)/src/m/intel386.h \
853 $(EMACS_ROOT)/src/config.h \
854 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
855 $(EMACS_ROOT)/nt/inc/sys/file.h \
857 $(SRC)/blockinput.h \
862 $(SRC)/dispextern.h \
882 $(BLD)/keymap.$(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 \
903 $(BLD)/lastfile.$(O) : \
905 $(EMACS_ROOT)/src/s/ms-w32.h \
906 $(EMACS_ROOT)/src/m/intel386.h \
907 $(EMACS_ROOT)/src/config.h
909 $(BLD)/lread.$(O) : \
911 $(EMACS_ROOT)/src/s/ms-w32.h \
912 $(EMACS_ROOT)/src/m/intel386.h \
913 $(EMACS_ROOT)/src/config.h \
914 $(EMACS_ROOT)/nt/inc/sys/file.h \
915 $(EMACS_ROOT)/src/epaths.h \
916 $(SRC)/blockinput.h \
923 $(SRC)/dispextern.h \
930 $(BLD)/macros.$(O) : \
932 $(EMACS_ROOT)/src/s/ms-w32.h \
933 $(EMACS_ROOT)/src/m/intel386.h \
934 $(EMACS_ROOT)/src/config.h \
937 $(SRC)/dispextern.h \
944 $(BLD)/marker.$(O) : \
946 $(EMACS_ROOT)/src/s/ms-w32.h \
947 $(EMACS_ROOT)/src/m/intel386.h \
948 $(EMACS_ROOT)/src/config.h \
956 $(BLD)/minibuf.$(O) : \
958 $(EMACS_ROOT)/src/s/ms-w32.h \
959 $(EMACS_ROOT)/src/m/intel386.h \
960 $(EMACS_ROOT)/src/config.h \
965 $(SRC)/dispextern.h \
978 $(EMACS_ROOT)/nt/inc/pwd.h \
980 $(SRC)/m/intel386.h \
987 $(BLD)/w32heap.$(O) : \
990 $(SRC)/m/intel386.h \
994 $(BLD)/w32inevt.$(O) : \
997 $(SRC)/m/intel386.h \
1000 $(SRC)/blockinput.h \
1004 $(SRC)/termhooks.h \
1010 $(BLD)/w32proc.$(O) : \
1013 $(SRC)/m/intel386.h \
1014 $(EMACS_ROOT)/nt/inc/langinfo.h \
1015 $(EMACS_ROOT)/nt/inc/nl_types.h \
1018 $(SRC)/syssignal.h \
1027 $(BLD)/w32console.$(O) : \
1028 $(SRC)/w32console.c \
1030 $(SRC)/m/intel386.h \
1035 $(SRC)/dispextern.h \
1038 $(SRC)/termhooks.h \
1043 $(BLD)/print.$(O) : \
1045 $(EMACS_ROOT)/src/s/ms-w32.h \
1046 $(EMACS_ROOT)/src/m/intel386.h \
1047 $(EMACS_ROOT)/src/config.h \
1050 $(SRC)/composite.h \
1051 $(SRC)/dispextern.h \
1053 $(SRC)/intervals.h \
1061 $(BLD)/process.$(O) : \
1063 $(EMACS_ROOT)/src/s/ms-w32.h \
1064 $(EMACS_ROOT)/src/m/intel386.h \
1065 $(EMACS_ROOT)/src/config.h \
1066 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1067 $(EMACS_ROOT)/nt/inc/sys/file.h \
1069 $(SRC)/blockinput.h \
1075 $(SRC)/composite.h \
1076 $(SRC)/dispextern.h \
1080 $(SRC)/sysselect.h \
1081 $(SRC)/syssignal.h \
1085 $(SRC)/termhooks.h \
1091 $(BLD)/ralloc.$(O) : \
1093 $(EMACS_ROOT)/src/s/ms-w32.h \
1094 $(EMACS_ROOT)/src/m/intel386.h \
1095 $(EMACS_ROOT)/src/config.h \
1096 $(EMACS_ROOT)/nt/inc/sys/param.h \
1098 $(SRC)/m/intel386.h \
1100 $(SRC)/getpagesize.h
1102 $(BLD)/regex.$(O) : \
1104 $(EMACS_ROOT)/src/s/ms-w32.h \
1105 $(EMACS_ROOT)/src/m/intel386.h \
1106 $(EMACS_ROOT)/src/config.h \
1108 $(SRC)/m/intel386.h \
1116 $(BLD)/region-cache.$(O) : \
1117 $(SRC)/region-cache.c \
1118 $(EMACS_ROOT)/src/s/ms-w32.h \
1119 $(EMACS_ROOT)/src/m/intel386.h \
1120 $(EMACS_ROOT)/src/config.h \
1122 $(SRC)/region-cache.h
1124 $(BLD)/scroll.$(O) : \
1126 $(EMACS_ROOT)/src/s/ms-w32.h \
1127 $(EMACS_ROOT)/src/m/intel386.h \
1128 $(EMACS_ROOT)/src/config.h \
1129 $(SRC)/dispextern.h \
1133 $(SRC)/termhooks.h \
1138 $(BLD)/search.$(O) : \
1140 $(EMACS_ROOT)/src/s/ms-w32.h \
1141 $(EMACS_ROOT)/src/m/intel386.h \
1142 $(EMACS_ROOT)/src/config.h \
1144 $(SRC)/blockinput.h \
1149 $(SRC)/composite.h \
1150 $(SRC)/dispextern.h \
1151 $(SRC)/intervals.h \
1153 $(SRC)/region-cache.h \
1159 $(BLD)/sound.$(O) : \
1162 $(SRC)/dispextern.h \
1166 $(BLD)/strftime.$(O) : \
1168 $(EMACS_ROOT)/src/s/ms-w32.h \
1169 $(EMACS_ROOT)/src/m/intel386.h \
1170 $(EMACS_ROOT)/src/config.h
1172 $(BLD)/syntax.$(O) : \
1174 $(EMACS_ROOT)/src/s/ms-w32.h \
1175 $(EMACS_ROOT)/src/m/intel386.h \
1176 $(EMACS_ROOT)/src/config.h \
1181 $(SRC)/composite.h \
1182 $(SRC)/dispextern.h \
1183 $(SRC)/intervals.h \
1189 $(BLD)/sysdep.$(O) : \
1191 $(EMACS_ROOT)/src/s/ms-w32.h \
1192 $(EMACS_ROOT)/src/m/intel386.h \
1193 $(EMACS_ROOT)/src/config.h \
1194 $(EMACS_ROOT)/nt/inc/sys/param.h \
1195 $(EMACS_ROOT)/nt/inc/sys/file.h \
1196 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1197 $(EMACS_ROOT)/nt/inc/sys/file.h \
1199 $(SRC)/blockinput.h \
1201 $(SRC)/dispextern.h \
1206 $(SRC)/sysselect.h \
1207 $(SRC)/syssignal.h \
1212 $(SRC)/termhooks.h \
1218 $(BLD)/term.$(O) : \
1220 $(EMACS_ROOT)/src/s/ms-w32.h \
1221 $(EMACS_ROOT)/src/m/intel386.h \
1222 $(EMACS_ROOT)/src/config.h \
1227 $(SRC)/dispextern.h \
1233 $(SRC)/termhooks.h \
1239 $(BLD)/termcap.$(O) : \
1241 $(EMACS_ROOT)/src/s/ms-w32.h \
1242 $(EMACS_ROOT)/src/m/intel386.h \
1243 $(EMACS_ROOT)/src/config.h \
1244 $(EMACS_ROOT)/nt/inc/sys/file.h
1246 $(BLD)/terminal.$(O) : \
1248 $(EMACS_ROOT)/src/s/ms-w32.h \
1249 $(EMACS_ROOT)/src/m/intel386.h \
1250 $(EMACS_ROOT)/src/config.h \
1258 $(BLD)/textprop.$(O) : \
1260 $(EMACS_ROOT)/src/s/ms-w32.h \
1261 $(EMACS_ROOT)/src/m/intel386.h \
1262 $(EMACS_ROOT)/src/config.h \
1264 $(SRC)/composite.h \
1265 $(SRC)/dispextern.h \
1266 $(SRC)/intervals.h \
1271 $(BLD)/tparam.$(O) : \
1273 $(EMACS_ROOT)/src/s/ms-w32.h \
1274 $(EMACS_ROOT)/src/m/intel386.h \
1275 $(EMACS_ROOT)/src/config.h
1277 $(BLD)/undo.$(O) : \
1279 $(EMACS_ROOT)/src/s/ms-w32.h \
1280 $(EMACS_ROOT)/src/m/intel386.h \
1281 $(EMACS_ROOT)/src/config.h \
1285 $(BLD)/unexw32.$(O) : \
1287 $(EMACS_ROOT)/src/s/ms-w32.h \
1288 $(EMACS_ROOT)/src/m/intel386.h \
1289 $(EMACS_ROOT)/src/config.h \
1292 $(BLD)/vm-limit.$(O) : \
1294 $(EMACS_ROOT)/src/s/ms-w32.h \
1295 $(EMACS_ROOT)/src/m/intel386.h \
1296 $(EMACS_ROOT)/src/config.h \
1299 $(BLD)/window.$(O) : \
1301 $(EMACS_ROOT)/src/s/ms-w32.h \
1302 $(EMACS_ROOT)/src/m/intel386.h \
1303 $(EMACS_ROOT)/src/config.h \
1305 $(SRC)/blockinput.h \
1308 $(SRC)/composite.h \
1309 $(SRC)/dispextern.h \
1313 $(SRC)/intervals.h \
1323 $(BLD)/xdisp.$(O) : \
1325 $(EMACS_ROOT)/src/s/ms-w32.h \
1326 $(EMACS_ROOT)/src/m/intel386.h \
1327 $(EMACS_ROOT)/src/config.h \
1329 $(SRC)/blockinput.h \
1335 $(SRC)/composite.h \
1336 $(SRC)/dispextern.h \
1341 $(SRC)/intervals.h \
1346 $(SRC)/region-cache.h \
1349 $(SRC)/termhooks.h \
1355 $(BLD)/xfaces.$(O): \
1357 $(EMACS_ROOT)/src/s/ms-w32.h \
1358 $(EMACS_ROOT)/src/m/intel386.h \
1359 $(EMACS_ROOT)/src/config.h \
1361 $(SRC)/blockinput.h \
1364 $(SRC)/composite.h \
1365 $(SRC)/dispextern.h \
1368 $(SRC)/intervals.h \
1372 $(SRC)/termhooks.h \
1378 $(BLD)/w32fns.$(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 \
1389 $(SRC)/composite.h \
1390 $(SRC)/dispextern.h \
1394 $(SRC)/intervals.h \
1397 $(SRC)/termhooks.h \
1404 $(BLD)/w32menu.$(O): \
1406 $(EMACS_ROOT)/src/s/ms-w32.h \
1407 $(EMACS_ROOT)/src/m/intel386.h \
1408 $(EMACS_ROOT)/src/config.h \
1410 $(SRC)/blockinput.h \
1414 $(SRC)/dispextern.h \
1419 $(SRC)/termhooks.h \
1425 $(BLD)/w32term.$(O): \
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 \
1442 $(SRC)/intervals.h \
1448 $(SRC)/termhooks.h \
1456 $(BLD)/w32select.$(O): \
1457 $(SRC)/w32select.c \
1458 $(EMACS_ROOT)/src/s/ms-w32.h \
1459 $(EMACS_ROOT)/src/m/intel386.h \
1460 $(EMACS_ROOT)/src/config.h \
1462 $(SRC)/blockinput.h \
1467 $(SRC)/composite.h \
1468 $(SRC)/dispextern.h \
1477 $(BLD)/w32reg.$(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 \
1489 $(BLD)/w32xfns.$(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 \
1505 $(BLD)/w32bdf.$(O): \
1507 $(EMACS_ROOT)/src/s/ms-w32.h \
1508 $(EMACS_ROOT)/src/m/intel386.h \
1509 $(EMACS_ROOT)/src/config.h \
1511 $(SRC)/blockinput.h \
1513 $(SRC)/dispextern.h \
1522 # Each object file depends on stamp_BLD, because in parallel builds we must
1523 # make sure $(BLD) exists before starting compilations.
1525 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD