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) \
126 $(BLD)/fontset.$(O) \
132 WIN32OBJ = $(BLD)/w32term.$(O) \
133 $(BLD)/w32xfns.$(O) \
136 $(BLD)/w32select.$(O) \
137 $(BLD)/w32menu.$(O) \
141 FONTOBJ = $(BLD)/w32font.$(O)
160 # Build the executable and dump it.
165 # The dumped executable
167 emacs: stamp_BLD $(EMACS)
168 $(EMACS): $(DOC) $(TEMACS)
169 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
170 -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
173 # The undumped executable
174 # Note the extra post-link step to insert a static preload heap section.
175 # If preload runs out of memory, increase the last argument to addsection
176 # (it is the preload heap size in MB).
178 temacs: stamp_BLD $(TEMACS)
179 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
180 ../nt/$(BLD)/addsection.exe
181 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
182 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 21
183 echo $(OBJ0) > $(BLD)/buildobj.lst
184 echo $(OBJ1) >> $(BLD)/buildobj.lst
185 echo $(WIN32OBJ) >> $(BLD)/buildobj.lst
186 echo $(FONTOBJ) >> $(BLD)/buildobj.lst
188 bootstrap: bootstrap-emacs
191 # Build a temacs with a sufficiently large PURESIZE to load the
192 # Lisp files from loadup.el in source form.
194 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
195 # this can break with GNU Make 3.81 and later if sh.exe is used.
197 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
200 # Dump an Emacs executable named bootstrap-emacs containing the
201 # files from loadup.el in source form.
203 bootstrap-emacs: bootstrap-temacs
204 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
206 $(CP) $(EMACS) ../bin
209 # Force recompile of files that depend on PURESIZE
212 - $(DEL) $(BLD)/alloc.$(O)
213 - $(DEL) $(BLD)/data.$(O)
214 - $(DEL) $(BLD)/intervals.$(O)
215 - $(DEL) $(BLD)/keyboard.$(O)
216 - $(DEL) $(BLD)/keymap.$(O)
219 # The resource file. NT 3.10 requires the use of cvtres; even though
220 # it is not necessary on later versions, it is still ok to use it.
222 $(TRES): ../nt/emacs.rc stamp_BLD
223 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
226 # Build the library. Split up the build into two phases...otherwise we
227 # run out of command line space.
231 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
234 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
235 $(TLIBW32): $(WIN32OBJ) $(FONTOBJ)
237 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
240 # Place lastfile.$(O) in its own library so that it can be loaded after
241 # the source libraries but before any system libraries. Doing so defines
242 # the end of Emacs' data section portably across compilers and systems.
244 $(TLASTLIB): $(BLD)/lastfile.$(O)
246 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
249 # Assuming INSTALL_DIR is defined, build and install emacs in it.
252 - mkdir "$(INSTALL_DIR)/bin"
253 $(CP) $(EMACS) $(INSTALL_DIR)/bin
258 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
259 # remove precious files if it happens to match their short 8+3 aliases.
261 - $(DEL) "s/*.h~" "m/*.h~"
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 \
398 $(BLD)/casefiddle.$(O) : \
399 $(SRC)/casefiddle.c \
400 $(EMACS_ROOT)/src/s/ms-w32.h \
401 $(EMACS_ROOT)/src/m/intel386.h \
402 $(EMACS_ROOT)/src/config.h \
411 $(BLD)/casetab.$(O) : \
413 $(EMACS_ROOT)/src/s/ms-w32.h \
414 $(EMACS_ROOT)/src/m/intel386.h \
415 $(EMACS_ROOT)/src/config.h \
419 $(BLD)/category.$(O) : \
421 $(EMACS_ROOT)/src/s/ms-w32.h \
422 $(EMACS_ROOT)/src/m/intel386.h \
423 $(EMACS_ROOT)/src/config.h \
432 $(EMACS_ROOT)/src/s/ms-w32.h \
433 $(EMACS_ROOT)/src/m/intel386.h \
434 $(EMACS_ROOT)/src/config.h \
440 $(BLD)/character.$(O) : \
442 $(EMACS_ROOT)/src/s/ms-w32.h \
443 $(EMACS_ROOT)/src/m/intel386.h \
444 $(EMACS_ROOT)/src/config.h \
452 $(BLD)/charset.$(O) : \
454 $(EMACS_ROOT)/src/s/ms-w32.h \
455 $(EMACS_ROOT)/src/m/intel386.h \
456 $(EMACS_ROOT)/src/config.h \
465 $(BLD)/chartab.$(O) : \
467 $(EMACS_ROOT)/src/s/ms-w32.h \
468 $(EMACS_ROOT)/src/m/intel386.h \
469 $(EMACS_ROOT)/src/config.h \
475 $(EMACS_ROOT)/src/s/ms-w32.h \
476 $(EMACS_ROOT)/src/m/intel386.h \
477 $(EMACS_ROOT)/src/config.h \
483 $(EMACS_ROOT)/src/s/ms-w32.h \
484 $(EMACS_ROOT)/src/m/intel386.h \
485 $(EMACS_ROOT)/src/config.h \
490 $(SRC)/dispextern.h \
498 $(BLD)/coding.$(O) : \
500 $(EMACS_ROOT)/src/s/ms-w32.h \
501 $(EMACS_ROOT)/src/m/intel386.h \
502 $(EMACS_ROOT)/src/config.h \
509 $(SRC)/dispextern.h \
517 $(BLD)/composite.$(O) : \
519 $(EMACS_ROOT)/src/s/ms-w32.h \
520 $(EMACS_ROOT)/src/m/intel386.h \
521 $(EMACS_ROOT)/src/config.h \
526 $(SRC)/dispextern.h \
533 $(EMACS_ROOT)/src/s/ms-w32.h \
534 $(EMACS_ROOT)/src/m/intel386.h \
535 $(EMACS_ROOT)/src/config.h \
545 $(BLD)/dired.$(O) : \
547 $(EMACS_ROOT)/src/s/ms-w32.h \
548 $(EMACS_ROOT)/src/m/intel386.h \
549 $(EMACS_ROOT)/src/config.h \
560 $(BLD)/dispnew.$(O) : \
562 $(EMACS_ROOT)/src/s/ms-w32.h \
563 $(EMACS_ROOT)/src/m/intel386.h \
564 $(EMACS_ROOT)/src/config.h \
565 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
566 $(EMACS_ROOT)/nt/inc/sys/file.h \
568 $(SRC)/blockinput.h \
575 $(SRC)/dispextern.h \
594 $(EMACS_ROOT)/src/s/ms-w32.h \
595 $(EMACS_ROOT)/src/m/intel386.h \
596 $(EMACS_ROOT)/src/config.h \
597 $(EMACS_ROOT)/nt/inc/sys/file.h \
604 $(BLD)/doprnt.$(O) : \
606 $(EMACS_ROOT)/src/s/ms-w32.h \
607 $(EMACS_ROOT)/src/m/intel386.h \
608 $(EMACS_ROOT)/src/config.h \
612 $(BLD)/editfns.$(O) : \
614 $(EMACS_ROOT)/src/s/ms-w32.h \
615 $(EMACS_ROOT)/src/m/intel386.h \
616 $(EMACS_ROOT)/src/config.h \
617 $(EMACS_ROOT)/nt/inc/pwd.h \
624 $(SRC)/dispextern.h \
632 $(BLD)/emacs.$(O) : \
634 $(EMACS_ROOT)/src/s/ms-w32.h \
635 $(EMACS_ROOT)/src/m/intel386.h \
636 $(EMACS_ROOT)/src/config.h \
637 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
638 $(EMACS_ROOT)/nt/inc/sys/file.h \
640 $(SRC)/blockinput.h \
644 $(SRC)/dispextern.h \
660 $(EMACS_ROOT)/src/s/ms-w32.h \
661 $(EMACS_ROOT)/src/m/intel386.h \
662 $(EMACS_ROOT)/src/config.h \
664 $(SRC)/blockinput.h \
666 $(SRC)/dispextern.h \
672 $(BLD)/fileio.$(O) : \
674 $(EMACS_ROOT)/src/s/ms-w32.h \
675 $(EMACS_ROOT)/src/m/intel386.h \
676 $(EMACS_ROOT)/src/config.h \
677 $(EMACS_ROOT)/nt/inc/pwd.h \
678 $(EMACS_ROOT)/nt/inc/sys/param.h \
679 $(EMACS_ROOT)/nt/inc/sys/file.h \
687 $(SRC)/dispextern.h \
694 $(BLD)/filelock.$(O) : \
696 $(EMACS_ROOT)/src/s/ms-w32.h \
697 $(EMACS_ROOT)/src/m/intel386.h \
698 $(EMACS_ROOT)/src/config.h \
699 $(EMACS_ROOT)/nt/inc/pwd.h \
700 $(EMACS_ROOT)/nt/inc/sys/file.h \
701 $(EMACS_ROOT)/src/epaths.h \
709 $(BLD)/filemode.$(O) : \
711 $(EMACS_ROOT)/src/s/ms-w32.h \
712 $(EMACS_ROOT)/src/m/intel386.h \
713 $(EMACS_ROOT)/src/config.h \
715 $(SRC)/m/intel386.h \
718 $(BLD)/firstfile.$(O) : \
720 $(EMACS_ROOT)/src/s/ms-w32.h \
721 $(EMACS_ROOT)/src/m/intel386.h \
722 $(EMACS_ROOT)/src/config.h
724 $(BLD)/floatfns.$(O) : \
726 $(EMACS_ROOT)/src/s/ms-w32.h \
727 $(EMACS_ROOT)/src/m/intel386.h \
728 $(EMACS_ROOT)/src/config.h \
733 $(EMACS_ROOT)/src/s/ms-w32.h \
734 $(EMACS_ROOT)/src/m/intel386.h \
735 $(EMACS_ROOT)/src/config.h \
736 $(EMACS_ROOT)/nt/inc/langinfo.h \
737 $(EMACS_ROOT)/nt/inc/nl_types.h \
739 $(SRC)/blockinput.h \
747 $(SRC)/dispextern.h \
761 $(EMACS_ROOT)/src/s/ms-w32.h \
762 $(EMACS_ROOT)/src/m/intel386.h \
763 $(EMACS_ROOT)/src/config.h \
764 $(SRC)/dispextern.h \
772 $(BLD)/fontset.$(O) : \
774 $(EMACS_ROOT)/src/s/ms-w32.h \
775 $(EMACS_ROOT)/src/m/intel386.h \
776 $(EMACS_ROOT)/src/config.h \
781 $(SRC)/dispextern.h \
791 $(BLD)/frame.$(O) : \
793 $(EMACS_ROOT)/src/s/ms-w32.h \
794 $(EMACS_ROOT)/src/m/intel386.h \
795 $(EMACS_ROOT)/src/config.h \
797 $(SRC)/blockinput.h \
802 $(SRC)/dispextern.h \
814 $(BLD)/fringe.$(O) : \
816 $(EMACS_ROOT)/src/s/ms-w32.h \
817 $(EMACS_ROOT)/src/m/intel386.h \
818 $(EMACS_ROOT)/src/config.h \
820 $(SRC)/blockinput.h \
822 $(SRC)/dispextern.h \
829 $(BLD)/gmalloc.$(O) : \
831 $(EMACS_ROOT)/src/s/ms-w32.h \
832 $(EMACS_ROOT)/src/m/intel386.h \
833 $(EMACS_ROOT)/src/config.h \
834 $(EMACS_ROOT)/nt/inc/sys/param.h \
839 $(EMACS_ROOT)/src/s/ms-w32.h \
840 $(EMACS_ROOT)/src/m/intel386.h \
841 $(EMACS_ROOT)/src/config.h \
843 $(SRC)/blockinput.h \
844 $(SRC)/dispextern.h \
855 $(BLD)/indent.$(O) : \
857 $(EMACS_ROOT)/src/s/ms-w32.h \
858 $(EMACS_ROOT)/src/m/intel386.h \
859 $(EMACS_ROOT)/src/config.h \
865 $(SRC)/dispextern.h \
871 $(SRC)/region-cache.h \
878 $(BLD)/insdel.$(O) : \
880 $(EMACS_ROOT)/src/s/ms-w32.h \
881 $(EMACS_ROOT)/src/m/intel386.h \
882 $(EMACS_ROOT)/src/config.h \
884 $(SRC)/blockinput.h \
889 $(SRC)/dispextern.h \
891 $(SRC)/region-cache.h \
897 $(BLD)/intervals.$(O) : \
899 $(EMACS_ROOT)/src/s/ms-w32.h \
900 $(EMACS_ROOT)/src/m/intel386.h \
901 $(EMACS_ROOT)/src/config.h \
904 $(SRC)/dispextern.h \
912 $(BLD)/keyboard.$(O) : \
914 $(EMACS_ROOT)/src/s/ms-w32.h \
915 $(EMACS_ROOT)/src/m/intel386.h \
916 $(EMACS_ROOT)/src/config.h \
917 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
918 $(EMACS_ROOT)/nt/inc/sys/file.h \
920 $(SRC)/blockinput.h \
926 $(SRC)/dispextern.h \
946 $(BLD)/keymap.$(O) : \
948 $(EMACS_ROOT)/src/s/ms-w32.h \
949 $(EMACS_ROOT)/src/m/intel386.h \
950 $(EMACS_ROOT)/src/config.h \
952 $(SRC)/blockinput.h \
958 $(SRC)/dispextern.h \
968 $(BLD)/lastfile.$(O) : \
970 $(EMACS_ROOT)/src/s/ms-w32.h \
971 $(EMACS_ROOT)/src/m/intel386.h \
972 $(EMACS_ROOT)/src/config.h
974 $(BLD)/lread.$(O) : \
976 $(EMACS_ROOT)/src/s/ms-w32.h \
977 $(EMACS_ROOT)/src/m/intel386.h \
978 $(EMACS_ROOT)/src/config.h \
979 $(EMACS_ROOT)/nt/inc/sys/file.h \
980 $(EMACS_ROOT)/src/epaths.h \
981 $(SRC)/blockinput.h \
989 $(SRC)/dispextern.h \
996 $(BLD)/macros.$(O) : \
998 $(EMACS_ROOT)/src/s/ms-w32.h \
999 $(EMACS_ROOT)/src/m/intel386.h \
1000 $(EMACS_ROOT)/src/config.h \
1003 $(SRC)/dispextern.h \
1010 $(BLD)/marker.$(O) : \
1012 $(EMACS_ROOT)/src/s/ms-w32.h \
1013 $(EMACS_ROOT)/src/m/intel386.h \
1014 $(EMACS_ROOT)/src/config.h \
1016 $(SRC)/character.h \
1023 $(BLD)/minibuf.$(O) : \
1025 $(EMACS_ROOT)/src/s/ms-w32.h \
1026 $(EMACS_ROOT)/src/m/intel386.h \
1027 $(EMACS_ROOT)/src/config.h \
1029 $(SRC)/character.h \
1032 $(SRC)/composite.h \
1033 $(SRC)/dispextern.h \
1035 $(SRC)/intervals.h \
1039 $(SRC)/termhooks.h \
1046 $(EMACS_ROOT)/nt/inc/pwd.h \
1048 $(SRC)/m/intel386.h \
1055 $(BLD)/w32heap.$(O) : \
1058 $(SRC)/m/intel386.h \
1062 $(BLD)/w32inevt.$(O) : \
1065 $(SRC)/m/intel386.h \
1068 $(SRC)/blockinput.h \
1072 $(SRC)/termhooks.h \
1078 $(BLD)/w32proc.$(O) : \
1081 $(SRC)/m/intel386.h \
1082 $(EMACS_ROOT)/nt/inc/langinfo.h \
1083 $(EMACS_ROOT)/nt/inc/nl_types.h \
1085 $(SRC)/character.h \
1087 $(SRC)/syssignal.h \
1096 $(BLD)/w32console.$(O) : \
1097 $(SRC)/w32console.c \
1099 $(SRC)/m/intel386.h \
1101 $(SRC)/character.h \
1105 $(SRC)/dispextern.h \
1108 $(SRC)/termhooks.h \
1113 $(BLD)/print.$(O) : \
1115 $(EMACS_ROOT)/src/s/ms-w32.h \
1116 $(EMACS_ROOT)/src/m/intel386.h \
1117 $(EMACS_ROOT)/src/config.h \
1119 $(SRC)/character.h \
1121 $(SRC)/composite.h \
1122 $(SRC)/dispextern.h \
1124 $(SRC)/intervals.h \
1132 $(BLD)/process.$(O) : \
1134 $(EMACS_ROOT)/src/s/ms-w32.h \
1135 $(EMACS_ROOT)/src/m/intel386.h \
1136 $(EMACS_ROOT)/src/config.h \
1137 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1138 $(EMACS_ROOT)/nt/inc/sys/file.h \
1140 $(SRC)/blockinput.h \
1143 $(SRC)/character.h \
1147 $(SRC)/composite.h \
1148 $(SRC)/dispextern.h \
1152 $(SRC)/sysselect.h \
1153 $(SRC)/syssignal.h \
1157 $(SRC)/termhooks.h \
1163 $(BLD)/ralloc.$(O) : \
1165 $(EMACS_ROOT)/src/s/ms-w32.h \
1166 $(EMACS_ROOT)/src/m/intel386.h \
1167 $(EMACS_ROOT)/src/config.h \
1168 $(EMACS_ROOT)/nt/inc/sys/param.h \
1170 $(SRC)/m/intel386.h \
1172 $(SRC)/getpagesize.h
1174 $(BLD)/regex.$(O) : \
1176 $(EMACS_ROOT)/src/s/ms-w32.h \
1177 $(EMACS_ROOT)/src/m/intel386.h \
1178 $(EMACS_ROOT)/src/config.h \
1180 $(SRC)/m/intel386.h \
1183 $(SRC)/character.h \
1189 $(BLD)/region-cache.$(O) : \
1190 $(SRC)/region-cache.c \
1191 $(EMACS_ROOT)/src/s/ms-w32.h \
1192 $(EMACS_ROOT)/src/m/intel386.h \
1193 $(EMACS_ROOT)/src/config.h \
1195 $(SRC)/region-cache.h
1197 $(BLD)/scroll.$(O) : \
1199 $(EMACS_ROOT)/src/s/ms-w32.h \
1200 $(EMACS_ROOT)/src/m/intel386.h \
1201 $(EMACS_ROOT)/src/config.h \
1202 $(SRC)/dispextern.h \
1206 $(SRC)/termhooks.h \
1211 $(BLD)/search.$(O) : \
1213 $(EMACS_ROOT)/src/s/ms-w32.h \
1214 $(EMACS_ROOT)/src/m/intel386.h \
1215 $(EMACS_ROOT)/src/config.h \
1217 $(SRC)/blockinput.h \
1220 $(SRC)/character.h \
1223 $(SRC)/composite.h \
1224 $(SRC)/dispextern.h \
1225 $(SRC)/intervals.h \
1227 $(SRC)/region-cache.h \
1233 $(BLD)/sound.$(O) : \
1236 $(SRC)/dispextern.h \
1240 $(BLD)/strftime.$(O) : \
1242 $(EMACS_ROOT)/src/s/ms-w32.h \
1243 $(EMACS_ROOT)/src/m/intel386.h \
1244 $(EMACS_ROOT)/src/config.h
1246 $(BLD)/syntax.$(O) : \
1248 $(EMACS_ROOT)/src/s/ms-w32.h \
1249 $(EMACS_ROOT)/src/m/intel386.h \
1250 $(EMACS_ROOT)/src/config.h \
1253 $(SRC)/character.h \
1256 $(SRC)/composite.h \
1257 $(SRC)/dispextern.h \
1258 $(SRC)/intervals.h \
1264 $(BLD)/sysdep.$(O) : \
1266 $(EMACS_ROOT)/src/s/ms-w32.h \
1267 $(EMACS_ROOT)/src/m/intel386.h \
1268 $(EMACS_ROOT)/src/config.h \
1269 $(EMACS_ROOT)/nt/inc/sys/param.h \
1270 $(EMACS_ROOT)/nt/inc/sys/file.h \
1271 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1272 $(EMACS_ROOT)/nt/inc/sys/file.h \
1274 $(SRC)/blockinput.h \
1276 $(SRC)/dispextern.h \
1281 $(SRC)/sysselect.h \
1282 $(SRC)/syssignal.h \
1287 $(SRC)/termhooks.h \
1293 $(BLD)/term.$(O) : \
1295 $(EMACS_ROOT)/src/s/ms-w32.h \
1296 $(EMACS_ROOT)/src/m/intel386.h \
1297 $(EMACS_ROOT)/src/config.h \
1299 $(SRC)/character.h \
1303 $(SRC)/dispextern.h \
1309 $(SRC)/termhooks.h \
1315 $(BLD)/termcap.$(O) : \
1317 $(EMACS_ROOT)/src/s/ms-w32.h \
1318 $(EMACS_ROOT)/src/m/intel386.h \
1319 $(EMACS_ROOT)/src/config.h \
1320 $(EMACS_ROOT)/nt/inc/sys/file.h
1322 $(BLD)/terminal.$(O) : \
1324 $(EMACS_ROOT)/src/s/ms-w32.h \
1325 $(EMACS_ROOT)/src/m/intel386.h \
1326 $(EMACS_ROOT)/src/config.h \
1334 $(BLD)/textprop.$(O) : \
1336 $(EMACS_ROOT)/src/s/ms-w32.h \
1337 $(EMACS_ROOT)/src/m/intel386.h \
1338 $(EMACS_ROOT)/src/config.h \
1340 $(SRC)/composite.h \
1341 $(SRC)/dispextern.h \
1342 $(SRC)/intervals.h \
1347 $(BLD)/tparam.$(O) : \
1349 $(EMACS_ROOT)/src/s/ms-w32.h \
1350 $(EMACS_ROOT)/src/m/intel386.h \
1351 $(EMACS_ROOT)/src/config.h
1353 $(BLD)/undo.$(O) : \
1355 $(EMACS_ROOT)/src/s/ms-w32.h \
1356 $(EMACS_ROOT)/src/m/intel386.h \
1357 $(EMACS_ROOT)/src/config.h \
1361 $(BLD)/unexw32.$(O) : \
1363 $(EMACS_ROOT)/src/s/ms-w32.h \
1364 $(EMACS_ROOT)/src/m/intel386.h \
1365 $(EMACS_ROOT)/src/config.h \
1368 $(BLD)/vm-limit.$(O) : \
1370 $(EMACS_ROOT)/src/s/ms-w32.h \
1371 $(EMACS_ROOT)/src/m/intel386.h \
1372 $(EMACS_ROOT)/src/config.h \
1375 $(BLD)/window.$(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)/composite.h \
1385 $(SRC)/dispextern.h \
1389 $(SRC)/intervals.h \
1399 $(BLD)/xdisp.$(O) : \
1401 $(EMACS_ROOT)/src/s/ms-w32.h \
1402 $(EMACS_ROOT)/src/m/intel386.h \
1403 $(EMACS_ROOT)/src/config.h \
1405 $(SRC)/blockinput.h \
1408 $(SRC)/character.h \
1412 $(SRC)/composite.h \
1413 $(SRC)/dispextern.h \
1419 $(SRC)/intervals.h \
1424 $(SRC)/region-cache.h \
1427 $(SRC)/termhooks.h \
1433 $(BLD)/xfaces.$(O): \
1435 $(EMACS_ROOT)/src/s/ms-w32.h \
1436 $(EMACS_ROOT)/src/m/intel386.h \
1437 $(EMACS_ROOT)/src/config.h \
1439 $(SRC)/blockinput.h \
1441 $(SRC)/character.h \
1443 $(SRC)/composite.h \
1444 $(SRC)/dispextern.h \
1448 $(SRC)/intervals.h \
1452 $(SRC)/termhooks.h \
1458 $(BLD)/w32fns.$(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 \
1467 $(SRC)/character.h \
1470 $(SRC)/composite.h \
1471 $(SRC)/dispextern.h \
1476 $(SRC)/intervals.h \
1479 $(SRC)/termhooks.h \
1486 $(BLD)/w32menu.$(O): \
1488 $(EMACS_ROOT)/src/s/ms-w32.h \
1489 $(EMACS_ROOT)/src/m/intel386.h \
1490 $(EMACS_ROOT)/src/config.h \
1492 $(SRC)/blockinput.h \
1494 $(SRC)/character.h \
1497 $(SRC)/dispextern.h \
1502 $(SRC)/termhooks.h \
1508 $(BLD)/w32term.$(O): \
1510 $(EMACS_ROOT)/src/s/ms-w32.h \
1511 $(EMACS_ROOT)/src/m/intel386.h \
1512 $(EMACS_ROOT)/src/config.h \
1514 $(SRC)/blockinput.h \
1517 $(SRC)/character.h \
1520 $(SRC)/composite.h \
1521 $(SRC)/dispextern.h \
1526 $(SRC)/intervals.h \
1532 $(SRC)/termhooks.h \
1540 $(BLD)/w32select.$(O): \
1541 $(SRC)/w32select.c \
1542 $(EMACS_ROOT)/src/s/ms-w32.h \
1543 $(EMACS_ROOT)/src/m/intel386.h \
1544 $(EMACS_ROOT)/src/config.h \
1546 $(SRC)/blockinput.h \
1549 $(SRC)/character.h \
1552 $(SRC)/composite.h \
1553 $(SRC)/dispextern.h \
1562 $(BLD)/w32reg.$(O): \
1564 $(EMACS_ROOT)/src/s/ms-w32.h \
1565 $(EMACS_ROOT)/src/m/intel386.h \
1566 $(EMACS_ROOT)/src/config.h \
1568 $(SRC)/blockinput.h \
1574 $(BLD)/w32xfns.$(O): \
1576 $(EMACS_ROOT)/src/s/ms-w32.h \
1577 $(EMACS_ROOT)/src/m/intel386.h \
1578 $(EMACS_ROOT)/src/config.h \
1580 $(SRC)/blockinput.h \
1581 $(SRC)/character.h \
1591 $(BLD)/w32bdf.$(O): \
1593 $(EMACS_ROOT)/src/s/ms-w32.h \
1594 $(EMACS_ROOT)/src/m/intel386.h \
1595 $(EMACS_ROOT)/src/config.h \
1597 $(SRC)/blockinput.h \
1598 $(SRC)/character.h \
1600 $(SRC)/dispextern.h \
1609 $(BLD)/w32font$(O): \
1611 $(EMACS_ROOT)/src/s/ms-w32.h \
1612 $(EMACS_ROOT)/src/m/intel386.h \
1613 $(EMACS_ROOT)/src/config.h \
1614 $(SRC)/character.h \
1616 $(SRC)/dispextern.h \
1624 # Each object file depends on stamp_BLD, because in parallel builds we must
1625 # make sure $(BLD) exists before starting compilations.
1627 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD