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)/nt/inc/inttypes.h \
392 $(EMACS_ROOT)/nt/inc/stdint.h
393 PROCESS_H = $(SRC)/process.h \
394 $(EMACS_ROOT)/nt/inc/unistd.h \
397 $(BLD)/alloc.$(O) : \
400 $(EMACS_ROOT)/nt/inc/sys/time.h \
404 $(SRC)/blockinput.h \
409 $(SRC)/dispextern.h \
421 $(BLD)/atimer.$(O) : \
424 $(EMACS_ROOT)/nt/inc/unistd.h \
425 $(EMACS_ROOT)/nt/inc/sys/time.h \
428 $(SRC)/blockinput.h \
436 $(SRC)/bidimirror.h \
440 $(SRC)/dispextern.h \
443 $(BLD)/buffer.$(O) : \
446 $(EMACS_ROOT)/nt/inc/unistd.h \
447 $(EMACS_ROOT)/nt/inc/sys/param.h \
448 $(EMACS_ROOT)/nt/inc/sys/time.h \
451 $(SRC)/blockinput.h \
457 $(SRC)/dispextern.h \
463 $(SRC)/region-cache.h \
468 $(BLD)/bytecode.$(O) : \
474 $(SRC)/dispextern.h \
479 $(BLD)/callint.$(O) : \
482 $(EMACS_ROOT)/nt/inc/sys/time.h \
489 $(SRC)/dispextern.h \
496 $(BLD)/callproc.$(O) : \
499 $(EMACS_ROOT)/nt/inc/sys/file.h \
500 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
501 $(EMACS_ROOT)/nt/inc/sys/time.h \
505 $(SRC)/blockinput.h \
512 $(SRC)/dispextern.h \
522 $(BLD)/casefiddle.$(O) : \
523 $(SRC)/casefiddle.c \
533 $(BLD)/casetab.$(O) : \
540 $(BLD)/category.$(O) : \
560 $(BLD)/character.$(O) : \
570 $(BLD)/charset.$(O) : \
573 $(EMACS_ROOT)/nt/inc/unistd.h \
582 $(BLD)/chartab.$(O) : \
593 $(EMACS_ROOT)/nt/inc/sys/time.h \
600 $(SRC)/dispextern.h \
609 $(BLD)/coding.$(O) : \
619 $(SRC)/dispextern.h \
625 $(BLD)/composite.$(O) : \
634 $(SRC)/dispextern.h \
645 $(EMACS_ROOT)/nt/inc/sys/time.h \
652 $(SRC)/dispextern.h \
662 $(BLD)/dired.$(O) : \
665 $(EMACS_ROOT)/nt/inc/grp.h \
666 $(EMACS_ROOT)/nt/inc/pwd.h \
667 $(EMACS_ROOT)/nt/inc/unistd.h \
668 $(EMACS_ROOT)/nt/inc/sys/dir.h \
669 $(EMACS_ROOT)/nt/inc/sys/time.h \
670 $(EMACS_ROOT)/lib/filemode.h \
673 $(SRC)/blockinput.h \
684 $(BLD)/dispnew.$(O) : \
687 $(EMACS_ROOT)/nt/inc/sys/time.h \
691 $(SRC)/blockinput.h \
698 $(SRC)/dispextern.h \
717 $(EMACS_ROOT)/nt/inc/unistd.h \
718 $(EMACS_ROOT)/nt/inc/sys/file.h \
719 $(EMACS_ROOT)/nt/inc/sys/time.h \
729 $(BLD)/doprnt.$(O) : \
732 $(EMACS_ROOT)/nt/inc/unistd.h \
736 $(BLD)/editfns.$(O) : \
739 $(EMACS_ROOT)/nt/inc/pwd.h \
740 $(EMACS_ROOT)/nt/inc/unistd.h \
741 $(EMACS_ROOT)/nt/inc/sys/time.h \
742 $(EMACS_ROOT)/lib/intprops.h \
743 $(EMACS_ROOT)/lib/strftime.h \
746 $(SRC)/blockinput.h \
751 $(SRC)/dispextern.h \
758 $(BLD)/emacs.$(O) : \
761 $(EMACS_ROOT)/nt/inc/sys/file.h \
762 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
763 $(EMACS_ROOT)/nt/inc/sys/time.h \
767 $(SRC)/blockinput.h \
772 $(SRC)/dispextern.h \
790 $(EMACS_ROOT)/nt/inc/sys/time.h \
793 $(SRC)/blockinput.h \
797 $(SRC)/dispextern.h \
803 $(BLD)/fileio.$(O) : \
806 $(EMACS_ROOT)/nt/inc/pwd.h \
807 $(EMACS_ROOT)/nt/inc/unistd.h \
808 $(EMACS_ROOT)/nt/inc/sys/time.h \
811 $(SRC)/blockinput.h \
817 $(SRC)/dispextern.h \
824 $(BLD)/filelock.$(O) : \
827 $(EMACS_ROOT)/nt/inc/pwd.h \
828 $(EMACS_ROOT)/nt/inc/unistd.h \
829 $(EMACS_ROOT)/nt/inc/sys/file.h \
830 $(EMACS_ROOT)/nt/inc/sys/time.h \
838 $(BLD)/firstfile.$(O) : \
842 $(BLD)/floatfns.$(O) : \
851 $(EMACS_ROOT)/nt/inc/langinfo.h \
852 $(EMACS_ROOT)/nt/inc/nl_types.h \
853 $(EMACS_ROOT)/nt/inc/unistd.h \
854 $(EMACS_ROOT)/nt/inc/sys/time.h \
855 $(EMACS_ROOT)/lib/md5.h \
858 $(SRC)/blockinput.h \
864 $(SRC)/dispextern.h \
882 $(SRC)/dispextern.h \
890 $(BLD)/fontset.$(O) : \
893 $(EMACS_ROOT)/nt/inc/sys/time.h \
896 $(SRC)/blockinput.h \
903 $(SRC)/dispextern.h \
915 $(BLD)/frame.$(O) : \
918 $(EMACS_ROOT)/nt/inc/sys/time.h \
921 $(SRC)/blockinput.h \
928 $(SRC)/dispextern.h \
940 $(BLD)/fringe.$(O) : \
943 $(EMACS_ROOT)/nt/inc/sys/time.h \
946 $(SRC)/blockinput.h \
948 $(SRC)/dispextern.h \
955 $(BLD)/gmalloc.$(O) : \
958 $(EMACS_ROOT)/nt/inc/unistd.h \
961 $(BLD)/gnutls.$(O) : \
968 $(BLD)/image.$(O) : \
971 $(EMACS_ROOT)/nt/inc/unistd.h \
972 $(EMACS_ROOT)/nt/inc/sys/time.h \
975 $(SRC)/blockinput.h \
980 $(SRC)/dispextern.h \
991 $(BLD)/indent.$(O) : \
994 $(EMACS_ROOT)/nt/inc/sys/time.h \
1000 $(SRC)/composite.h \
1001 $(SRC)/dispextern.h \
1005 $(SRC)/intervals.h \
1007 $(SRC)/region-cache.h \
1014 $(BLD)/insdel.$(O) : \
1017 $(EMACS_ROOT)/nt/inc/sys/time.h \
1020 $(SRC)/blockinput.h \
1022 $(SRC)/character.h \
1023 $(SRC)/composite.h \
1024 $(SRC)/dispextern.h \
1025 $(SRC)/intervals.h \
1026 $(SRC)/region-cache.h \
1031 $(BLD)/intervals.$(O) : \
1032 $(SRC)/intervals.c \
1034 $(EMACS_ROOT)/nt/inc/sys/time.h \
1035 $(EMACS_ROOT)/lib/intprops.h \
1039 $(SRC)/composite.h \
1040 $(SRC)/dispextern.h \
1041 $(SRC)/intervals.h \
1048 $(BLD)/keyboard.$(O) : \
1051 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1052 $(EMACS_ROOT)/nt/inc/sys/time.h \
1056 $(SRC)/blockinput.h \
1058 $(SRC)/character.h \
1061 $(SRC)/composite.h \
1062 $(SRC)/dispextern.h \
1065 $(SRC)/intervals.h \
1071 $(SRC)/syssignal.h \
1074 $(SRC)/termhooks.h \
1080 $(BLD)/keymap.$(O) : \
1083 $(EMACS_ROOT)/nt/inc/sys/time.h \
1086 $(SRC)/blockinput.h \
1088 $(SRC)/character.h \
1092 $(SRC)/composite.h \
1093 $(SRC)/dispextern.h \
1095 $(SRC)/intervals.h \
1100 $(SRC)/termhooks.h \
1104 $(BLD)/lastfile.$(O) : \
1108 $(BLD)/lread.$(O) : \
1111 $(EMACS_ROOT)/nt/inc/unistd.h \
1112 $(EMACS_ROOT)/nt/inc/sys/file.h \
1113 $(EMACS_ROOT)/nt/inc/sys/time.h \
1116 $(SRC)/blockinput.h \
1118 $(SRC)/character.h \
1122 $(SRC)/composite.h \
1123 $(SRC)/dispextern.h \
1126 $(SRC)/intervals.h \
1129 $(SRC)/termhooks.h \
1132 $(BLD)/macros.$(O) : \
1135 $(EMACS_ROOT)/nt/inc/sys/time.h \
1140 $(SRC)/composite.h \
1141 $(SRC)/dispextern.h \
1148 $(BLD)/marker.$(O) : \
1155 $(BLD)/menu.$(O) : \
1158 $(EMACS_ROOT)/nt/inc/sys/time.h \
1161 $(SRC)/blockinput.h \
1163 $(SRC)/composite.h \
1164 $(SRC)/dispextern.h \
1170 $(SRC)/termhooks.h \
1175 $(BLD)/minibuf.$(O) : \
1178 $(EMACS_ROOT)/nt/inc/sys/time.h \
1181 $(SRC)/character.h \
1184 $(SRC)/composite.h \
1185 $(SRC)/dispextern.h \
1187 $(SRC)/intervals.h \
1192 $(SRC)/termhooks.h \
1199 $(EMACS_ROOT)/nt/inc/grp.h \
1200 $(EMACS_ROOT)/nt/inc/pwd.h \
1201 $(EMACS_ROOT)/nt/inc/sys/file.h \
1202 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1203 $(EMACS_ROOT)/nt/inc/sys/time.h \
1204 $(EMACS_ROOT)/lib/allocator.h \
1205 $(EMACS_ROOT)/lib/careadlinkat.h \
1209 $(SRC)/composite.h \
1210 $(SRC)/dispextern.h \
1217 $(BLD)/w32heap.$(O) : \
1223 $(BLD)/w32inevt.$(O) : \
1226 $(EMACS_ROOT)/nt/inc/sys/time.h \
1229 $(SRC)/blockinput.h \
1231 $(SRC)/composite.h \
1232 $(SRC)/dispextern.h \
1236 $(SRC)/termhooks.h \
1241 $(BLD)/w32proc.$(O) : \
1244 $(EMACS_ROOT)/nt/inc/langinfo.h \
1245 $(EMACS_ROOT)/nt/inc/nl_types.h \
1246 $(EMACS_ROOT)/nt/inc/sys/file.h \
1247 $(EMACS_ROOT)/nt/inc/sys/time.h \
1250 $(SRC)/character.h \
1252 $(SRC)/composite.h \
1253 $(SRC)/dispextern.h \
1254 $(SRC)/syssignal.h \
1262 $(BLD)/w32console.$(O) : \
1263 $(SRC)/w32console.c \
1266 $(SRC)/character.h \
1268 $(SRC)/composite.h \
1269 $(SRC)/dispextern.h \
1273 $(SRC)/termhooks.h \
1277 $(BLD)/print.$(O) : \
1280 $(EMACS_ROOT)/nt/inc/sys/time.h \
1281 $(EMACS_ROOT)/lib/ftoastr.h \
1282 $(EMACS_ROOT)/lib/intprops.h \
1286 $(SRC)/blockinput.h \
1289 $(SRC)/character.h \
1292 $(SRC)/composite.h \
1293 $(SRC)/dispextern.h \
1296 $(SRC)/intervals.h \
1300 $(SRC)/termhooks.h \
1304 $(BLD)/process.$(O) : \
1307 $(EMACS_ROOT)/nt/inc/netdb.h \
1308 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1309 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1310 $(EMACS_ROOT)/nt/inc/sys/file.h \
1311 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1312 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1313 $(EMACS_ROOT)/nt/inc/sys/time.h \
1317 $(SRC)/blockinput.h \
1319 $(SRC)/character.h \
1322 $(SRC)/composite.h \
1323 $(SRC)/dispextern.h \
1326 $(SRC)/sysselect.h \
1327 $(SRC)/syssignal.h \
1331 $(SRC)/termhooks.h \
1337 $(BLD)/ralloc.$(O) : \
1340 $(EMACS_ROOT)/nt/inc/unistd.h \
1341 $(EMACS_ROOT)/nt/inc/sys/time.h \
1344 $(SRC)/blockinput.h \
1345 $(SRC)/getpagesize.h \
1348 $(BLD)/regex.$(O) : \
1354 $(SRC)/character.h \
1358 $(BLD)/region-cache.$(O) : \
1359 $(SRC)/region-cache.c \
1363 $(SRC)/region-cache.h
1365 $(BLD)/scroll.$(O) : \
1368 $(EMACS_ROOT)/nt/inc/sys/time.h \
1371 $(SRC)/composite.h \
1372 $(SRC)/dispextern.h \
1377 $(SRC)/termhooks.h \
1381 $(BLD)/search.$(O) : \
1384 $(EMACS_ROOT)/nt/inc/sys/time.h \
1387 $(SRC)/blockinput.h \
1390 $(SRC)/character.h \
1393 $(SRC)/composite.h \
1394 $(SRC)/dispextern.h \
1395 $(SRC)/intervals.h \
1397 $(SRC)/region-cache.h \
1402 $(BLD)/sound.$(O) : \
1405 $(EMACS_ROOT)/nt/inc/unistd.h \
1406 $(EMACS_ROOT)/nt/inc/sys/time.h \
1409 $(SRC)/dispextern.h \
1410 $(SRC)/syssignal.h \
1414 $(BLD)/syntax.$(O) : \
1420 $(SRC)/character.h \
1422 $(SRC)/composite.h \
1423 $(SRC)/dispextern.h \
1424 $(SRC)/intervals.h \
1430 $(BLD)/sysdep.$(O) : \
1433 $(EMACS_ROOT)/nt/inc/grp.h \
1434 $(EMACS_ROOT)/nt/inc/netdb.h \
1435 $(EMACS_ROOT)/nt/inc/pwd.h \
1436 $(EMACS_ROOT)/nt/inc/sys/file.h \
1437 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1438 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1439 $(EMACS_ROOT)/nt/inc/sys/time.h \
1440 $(EMACS_ROOT)/lib/allocator.h \
1441 $(EMACS_ROOT)/lib/careadlinkat.h \
1442 $(EMACS_ROOT)/lib/ignore-value.h \
1446 $(SRC)/blockinput.h \
1449 $(SRC)/composite.h \
1450 $(SRC)/dispextern.h \
1453 $(SRC)/sysselect.h \
1454 $(SRC)/syssignal.h \
1459 $(SRC)/termhooks.h \
1465 $(BLD)/term.$(O) : \
1468 $(EMACS_ROOT)/nt/inc/unistd.h \
1469 $(EMACS_ROOT)/nt/inc/sys/file.h \
1470 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1471 $(EMACS_ROOT)/nt/inc/sys/time.h \
1474 $(SRC)/blockinput.h \
1476 $(SRC)/character.h \
1480 $(SRC)/composite.h \
1481 $(SRC)/dispextern.h \
1484 $(SRC)/intervals.h \
1487 $(SRC)/syssignal.h \
1491 $(SRC)/termhooks.h \
1497 $(BLD)/terminal.$(O) : \
1500 $(EMACS_ROOT)/nt/inc/sys/time.h \
1504 $(SRC)/composite.h \
1505 $(SRC)/dispextern.h \
1510 $(SRC)/termhooks.h \
1513 $(BLD)/textprop.$(O) : \
1518 $(SRC)/composite.h \
1519 $(SRC)/dispextern.h \
1520 $(SRC)/intervals.h \
1524 $(BLD)/tparam.$(O) : \
1530 $(BLD)/undo.$(O) : \
1536 $(SRC)/dispextern.h \
1540 $(BLD)/unexw32.$(O) : \
1546 $(BLD)/vm-limit.$(O) : \
1552 $(BLD)/window.$(O) : \
1555 $(EMACS_ROOT)/nt/inc/sys/time.h \
1558 $(SRC)/blockinput.h \
1562 $(SRC)/composite.h \
1563 $(SRC)/dispextern.h \
1567 $(SRC)/intervals.h \
1572 $(SRC)/termhooks.h \
1577 $(BLD)/xdisp.$(O) : \
1580 $(EMACS_ROOT)/nt/inc/sys/time.h \
1584 $(SRC)/blockinput.h \
1587 $(SRC)/character.h \
1591 $(SRC)/composite.h \
1592 $(SRC)/dispextern.h \
1598 $(SRC)/intervals.h \
1602 $(SRC)/region-cache.h \
1605 $(SRC)/termhooks.h \
1611 $(BLD)/xfaces.$(O) : \
1614 $(EMACS_ROOT)/nt/inc/sys/time.h \
1617 $(SRC)/blockinput.h \
1620 $(SRC)/character.h \
1623 $(SRC)/composite.h \
1624 $(SRC)/dispextern.h \
1628 $(SRC)/intervals.h \
1632 $(SRC)/termhooks.h \
1637 $(BLD)/w32fns.$(O) : \
1640 $(EMACS_ROOT)/nt/inc/sys/time.h \
1643 $(SRC)/blockinput.h \
1646 $(SRC)/character.h \
1649 $(SRC)/composite.h \
1650 $(SRC)/dispextern.h \
1655 $(SRC)/intervals.h \
1658 $(SRC)/termhooks.h \
1666 $(BLD)/w32menu.$(O) : \
1669 $(EMACS_ROOT)/nt/inc/sys/time.h \
1672 $(SRC)/blockinput.h \
1674 $(SRC)/character.h \
1677 $(SRC)/composite.h \
1678 $(SRC)/dispextern.h \
1684 $(SRC)/termhooks.h \
1689 $(BLD)/w32term.$(O) : \
1692 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1693 $(EMACS_ROOT)/nt/inc/sys/time.h \
1697 $(SRC)/blockinput.h \
1700 $(SRC)/character.h \
1703 $(SRC)/composite.h \
1704 $(SRC)/dispextern.h \
1709 $(SRC)/intervals.h \
1715 $(SRC)/termhooks.h \
1723 $(BLD)/w32select.$(O) : \
1724 $(SRC)/w32select.c \
1726 $(EMACS_ROOT)/nt/inc/sys/time.h \
1729 $(SRC)/blockinput.h \
1730 $(SRC)/character.h \
1733 $(SRC)/composite.h \
1739 $(BLD)/w32reg.$(O) : \
1742 $(EMACS_ROOT)/nt/inc/sys/time.h \
1745 $(SRC)/blockinput.h \
1750 $(BLD)/w32xfns.$(O) : \
1753 $(EMACS_ROOT)/nt/inc/sys/time.h \
1756 $(SRC)/blockinput.h \
1759 $(SRC)/composite.h \
1760 $(SRC)/dispextern.h \
1768 $(BLD)/w32font.$(O) : \
1773 $(SRC)/character.h \
1776 $(SRC)/composite.h \
1777 $(SRC)/dispextern.h \
1785 $(BLD)/w32uniscribe.$(O) : \
1786 $(SRC)/w32uniscribe.c \
1790 $(SRC)/character.h \
1792 $(SRC)/composite.h \
1793 $(SRC)/dispextern.h \
1801 # Each object file depends on stamp_BLD, because in parallel builds we must
1802 # make sure $(BLD) exists before starting compilations.
1804 $(OBJ0) $(OBJ1) $(OBJ2) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD