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) \
121 $(BLD)/character.$(O) \
122 $(BLD)/chartab.$(O) \
124 $(BLD)/category.$(O) \
126 $(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) \
161 # Build the executable and dump it.
166 # The dumped executable
168 emacs: stamp_BLD $(EMACS)
169 $(EMACS): $(DOC) $(TEMACS)
170 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
171 -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
174 # The undumped executable
175 # Note the extra post-link step to insert a static preload heap section.
176 # If preload runs out of memory, increase the last argument to addsection
177 # (it is the preload heap size in MB).
179 temacs: stamp_BLD $(TEMACS)
180 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
181 ../nt/$(BLD)/addsection.exe
182 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
183 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 20
184 echo $(OBJ0) > $(BLD)/buildobj.lst
185 echo $(OBJ1) >> $(BLD)/buildobj.lst
186 echo $(WIN32OBJ) >> $(BLD)/buildobj.lst
187 echo $(FONTOBJ) >> $(BLD)/buildobj.lst
189 bootstrap: bootstrap-emacs
192 # Build a temacs with a sufficiently large PURESIZE to load the
193 # Lisp files from loadup.el in source form.
195 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
196 # this can break with GNU Make 3.81 and later if sh.exe is used.
198 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
201 # Dump an Emacs executable named bootstrap-emacs containing the
202 # files from loadup.el in source form.
204 bootstrap-emacs: bootstrap-temacs
205 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
207 $(CP) $(EMACS) ../bin
210 # Force recompile of files that depend on PURESIZE
213 - $(DEL) $(BLD)/alloc.$(O)
214 - $(DEL) $(BLD)/data.$(O)
215 - $(DEL) $(BLD)/intervals.$(O)
216 - $(DEL) $(BLD)/keyboard.$(O)
217 - $(DEL) $(BLD)/keymap.$(O)
220 # The resource file. NT 3.10 requires the use of cvtres; even though
221 # it is not necessary on later versions, it is still ok to use it.
223 $(TRES): ../nt/emacs.rc stamp_BLD
224 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
227 # Build the library. Split up the build into two phases...otherwise we
228 # run out of command line space.
232 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
235 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
236 $(TLIBW32): $(WIN32OBJ) $(FONTOBJ)
238 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
241 # Place lastfile.$(O) in its own library so that it can be loaded after
242 # the source libraries but before any system libraries. Doing so defines
243 # the end of Emacs' data section portably across compilers and systems.
245 $(TLASTLIB): $(BLD)/lastfile.$(O)
247 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
250 # Assuming INSTALL_DIR is defined, build and install emacs in it.
253 - mkdir "$(INSTALL_DIR)/bin"
254 $(CP) $(EMACS) $(INSTALL_DIR)/bin
260 - $(DEL) *~ "s/*~" "m/*~"
261 - $(DEL) $(COMPILER_TEMP_FILES)
262 - $(DEL_TREE) $(OBJDIR)
266 - $(DEL) config.h epaths.h
270 - $(DEL_TREE) obj-spd
279 $(BLD)/abbrev.$(O) : \
281 $(EMACS_ROOT)/src/s/ms-w32.h \
282 $(EMACS_ROOT)/src/m/intel386.h \
283 $(EMACS_ROOT)/src/config.h \
288 $(SRC)/dispextern.h \
294 $(BLD)/alloc.$(O) : \
296 $(EMACS_ROOT)/src/s/ms-w32.h \
297 $(EMACS_ROOT)/src/m/intel386.h \
298 $(EMACS_ROOT)/src/config.h \
299 $(SRC)/blockinput.h \
304 $(SRC)/dispextern.h \
315 $(BLD)/atimer.$(O) : \
317 $(EMACS_ROOT)/src/s/ms-w32.h \
318 $(EMACS_ROOT)/src/m/intel386.h \
319 $(EMACS_ROOT)/src/config.h \
321 $(SRC)/m/intel386.h \
324 $(SRC)/blockinput.h \
328 $(BLD)/buffer.$(O) : \
330 $(EMACS_ROOT)/nt/inc/sys/param.h \
331 $(EMACS_ROOT)/src/s/ms-w32.h \
332 $(EMACS_ROOT)/src/m/intel386.h \
333 $(EMACS_ROOT)/src/config.h \
334 $(SRC)/blockinput.h \
339 $(SRC)/dispextern.h \
345 $(SRC)/region-cache.h \
350 $(BLD)/bytecode.$(O) : \
352 $(EMACS_ROOT)/src/s/ms-w32.h \
353 $(EMACS_ROOT)/src/m/intel386.h \
354 $(EMACS_ROOT)/src/config.h \
360 $(BLD)/callint.$(O) : \
362 $(EMACS_ROOT)/src/s/ms-w32.h \
363 $(EMACS_ROOT)/src/m/intel386.h \
364 $(EMACS_ROOT)/src/config.h \
367 $(SRC)/dispextern.h \
374 $(BLD)/callproc.$(O) : \
376 $(EMACS_ROOT)/src/s/ms-w32.h \
377 $(EMACS_ROOT)/src/m/intel386.h \
378 $(EMACS_ROOT)/src/config.h \
379 $(EMACS_ROOT)/nt/inc/sys/param.h \
380 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
381 $(EMACS_ROOT)/nt/inc/sys/file.h \
395 $(BLD)/casefiddle.$(O) : \
396 $(SRC)/casefiddle.c \
397 $(EMACS_ROOT)/src/s/ms-w32.h \
398 $(EMACS_ROOT)/src/m/intel386.h \
399 $(EMACS_ROOT)/src/config.h \
408 $(BLD)/casetab.$(O) : \
410 $(EMACS_ROOT)/src/s/ms-w32.h \
411 $(EMACS_ROOT)/src/m/intel386.h \
412 $(EMACS_ROOT)/src/config.h \
416 $(BLD)/category.$(O) : \
418 $(EMACS_ROOT)/src/s/ms-w32.h \
419 $(EMACS_ROOT)/src/m/intel386.h \
420 $(EMACS_ROOT)/src/config.h \
429 $(EMACS_ROOT)/src/s/ms-w32.h \
430 $(EMACS_ROOT)/src/m/intel386.h \
431 $(EMACS_ROOT)/src/config.h \
437 $(BLD)/character.$(O) : \
439 $(EMACS_ROOT)/src/s/ms-w32.h \
440 $(EMACS_ROOT)/src/m/intel386.h \
441 $(EMACS_ROOT)/src/config.h \
449 $(BLD)/charset.$(O) : \
451 $(EMACS_ROOT)/src/s/ms-w32.h \
452 $(EMACS_ROOT)/src/m/intel386.h \
453 $(EMACS_ROOT)/src/config.h \
462 $(BLD)/chartab.$(O) : \
464 $(EMACS_ROOT)/src/s/ms-w32.h \
465 $(EMACS_ROOT)/src/m/intel386.h \
466 $(EMACS_ROOT)/src/config.h \
472 $(EMACS_ROOT)/src/s/ms-w32.h \
473 $(EMACS_ROOT)/src/m/intel386.h \
474 $(EMACS_ROOT)/src/config.h \
480 $(EMACS_ROOT)/src/s/ms-w32.h \
481 $(EMACS_ROOT)/src/m/intel386.h \
482 $(EMACS_ROOT)/src/config.h \
487 $(SRC)/dispextern.h \
495 $(BLD)/coding.$(O) : \
497 $(EMACS_ROOT)/src/s/ms-w32.h \
498 $(EMACS_ROOT)/src/m/intel386.h \
499 $(EMACS_ROOT)/src/config.h \
506 $(SRC)/dispextern.h \
512 $(BLD)/composite.$(O) : \
514 $(EMACS_ROOT)/src/s/ms-w32.h \
515 $(EMACS_ROOT)/src/m/intel386.h \
516 $(EMACS_ROOT)/src/config.h \
521 $(SRC)/dispextern.h \
528 $(EMACS_ROOT)/src/s/ms-w32.h \
529 $(EMACS_ROOT)/src/m/intel386.h \
530 $(EMACS_ROOT)/src/config.h \
539 $(BLD)/dired.$(O) : \
541 $(EMACS_ROOT)/src/s/ms-w32.h \
542 $(EMACS_ROOT)/src/m/intel386.h \
543 $(EMACS_ROOT)/src/config.h \
554 $(BLD)/dispnew.$(O) : \
556 $(EMACS_ROOT)/src/s/ms-w32.h \
557 $(EMACS_ROOT)/src/m/intel386.h \
558 $(EMACS_ROOT)/src/config.h \
559 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
560 $(EMACS_ROOT)/nt/inc/sys/file.h \
562 $(SRC)/blockinput.h \
569 $(SRC)/dispextern.h \
588 $(EMACS_ROOT)/src/s/ms-w32.h \
589 $(EMACS_ROOT)/src/m/intel386.h \
590 $(EMACS_ROOT)/src/config.h \
591 $(EMACS_ROOT)/nt/inc/sys/file.h \
598 $(BLD)/doprnt.$(O) : \
600 $(EMACS_ROOT)/src/s/ms-w32.h \
601 $(EMACS_ROOT)/src/m/intel386.h \
602 $(EMACS_ROOT)/src/config.h \
606 $(BLD)/editfns.$(O) : \
608 $(EMACS_ROOT)/src/s/ms-w32.h \
609 $(EMACS_ROOT)/src/m/intel386.h \
610 $(EMACS_ROOT)/src/config.h \
611 $(EMACS_ROOT)/nt/inc/pwd.h \
618 $(SRC)/dispextern.h \
626 $(BLD)/emacs.$(O) : \
628 $(EMACS_ROOT)/src/s/ms-w32.h \
629 $(EMACS_ROOT)/src/m/intel386.h \
630 $(EMACS_ROOT)/src/config.h \
631 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
632 $(EMACS_ROOT)/nt/inc/sys/file.h \
634 $(SRC)/blockinput.h \
638 $(SRC)/dispextern.h \
654 $(EMACS_ROOT)/src/s/ms-w32.h \
655 $(EMACS_ROOT)/src/m/intel386.h \
656 $(EMACS_ROOT)/src/config.h \
658 $(SRC)/blockinput.h \
660 $(SRC)/dispextern.h \
666 $(BLD)/fileio.$(O) : \
668 $(EMACS_ROOT)/src/s/ms-w32.h \
669 $(EMACS_ROOT)/src/m/intel386.h \
670 $(EMACS_ROOT)/src/config.h \
671 $(EMACS_ROOT)/nt/inc/pwd.h \
672 $(EMACS_ROOT)/nt/inc/sys/param.h \
673 $(EMACS_ROOT)/nt/inc/sys/file.h \
681 $(SRC)/dispextern.h \
688 $(BLD)/filelock.$(O) : \
690 $(EMACS_ROOT)/src/s/ms-w32.h \
691 $(EMACS_ROOT)/src/m/intel386.h \
692 $(EMACS_ROOT)/src/config.h \
693 $(EMACS_ROOT)/nt/inc/pwd.h \
694 $(EMACS_ROOT)/nt/inc/sys/file.h \
695 $(EMACS_ROOT)/src/epaths.h \
703 $(BLD)/filemode.$(O) : \
705 $(EMACS_ROOT)/src/s/ms-w32.h \
706 $(EMACS_ROOT)/src/m/intel386.h \
707 $(EMACS_ROOT)/src/config.h \
709 $(SRC)/m/intel386.h \
712 $(BLD)/firstfile.$(O) : \
714 $(EMACS_ROOT)/src/s/ms-w32.h \
715 $(EMACS_ROOT)/src/m/intel386.h \
716 $(EMACS_ROOT)/src/config.h
718 $(BLD)/floatfns.$(O) : \
720 $(EMACS_ROOT)/src/s/ms-w32.h \
721 $(EMACS_ROOT)/src/m/intel386.h \
722 $(EMACS_ROOT)/src/config.h \
727 $(EMACS_ROOT)/src/s/ms-w32.h \
728 $(EMACS_ROOT)/src/m/intel386.h \
729 $(EMACS_ROOT)/src/config.h \
730 $(EMACS_ROOT)/nt/inc/langinfo.h \
731 $(EMACS_ROOT)/nt/inc/nl_types.h \
733 $(SRC)/blockinput.h \
741 $(SRC)/dispextern.h \
754 $(EMACS_ROOT)/src/s/ms-w32.h \
755 $(EMACS_ROOT)/src/m/intel386.h \
756 $(EMACS_ROOT)/src/config.h \
757 $(SRC)/dispextern.h \
765 $(BLD)/fontset.$(O) : \
767 $(EMACS_ROOT)/src/s/ms-w32.h \
768 $(EMACS_ROOT)/src/m/intel386.h \
769 $(EMACS_ROOT)/src/config.h \
774 $(SRC)/dispextern.h \
783 $(BLD)/frame.$(O) : \
785 $(EMACS_ROOT)/src/s/ms-w32.h \
786 $(EMACS_ROOT)/src/m/intel386.h \
787 $(EMACS_ROOT)/src/config.h \
789 $(SRC)/blockinput.h \
794 $(SRC)/dispextern.h \
805 $(BLD)/fringe.$(O) : \
807 $(EMACS_ROOT)/src/s/ms-w32.h \
808 $(EMACS_ROOT)/src/m/intel386.h \
809 $(EMACS_ROOT)/src/config.h \
811 $(SRC)/blockinput.h \
813 $(SRC)/dispextern.h \
820 $(BLD)/gmalloc.$(O) : \
822 $(EMACS_ROOT)/src/s/ms-w32.h \
823 $(EMACS_ROOT)/src/m/intel386.h \
824 $(EMACS_ROOT)/src/config.h \
825 $(EMACS_ROOT)/nt/inc/sys/param.h \
830 $(EMACS_ROOT)/src/s/ms-w32.h \
831 $(EMACS_ROOT)/src/m/intel386.h \
832 $(EMACS_ROOT)/src/config.h \
834 $(SRC)/blockinput.h \
835 $(SRC)/dispextern.h \
846 $(BLD)/indent.$(O) : \
848 $(EMACS_ROOT)/src/s/ms-w32.h \
849 $(EMACS_ROOT)/src/m/intel386.h \
850 $(EMACS_ROOT)/src/config.h \
856 $(SRC)/dispextern.h \
862 $(SRC)/region-cache.h \
869 $(BLD)/insdel.$(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 \
882 $(SRC)/region-cache.h \
888 $(BLD)/intervals.$(O) : \
890 $(EMACS_ROOT)/src/s/ms-w32.h \
891 $(EMACS_ROOT)/src/m/intel386.h \
892 $(EMACS_ROOT)/src/config.h \
895 $(SRC)/dispextern.h \
903 $(BLD)/keyboard.$(O) : \
905 $(EMACS_ROOT)/src/s/ms-w32.h \
906 $(EMACS_ROOT)/src/m/intel386.h \
907 $(EMACS_ROOT)/src/config.h \
908 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
909 $(EMACS_ROOT)/nt/inc/sys/file.h \
911 $(SRC)/blockinput.h \
917 $(SRC)/dispextern.h \
937 $(BLD)/keymap.$(O) : \
939 $(EMACS_ROOT)/src/s/ms-w32.h \
940 $(EMACS_ROOT)/src/m/intel386.h \
941 $(EMACS_ROOT)/src/config.h \
943 $(SRC)/blockinput.h \
949 $(SRC)/dispextern.h \
959 $(BLD)/lastfile.$(O) : \
961 $(EMACS_ROOT)/src/s/ms-w32.h \
962 $(EMACS_ROOT)/src/m/intel386.h \
963 $(EMACS_ROOT)/src/config.h
965 $(BLD)/lread.$(O) : \
967 $(EMACS_ROOT)/src/s/ms-w32.h \
968 $(EMACS_ROOT)/src/m/intel386.h \
969 $(EMACS_ROOT)/src/config.h \
970 $(EMACS_ROOT)/nt/inc/sys/file.h \
971 $(EMACS_ROOT)/src/epaths.h \
979 $(SRC)/dispextern.h \
986 $(BLD)/macros.$(O) : \
988 $(EMACS_ROOT)/src/s/ms-w32.h \
989 $(EMACS_ROOT)/src/m/intel386.h \
990 $(EMACS_ROOT)/src/config.h \
993 $(SRC)/dispextern.h \
1000 $(BLD)/marker.$(O) : \
1002 $(EMACS_ROOT)/src/s/ms-w32.h \
1003 $(EMACS_ROOT)/src/m/intel386.h \
1004 $(EMACS_ROOT)/src/config.h \
1006 $(SRC)/character.h \
1013 $(BLD)/minibuf.$(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 \
1022 $(SRC)/composite.h \
1023 $(SRC)/dispextern.h \
1025 $(SRC)/intervals.h \
1035 $(EMACS_ROOT)/nt/inc/pwd.h \
1037 $(SRC)/m/intel386.h \
1044 $(BLD)/w32heap.$(O) : \
1047 $(SRC)/m/intel386.h \
1051 $(BLD)/w32inevt.$(O) : \
1054 $(SRC)/m/intel386.h \
1057 $(SRC)/blockinput.h \
1061 $(SRC)/termhooks.h \
1067 $(BLD)/w32proc.$(O) : \
1070 $(SRC)/m/intel386.h \
1071 $(EMACS_ROOT)/nt/inc/langinfo.h \
1072 $(EMACS_ROOT)/nt/inc/nl_types.h \
1075 $(SRC)/syssignal.h \
1084 $(BLD)/w32console.$(O) : \
1085 $(SRC)/w32console.c \
1087 $(SRC)/m/intel386.h \
1089 $(SRC)/character.h \
1093 $(SRC)/dispextern.h \
1096 $(SRC)/termhooks.h \
1101 $(BLD)/print.$(O) : \
1103 $(EMACS_ROOT)/src/s/ms-w32.h \
1104 $(EMACS_ROOT)/src/m/intel386.h \
1105 $(EMACS_ROOT)/src/config.h \
1107 $(SRC)/character.h \
1109 $(SRC)/composite.h \
1110 $(SRC)/dispextern.h \
1112 $(SRC)/intervals.h \
1120 $(BLD)/process.$(O) : \
1122 $(EMACS_ROOT)/src/s/ms-w32.h \
1123 $(EMACS_ROOT)/src/m/intel386.h \
1124 $(EMACS_ROOT)/src/config.h \
1125 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1126 $(EMACS_ROOT)/nt/inc/sys/file.h \
1128 $(SRC)/blockinput.h \
1131 $(SRC)/character.h \
1135 $(SRC)/composite.h \
1136 $(SRC)/dispextern.h \
1140 $(SRC)/sysselect.h \
1141 $(SRC)/syssignal.h \
1145 $(SRC)/termhooks.h \
1151 $(BLD)/ralloc.$(O) : \
1153 $(EMACS_ROOT)/src/s/ms-w32.h \
1154 $(EMACS_ROOT)/src/m/intel386.h \
1155 $(EMACS_ROOT)/src/config.h \
1156 $(EMACS_ROOT)/nt/inc/sys/param.h \
1158 $(SRC)/m/intel386.h \
1160 $(SRC)/getpagesize.h
1162 $(BLD)/regex.$(O) : \
1164 $(EMACS_ROOT)/src/s/ms-w32.h \
1165 $(EMACS_ROOT)/src/m/intel386.h \
1166 $(EMACS_ROOT)/src/config.h \
1168 $(SRC)/m/intel386.h \
1171 $(SRC)/character.h \
1177 $(BLD)/region-cache.$(O) : \
1178 $(SRC)/region-cache.c \
1179 $(EMACS_ROOT)/src/s/ms-w32.h \
1180 $(EMACS_ROOT)/src/m/intel386.h \
1181 $(EMACS_ROOT)/src/config.h \
1183 $(SRC)/region-cache.h
1185 $(BLD)/scroll.$(O) : \
1187 $(EMACS_ROOT)/src/s/ms-w32.h \
1188 $(EMACS_ROOT)/src/m/intel386.h \
1189 $(EMACS_ROOT)/src/config.h \
1190 $(SRC)/dispextern.h \
1198 $(BLD)/search.$(O) : \
1200 $(EMACS_ROOT)/src/s/ms-w32.h \
1201 $(EMACS_ROOT)/src/m/intel386.h \
1202 $(EMACS_ROOT)/src/config.h \
1204 $(SRC)/blockinput.h \
1207 $(SRC)/character.h \
1210 $(SRC)/composite.h \
1211 $(SRC)/dispextern.h \
1212 $(SRC)/intervals.h \
1214 $(SRC)/region-cache.h \
1220 $(BLD)/sound.$(O) : \
1223 $(SRC)/dispextern.h \
1227 $(BLD)/strftime.$(O) : \
1229 $(EMACS_ROOT)/src/s/ms-w32.h \
1230 $(EMACS_ROOT)/src/m/intel386.h \
1231 $(EMACS_ROOT)/src/config.h
1233 $(BLD)/syntax.$(O) : \
1235 $(EMACS_ROOT)/src/s/ms-w32.h \
1236 $(EMACS_ROOT)/src/m/intel386.h \
1237 $(EMACS_ROOT)/src/config.h \
1240 $(SRC)/character.h \
1243 $(SRC)/composite.h \
1244 $(SRC)/dispextern.h \
1245 $(SRC)/intervals.h \
1251 $(BLD)/sysdep.$(O) : \
1253 $(EMACS_ROOT)/src/s/ms-w32.h \
1254 $(EMACS_ROOT)/src/m/intel386.h \
1255 $(EMACS_ROOT)/src/config.h \
1256 $(EMACS_ROOT)/nt/inc/sys/param.h \
1257 $(EMACS_ROOT)/nt/inc/sys/file.h \
1258 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1259 $(EMACS_ROOT)/nt/inc/sys/file.h \
1261 $(SRC)/blockinput.h \
1262 $(SRC)/dispextern.h \
1267 $(SRC)/sysselect.h \
1268 $(SRC)/syssignal.h \
1273 $(SRC)/termhooks.h \
1279 $(BLD)/term.$(O) : \
1281 $(EMACS_ROOT)/src/s/ms-w32.h \
1282 $(EMACS_ROOT)/src/m/intel386.h \
1283 $(EMACS_ROOT)/src/config.h \
1285 $(SRC)/character.h \
1289 $(SRC)/dispextern.h \
1295 $(SRC)/termhooks.h \
1301 $(BLD)/termcap.$(O) : \
1303 $(EMACS_ROOT)/src/s/ms-w32.h \
1304 $(EMACS_ROOT)/src/m/intel386.h \
1305 $(EMACS_ROOT)/src/config.h \
1306 $(EMACS_ROOT)/nt/inc/sys/file.h
1308 $(BLD)/textprop.$(O) : \
1310 $(EMACS_ROOT)/src/s/ms-w32.h \
1311 $(EMACS_ROOT)/src/m/intel386.h \
1312 $(EMACS_ROOT)/src/config.h \
1314 $(SRC)/composite.h \
1315 $(SRC)/dispextern.h \
1316 $(SRC)/intervals.h \
1321 $(BLD)/tparam.$(O) : \
1323 $(EMACS_ROOT)/src/s/ms-w32.h \
1324 $(EMACS_ROOT)/src/m/intel386.h \
1325 $(EMACS_ROOT)/src/config.h
1327 $(BLD)/undo.$(O) : \
1329 $(EMACS_ROOT)/src/s/ms-w32.h \
1330 $(EMACS_ROOT)/src/m/intel386.h \
1331 $(EMACS_ROOT)/src/config.h \
1335 $(BLD)/unexw32.$(O) : \
1337 $(EMACS_ROOT)/src/s/ms-w32.h \
1338 $(EMACS_ROOT)/src/m/intel386.h \
1339 $(EMACS_ROOT)/src/config.h \
1342 $(BLD)/vm-limit.$(O) : \
1344 $(EMACS_ROOT)/src/s/ms-w32.h \
1345 $(EMACS_ROOT)/src/m/intel386.h \
1346 $(EMACS_ROOT)/src/config.h \
1349 $(BLD)/window.$(O) : \
1351 $(EMACS_ROOT)/src/s/ms-w32.h \
1352 $(EMACS_ROOT)/src/m/intel386.h \
1353 $(EMACS_ROOT)/src/config.h \
1355 $(SRC)/blockinput.h \
1358 $(SRC)/composite.h \
1359 $(SRC)/dispextern.h \
1363 $(SRC)/intervals.h \
1373 $(BLD)/xdisp.$(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 \
1382 $(SRC)/character.h \
1386 $(SRC)/composite.h \
1387 $(SRC)/dispextern.h \
1393 $(SRC)/intervals.h \
1398 $(SRC)/region-cache.h \
1401 $(SRC)/termhooks.h \
1407 $(BLD)/xfaces.$(O): \
1409 $(EMACS_ROOT)/src/s/ms-w32.h \
1410 $(EMACS_ROOT)/src/m/intel386.h \
1411 $(EMACS_ROOT)/src/config.h \
1413 $(SRC)/blockinput.h \
1415 $(SRC)/character.h \
1417 $(SRC)/composite.h \
1418 $(SRC)/dispextern.h \
1422 $(SRC)/intervals.h \
1430 $(BLD)/w32fns.$(O): \
1432 $(EMACS_ROOT)/src/s/ms-w32.h \
1433 $(EMACS_ROOT)/src/m/intel386.h \
1434 $(EMACS_ROOT)/src/config.h \
1436 $(SRC)/blockinput.h \
1439 $(SRC)/character.h \
1442 $(SRC)/composite.h \
1443 $(SRC)/dispextern.h \
1448 $(SRC)/intervals.h \
1451 $(SRC)/termhooks.h \
1458 $(BLD)/w32menu.$(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 \
1466 $(SRC)/character.h \
1469 $(SRC)/dispextern.h \
1474 $(SRC)/termhooks.h \
1480 $(BLD)/w32term.$(O): \
1482 $(EMACS_ROOT)/src/s/ms-w32.h \
1483 $(EMACS_ROOT)/src/m/intel386.h \
1484 $(EMACS_ROOT)/src/config.h \
1486 $(SRC)/blockinput.h \
1489 $(SRC)/character.h \
1492 $(SRC)/composite.h \
1493 $(SRC)/dispextern.h \
1499 $(SRC)/intervals.h \
1505 $(SRC)/termhooks.h \
1513 $(BLD)/w32select.$(O): \
1514 $(SRC)/w32select.c \
1515 $(EMACS_ROOT)/src/s/ms-w32.h \
1516 $(EMACS_ROOT)/src/m/intel386.h \
1517 $(EMACS_ROOT)/src/config.h \
1519 $(SRC)/blockinput.h \
1522 $(SRC)/character.h \
1525 $(SRC)/composite.h \
1526 $(SRC)/dispextern.h \
1535 $(BLD)/w32reg.$(O): \
1537 $(EMACS_ROOT)/src/s/ms-w32.h \
1538 $(EMACS_ROOT)/src/m/intel386.h \
1539 $(EMACS_ROOT)/src/config.h \
1541 $(SRC)/blockinput.h \
1547 $(BLD)/w32xfns.$(O): \
1549 $(EMACS_ROOT)/src/s/ms-w32.h \
1550 $(EMACS_ROOT)/src/m/intel386.h \
1551 $(EMACS_ROOT)/src/config.h \
1553 $(SRC)/blockinput.h \
1554 $(SRC)/character.h \
1564 $(BLD)/w32bdf.$(O): \
1566 $(EMACS_ROOT)/src/s/ms-w32.h \
1567 $(EMACS_ROOT)/src/m/intel386.h \
1568 $(EMACS_ROOT)/src/config.h \
1570 $(SRC)/blockinput.h \
1571 $(SRC)/character.h \
1573 $(SRC)/dispextern.h \
1582 $(BLD)/w32font$(O): \
1584 $(EMACS_ROOT)/src/s/ms-w32.h \
1585 $(EMACS_ROOT)/src/m/intel386.h \
1586 $(EMACS_ROOT)/src/config.h \
1587 $(SRC)/character.h \
1589 $(SRC)/dispextern.h \
1596 # Each object file depends on stamp_BLD, because in parallel builds we must
1597 # make sure $(BLD) exists before starting compilations.
1599 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD