1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
2 # Copyright (C) 2000-2011 Free Software Foundation, Inc.
4 # This file is part of GNU Emacs.
6 # GNU Emacs is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
11 # GNU Emacs is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
24 # Set EMACSLOADPATH correctly (in case already defined in environment).
25 EMACSLOADPATH=$(CURDIR)/../lisp
28 # HAVE_CONFIG_H is required by some generic gnu sources stuck into
29 # the emacs source tree.
31 LOCAL_FLAGS = -Demacs=1 -DHAVE_CONFIG_H -I../lib -I../nt/inc -DHAVE_NTGUI=1 $(EMACS_EXTRA_C_FLAGS)
34 EMACS = $(BLD)/emacs.exe
35 TEMACS = $(BLD)/temacs.exe
36 TEMACS_TMP = $(BLD)/temacs.bin
37 TLIB0 = $(BLD)/temacs0.$(A)
38 TLIB1 = $(BLD)/temacs1.$(A)
39 TLIB2 = $(BLD)/temacs2.$(A)
40 TOBJ = $(BLD)/firstfile.$(O)
41 TRES = $(BLD)/emacs.res
42 TLASTLIB = $(BLD)/lastfile.$(A)
43 GNULIB = ../lib/$(BLD)/libgnu.$(A)
45 DOC = $(OBJDIR)/etc/DOC-X
47 FULL_LINK_FLAGS = $(LINK_FLAGS) $(TEMACS_EXTRA_LINK)
50 # Split up the objects into two sets so that we don't run out of
51 # command line space when we link them into a library.
53 # Put emacs.$(O) in a separate lib, since we need to have firstfile.$(O)
54 # as the "main" object file when linking.
56 OBJ0 = $(BLD)/emacs.$(O)
58 OBJ1 = $(BLD)/alloc.$(O) \
61 $(BLD)/bytecode.$(O) \
63 $(BLD)/callproc.$(O) \
64 $(BLD)/casefiddle.$(O) \
74 $(BLD)/filelock.$(O) \
78 $(BLD)/keyboard.$(O) \
86 $(BLD)/w32inevt.$(O) \
88 $(BLD)/w32console.$(O) \
97 OBJ2 = $(BLD)/sysdep.$(O) \
101 $(BLD)/unexw32.$(O) \
104 $(BLD)/casetab.$(O) \
105 $(BLD)/floatfns.$(O) \
107 $(BLD)/gmalloc.$(O) \
109 $(BLD)/intervals.$(O) \
110 $(BLD)/composite.$(O) \
112 $(BLD)/textprop.$(O) \
113 $(BLD)/vm-limit.$(O) \
114 $(BLD)/region-cache.$(O) \
116 $(BLD)/charset.$(O) \
117 $(BLD)/character.$(O) \
118 $(BLD)/chartab.$(O) \
120 $(BLD)/category.$(O) \
123 $(BLD)/fontset.$(O) \
126 $(BLD)/terminal.$(O) \
128 $(BLD)/w32term.$(O) \
129 $(BLD)/w32xfns.$(O) \
132 $(BLD)/w32select.$(O) \
133 $(BLD)/w32menu.$(O) \
135 $(BLD)/w32font.$(O) \
136 $(BLD)/w32uniscribe.$(O)
158 # Build the executable and dump it.
163 # The dumped executable
165 emacs: stamp_BLD $(EMACS)
166 $(EMACS): $(DOC) $(TEMACS)
167 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
168 -"$(THISDIR)/$(BLD)/emacs.exe" -batch -f list-load-path-shadows
171 # The undumped executable
172 # Note the extra post-link step to insert a static preload heap section.
173 # If preload runs out of memory, increase the last argument to addsection
174 # (it is the preload heap size in MB).
176 temacs: stamp_BLD $(TEMACS)
177 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIB2) $(TLASTLIB) $(TOBJ) $(TRES) \
178 ../nt/$(BLD)/addsection.exe $(GNULIB)
179 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
180 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 21
182 # These omit firstfile.${O}, but there's no documentation in there
184 buildobj.h: $(SRC)/makefile.w32-in
185 $(MAKE) $(MFLAGS) make-buildobj-$(SHELLTYPE)
187 # Cannot have blanks between the backslash and the redirection
188 # characters, because CMD's `echo' will put them in buildobj.h.
190 echo #define BUILDOBJ ^"\> buildobj.h
191 echo $(OBJ0) \>> buildobj.h
192 echo $(OBJ1) \>> buildobj.h
193 echo $(OBJ2) \>> buildobj.h
197 # The above line is here to countermand the single quote
198 # on the last "echo" command above, wrt font-lock.
200 echo '#define BUILDOBJ $(DQUOTE)\' > buildobj.h
201 echo $(OBJ0) '\' >> buildobj.h
202 echo $(OBJ1) '\' >> buildobj.h
203 echo $(OBJ2) '\' >> buildobj.h
204 echo '$(DQUOTE)' >> buildobj.h
206 GLOBAL_SOURCES = dosfns.c msdos.c \
207 xterm.c xfns.c xmenu.c xselect.c xrdb.c xsmfns.c fringe.c image.c \
208 fontset.c menu.c dbusbind.c \
209 w32.c w32console.c w32fns.c w32heap.c w32inevt.c \
210 w32menu.c w32proc.c w32reg.c w32select.c w32term.c w32xfns.c \
211 font.c w32font.c w32uniscribe.c \
212 dispnew.c frame.c scroll.c xdisp.c window.c bidi.c \
213 charset.c coding.c category.c ccl.c character.c chartab.c \
214 cm.c term.c terminal.c xfaces.c \
215 emacs.c keyboard.c macros.c keymap.c sysdep.c \
216 buffer.c filelock.c insdel.c marker.c \
217 minibuf.c fileio.c dired.c \
218 cmds.c casetab.c casefiddle.c indent.c search.c regex.c undo.c \
219 alloc.c data.c doc.c editfns.c callint.c \
220 eval.c floatfns.c fns.c print.c lread.c \
221 syntax.c bytecode.c \
222 process.c callproc.c unexw32.c \
223 region-cache.c sound.c atimer.c \
224 doprnt.c intervals.c textprop.c composite.c
225 SOME_MACHINE_OBJECTS = dosfns.o msdos.o \
226 xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o dbusbind.o
227 obj = $(GLOBAL_SOURCES:.c=.o)
232 gl-stamp: ../lib-src/$(BLD)/make-docfile.exe $(GLOBAL_SOURCES)
234 "../lib-src/$(BLD)/make-docfile" -d . -g $(SOME_MACHINE_OBJECTS) $(obj) > gl-tmp
235 cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp globals.h"
239 bootstrap: bootstrap-emacs
242 # Build a temacs with a sufficiently large PURESIZE to load the
243 # Lisp files from loadup.el in source form.
245 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
246 # this can break with GNU Make 3.81 and later if sh.exe is used.
247 bootstrap-temacs-CMD:
248 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(ESC_CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
251 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
254 $(MAKE) $(MFLAGS) bootstrap-temacs-$(SHELLTYPE)
257 # Dump an Emacs executable named bootstrap-emacs containing the
258 # files from loadup.el in source form.
260 bootstrap-emacs: bootstrap-temacs
261 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
263 $(CP) $(EMACS) ../bin
266 # Force recompile of files that depend on PURESIZE
269 - $(DEL) $(BLD)/alloc.$(O)
270 - $(DEL) $(BLD)/data.$(O)
271 - $(DEL) $(BLD)/intervals.$(O)
272 - $(DEL) $(BLD)/keyboard.$(O)
273 - $(DEL) $(BLD)/keymap.$(O)
276 # The resource file. NT 3.10 requires the use of cvtres; even though
277 # it is not necessary on later versions, it is still ok to use it.
279 $(TRES): ../nt/emacs.rc stamp_BLD
280 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
283 # Build the library. Split up the build into two phases...otherwise we
284 # run out of command line space.
288 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
291 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
294 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
297 # Place lastfile.$(O) in its own library so that it can be loaded after
298 # the source libraries but before any system libraries. Doing so defines
299 # the end of Emacs' data section portably across compilers and systems.
301 $(TLASTLIB): $(BLD)/lastfile.$(O)
303 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
306 # Assuming INSTALL_DIR is defined, build and install emacs in it.
309 - mkdir "$(INSTALL_DIR)/bin"
310 $(CP) $(EMACS) $(INSTALL_DIR)/bin
315 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
316 # remove precious files if it happens to match their short 8+3 aliases.
318 - $(DEL) "s/*.h~" "m/*.h~"
319 - $(DEL) $(COMPILER_TEMP_FILES)
320 - $(DEL_TREE) $(OBJDIR)
321 - $(DEL) stamp_BLD gl-stamp globals.h
325 - $(DEL) config.h epaths.h Makefile
327 maintainer-clean: distclean
332 - $(DEL_TREE) obj-spd
336 ## Arrange to make a tags table TAGS-LISP for ../lisp,
337 ## plus TAGS for the C files, which includes ../lisp/TAGS by reference.
339 ## This works only with GNU Make.
341 TAGS: $(OBJ0) $(OBJ1) $(OBJ2) $(CURDIR)/m/intel386.h $(CURDIR)/s/ms-w32.h
342 $(MAKE) $(MFLAGS) TAGS-$(MAKETYPE)
344 TAGS-LISP: $(OBJ0) $(OBJ1) $(OBJ2)
345 $(MAKE) $(MFLAGS) TAGS-LISP-$(MAKETYPE)
348 ../lib-src/$(BLD)/etags.exe --include=TAGS-LISP --include=../nt/TAGS \
349 --regex=@../nt/emacs-src.tags \
350 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ0))
351 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
352 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ1))
353 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
354 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ2)) \
355 $(CURDIR)/*.h $(CURDIR)/m/intel386.h $(CURDIR)/s/ms-w32.h
358 echo This target is not supported with NMake
363 $(MAKE) $(MFLAGS) -C ../lisp TAGS-LISP DEST=../src
366 echo This target is not supported with NMake
370 $(MAKE) $(MFLAGS) nt-TAGS-$(MAKETYPE)
373 $(MAKE) $(MFLAGS) -C ../nt TAGS
376 echo This target is not supported with NMake
379 full-tags: TAGS TAGS-LISP ../nt/TAGS
385 CONFIG_H = $(EMACS_ROOT)/src/s/ms-w32.h \
386 $(EMACS_ROOT)/src/m/intel386.h \
387 $(EMACS_ROOT)/src/config.h \
388 $(EMACS_ROOT)/nt/inc/sys/stat.h
389 LISP_H = $(SRC)/lisp.h \
391 $(EMACS_ROOT)/lib/intprops.h \
392 $(EMACS_ROOT)/nt/inc/inttypes.h \
393 $(EMACS_ROOT)/nt/inc/stdint.h
394 PROCESS_H = $(SRC)/process.h \
395 $(EMACS_ROOT)/nt/inc/unistd.h \
398 $(BLD)/alloc.$(O) : \
401 $(EMACS_ROOT)/nt/inc/unistd.h \
402 $(EMACS_ROOT)/nt/inc/sys/time.h \
406 $(SRC)/blockinput.h \
411 $(SRC)/dispextern.h \
423 $(BLD)/atimer.$(O) : \
426 $(EMACS_ROOT)/nt/inc/unistd.h \
427 $(EMACS_ROOT)/nt/inc/sys/time.h \
430 $(SRC)/blockinput.h \
437 $(EMACS_ROOT)/nt/inc/sys/time.h \
439 $(SRC)/bidimirror.h \
443 $(SRC)/dispextern.h \
447 $(BLD)/buffer.$(O) : \
450 $(EMACS_ROOT)/nt/inc/unistd.h \
451 $(EMACS_ROOT)/nt/inc/sys/param.h \
452 $(EMACS_ROOT)/nt/inc/sys/time.h \
455 $(SRC)/blockinput.h \
461 $(SRC)/dispextern.h \
467 $(SRC)/region-cache.h \
472 $(BLD)/bytecode.$(O) : \
475 $(EMACS_ROOT)/nt/inc/sys/time.h \
479 $(SRC)/dispextern.h \
485 $(BLD)/callint.$(O) : \
488 $(EMACS_ROOT)/nt/inc/sys/time.h \
495 $(SRC)/dispextern.h \
502 $(BLD)/callproc.$(O) : \
505 $(EMACS_ROOT)/nt/inc/unistd.h \
506 $(EMACS_ROOT)/nt/inc/sys/file.h \
507 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
508 $(EMACS_ROOT)/nt/inc/sys/time.h \
512 $(SRC)/blockinput.h \
519 $(SRC)/dispextern.h \
529 $(BLD)/casefiddle.$(O) : \
530 $(SRC)/casefiddle.c \
540 $(BLD)/casetab.$(O) : \
547 $(BLD)/category.$(O) : \
567 $(BLD)/character.$(O) : \
577 $(BLD)/charset.$(O) : \
580 $(EMACS_ROOT)/nt/inc/unistd.h \
589 $(BLD)/chartab.$(O) : \
600 $(EMACS_ROOT)/nt/inc/sys/time.h \
607 $(SRC)/dispextern.h \
616 $(BLD)/coding.$(O) : \
619 $(EMACS_ROOT)/nt/inc/sys/time.h \
627 $(SRC)/dispextern.h \
634 $(BLD)/composite.$(O) : \
637 $(EMACS_ROOT)/nt/inc/sys/time.h \
644 $(SRC)/dispextern.h \
656 $(EMACS_ROOT)/nt/inc/sys/time.h \
663 $(SRC)/dispextern.h \
673 $(BLD)/dired.$(O) : \
676 $(EMACS_ROOT)/nt/inc/grp.h \
677 $(EMACS_ROOT)/nt/inc/pwd.h \
678 $(EMACS_ROOT)/nt/inc/unistd.h \
679 $(EMACS_ROOT)/nt/inc/sys/dir.h \
680 $(EMACS_ROOT)/nt/inc/sys/time.h \
681 $(EMACS_ROOT)/lib/filemode.h \
684 $(SRC)/blockinput.h \
695 $(BLD)/dispnew.$(O) : \
698 $(EMACS_ROOT)/nt/inc/unistd.h \
699 $(EMACS_ROOT)/nt/inc/sys/time.h \
703 $(SRC)/blockinput.h \
710 $(SRC)/dispextern.h \
729 $(EMACS_ROOT)/nt/inc/unistd.h \
730 $(EMACS_ROOT)/nt/inc/sys/file.h \
731 $(EMACS_ROOT)/nt/inc/sys/time.h \
741 $(BLD)/doprnt.$(O) : \
744 $(EMACS_ROOT)/nt/inc/unistd.h \
748 $(BLD)/editfns.$(O) : \
751 $(EMACS_ROOT)/nt/inc/pwd.h \
752 $(EMACS_ROOT)/nt/inc/unistd.h \
753 $(EMACS_ROOT)/nt/inc/sys/time.h \
754 $(EMACS_ROOT)/lib/strftime.h \
755 $(EMACS_ROOT)/lib/verify.h \
758 $(SRC)/blockinput.h \
763 $(SRC)/dispextern.h \
770 $(BLD)/emacs.$(O) : \
773 $(EMACS_ROOT)/nt/inc/unistd.h \
774 $(EMACS_ROOT)/nt/inc/sys/file.h \
775 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
776 $(EMACS_ROOT)/nt/inc/sys/time.h \
780 $(SRC)/blockinput.h \
785 $(SRC)/dispextern.h \
803 $(EMACS_ROOT)/nt/inc/sys/time.h \
806 $(SRC)/blockinput.h \
810 $(SRC)/dispextern.h \
816 $(BLD)/fileio.$(O) : \
819 $(EMACS_ROOT)/nt/inc/pwd.h \
820 $(EMACS_ROOT)/nt/inc/unistd.h \
821 $(EMACS_ROOT)/nt/inc/sys/time.h \
824 $(SRC)/blockinput.h \
830 $(SRC)/dispextern.h \
837 $(BLD)/filelock.$(O) : \
840 $(EMACS_ROOT)/nt/inc/pwd.h \
841 $(EMACS_ROOT)/nt/inc/unistd.h \
842 $(EMACS_ROOT)/nt/inc/sys/file.h \
843 $(EMACS_ROOT)/nt/inc/sys/time.h \
851 $(BLD)/firstfile.$(O) : \
855 $(BLD)/floatfns.$(O) : \
864 $(EMACS_ROOT)/nt/inc/langinfo.h \
865 $(EMACS_ROOT)/nt/inc/nl_types.h \
866 $(EMACS_ROOT)/nt/inc/unistd.h \
867 $(EMACS_ROOT)/nt/inc/sys/time.h \
868 $(EMACS_ROOT)/lib/md5.h \
869 $(EMACS_ROOT)/lib/sha1.h \
870 $(EMACS_ROOT)/lib/sha256.h \
871 $(EMACS_ROOT)/lib/sha512.h \
874 $(SRC)/blockinput.h \
880 $(SRC)/dispextern.h \
892 $(EMACS_ROOT)/nt/inc/sys/time.h \
899 $(SRC)/dispextern.h \
908 $(BLD)/fontset.$(O) : \
911 $(EMACS_ROOT)/nt/inc/sys/time.h \
914 $(SRC)/blockinput.h \
921 $(SRC)/dispextern.h \
933 $(BLD)/frame.$(O) : \
936 $(EMACS_ROOT)/nt/inc/sys/time.h \
939 $(SRC)/blockinput.h \
946 $(SRC)/dispextern.h \
958 $(BLD)/fringe.$(O) : \
961 $(EMACS_ROOT)/nt/inc/sys/time.h \
964 $(SRC)/blockinput.h \
966 $(SRC)/dispextern.h \
973 $(BLD)/gmalloc.$(O) : \
976 $(EMACS_ROOT)/nt/inc/unistd.h \
979 $(BLD)/gnutls.$(O) : \
982 $(EMACS_ROOT)/nt/inc/unistd.h \
987 $(BLD)/image.$(O) : \
990 $(EMACS_ROOT)/nt/inc/unistd.h \
991 $(EMACS_ROOT)/nt/inc/sys/time.h \
994 $(SRC)/blockinput.h \
999 $(SRC)/dispextern.h \
1004 $(SRC)/termhooks.h \
1010 $(BLD)/indent.$(O) : \
1013 $(EMACS_ROOT)/nt/inc/sys/time.h \
1017 $(SRC)/character.h \
1019 $(SRC)/composite.h \
1020 $(SRC)/dispextern.h \
1024 $(SRC)/intervals.h \
1026 $(SRC)/region-cache.h \
1033 $(BLD)/insdel.$(O) : \
1036 $(EMACS_ROOT)/nt/inc/sys/time.h \
1039 $(SRC)/blockinput.h \
1041 $(SRC)/character.h \
1042 $(SRC)/composite.h \
1043 $(SRC)/dispextern.h \
1044 $(SRC)/intervals.h \
1045 $(SRC)/region-cache.h \
1050 $(BLD)/intervals.$(O) : \
1051 $(SRC)/intervals.c \
1053 $(EMACS_ROOT)/nt/inc/sys/time.h \
1057 $(SRC)/composite.h \
1058 $(SRC)/dispextern.h \
1059 $(SRC)/intervals.h \
1066 $(BLD)/keyboard.$(O) : \
1069 $(EMACS_ROOT)/nt/inc/unistd.h \
1070 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1071 $(EMACS_ROOT)/nt/inc/sys/time.h \
1075 $(SRC)/blockinput.h \
1077 $(SRC)/character.h \
1080 $(SRC)/composite.h \
1081 $(SRC)/dispextern.h \
1084 $(SRC)/intervals.h \
1090 $(SRC)/syssignal.h \
1093 $(SRC)/termhooks.h \
1099 $(BLD)/keymap.$(O) : \
1102 $(EMACS_ROOT)/nt/inc/sys/time.h \
1105 $(SRC)/blockinput.h \
1107 $(SRC)/character.h \
1111 $(SRC)/composite.h \
1112 $(SRC)/dispextern.h \
1114 $(SRC)/intervals.h \
1119 $(SRC)/termhooks.h \
1123 $(BLD)/lastfile.$(O) : \
1127 $(BLD)/lread.$(O) : \
1130 $(EMACS_ROOT)/nt/inc/unistd.h \
1131 $(EMACS_ROOT)/nt/inc/sys/file.h \
1132 $(EMACS_ROOT)/nt/inc/sys/time.h \
1135 $(SRC)/blockinput.h \
1137 $(SRC)/character.h \
1141 $(SRC)/composite.h \
1142 $(SRC)/dispextern.h \
1145 $(SRC)/intervals.h \
1148 $(SRC)/termhooks.h \
1151 $(BLD)/macros.$(O) : \
1154 $(EMACS_ROOT)/nt/inc/sys/time.h \
1159 $(SRC)/composite.h \
1160 $(SRC)/dispextern.h \
1167 $(BLD)/marker.$(O) : \
1174 $(BLD)/menu.$(O) : \
1177 $(EMACS_ROOT)/nt/inc/sys/time.h \
1180 $(SRC)/blockinput.h \
1182 $(SRC)/composite.h \
1183 $(SRC)/dispextern.h \
1189 $(SRC)/termhooks.h \
1194 $(BLD)/minibuf.$(O) : \
1197 $(EMACS_ROOT)/nt/inc/sys/time.h \
1200 $(SRC)/character.h \
1203 $(SRC)/composite.h \
1204 $(SRC)/dispextern.h \
1206 $(SRC)/intervals.h \
1211 $(SRC)/termhooks.h \
1218 $(EMACS_ROOT)/nt/inc/grp.h \
1219 $(EMACS_ROOT)/nt/inc/pwd.h \
1220 $(EMACS_ROOT)/nt/inc/unistd.h \
1221 $(EMACS_ROOT)/nt/inc/sys/file.h \
1222 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1223 $(EMACS_ROOT)/nt/inc/sys/time.h \
1224 $(EMACS_ROOT)/lib/allocator.h \
1225 $(EMACS_ROOT)/lib/careadlinkat.h \
1229 $(SRC)/composite.h \
1230 $(SRC)/dispextern.h \
1237 $(BLD)/w32heap.$(O) : \
1243 $(BLD)/w32inevt.$(O) : \
1246 $(EMACS_ROOT)/nt/inc/sys/time.h \
1249 $(SRC)/blockinput.h \
1251 $(SRC)/composite.h \
1252 $(SRC)/dispextern.h \
1256 $(SRC)/termhooks.h \
1261 $(BLD)/w32proc.$(O) : \
1264 $(EMACS_ROOT)/nt/inc/langinfo.h \
1265 $(EMACS_ROOT)/nt/inc/nl_types.h \
1266 $(EMACS_ROOT)/nt/inc/unistd.h \
1267 $(EMACS_ROOT)/nt/inc/sys/file.h \
1268 $(EMACS_ROOT)/nt/inc/sys/time.h \
1271 $(SRC)/character.h \
1273 $(SRC)/composite.h \
1274 $(SRC)/dispextern.h \
1275 $(SRC)/syssignal.h \
1283 $(BLD)/w32console.$(O) : \
1284 $(SRC)/w32console.c \
1286 $(EMACS_ROOT)/nt/inc/sys/time.h \
1288 $(SRC)/character.h \
1290 $(SRC)/composite.h \
1291 $(SRC)/dispextern.h \
1296 $(SRC)/termhooks.h \
1300 $(BLD)/print.$(O) : \
1303 $(EMACS_ROOT)/nt/inc/unistd.h \
1304 $(EMACS_ROOT)/nt/inc/sys/time.h \
1305 $(EMACS_ROOT)/lib/ftoastr.h \
1309 $(SRC)/blockinput.h \
1312 $(SRC)/character.h \
1315 $(SRC)/composite.h \
1316 $(SRC)/dispextern.h \
1319 $(SRC)/intervals.h \
1323 $(SRC)/termhooks.h \
1327 $(BLD)/process.$(O) : \
1330 $(EMACS_ROOT)/nt/inc/netdb.h \
1331 $(EMACS_ROOT)/nt/inc/unistd.h \
1332 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1333 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1334 $(EMACS_ROOT)/nt/inc/sys/file.h \
1335 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1336 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1337 $(EMACS_ROOT)/nt/inc/sys/time.h \
1341 $(SRC)/blockinput.h \
1343 $(SRC)/character.h \
1346 $(SRC)/composite.h \
1347 $(SRC)/dispextern.h \
1350 $(SRC)/sysselect.h \
1351 $(SRC)/syssignal.h \
1355 $(SRC)/termhooks.h \
1361 $(BLD)/ralloc.$(O) : \
1364 $(EMACS_ROOT)/nt/inc/unistd.h \
1365 $(EMACS_ROOT)/nt/inc/sys/time.h \
1368 $(SRC)/blockinput.h \
1369 $(SRC)/getpagesize.h \
1372 $(BLD)/regex.$(O) : \
1378 $(SRC)/character.h \
1382 $(BLD)/region-cache.$(O) : \
1383 $(SRC)/region-cache.c \
1387 $(SRC)/region-cache.h
1389 $(BLD)/scroll.$(O) : \
1392 $(EMACS_ROOT)/nt/inc/sys/time.h \
1395 $(SRC)/composite.h \
1396 $(SRC)/dispextern.h \
1401 $(SRC)/termhooks.h \
1405 $(BLD)/search.$(O) : \
1408 $(EMACS_ROOT)/nt/inc/sys/time.h \
1411 $(SRC)/blockinput.h \
1414 $(SRC)/character.h \
1417 $(SRC)/composite.h \
1418 $(SRC)/dispextern.h \
1419 $(SRC)/intervals.h \
1421 $(SRC)/region-cache.h \
1426 $(BLD)/sound.$(O) : \
1429 $(EMACS_ROOT)/nt/inc/unistd.h \
1430 $(EMACS_ROOT)/nt/inc/sys/time.h \
1433 $(SRC)/dispextern.h \
1434 $(SRC)/syssignal.h \
1438 $(BLD)/syntax.$(O) : \
1441 $(EMACS_ROOT)/nt/inc/sys/time.h \
1445 $(SRC)/character.h \
1447 $(SRC)/composite.h \
1448 $(SRC)/dispextern.h \
1449 $(SRC)/intervals.h \
1456 $(BLD)/sysdep.$(O) : \
1459 $(EMACS_ROOT)/nt/inc/grp.h \
1460 $(EMACS_ROOT)/nt/inc/netdb.h \
1461 $(EMACS_ROOT)/nt/inc/pwd.h \
1462 $(EMACS_ROOT)/nt/inc/unistd.h \
1463 $(EMACS_ROOT)/nt/inc/sys/file.h \
1464 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1465 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1466 $(EMACS_ROOT)/nt/inc/sys/time.h \
1467 $(EMACS_ROOT)/lib/allocator.h \
1468 $(EMACS_ROOT)/lib/careadlinkat.h \
1469 $(EMACS_ROOT)/lib/ignore-value.h \
1473 $(SRC)/blockinput.h \
1476 $(SRC)/composite.h \
1477 $(SRC)/dispextern.h \
1480 $(SRC)/sysselect.h \
1481 $(SRC)/syssignal.h \
1486 $(SRC)/termhooks.h \
1492 $(BLD)/term.$(O) : \
1495 $(EMACS_ROOT)/nt/inc/unistd.h \
1496 $(EMACS_ROOT)/nt/inc/sys/file.h \
1497 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1498 $(EMACS_ROOT)/nt/inc/sys/time.h \
1501 $(SRC)/blockinput.h \
1503 $(SRC)/character.h \
1507 $(SRC)/composite.h \
1508 $(SRC)/dispextern.h \
1511 $(SRC)/intervals.h \
1514 $(SRC)/syssignal.h \
1518 $(SRC)/termhooks.h \
1524 $(BLD)/terminal.$(O) : \
1527 $(EMACS_ROOT)/nt/inc/sys/time.h \
1531 $(SRC)/composite.h \
1532 $(SRC)/dispextern.h \
1537 $(SRC)/termhooks.h \
1540 $(BLD)/textprop.$(O) : \
1543 $(EMACS_ROOT)/nt/inc/sys/time.h \
1546 $(SRC)/composite.h \
1547 $(SRC)/dispextern.h \
1548 $(SRC)/intervals.h \
1553 $(BLD)/tparam.$(O) : \
1559 $(BLD)/undo.$(O) : \
1562 $(EMACS_ROOT)/nt/inc/sys/time.h \
1566 $(SRC)/dispextern.h \
1571 $(BLD)/unexw32.$(O) : \
1577 $(BLD)/vm-limit.$(O) : \
1583 $(BLD)/window.$(O) : \
1586 $(EMACS_ROOT)/nt/inc/sys/time.h \
1589 $(SRC)/blockinput.h \
1593 $(SRC)/composite.h \
1594 $(SRC)/dispextern.h \
1598 $(SRC)/intervals.h \
1603 $(SRC)/termhooks.h \
1608 $(BLD)/xdisp.$(O) : \
1611 $(EMACS_ROOT)/nt/inc/unistd.h \
1612 $(EMACS_ROOT)/nt/inc/sys/time.h \
1616 $(SRC)/blockinput.h \
1619 $(SRC)/character.h \
1623 $(SRC)/composite.h \
1624 $(SRC)/dispextern.h \
1630 $(SRC)/intervals.h \
1634 $(SRC)/region-cache.h \
1637 $(SRC)/termhooks.h \
1643 $(BLD)/xfaces.$(O) : \
1646 $(EMACS_ROOT)/nt/inc/sys/time.h \
1649 $(SRC)/blockinput.h \
1652 $(SRC)/character.h \
1655 $(SRC)/composite.h \
1656 $(SRC)/dispextern.h \
1660 $(SRC)/intervals.h \
1664 $(SRC)/termhooks.h \
1669 $(BLD)/w32fns.$(O) : \
1672 $(EMACS_ROOT)/nt/inc/sys/time.h \
1675 $(SRC)/blockinput.h \
1678 $(SRC)/character.h \
1681 $(SRC)/composite.h \
1682 $(SRC)/dispextern.h \
1687 $(SRC)/intervals.h \
1690 $(SRC)/termhooks.h \
1698 $(BLD)/w32menu.$(O) : \
1701 $(EMACS_ROOT)/nt/inc/sys/time.h \
1704 $(SRC)/blockinput.h \
1706 $(SRC)/character.h \
1709 $(SRC)/composite.h \
1710 $(SRC)/dispextern.h \
1716 $(SRC)/termhooks.h \
1721 $(BLD)/w32term.$(O) : \
1724 $(EMACS_ROOT)/nt/inc/unistd.h \
1725 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1726 $(EMACS_ROOT)/nt/inc/sys/time.h \
1730 $(SRC)/blockinput.h \
1733 $(SRC)/character.h \
1736 $(SRC)/composite.h \
1737 $(SRC)/dispextern.h \
1742 $(SRC)/intervals.h \
1748 $(SRC)/termhooks.h \
1756 $(BLD)/w32select.$(O) : \
1757 $(SRC)/w32select.c \
1759 $(EMACS_ROOT)/nt/inc/sys/time.h \
1762 $(SRC)/blockinput.h \
1763 $(SRC)/character.h \
1766 $(SRC)/composite.h \
1772 $(BLD)/w32reg.$(O) : \
1775 $(EMACS_ROOT)/nt/inc/sys/time.h \
1778 $(SRC)/blockinput.h \
1783 $(BLD)/w32xfns.$(O) : \
1786 $(EMACS_ROOT)/nt/inc/sys/time.h \
1789 $(SRC)/blockinput.h \
1792 $(SRC)/composite.h \
1793 $(SRC)/dispextern.h \
1801 $(BLD)/w32font.$(O) : \
1804 $(EMACS_ROOT)/nt/inc/sys/time.h \
1807 $(SRC)/character.h \
1810 $(SRC)/composite.h \
1811 $(SRC)/dispextern.h \
1820 $(BLD)/w32uniscribe.$(O) : \
1821 $(SRC)/w32uniscribe.c \
1823 $(EMACS_ROOT)/nt/inc/sys/time.h \
1826 $(SRC)/character.h \
1828 $(SRC)/composite.h \
1829 $(SRC)/dispextern.h \
1838 # Each object file depends on stamp_BLD, because in parallel builds we must
1839 # make sure $(BLD) exists before starting compilations.
1841 $(OBJ0) $(OBJ1) $(OBJ2) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD