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) \
162 # Build the executable and dump it.
167 # The dumped executable
169 emacs: stamp_BLD $(EMACS)
170 $(EMACS): $(DOC) $(TEMACS)
171 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
172 -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
175 # The undumped executable
176 # Note the extra post-link step to insert a static preload heap section.
177 # If preload runs out of memory, increase the last argument to addsection
178 # (it is the preload heap size in MB).
180 temacs: stamp_BLD $(TEMACS)
181 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
182 ../nt/$(BLD)/addsection.exe
183 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
184 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 20
185 echo $(OBJ0) > $(BLD)/buildobj.lst
186 echo $(OBJ1) >> $(BLD)/buildobj.lst
187 echo $(WIN32OBJ) >> $(BLD)/buildobj.lst
188 echo $(FONTOBJ) >> $(BLD)/buildobj.lst
190 bootstrap: bootstrap-emacs
193 # Build a temacs with a sufficiently large PURESIZE to load the
194 # Lisp files from loadup.el in source form.
196 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
197 # this can break with GNU Make 3.81 and later if sh.exe is used.
199 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
202 # Dump an Emacs executable named bootstrap-emacs containing the
203 # files from loadup.el in source form.
205 bootstrap-emacs: bootstrap-temacs
206 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
208 $(CP) $(EMACS) ../bin
211 # Force recompile of files that depend on PURESIZE
214 - $(DEL) $(BLD)/alloc.$(O)
215 - $(DEL) $(BLD)/data.$(O)
216 - $(DEL) $(BLD)/intervals.$(O)
217 - $(DEL) $(BLD)/keyboard.$(O)
218 - $(DEL) $(BLD)/keymap.$(O)
221 # The resource file. NT 3.10 requires the use of cvtres; even though
222 # it is not necessary on later versions, it is still ok to use it.
224 $(TRES): ../nt/emacs.rc stamp_BLD
225 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
228 # Build the library. Split up the build into two phases...otherwise we
229 # run out of command line space.
233 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
236 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
237 $(TLIBW32): $(WIN32OBJ) $(FONTOBJ)
239 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
242 # Place lastfile.$(O) in its own library so that it can be loaded after
243 # the source libraries but before any system libraries. Doing so defines
244 # the end of Emacs' data section portably across compilers and systems.
246 $(TLASTLIB): $(BLD)/lastfile.$(O)
248 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
251 # Assuming INSTALL_DIR is defined, build and install emacs in it.
254 - mkdir "$(INSTALL_DIR)/bin"
255 $(CP) $(EMACS) $(INSTALL_DIR)/bin
261 - $(DEL) *~ "s/*~" "m/*~"
262 - $(DEL) $(COMPILER_TEMP_FILES)
263 - $(DEL_TREE) $(OBJDIR)
267 - $(DEL) config.h epaths.h
271 - $(DEL_TREE) obj-spd
280 $(BLD)/abbrev.$(O) : \
282 $(EMACS_ROOT)/src/s/ms-w32.h \
283 $(EMACS_ROOT)/src/m/intel386.h \
284 $(EMACS_ROOT)/src/config.h \
289 $(SRC)/dispextern.h \
295 $(BLD)/alloc.$(O) : \
297 $(EMACS_ROOT)/src/s/ms-w32.h \
298 $(EMACS_ROOT)/src/m/intel386.h \
299 $(EMACS_ROOT)/src/config.h \
300 $(SRC)/blockinput.h \
305 $(SRC)/dispextern.h \
316 $(BLD)/atimer.$(O) : \
318 $(EMACS_ROOT)/src/s/ms-w32.h \
319 $(EMACS_ROOT)/src/m/intel386.h \
320 $(EMACS_ROOT)/src/config.h \
322 $(SRC)/m/intel386.h \
325 $(SRC)/blockinput.h \
329 $(BLD)/buffer.$(O) : \
331 $(EMACS_ROOT)/nt/inc/sys/param.h \
332 $(EMACS_ROOT)/src/s/ms-w32.h \
333 $(EMACS_ROOT)/src/m/intel386.h \
334 $(EMACS_ROOT)/src/config.h \
335 $(SRC)/blockinput.h \
340 $(SRC)/dispextern.h \
346 $(SRC)/region-cache.h \
351 $(BLD)/bytecode.$(O) : \
353 $(EMACS_ROOT)/src/s/ms-w32.h \
354 $(EMACS_ROOT)/src/m/intel386.h \
355 $(EMACS_ROOT)/src/config.h \
361 $(BLD)/callint.$(O) : \
363 $(EMACS_ROOT)/src/s/ms-w32.h \
364 $(EMACS_ROOT)/src/m/intel386.h \
365 $(EMACS_ROOT)/src/config.h \
368 $(SRC)/dispextern.h \
375 $(BLD)/callproc.$(O) : \
377 $(EMACS_ROOT)/src/s/ms-w32.h \
378 $(EMACS_ROOT)/src/m/intel386.h \
379 $(EMACS_ROOT)/src/config.h \
380 $(EMACS_ROOT)/nt/inc/sys/param.h \
381 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
382 $(EMACS_ROOT)/nt/inc/sys/file.h \
396 $(BLD)/casefiddle.$(O) : \
397 $(SRC)/casefiddle.c \
398 $(EMACS_ROOT)/src/s/ms-w32.h \
399 $(EMACS_ROOT)/src/m/intel386.h \
400 $(EMACS_ROOT)/src/config.h \
409 $(BLD)/casetab.$(O) : \
411 $(EMACS_ROOT)/src/s/ms-w32.h \
412 $(EMACS_ROOT)/src/m/intel386.h \
413 $(EMACS_ROOT)/src/config.h \
417 $(BLD)/category.$(O) : \
419 $(EMACS_ROOT)/src/s/ms-w32.h \
420 $(EMACS_ROOT)/src/m/intel386.h \
421 $(EMACS_ROOT)/src/config.h \
430 $(EMACS_ROOT)/src/s/ms-w32.h \
431 $(EMACS_ROOT)/src/m/intel386.h \
432 $(EMACS_ROOT)/src/config.h \
438 $(BLD)/character.$(O) : \
440 $(EMACS_ROOT)/src/s/ms-w32.h \
441 $(EMACS_ROOT)/src/m/intel386.h \
442 $(EMACS_ROOT)/src/config.h \
450 $(BLD)/charset.$(O) : \
452 $(EMACS_ROOT)/src/s/ms-w32.h \
453 $(EMACS_ROOT)/src/m/intel386.h \
454 $(EMACS_ROOT)/src/config.h \
463 $(BLD)/chartab.$(O) : \
465 $(EMACS_ROOT)/src/s/ms-w32.h \
466 $(EMACS_ROOT)/src/m/intel386.h \
467 $(EMACS_ROOT)/src/config.h \
473 $(EMACS_ROOT)/src/s/ms-w32.h \
474 $(EMACS_ROOT)/src/m/intel386.h \
475 $(EMACS_ROOT)/src/config.h \
481 $(EMACS_ROOT)/src/s/ms-w32.h \
482 $(EMACS_ROOT)/src/m/intel386.h \
483 $(EMACS_ROOT)/src/config.h \
488 $(SRC)/dispextern.h \
496 $(BLD)/coding.$(O) : \
498 $(EMACS_ROOT)/src/s/ms-w32.h \
499 $(EMACS_ROOT)/src/m/intel386.h \
500 $(EMACS_ROOT)/src/config.h \
507 $(SRC)/dispextern.h \
513 $(BLD)/composite.$(O) : \
515 $(EMACS_ROOT)/src/s/ms-w32.h \
516 $(EMACS_ROOT)/src/m/intel386.h \
517 $(EMACS_ROOT)/src/config.h \
522 $(SRC)/dispextern.h \
529 $(EMACS_ROOT)/src/s/ms-w32.h \
530 $(EMACS_ROOT)/src/m/intel386.h \
531 $(EMACS_ROOT)/src/config.h \
540 $(BLD)/dired.$(O) : \
542 $(EMACS_ROOT)/src/s/ms-w32.h \
543 $(EMACS_ROOT)/src/m/intel386.h \
544 $(EMACS_ROOT)/src/config.h \
555 $(BLD)/dispnew.$(O) : \
557 $(EMACS_ROOT)/src/s/ms-w32.h \
558 $(EMACS_ROOT)/src/m/intel386.h \
559 $(EMACS_ROOT)/src/config.h \
560 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
561 $(EMACS_ROOT)/nt/inc/sys/file.h \
563 $(SRC)/blockinput.h \
570 $(SRC)/dispextern.h \
589 $(EMACS_ROOT)/src/s/ms-w32.h \
590 $(EMACS_ROOT)/src/m/intel386.h \
591 $(EMACS_ROOT)/src/config.h \
592 $(EMACS_ROOT)/nt/inc/sys/file.h \
599 $(BLD)/doprnt.$(O) : \
601 $(EMACS_ROOT)/src/s/ms-w32.h \
602 $(EMACS_ROOT)/src/m/intel386.h \
603 $(EMACS_ROOT)/src/config.h \
607 $(BLD)/editfns.$(O) : \
609 $(EMACS_ROOT)/src/s/ms-w32.h \
610 $(EMACS_ROOT)/src/m/intel386.h \
611 $(EMACS_ROOT)/src/config.h \
612 $(EMACS_ROOT)/nt/inc/pwd.h \
619 $(SRC)/dispextern.h \
627 $(BLD)/emacs.$(O) : \
629 $(EMACS_ROOT)/src/s/ms-w32.h \
630 $(EMACS_ROOT)/src/m/intel386.h \
631 $(EMACS_ROOT)/src/config.h \
632 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
633 $(EMACS_ROOT)/nt/inc/sys/file.h \
635 $(SRC)/blockinput.h \
639 $(SRC)/dispextern.h \
655 $(EMACS_ROOT)/src/s/ms-w32.h \
656 $(EMACS_ROOT)/src/m/intel386.h \
657 $(EMACS_ROOT)/src/config.h \
659 $(SRC)/blockinput.h \
661 $(SRC)/dispextern.h \
667 $(BLD)/fileio.$(O) : \
669 $(EMACS_ROOT)/src/s/ms-w32.h \
670 $(EMACS_ROOT)/src/m/intel386.h \
671 $(EMACS_ROOT)/src/config.h \
672 $(EMACS_ROOT)/nt/inc/pwd.h \
673 $(EMACS_ROOT)/nt/inc/sys/param.h \
674 $(EMACS_ROOT)/nt/inc/sys/file.h \
682 $(SRC)/dispextern.h \
689 $(BLD)/filelock.$(O) : \
691 $(EMACS_ROOT)/src/s/ms-w32.h \
692 $(EMACS_ROOT)/src/m/intel386.h \
693 $(EMACS_ROOT)/src/config.h \
694 $(EMACS_ROOT)/nt/inc/pwd.h \
695 $(EMACS_ROOT)/nt/inc/sys/file.h \
696 $(EMACS_ROOT)/src/epaths.h \
704 $(BLD)/filemode.$(O) : \
706 $(EMACS_ROOT)/src/s/ms-w32.h \
707 $(EMACS_ROOT)/src/m/intel386.h \
708 $(EMACS_ROOT)/src/config.h \
710 $(SRC)/m/intel386.h \
713 $(BLD)/firstfile.$(O) : \
715 $(EMACS_ROOT)/src/s/ms-w32.h \
716 $(EMACS_ROOT)/src/m/intel386.h \
717 $(EMACS_ROOT)/src/config.h
719 $(BLD)/floatfns.$(O) : \
721 $(EMACS_ROOT)/src/s/ms-w32.h \
722 $(EMACS_ROOT)/src/m/intel386.h \
723 $(EMACS_ROOT)/src/config.h \
728 $(EMACS_ROOT)/src/s/ms-w32.h \
729 $(EMACS_ROOT)/src/m/intel386.h \
730 $(EMACS_ROOT)/src/config.h \
731 $(EMACS_ROOT)/nt/inc/langinfo.h \
732 $(EMACS_ROOT)/nt/inc/nl_types.h \
734 $(SRC)/blockinput.h \
742 $(SRC)/dispextern.h \
755 $(EMACS_ROOT)/src/s/ms-w32.h \
756 $(EMACS_ROOT)/src/m/intel386.h \
757 $(EMACS_ROOT)/src/config.h \
758 $(SRC)/dispextern.h \
766 $(BLD)/fontset.$(O) : \
768 $(EMACS_ROOT)/src/s/ms-w32.h \
769 $(EMACS_ROOT)/src/m/intel386.h \
770 $(EMACS_ROOT)/src/config.h \
775 $(SRC)/dispextern.h \
784 $(BLD)/frame.$(O) : \
786 $(EMACS_ROOT)/src/s/ms-w32.h \
787 $(EMACS_ROOT)/src/m/intel386.h \
788 $(EMACS_ROOT)/src/config.h \
790 $(SRC)/blockinput.h \
795 $(SRC)/dispextern.h \
806 $(BLD)/fringe.$(O) : \
808 $(EMACS_ROOT)/src/s/ms-w32.h \
809 $(EMACS_ROOT)/src/m/intel386.h \
810 $(EMACS_ROOT)/src/config.h \
812 $(SRC)/blockinput.h \
814 $(SRC)/dispextern.h \
821 $(BLD)/gmalloc.$(O) : \
823 $(EMACS_ROOT)/src/s/ms-w32.h \
824 $(EMACS_ROOT)/src/m/intel386.h \
825 $(EMACS_ROOT)/src/config.h \
826 $(EMACS_ROOT)/nt/inc/sys/param.h \
831 $(EMACS_ROOT)/src/s/ms-w32.h \
832 $(EMACS_ROOT)/src/m/intel386.h \
833 $(EMACS_ROOT)/src/config.h \
835 $(SRC)/blockinput.h \
836 $(SRC)/dispextern.h \
847 $(BLD)/indent.$(O) : \
849 $(EMACS_ROOT)/src/s/ms-w32.h \
850 $(EMACS_ROOT)/src/m/intel386.h \
851 $(EMACS_ROOT)/src/config.h \
857 $(SRC)/dispextern.h \
863 $(SRC)/region-cache.h \
870 $(BLD)/insdel.$(O) : \
872 $(EMACS_ROOT)/src/s/ms-w32.h \
873 $(EMACS_ROOT)/src/m/intel386.h \
874 $(EMACS_ROOT)/src/config.h \
876 $(SRC)/blockinput.h \
881 $(SRC)/dispextern.h \
883 $(SRC)/region-cache.h \
889 $(BLD)/intervals.$(O) : \
891 $(EMACS_ROOT)/src/s/ms-w32.h \
892 $(EMACS_ROOT)/src/m/intel386.h \
893 $(EMACS_ROOT)/src/config.h \
896 $(SRC)/dispextern.h \
904 $(BLD)/keyboard.$(O) : \
906 $(EMACS_ROOT)/src/s/ms-w32.h \
907 $(EMACS_ROOT)/src/m/intel386.h \
908 $(EMACS_ROOT)/src/config.h \
909 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
910 $(EMACS_ROOT)/nt/inc/sys/file.h \
912 $(SRC)/blockinput.h \
918 $(SRC)/dispextern.h \
938 $(BLD)/keymap.$(O) : \
940 $(EMACS_ROOT)/src/s/ms-w32.h \
941 $(EMACS_ROOT)/src/m/intel386.h \
942 $(EMACS_ROOT)/src/config.h \
944 $(SRC)/blockinput.h \
950 $(SRC)/dispextern.h \
960 $(BLD)/lastfile.$(O) : \
962 $(EMACS_ROOT)/src/s/ms-w32.h \
963 $(EMACS_ROOT)/src/m/intel386.h \
964 $(EMACS_ROOT)/src/config.h
966 $(BLD)/lread.$(O) : \
968 $(EMACS_ROOT)/src/s/ms-w32.h \
969 $(EMACS_ROOT)/src/m/intel386.h \
970 $(EMACS_ROOT)/src/config.h \
971 $(EMACS_ROOT)/nt/inc/sys/file.h \
972 $(EMACS_ROOT)/src/epaths.h \
980 $(SRC)/dispextern.h \
987 $(BLD)/macros.$(O) : \
989 $(EMACS_ROOT)/src/s/ms-w32.h \
990 $(EMACS_ROOT)/src/m/intel386.h \
991 $(EMACS_ROOT)/src/config.h \
994 $(SRC)/dispextern.h \
1001 $(BLD)/marker.$(O) : \
1003 $(EMACS_ROOT)/src/s/ms-w32.h \
1004 $(EMACS_ROOT)/src/m/intel386.h \
1005 $(EMACS_ROOT)/src/config.h \
1007 $(SRC)/character.h \
1014 $(BLD)/minibuf.$(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 \
1023 $(SRC)/composite.h \
1024 $(SRC)/dispextern.h \
1026 $(SRC)/intervals.h \
1036 $(EMACS_ROOT)/nt/inc/pwd.h \
1038 $(SRC)/m/intel386.h \
1045 $(BLD)/w32heap.$(O) : \
1048 $(SRC)/m/intel386.h \
1052 $(BLD)/w32inevt.$(O) : \
1055 $(SRC)/m/intel386.h \
1058 $(SRC)/blockinput.h \
1062 $(SRC)/termhooks.h \
1068 $(BLD)/w32proc.$(O) : \
1071 $(SRC)/m/intel386.h \
1072 $(EMACS_ROOT)/nt/inc/langinfo.h \
1073 $(EMACS_ROOT)/nt/inc/nl_types.h \
1075 $(SRC)/character.h \
1077 $(SRC)/syssignal.h \
1086 $(BLD)/w32console.$(O) : \
1087 $(SRC)/w32console.c \
1089 $(SRC)/m/intel386.h \
1091 $(SRC)/character.h \
1095 $(SRC)/dispextern.h \
1098 $(SRC)/termhooks.h \
1103 $(BLD)/print.$(O) : \
1105 $(EMACS_ROOT)/src/s/ms-w32.h \
1106 $(EMACS_ROOT)/src/m/intel386.h \
1107 $(EMACS_ROOT)/src/config.h \
1109 $(SRC)/character.h \
1111 $(SRC)/composite.h \
1112 $(SRC)/dispextern.h \
1114 $(SRC)/intervals.h \
1122 $(BLD)/process.$(O) : \
1124 $(EMACS_ROOT)/src/s/ms-w32.h \
1125 $(EMACS_ROOT)/src/m/intel386.h \
1126 $(EMACS_ROOT)/src/config.h \
1127 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1128 $(EMACS_ROOT)/nt/inc/sys/file.h \
1130 $(SRC)/blockinput.h \
1133 $(SRC)/character.h \
1137 $(SRC)/composite.h \
1138 $(SRC)/dispextern.h \
1142 $(SRC)/sysselect.h \
1143 $(SRC)/syssignal.h \
1147 $(SRC)/termhooks.h \
1153 $(BLD)/ralloc.$(O) : \
1155 $(EMACS_ROOT)/src/s/ms-w32.h \
1156 $(EMACS_ROOT)/src/m/intel386.h \
1157 $(EMACS_ROOT)/src/config.h \
1158 $(EMACS_ROOT)/nt/inc/sys/param.h \
1160 $(SRC)/m/intel386.h \
1162 $(SRC)/getpagesize.h
1164 $(BLD)/regex.$(O) : \
1166 $(EMACS_ROOT)/src/s/ms-w32.h \
1167 $(EMACS_ROOT)/src/m/intel386.h \
1168 $(EMACS_ROOT)/src/config.h \
1170 $(SRC)/m/intel386.h \
1173 $(SRC)/character.h \
1179 $(BLD)/region-cache.$(O) : \
1180 $(SRC)/region-cache.c \
1181 $(EMACS_ROOT)/src/s/ms-w32.h \
1182 $(EMACS_ROOT)/src/m/intel386.h \
1183 $(EMACS_ROOT)/src/config.h \
1185 $(SRC)/region-cache.h
1187 $(BLD)/scroll.$(O) : \
1189 $(EMACS_ROOT)/src/s/ms-w32.h \
1190 $(EMACS_ROOT)/src/m/intel386.h \
1191 $(EMACS_ROOT)/src/config.h \
1192 $(SRC)/dispextern.h \
1200 $(BLD)/search.$(O) : \
1202 $(EMACS_ROOT)/src/s/ms-w32.h \
1203 $(EMACS_ROOT)/src/m/intel386.h \
1204 $(EMACS_ROOT)/src/config.h \
1206 $(SRC)/blockinput.h \
1209 $(SRC)/character.h \
1212 $(SRC)/composite.h \
1213 $(SRC)/dispextern.h \
1214 $(SRC)/intervals.h \
1216 $(SRC)/region-cache.h \
1222 $(BLD)/sound.$(O) : \
1225 $(SRC)/dispextern.h \
1229 $(BLD)/strftime.$(O) : \
1231 $(EMACS_ROOT)/src/s/ms-w32.h \
1232 $(EMACS_ROOT)/src/m/intel386.h \
1233 $(EMACS_ROOT)/src/config.h
1235 $(BLD)/syntax.$(O) : \
1237 $(EMACS_ROOT)/src/s/ms-w32.h \
1238 $(EMACS_ROOT)/src/m/intel386.h \
1239 $(EMACS_ROOT)/src/config.h \
1242 $(SRC)/character.h \
1245 $(SRC)/composite.h \
1246 $(SRC)/dispextern.h \
1247 $(SRC)/intervals.h \
1253 $(BLD)/sysdep.$(O) : \
1255 $(EMACS_ROOT)/src/s/ms-w32.h \
1256 $(EMACS_ROOT)/src/m/intel386.h \
1257 $(EMACS_ROOT)/src/config.h \
1258 $(EMACS_ROOT)/nt/inc/sys/param.h \
1259 $(EMACS_ROOT)/nt/inc/sys/file.h \
1260 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1261 $(EMACS_ROOT)/nt/inc/sys/file.h \
1263 $(SRC)/blockinput.h \
1264 $(SRC)/dispextern.h \
1269 $(SRC)/sysselect.h \
1270 $(SRC)/syssignal.h \
1275 $(SRC)/termhooks.h \
1281 $(BLD)/term.$(O) : \
1283 $(EMACS_ROOT)/src/s/ms-w32.h \
1284 $(EMACS_ROOT)/src/m/intel386.h \
1285 $(EMACS_ROOT)/src/config.h \
1287 $(SRC)/character.h \
1291 $(SRC)/dispextern.h \
1297 $(SRC)/termhooks.h \
1303 $(BLD)/termcap.$(O) : \
1305 $(EMACS_ROOT)/src/s/ms-w32.h \
1306 $(EMACS_ROOT)/src/m/intel386.h \
1307 $(EMACS_ROOT)/src/config.h \
1308 $(EMACS_ROOT)/nt/inc/sys/file.h
1310 $(BLD)/textprop.$(O) : \
1312 $(EMACS_ROOT)/src/s/ms-w32.h \
1313 $(EMACS_ROOT)/src/m/intel386.h \
1314 $(EMACS_ROOT)/src/config.h \
1316 $(SRC)/composite.h \
1317 $(SRC)/dispextern.h \
1318 $(SRC)/intervals.h \
1323 $(BLD)/tparam.$(O) : \
1325 $(EMACS_ROOT)/src/s/ms-w32.h \
1326 $(EMACS_ROOT)/src/m/intel386.h \
1327 $(EMACS_ROOT)/src/config.h
1329 $(BLD)/undo.$(O) : \
1331 $(EMACS_ROOT)/src/s/ms-w32.h \
1332 $(EMACS_ROOT)/src/m/intel386.h \
1333 $(EMACS_ROOT)/src/config.h \
1337 $(BLD)/unexw32.$(O) : \
1339 $(EMACS_ROOT)/src/s/ms-w32.h \
1340 $(EMACS_ROOT)/src/m/intel386.h \
1341 $(EMACS_ROOT)/src/config.h \
1344 $(BLD)/vm-limit.$(O) : \
1346 $(EMACS_ROOT)/src/s/ms-w32.h \
1347 $(EMACS_ROOT)/src/m/intel386.h \
1348 $(EMACS_ROOT)/src/config.h \
1351 $(BLD)/window.$(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 \
1360 $(SRC)/composite.h \
1361 $(SRC)/dispextern.h \
1365 $(SRC)/intervals.h \
1375 $(BLD)/xdisp.$(O) : \
1377 $(EMACS_ROOT)/src/s/ms-w32.h \
1378 $(EMACS_ROOT)/src/m/intel386.h \
1379 $(EMACS_ROOT)/src/config.h \
1381 $(SRC)/blockinput.h \
1384 $(SRC)/character.h \
1388 $(SRC)/composite.h \
1389 $(SRC)/dispextern.h \
1395 $(SRC)/intervals.h \
1400 $(SRC)/region-cache.h \
1403 $(SRC)/termhooks.h \
1409 $(BLD)/xfaces.$(O): \
1411 $(EMACS_ROOT)/src/s/ms-w32.h \
1412 $(EMACS_ROOT)/src/m/intel386.h \
1413 $(EMACS_ROOT)/src/config.h \
1415 $(SRC)/blockinput.h \
1417 $(SRC)/character.h \
1419 $(SRC)/composite.h \
1420 $(SRC)/dispextern.h \
1424 $(SRC)/intervals.h \
1432 $(BLD)/w32fns.$(O): \
1434 $(EMACS_ROOT)/src/s/ms-w32.h \
1435 $(EMACS_ROOT)/src/m/intel386.h \
1436 $(EMACS_ROOT)/src/config.h \
1438 $(SRC)/blockinput.h \
1441 $(SRC)/character.h \
1444 $(SRC)/composite.h \
1445 $(SRC)/dispextern.h \
1450 $(SRC)/intervals.h \
1453 $(SRC)/termhooks.h \
1460 $(BLD)/w32menu.$(O): \
1462 $(EMACS_ROOT)/src/s/ms-w32.h \
1463 $(EMACS_ROOT)/src/m/intel386.h \
1464 $(EMACS_ROOT)/src/config.h \
1466 $(SRC)/blockinput.h \
1468 $(SRC)/character.h \
1471 $(SRC)/dispextern.h \
1476 $(SRC)/termhooks.h \
1482 $(BLD)/w32term.$(O): \
1484 $(EMACS_ROOT)/src/s/ms-w32.h \
1485 $(EMACS_ROOT)/src/m/intel386.h \
1486 $(EMACS_ROOT)/src/config.h \
1488 $(SRC)/blockinput.h \
1491 $(SRC)/character.h \
1494 $(SRC)/composite.h \
1495 $(SRC)/dispextern.h \
1501 $(SRC)/intervals.h \
1507 $(SRC)/termhooks.h \
1515 $(BLD)/w32select.$(O): \
1516 $(SRC)/w32select.c \
1517 $(EMACS_ROOT)/src/s/ms-w32.h \
1518 $(EMACS_ROOT)/src/m/intel386.h \
1519 $(EMACS_ROOT)/src/config.h \
1521 $(SRC)/blockinput.h \
1524 $(SRC)/character.h \
1527 $(SRC)/composite.h \
1528 $(SRC)/dispextern.h \
1537 $(BLD)/w32reg.$(O): \
1539 $(EMACS_ROOT)/src/s/ms-w32.h \
1540 $(EMACS_ROOT)/src/m/intel386.h \
1541 $(EMACS_ROOT)/src/config.h \
1543 $(SRC)/blockinput.h \
1549 $(BLD)/w32xfns.$(O): \
1551 $(EMACS_ROOT)/src/s/ms-w32.h \
1552 $(EMACS_ROOT)/src/m/intel386.h \
1553 $(EMACS_ROOT)/src/config.h \
1555 $(SRC)/blockinput.h \
1556 $(SRC)/character.h \
1566 $(BLD)/w32bdf.$(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 \
1573 $(SRC)/character.h \
1575 $(SRC)/dispextern.h \
1584 $(BLD)/w32font$(O): \
1586 $(EMACS_ROOT)/src/s/ms-w32.h \
1587 $(EMACS_ROOT)/src/m/intel386.h \
1588 $(EMACS_ROOT)/src/config.h \
1589 $(SRC)/character.h \
1591 $(SRC)/dispextern.h \
1598 # Each object file depends on stamp_BLD, because in parallel builds we must
1599 # make sure $(BLD) exists before starting compilations.
1601 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD