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
33 # HAVE_CONFIG_H is required by some generic gnu sources stuck into
34 # the emacs source tree.
36 LOCAL_FLAGS = -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 $(EMACS_EXTRA_C_FLAGS)
38 EMACS = $(BLD)/emacs.exe
39 TEMACS = $(BLD)/temacs.exe
40 TEMACS_TMP = $(BLD)/temacs.bin
41 TLIB0 = $(BLD)/temacs0.$(A)
42 TLIB1 = $(BLD)/temacs1.$(A)
43 TLIBW32 = $(BLD)/temacw32.$(A)
44 TOBJ = $(BLD)/firstfile.$(O)
45 TRES = $(BLD)/emacs.res
46 TLASTLIB = $(BLD)/lastfile.$(A)
48 DOC = $(OBJDIR)/etc/DOC-X
50 FULL_LINK_FLAGS = $(LINK_FLAGS) $(TEMACS_EXTRA_LINK)
52 CHARPROP = $(SRC)/../lisp/international/charprop.el
53 UNIDATA = $(SRC)/$(BLD)/unidata.txt
54 UNIDATA_SRC = $(SRC)/../admin/unidata/UnicodeData.txt
55 UNIDATA_GEN = $(SRC)/../admin/unidata/unidata-gen.elc
56 UNIDATA_GEN_SRC = $(SRC)/../admin/unidata/unidata-gen.el
57 UNIDATA_DEST = $(SRC)/../lisp/international
58 RUNTEMACS = "$(SRC)/$(BLD)/temacs.exe"
61 # Split up the objects into two sets so that we don't run out of
62 # command line space when we link them into a library.
64 # Put emacs.$(O) in a separate lib, since we need to have firstfile.$(O)
65 # as the "main" object file when linking.
67 OBJ0 = $(BLD)/emacs.$(O)
69 OBJ1 = $(BLD)/alloc.$(O) \
72 $(BLD)/bytecode.$(O) \
74 $(BLD)/callproc.$(O) \
75 $(BLD)/casefiddle.$(O) \
86 $(BLD)/filelock.$(O) \
87 $(BLD)/filemode.$(O) \
91 $(BLD)/keyboard.$(O) \
100 $(BLD)/w32inevt.$(O) \
101 $(BLD)/w32proc.$(O) \
102 $(BLD)/w32console.$(O) \
104 $(BLD)/process.$(O) \
112 $(BLD)/termcap.$(O) \
115 $(BLD)/unexw32.$(O) \
118 $(BLD)/casetab.$(O) \
119 $(BLD)/floatfns.$(O) \
121 $(BLD)/gmalloc.$(O) \
122 $(BLD)/intervals.$(O) \
123 $(BLD)/composite.$(O) \
125 $(BLD)/textprop.$(O) \
126 $(BLD)/vm-limit.$(O) \
127 $(BLD)/region-cache.$(O) \
128 $(BLD)/strftime.$(O) \
129 $(BLD)/charset.$(O) \
130 $(BLD)/character.$(O) \
131 $(BLD)/chartab.$(O) \
133 $(BLD)/category.$(O) \
135 $(BLD)/fontset.$(O) \
141 WIN32OBJ = $(BLD)/w32term.$(O) \
142 $(BLD)/w32xfns.$(O) \
145 $(BLD)/w32select.$(O) \
146 $(BLD)/w32menu.$(O) \
151 ifdef USE_FONTBACKEND
152 FONTOBJ = $(BLD)/font.$(O) \
173 # Build the executable and dump it.
178 # The dumped executable
180 emacs: stamp_BLD $(EMACS)
181 $(EMACS): $(DOC) $(TEMACS) $(CHARPROP)
182 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
183 -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
186 # The undumped executable
187 # Note the extra post-link step to insert a static preload heap section.
188 # If preload runs out of memory, increase the last argument to addsection
189 # (it is the preload heap size in MB).
191 temacs: stamp_BLD $(TEMACS)
192 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
193 ../nt/$(BLD)/addsection.exe
194 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
195 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 21
196 echo $(OBJ0) > $(BLD)/buildobj.lst
197 echo $(OBJ1) >> $(BLD)/buildobj.lst
198 echo $(WIN32OBJ) >> $(BLD)/buildobj.lst
199 echo $(FONTOBJ) >> $(BLD)/buildobj.lst
201 bootstrap: bootstrap-emacs
204 # Build a temacs with a sufficiently large PURESIZE to load the
205 # Lisp files from loadup.el in source form.
207 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
208 # this can break with GNU Make 3.81 and later if sh.exe is used.
210 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
213 # Dump an Emacs executable named bootstrap-emacs containing the
214 # files from loadup.el in source form.
216 bootstrap-emacs: bootstrap-temacs
217 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
219 $(CP) $(EMACS) ../bin
222 # Force recompile of files that depend on PURESIZE
225 - $(DEL) $(BLD)/alloc.$(O)
226 - $(DEL) $(BLD)/data.$(O)
227 - $(DEL) $(BLD)/intervals.$(O)
228 - $(DEL) $(BLD)/keyboard.$(O)
229 - $(DEL) $(BLD)/keymap.$(O)
232 # The resource file. NT 3.10 requires the use of cvtres; even though
233 # it is not necessary on later versions, it is still ok to use it.
235 $(TRES): ../nt/emacs.rc stamp_BLD
236 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
239 # Build the library. Split up the build into two phases...otherwise we
240 # run out of command line space.
244 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
247 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
248 $(TLIBW32): $(WIN32OBJ) $(FONTOBJ)
250 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
253 # Place lastfile.$(O) in its own library so that it can be loaded after
254 # the source libraries but before any system libraries. Doing so defines
255 # the end of Emacs' data section portably across compilers and systems.
257 $(TLASTLIB): $(BLD)/lastfile.$(O)
259 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
261 $(CHARPROP): $(UNIDATA) $(UNIDATA_GEN)
262 $(RUNTEMACS) -batch --load $(UNIDATA_GEN) -f unidata-gen-files $(UNIDATA)
263 $(CP) *.el ../lisp/international
266 $(UNIDATA): $(UNIDATA_SRC)
267 sed -e $(ARGQUOTE)s/\([^;]*\);\(.*\)/(#x\1 $(DQUOTE)\2$(DQUOTE))/$(ARGQUOTE) -e $(ARGQUOTE)s/;/$(DQUOTE) $(DQUOTE)/g$(ARGQUOTE) < $< > $@
269 $(UNIDATA_GEN): $(UNIDATA_GEN_SRC)
270 $(RUNTEMACS) -batch -f batch-byte-compile $(UNIDATA_GEN_SRC)
273 # Assuming INSTALL_DIR is defined, build and install emacs in it.
276 - mkdir "$(INSTALL_DIR)/bin"
277 $(CP) $(EMACS) $(INSTALL_DIR)/bin
282 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
283 # remove precious files if it happens to match their short 8+3 aliases.
285 - $(DEL) "s/*.h~" "m/*.h~"
286 - $(DEL) $(COMPILER_TEMP_FILES)
287 - $(DEL_TREE) $(OBJDIR)
291 - $(DEL) config.h epaths.h
295 - $(DEL_TREE) obj-spd
303 $(BLD)/abbrev.$(O) : \
305 $(EMACS_ROOT)/src/s/ms-w32.h \
306 $(EMACS_ROOT)/src/m/intel386.h \
307 $(EMACS_ROOT)/src/config.h \
312 $(SRC)/dispextern.h \
318 $(BLD)/alloc.$(O) : \
320 $(EMACS_ROOT)/src/s/ms-w32.h \
321 $(EMACS_ROOT)/src/m/intel386.h \
322 $(EMACS_ROOT)/src/config.h \
323 $(SRC)/blockinput.h \
328 $(SRC)/dispextern.h \
339 $(BLD)/atimer.$(O) : \
341 $(EMACS_ROOT)/src/s/ms-w32.h \
342 $(EMACS_ROOT)/src/m/intel386.h \
343 $(EMACS_ROOT)/src/config.h \
345 $(SRC)/m/intel386.h \
348 $(SRC)/blockinput.h \
352 $(BLD)/buffer.$(O) : \
354 $(EMACS_ROOT)/nt/inc/sys/param.h \
355 $(EMACS_ROOT)/src/s/ms-w32.h \
356 $(EMACS_ROOT)/src/m/intel386.h \
357 $(EMACS_ROOT)/src/config.h \
358 $(SRC)/blockinput.h \
363 $(SRC)/dispextern.h \
369 $(SRC)/region-cache.h \
374 $(BLD)/bytecode.$(O) : \
376 $(EMACS_ROOT)/src/s/ms-w32.h \
377 $(EMACS_ROOT)/src/m/intel386.h \
378 $(EMACS_ROOT)/src/config.h \
384 $(BLD)/callint.$(O) : \
386 $(EMACS_ROOT)/src/s/ms-w32.h \
387 $(EMACS_ROOT)/src/m/intel386.h \
388 $(EMACS_ROOT)/src/config.h \
391 $(SRC)/dispextern.h \
398 $(BLD)/callproc.$(O) : \
400 $(EMACS_ROOT)/src/s/ms-w32.h \
401 $(EMACS_ROOT)/src/m/intel386.h \
402 $(EMACS_ROOT)/src/config.h \
403 $(EMACS_ROOT)/nt/inc/sys/param.h \
404 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
405 $(EMACS_ROOT)/nt/inc/sys/file.h \
421 $(BLD)/casefiddle.$(O) : \
422 $(SRC)/casefiddle.c \
423 $(EMACS_ROOT)/src/s/ms-w32.h \
424 $(EMACS_ROOT)/src/m/intel386.h \
425 $(EMACS_ROOT)/src/config.h \
434 $(BLD)/casetab.$(O) : \
436 $(EMACS_ROOT)/src/s/ms-w32.h \
437 $(EMACS_ROOT)/src/m/intel386.h \
438 $(EMACS_ROOT)/src/config.h \
442 $(BLD)/category.$(O) : \
444 $(EMACS_ROOT)/src/s/ms-w32.h \
445 $(EMACS_ROOT)/src/m/intel386.h \
446 $(EMACS_ROOT)/src/config.h \
455 $(EMACS_ROOT)/src/s/ms-w32.h \
456 $(EMACS_ROOT)/src/m/intel386.h \
457 $(EMACS_ROOT)/src/config.h \
463 $(BLD)/character.$(O) : \
465 $(EMACS_ROOT)/src/s/ms-w32.h \
466 $(EMACS_ROOT)/src/m/intel386.h \
467 $(EMACS_ROOT)/src/config.h \
475 $(BLD)/charset.$(O) : \
477 $(EMACS_ROOT)/src/s/ms-w32.h \
478 $(EMACS_ROOT)/src/m/intel386.h \
479 $(EMACS_ROOT)/src/config.h \
488 $(BLD)/chartab.$(O) : \
490 $(EMACS_ROOT)/src/s/ms-w32.h \
491 $(EMACS_ROOT)/src/m/intel386.h \
492 $(EMACS_ROOT)/src/config.h \
498 $(EMACS_ROOT)/src/s/ms-w32.h \
499 $(EMACS_ROOT)/src/m/intel386.h \
500 $(EMACS_ROOT)/src/config.h \
506 $(EMACS_ROOT)/src/s/ms-w32.h \
507 $(EMACS_ROOT)/src/m/intel386.h \
508 $(EMACS_ROOT)/src/config.h \
513 $(SRC)/dispextern.h \
521 $(BLD)/coding.$(O) : \
523 $(EMACS_ROOT)/src/s/ms-w32.h \
524 $(EMACS_ROOT)/src/m/intel386.h \
525 $(EMACS_ROOT)/src/config.h \
532 $(SRC)/dispextern.h \
540 $(BLD)/composite.$(O) : \
542 $(EMACS_ROOT)/src/s/ms-w32.h \
543 $(EMACS_ROOT)/src/m/intel386.h \
544 $(EMACS_ROOT)/src/config.h \
549 $(SRC)/dispextern.h \
556 $(EMACS_ROOT)/src/s/ms-w32.h \
557 $(EMACS_ROOT)/src/m/intel386.h \
558 $(EMACS_ROOT)/src/config.h \
568 $(BLD)/dired.$(O) : \
570 $(EMACS_ROOT)/src/s/ms-w32.h \
571 $(EMACS_ROOT)/src/m/intel386.h \
572 $(EMACS_ROOT)/src/config.h \
583 $(BLD)/dispnew.$(O) : \
585 $(EMACS_ROOT)/src/s/ms-w32.h \
586 $(EMACS_ROOT)/src/m/intel386.h \
587 $(EMACS_ROOT)/src/config.h \
588 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
589 $(EMACS_ROOT)/nt/inc/sys/file.h \
591 $(SRC)/blockinput.h \
598 $(SRC)/dispextern.h \
617 $(EMACS_ROOT)/src/s/ms-w32.h \
618 $(EMACS_ROOT)/src/m/intel386.h \
619 $(EMACS_ROOT)/src/config.h \
620 $(EMACS_ROOT)/nt/inc/sys/file.h \
627 $(BLD)/doprnt.$(O) : \
629 $(EMACS_ROOT)/src/s/ms-w32.h \
630 $(EMACS_ROOT)/src/m/intel386.h \
631 $(EMACS_ROOT)/src/config.h \
635 $(BLD)/editfns.$(O) : \
637 $(EMACS_ROOT)/src/s/ms-w32.h \
638 $(EMACS_ROOT)/src/m/intel386.h \
639 $(EMACS_ROOT)/src/config.h \
640 $(EMACS_ROOT)/nt/inc/pwd.h \
647 $(SRC)/dispextern.h \
655 $(BLD)/emacs.$(O) : \
657 $(EMACS_ROOT)/src/s/ms-w32.h \
658 $(EMACS_ROOT)/src/m/intel386.h \
659 $(EMACS_ROOT)/src/config.h \
660 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
661 $(EMACS_ROOT)/nt/inc/sys/file.h \
663 $(SRC)/blockinput.h \
667 $(SRC)/dispextern.h \
683 $(EMACS_ROOT)/src/s/ms-w32.h \
684 $(EMACS_ROOT)/src/m/intel386.h \
685 $(EMACS_ROOT)/src/config.h \
687 $(SRC)/blockinput.h \
689 $(SRC)/dispextern.h \
695 $(BLD)/fileio.$(O) : \
697 $(EMACS_ROOT)/src/s/ms-w32.h \
698 $(EMACS_ROOT)/src/m/intel386.h \
699 $(EMACS_ROOT)/src/config.h \
700 $(EMACS_ROOT)/nt/inc/pwd.h \
701 $(EMACS_ROOT)/nt/inc/sys/param.h \
702 $(EMACS_ROOT)/nt/inc/sys/file.h \
710 $(SRC)/dispextern.h \
717 $(BLD)/filelock.$(O) : \
719 $(EMACS_ROOT)/src/s/ms-w32.h \
720 $(EMACS_ROOT)/src/m/intel386.h \
721 $(EMACS_ROOT)/src/config.h \
722 $(EMACS_ROOT)/nt/inc/pwd.h \
723 $(EMACS_ROOT)/nt/inc/sys/file.h \
724 $(EMACS_ROOT)/src/epaths.h \
732 $(BLD)/filemode.$(O) : \
734 $(EMACS_ROOT)/src/s/ms-w32.h \
735 $(EMACS_ROOT)/src/m/intel386.h \
736 $(EMACS_ROOT)/src/config.h \
738 $(SRC)/m/intel386.h \
741 $(BLD)/firstfile.$(O) : \
743 $(EMACS_ROOT)/src/s/ms-w32.h \
744 $(EMACS_ROOT)/src/m/intel386.h \
745 $(EMACS_ROOT)/src/config.h
747 $(BLD)/floatfns.$(O) : \
749 $(EMACS_ROOT)/src/s/ms-w32.h \
750 $(EMACS_ROOT)/src/m/intel386.h \
751 $(EMACS_ROOT)/src/config.h \
756 $(EMACS_ROOT)/src/s/ms-w32.h \
757 $(EMACS_ROOT)/src/m/intel386.h \
758 $(EMACS_ROOT)/src/config.h \
759 $(EMACS_ROOT)/nt/inc/langinfo.h \
760 $(EMACS_ROOT)/nt/inc/nl_types.h \
762 $(SRC)/blockinput.h \
770 $(SRC)/dispextern.h \
784 $(EMACS_ROOT)/src/s/ms-w32.h \
785 $(EMACS_ROOT)/src/m/intel386.h \
786 $(EMACS_ROOT)/src/config.h \
787 $(SRC)/dispextern.h \
795 $(BLD)/fontset.$(O) : \
797 $(EMACS_ROOT)/src/s/ms-w32.h \
798 $(EMACS_ROOT)/src/m/intel386.h \
799 $(EMACS_ROOT)/src/config.h \
804 $(SRC)/dispextern.h \
814 $(BLD)/frame.$(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 \
825 $(SRC)/dispextern.h \
837 $(BLD)/fringe.$(O) : \
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 \
845 $(SRC)/dispextern.h \
852 $(BLD)/gmalloc.$(O) : \
854 $(EMACS_ROOT)/src/s/ms-w32.h \
855 $(EMACS_ROOT)/src/m/intel386.h \
856 $(EMACS_ROOT)/src/config.h \
857 $(EMACS_ROOT)/nt/inc/sys/param.h \
862 $(EMACS_ROOT)/src/s/ms-w32.h \
863 $(EMACS_ROOT)/src/m/intel386.h \
864 $(EMACS_ROOT)/src/config.h \
866 $(SRC)/blockinput.h \
867 $(SRC)/dispextern.h \
878 $(BLD)/indent.$(O) : \
880 $(EMACS_ROOT)/src/s/ms-w32.h \
881 $(EMACS_ROOT)/src/m/intel386.h \
882 $(EMACS_ROOT)/src/config.h \
888 $(SRC)/dispextern.h \
894 $(SRC)/region-cache.h \
901 $(BLD)/insdel.$(O) : \
903 $(EMACS_ROOT)/src/s/ms-w32.h \
904 $(EMACS_ROOT)/src/m/intel386.h \
905 $(EMACS_ROOT)/src/config.h \
907 $(SRC)/blockinput.h \
912 $(SRC)/dispextern.h \
914 $(SRC)/region-cache.h \
920 $(BLD)/intervals.$(O) : \
922 $(EMACS_ROOT)/src/s/ms-w32.h \
923 $(EMACS_ROOT)/src/m/intel386.h \
924 $(EMACS_ROOT)/src/config.h \
927 $(SRC)/dispextern.h \
935 $(BLD)/keyboard.$(O) : \
937 $(EMACS_ROOT)/src/s/ms-w32.h \
938 $(EMACS_ROOT)/src/m/intel386.h \
939 $(EMACS_ROOT)/src/config.h \
940 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
941 $(EMACS_ROOT)/nt/inc/sys/file.h \
943 $(SRC)/blockinput.h \
949 $(SRC)/dispextern.h \
969 $(BLD)/keymap.$(O) : \
971 $(EMACS_ROOT)/src/s/ms-w32.h \
972 $(EMACS_ROOT)/src/m/intel386.h \
973 $(EMACS_ROOT)/src/config.h \
975 $(SRC)/blockinput.h \
981 $(SRC)/dispextern.h \
991 $(BLD)/lastfile.$(O) : \
993 $(EMACS_ROOT)/src/s/ms-w32.h \
994 $(EMACS_ROOT)/src/m/intel386.h \
995 $(EMACS_ROOT)/src/config.h
997 $(BLD)/lread.$(O) : \
999 $(EMACS_ROOT)/src/s/ms-w32.h \
1000 $(EMACS_ROOT)/src/m/intel386.h \
1001 $(EMACS_ROOT)/src/config.h \
1002 $(EMACS_ROOT)/nt/inc/sys/file.h \
1003 $(EMACS_ROOT)/src/epaths.h \
1004 $(SRC)/blockinput.h \
1007 $(SRC)/character.h \
1011 $(SRC)/composite.h \
1012 $(SRC)/dispextern.h \
1013 $(SRC)/intervals.h \
1015 $(SRC)/termhooks.h \
1019 $(BLD)/macros.$(O) : \
1021 $(EMACS_ROOT)/src/s/ms-w32.h \
1022 $(EMACS_ROOT)/src/m/intel386.h \
1023 $(EMACS_ROOT)/src/config.h \
1026 $(SRC)/dispextern.h \
1033 $(BLD)/marker.$(O) : \
1035 $(EMACS_ROOT)/src/s/ms-w32.h \
1036 $(EMACS_ROOT)/src/m/intel386.h \
1037 $(EMACS_ROOT)/src/config.h \
1039 $(SRC)/character.h \
1046 $(BLD)/minibuf.$(O) : \
1048 $(EMACS_ROOT)/src/s/ms-w32.h \
1049 $(EMACS_ROOT)/src/m/intel386.h \
1050 $(EMACS_ROOT)/src/config.h \
1052 $(SRC)/character.h \
1055 $(SRC)/composite.h \
1056 $(SRC)/dispextern.h \
1058 $(SRC)/intervals.h \
1062 $(SRC)/termhooks.h \
1069 $(EMACS_ROOT)/nt/inc/pwd.h \
1071 $(SRC)/m/intel386.h \
1078 $(BLD)/w32heap.$(O) : \
1081 $(SRC)/m/intel386.h \
1085 $(BLD)/w32inevt.$(O) : \
1088 $(SRC)/m/intel386.h \
1091 $(SRC)/blockinput.h \
1095 $(SRC)/termhooks.h \
1101 $(BLD)/w32proc.$(O) : \
1104 $(SRC)/m/intel386.h \
1105 $(EMACS_ROOT)/nt/inc/langinfo.h \
1106 $(EMACS_ROOT)/nt/inc/nl_types.h \
1108 $(SRC)/character.h \
1110 $(SRC)/syssignal.h \
1119 $(BLD)/w32console.$(O) : \
1120 $(SRC)/w32console.c \
1122 $(SRC)/m/intel386.h \
1124 $(SRC)/character.h \
1128 $(SRC)/dispextern.h \
1131 $(SRC)/termhooks.h \
1136 $(BLD)/print.$(O) : \
1138 $(EMACS_ROOT)/src/s/ms-w32.h \
1139 $(EMACS_ROOT)/src/m/intel386.h \
1140 $(EMACS_ROOT)/src/config.h \
1142 $(SRC)/character.h \
1144 $(SRC)/composite.h \
1145 $(SRC)/dispextern.h \
1147 $(SRC)/intervals.h \
1155 $(BLD)/process.$(O) : \
1157 $(EMACS_ROOT)/src/s/ms-w32.h \
1158 $(EMACS_ROOT)/src/m/intel386.h \
1159 $(EMACS_ROOT)/src/config.h \
1160 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1161 $(EMACS_ROOT)/nt/inc/sys/file.h \
1163 $(SRC)/blockinput.h \
1166 $(SRC)/character.h \
1170 $(SRC)/composite.h \
1171 $(SRC)/dispextern.h \
1175 $(SRC)/sysselect.h \
1176 $(SRC)/syssignal.h \
1180 $(SRC)/termhooks.h \
1186 $(BLD)/ralloc.$(O) : \
1188 $(EMACS_ROOT)/src/s/ms-w32.h \
1189 $(EMACS_ROOT)/src/m/intel386.h \
1190 $(EMACS_ROOT)/src/config.h \
1191 $(EMACS_ROOT)/nt/inc/sys/param.h \
1193 $(SRC)/m/intel386.h \
1195 $(SRC)/getpagesize.h
1197 $(BLD)/regex.$(O) : \
1199 $(EMACS_ROOT)/src/s/ms-w32.h \
1200 $(EMACS_ROOT)/src/m/intel386.h \
1201 $(EMACS_ROOT)/src/config.h \
1203 $(SRC)/m/intel386.h \
1206 $(SRC)/character.h \
1212 $(BLD)/region-cache.$(O) : \
1213 $(SRC)/region-cache.c \
1214 $(EMACS_ROOT)/src/s/ms-w32.h \
1215 $(EMACS_ROOT)/src/m/intel386.h \
1216 $(EMACS_ROOT)/src/config.h \
1218 $(SRC)/region-cache.h
1220 $(BLD)/scroll.$(O) : \
1222 $(EMACS_ROOT)/src/s/ms-w32.h \
1223 $(EMACS_ROOT)/src/m/intel386.h \
1224 $(EMACS_ROOT)/src/config.h \
1225 $(SRC)/dispextern.h \
1229 $(SRC)/termhooks.h \
1234 $(BLD)/search.$(O) : \
1236 $(EMACS_ROOT)/src/s/ms-w32.h \
1237 $(EMACS_ROOT)/src/m/intel386.h \
1238 $(EMACS_ROOT)/src/config.h \
1240 $(SRC)/blockinput.h \
1243 $(SRC)/character.h \
1246 $(SRC)/composite.h \
1247 $(SRC)/dispextern.h \
1248 $(SRC)/intervals.h \
1250 $(SRC)/region-cache.h \
1256 $(BLD)/sound.$(O) : \
1259 $(SRC)/dispextern.h \
1263 $(BLD)/strftime.$(O) : \
1265 $(EMACS_ROOT)/src/s/ms-w32.h \
1266 $(EMACS_ROOT)/src/m/intel386.h \
1267 $(EMACS_ROOT)/src/config.h
1269 $(BLD)/syntax.$(O) : \
1271 $(EMACS_ROOT)/src/s/ms-w32.h \
1272 $(EMACS_ROOT)/src/m/intel386.h \
1273 $(EMACS_ROOT)/src/config.h \
1276 $(SRC)/character.h \
1279 $(SRC)/composite.h \
1280 $(SRC)/dispextern.h \
1281 $(SRC)/intervals.h \
1287 $(BLD)/sysdep.$(O) : \
1289 $(EMACS_ROOT)/src/s/ms-w32.h \
1290 $(EMACS_ROOT)/src/m/intel386.h \
1291 $(EMACS_ROOT)/src/config.h \
1292 $(EMACS_ROOT)/nt/inc/sys/param.h \
1293 $(EMACS_ROOT)/nt/inc/sys/file.h \
1294 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1295 $(EMACS_ROOT)/nt/inc/sys/file.h \
1297 $(SRC)/blockinput.h \
1299 $(SRC)/dispextern.h \
1304 $(SRC)/sysselect.h \
1305 $(SRC)/syssignal.h \
1310 $(SRC)/termhooks.h \
1316 $(BLD)/term.$(O) : \
1318 $(EMACS_ROOT)/src/s/ms-w32.h \
1319 $(EMACS_ROOT)/src/m/intel386.h \
1320 $(EMACS_ROOT)/src/config.h \
1322 $(SRC)/character.h \
1326 $(SRC)/dispextern.h \
1332 $(SRC)/termhooks.h \
1338 $(BLD)/termcap.$(O) : \
1340 $(EMACS_ROOT)/src/s/ms-w32.h \
1341 $(EMACS_ROOT)/src/m/intel386.h \
1342 $(EMACS_ROOT)/src/config.h \
1343 $(EMACS_ROOT)/nt/inc/sys/file.h
1345 $(BLD)/terminal.$(O) : \
1347 $(EMACS_ROOT)/src/s/ms-w32.h \
1348 $(EMACS_ROOT)/src/m/intel386.h \
1349 $(EMACS_ROOT)/src/config.h \
1357 $(BLD)/textprop.$(O) : \
1359 $(EMACS_ROOT)/src/s/ms-w32.h \
1360 $(EMACS_ROOT)/src/m/intel386.h \
1361 $(EMACS_ROOT)/src/config.h \
1363 $(SRC)/composite.h \
1364 $(SRC)/dispextern.h \
1365 $(SRC)/intervals.h \
1370 $(BLD)/tparam.$(O) : \
1372 $(EMACS_ROOT)/src/s/ms-w32.h \
1373 $(EMACS_ROOT)/src/m/intel386.h \
1374 $(EMACS_ROOT)/src/config.h
1376 $(BLD)/undo.$(O) : \
1378 $(EMACS_ROOT)/src/s/ms-w32.h \
1379 $(EMACS_ROOT)/src/m/intel386.h \
1380 $(EMACS_ROOT)/src/config.h \
1384 $(BLD)/unexw32.$(O) : \
1386 $(EMACS_ROOT)/src/s/ms-w32.h \
1387 $(EMACS_ROOT)/src/m/intel386.h \
1388 $(EMACS_ROOT)/src/config.h \
1391 $(BLD)/vm-limit.$(O) : \
1393 $(EMACS_ROOT)/src/s/ms-w32.h \
1394 $(EMACS_ROOT)/src/m/intel386.h \
1395 $(EMACS_ROOT)/src/config.h \
1398 $(BLD)/window.$(O) : \
1400 $(EMACS_ROOT)/src/s/ms-w32.h \
1401 $(EMACS_ROOT)/src/m/intel386.h \
1402 $(EMACS_ROOT)/src/config.h \
1404 $(SRC)/blockinput.h \
1407 $(SRC)/composite.h \
1408 $(SRC)/dispextern.h \
1412 $(SRC)/intervals.h \
1422 $(BLD)/xdisp.$(O) : \
1424 $(EMACS_ROOT)/src/s/ms-w32.h \
1425 $(EMACS_ROOT)/src/m/intel386.h \
1426 $(EMACS_ROOT)/src/config.h \
1428 $(SRC)/blockinput.h \
1431 $(SRC)/character.h \
1435 $(SRC)/composite.h \
1436 $(SRC)/dispextern.h \
1442 $(SRC)/intervals.h \
1447 $(SRC)/region-cache.h \
1450 $(SRC)/termhooks.h \
1456 $(BLD)/xfaces.$(O): \
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 \
1464 $(SRC)/character.h \
1466 $(SRC)/composite.h \
1467 $(SRC)/dispextern.h \
1471 $(SRC)/intervals.h \
1475 $(SRC)/termhooks.h \
1481 $(BLD)/w32fns.$(O): \
1483 $(EMACS_ROOT)/src/s/ms-w32.h \
1484 $(EMACS_ROOT)/src/m/intel386.h \
1485 $(EMACS_ROOT)/src/config.h \
1487 $(SRC)/blockinput.h \
1490 $(SRC)/character.h \
1493 $(SRC)/composite.h \
1494 $(SRC)/dispextern.h \
1499 $(SRC)/intervals.h \
1502 $(SRC)/termhooks.h \
1509 $(BLD)/w32menu.$(O): \
1511 $(EMACS_ROOT)/src/s/ms-w32.h \
1512 $(EMACS_ROOT)/src/m/intel386.h \
1513 $(EMACS_ROOT)/src/config.h \
1515 $(SRC)/blockinput.h \
1517 $(SRC)/character.h \
1520 $(SRC)/dispextern.h \
1525 $(SRC)/termhooks.h \
1531 $(BLD)/w32term.$(O): \
1533 $(EMACS_ROOT)/src/s/ms-w32.h \
1534 $(EMACS_ROOT)/src/m/intel386.h \
1535 $(EMACS_ROOT)/src/config.h \
1537 $(SRC)/blockinput.h \
1540 $(SRC)/character.h \
1543 $(SRC)/composite.h \
1544 $(SRC)/dispextern.h \
1550 $(SRC)/intervals.h \
1556 $(SRC)/termhooks.h \
1564 $(BLD)/w32select.$(O): \
1565 $(SRC)/w32select.c \
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 \
1573 $(SRC)/character.h \
1576 $(SRC)/composite.h \
1577 $(SRC)/dispextern.h \
1586 $(BLD)/w32reg.$(O): \
1588 $(EMACS_ROOT)/src/s/ms-w32.h \
1589 $(EMACS_ROOT)/src/m/intel386.h \
1590 $(EMACS_ROOT)/src/config.h \
1592 $(SRC)/blockinput.h \
1598 $(BLD)/w32xfns.$(O): \
1600 $(EMACS_ROOT)/src/s/ms-w32.h \
1601 $(EMACS_ROOT)/src/m/intel386.h \
1602 $(EMACS_ROOT)/src/config.h \
1604 $(SRC)/blockinput.h \
1605 $(SRC)/character.h \
1615 $(BLD)/w32bdf.$(O): \
1617 $(EMACS_ROOT)/src/s/ms-w32.h \
1618 $(EMACS_ROOT)/src/m/intel386.h \
1619 $(EMACS_ROOT)/src/config.h \
1621 $(SRC)/blockinput.h \
1622 $(SRC)/character.h \
1624 $(SRC)/dispextern.h \
1633 $(BLD)/w32font$(O): \
1635 $(EMACS_ROOT)/src/s/ms-w32.h \
1636 $(EMACS_ROOT)/src/m/intel386.h \
1637 $(EMACS_ROOT)/src/config.h \
1638 $(SRC)/character.h \
1640 $(SRC)/dispextern.h \
1648 # Each object file depends on stamp_BLD, because in parallel builds we must
1649 # make sure $(BLD) exists before starting compilations.
1651 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD