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) \
108 $(BLD)/intervals.$(O) \
109 $(BLD)/composite.$(O) \
111 $(BLD)/textprop.$(O) \
112 $(BLD)/vm-limit.$(O) \
113 $(BLD)/region-cache.$(O) \
115 $(BLD)/charset.$(O) \
116 $(BLD)/character.$(O) \
117 $(BLD)/chartab.$(O) \
119 $(BLD)/category.$(O) \
122 $(BLD)/fontset.$(O) \
125 $(BLD)/terminal.$(O) \
127 $(BLD)/w32term.$(O) \
128 $(BLD)/w32xfns.$(O) \
131 $(BLD)/w32select.$(O) \
132 $(BLD)/w32menu.$(O) \
134 $(BLD)/w32font.$(O) \
135 $(BLD)/w32uniscribe.$(O)
156 # Build the executable and dump it.
161 # The dumped executable
163 emacs: stamp_BLD $(EMACS)
164 $(EMACS): $(DOC) $(TEMACS)
165 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
166 -"$(THISDIR)/$(BLD)/emacs.exe" -batch -f list-load-path-shadows
169 # The undumped executable
170 # Note the extra post-link step to insert a static preload heap section.
171 # If preload runs out of memory, increase the last argument to addsection
172 # (it is the preload heap size in MB).
174 temacs: stamp_BLD $(TEMACS)
175 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIB2) $(TLASTLIB) $(TOBJ) $(TRES) \
176 ../nt/$(BLD)/addsection.exe $(GNULIB)
177 $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
178 "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 21
180 # These omit firstfile.${O}, but there's no documentation in there
182 buildobj.h: $(SRC)/makefile.w32-in
183 $(MAKE) $(MFLAGS) make-buildobj-$(SHELLTYPE)
185 # Cannot have blanks between the backslash and the redirection
186 # characters, because CMD's `echo' will put them in buildobj.h.
188 echo #define BUILDOBJ ^"\> buildobj.h
189 echo $(OBJ0) \>> buildobj.h
190 echo $(OBJ1) \>> buildobj.h
191 echo $(OBJ2) \>> buildobj.h
195 # The above line is here to countermand the single quote
196 # on the last "echo" command above, wrt font-lock.
198 echo '#define BUILDOBJ $(DQUOTE)\' > buildobj.h
199 echo $(OBJ0) '\' >> buildobj.h
200 echo $(OBJ1) '\' >> buildobj.h
201 echo $(OBJ2) '\' >> buildobj.h
202 echo '$(DQUOTE)' >> buildobj.h
204 GLOBAL_SOURCES = dosfns.c msdos.c \
205 xterm.c xfns.c xmenu.c xselect.c xrdb.c xsmfns.c fringe.c image.c \
206 fontset.c menu.c dbusbind.c \
207 w32.c w32console.c w32fns.c w32heap.c w32inevt.c \
208 w32menu.c w32proc.c w32reg.c w32select.c w32term.c w32xfns.c \
209 font.c w32font.c w32uniscribe.c \
210 dispnew.c frame.c scroll.c xdisp.c window.c bidi.c \
211 charset.c coding.c category.c ccl.c character.c chartab.c \
212 cm.c term.c terminal.c xfaces.c \
213 emacs.c keyboard.c macros.c keymap.c sysdep.c \
214 buffer.c filelock.c insdel.c marker.c \
215 minibuf.c fileio.c dired.c \
216 cmds.c casetab.c casefiddle.c indent.c search.c regex.c undo.c \
217 alloc.c data.c doc.c editfns.c callint.c \
218 eval.c floatfns.c fns.c print.c lread.c \
219 syntax.c bytecode.c \
220 process.c callproc.c unexw32.c \
221 region-cache.c sound.c atimer.c \
222 doprnt.c intervals.c textprop.c composite.c
223 SOME_MACHINE_OBJECTS = dosfns.o msdos.o \
224 xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o dbusbind.o
225 obj = $(GLOBAL_SOURCES:.c=.o)
229 gl-stamp: ../lib-src/$(BLD)/make-docfile.exe $(GLOBAL_SOURCES)
231 "../lib-src/$(BLD)/make-docfile" -d . -g $(SOME_MACHINE_OBJECTS) $(obj) > gl-tmp
232 cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp globals.h"
236 bootstrap: bootstrap-emacs
239 # Build a temacs with a sufficiently large PURESIZE to load the
240 # Lisp files from loadup.el in source form.
242 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
243 # this can break with GNU Make 3.81 and later if sh.exe is used.
245 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
248 # Dump an Emacs executable named bootstrap-emacs containing the
249 # files from loadup.el in source form.
251 bootstrap-emacs: bootstrap-temacs
252 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
254 $(CP) $(EMACS) ../bin
257 # Force recompile of files that depend on PURESIZE
260 - $(DEL) $(BLD)/alloc.$(O)
261 - $(DEL) $(BLD)/data.$(O)
262 - $(DEL) $(BLD)/intervals.$(O)
263 - $(DEL) $(BLD)/keyboard.$(O)
264 - $(DEL) $(BLD)/keymap.$(O)
267 # The resource file. NT 3.10 requires the use of cvtres; even though
268 # it is not necessary on later versions, it is still ok to use it.
270 $(TRES): ../nt/emacs.rc stamp_BLD
271 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
274 # Build the library. Split up the build into two phases...otherwise we
275 # run out of command line space.
279 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
282 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
285 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
288 # Place lastfile.$(O) in its own library so that it can be loaded after
289 # the source libraries but before any system libraries. Doing so defines
290 # the end of Emacs' data section portably across compilers and systems.
292 $(TLASTLIB): $(BLD)/lastfile.$(O)
294 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
297 # Assuming INSTALL_DIR is defined, build and install emacs in it.
300 - mkdir "$(INSTALL_DIR)/bin"
301 $(CP) $(EMACS) $(INSTALL_DIR)/bin
306 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
307 # remove precious files if it happens to match their short 8+3 aliases.
309 - $(DEL) "s/*.h~" "m/*.h~"
310 - $(DEL) $(COMPILER_TEMP_FILES)
311 - $(DEL_TREE) $(OBJDIR)
312 - $(DEL) stamp_BLD gl-stamp globals.h
316 - $(DEL) config.h epaths.h Makefile
318 maintainer-clean: distclean
323 - $(DEL_TREE) obj-spd
327 ## Arrange to make a tags table TAGS-LISP for ../lisp,
328 ## plus TAGS for the C files, which includes ../lisp/TAGS by reference.
330 ## This works only with GNU Make.
332 TAGS: $(OBJ0) $(OBJ1) $(OBJ2)
333 $(MAKE) $(MFLAGS) TAGS-$(MAKETYPE)
335 TAGS-LISP: $(OBJ0) $(OBJ1) $(OBJ2)
336 $(MAKE) $(MFLAGS) TAGS-LISP-$(MAKETYPE)
339 ../lib-src/$(BLD)/etags.exe --include=TAGS-LISP --include=../nt/TAGS \
340 --regex=@../nt/emacs-src.tags \
341 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ0))
342 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
343 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ1))
344 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
345 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ2)) \
349 echo This target is not supported with NMake
354 $(MAKE) $(MFLAGS) -C ../lisp TAGS-LISP DEST=../src
357 echo This target is not supported with NMake
361 $(MAKE) $(MFLAGS) nt-TAGS-$(MAKETYPE)
364 $(MAKE) $(MFLAGS) -C ../nt TAGS
367 echo This target is not supported with NMake
370 full-tags: TAGS TAGS-LISP ../nt/TAGS
376 CONFIG_H = $(EMACS_ROOT)/src/s/ms-w32.h \
377 $(EMACS_ROOT)/src/m/intel386.h \
378 $(EMACS_ROOT)/src/config.h \
379 $(EMACS_ROOT)/nt/inc/sys/stat.h
380 LISP_H = $(SRC)/lisp.h $(SRC)/globals.h
381 PROCESS_H = $(SRC)/process.h $(SRC)/gnutls.h
383 $(BLD)/alloc.$(O) : \
386 $(EMACS_ROOT)/nt/inc/unistd.h \
387 $(EMACS_ROOT)/nt/inc/sys/time.h \
391 $(SRC)/blockinput.h \
396 $(SRC)/dispextern.h \
408 $(BLD)/atimer.$(O) : \
411 $(EMACS_ROOT)/nt/inc/unistd.h \
412 $(EMACS_ROOT)/nt/inc/sys/time.h \
415 $(SRC)/blockinput.h \
423 $(SRC)/bidimirror.h \
427 $(SRC)/dispextern.h \
430 $(BLD)/buffer.$(O) : \
433 $(EMACS_ROOT)/nt/inc/unistd.h \
434 $(EMACS_ROOT)/nt/inc/sys/param.h \
435 $(EMACS_ROOT)/nt/inc/sys/time.h \
438 $(SRC)/blockinput.h \
444 $(SRC)/dispextern.h \
450 $(SRC)/region-cache.h \
455 $(BLD)/bytecode.$(O) : \
461 $(SRC)/dispextern.h \
466 $(BLD)/callint.$(O) : \
469 $(EMACS_ROOT)/nt/inc/sys/time.h \
475 $(SRC)/dispextern.h \
482 $(BLD)/callproc.$(O) : \
485 $(EMACS_ROOT)/nt/inc/unistd.h \
486 $(EMACS_ROOT)/nt/inc/sys/file.h \
487 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
488 $(EMACS_ROOT)/nt/inc/sys/time.h \
492 $(SRC)/blockinput.h \
499 $(SRC)/dispextern.h \
509 $(BLD)/casefiddle.$(O) : \
510 $(SRC)/casefiddle.c \
520 $(BLD)/casetab.$(O) : \
527 $(BLD)/category.$(O) : \
547 $(BLD)/character.$(O) : \
557 $(BLD)/charset.$(O) : \
560 $(EMACS_ROOT)/nt/inc/unistd.h \
569 $(BLD)/chartab.$(O) : \
580 $(EMACS_ROOT)/nt/inc/sys/time.h \
587 $(SRC)/dispextern.h \
596 $(BLD)/coding.$(O) : \
606 $(SRC)/dispextern.h \
612 $(BLD)/composite.$(O) : \
621 $(SRC)/dispextern.h \
632 $(EMACS_ROOT)/nt/inc/sys/time.h \
639 $(SRC)/dispextern.h \
649 $(BLD)/dired.$(O) : \
652 $(EMACS_ROOT)/nt/inc/grp.h \
653 $(EMACS_ROOT)/nt/inc/pwd.h \
654 $(EMACS_ROOT)/nt/inc/unistd.h \
655 $(EMACS_ROOT)/nt/inc/sys/dir.h \
656 $(EMACS_ROOT)/nt/inc/sys/time.h \
657 $(EMACS_ROOT)/lib/filemode.h \
660 $(SRC)/blockinput.h \
671 $(BLD)/dispnew.$(O) : \
674 $(EMACS_ROOT)/nt/inc/unistd.h \
675 $(EMACS_ROOT)/nt/inc/sys/time.h \
679 $(SRC)/blockinput.h \
686 $(SRC)/dispextern.h \
705 $(EMACS_ROOT)/nt/inc/unistd.h \
706 $(EMACS_ROOT)/nt/inc/sys/file.h \
707 $(EMACS_ROOT)/nt/inc/sys/time.h \
717 $(BLD)/doprnt.$(O) : \
720 $(EMACS_ROOT)/nt/inc/unistd.h \
724 $(BLD)/editfns.$(O) : \
727 $(EMACS_ROOT)/nt/inc/pwd.h \
728 $(EMACS_ROOT)/nt/inc/unistd.h \
729 $(EMACS_ROOT)/nt/inc/sys/time.h \
730 $(EMACS_ROOT)/lib/intprops.h \
731 $(EMACS_ROOT)/lib/strftime.h \
734 $(SRC)/blockinput.h \
739 $(SRC)/dispextern.h \
746 $(BLD)/emacs.$(O) : \
749 $(EMACS_ROOT)/nt/inc/unistd.h \
750 $(EMACS_ROOT)/nt/inc/sys/file.h \
751 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
752 $(EMACS_ROOT)/nt/inc/sys/time.h \
756 $(SRC)/blockinput.h \
761 $(SRC)/dispextern.h \
779 $(EMACS_ROOT)/nt/inc/sys/time.h \
782 $(SRC)/blockinput.h \
786 $(SRC)/dispextern.h \
792 $(BLD)/fileio.$(O) : \
795 $(EMACS_ROOT)/nt/inc/pwd.h \
796 $(EMACS_ROOT)/nt/inc/unistd.h \
797 $(EMACS_ROOT)/nt/inc/sys/time.h \
800 $(SRC)/blockinput.h \
806 $(SRC)/dispextern.h \
813 $(BLD)/filelock.$(O) : \
816 $(EMACS_ROOT)/nt/inc/pwd.h \
817 $(EMACS_ROOT)/nt/inc/unistd.h \
818 $(EMACS_ROOT)/nt/inc/sys/file.h \
819 $(EMACS_ROOT)/nt/inc/sys/time.h \
827 $(BLD)/firstfile.$(O) : \
831 $(BLD)/floatfns.$(O) : \
840 $(EMACS_ROOT)/nt/inc/langinfo.h \
841 $(EMACS_ROOT)/nt/inc/nl_types.h \
842 $(EMACS_ROOT)/nt/inc/stdint.h \
843 $(EMACS_ROOT)/nt/inc/unistd.h \
844 $(EMACS_ROOT)/nt/inc/sys/time.h \
845 $(EMACS_ROOT)/lib/md5.h \
848 $(SRC)/blockinput.h \
854 $(SRC)/dispextern.h \
872 $(SRC)/dispextern.h \
880 $(BLD)/fontset.$(O) : \
883 $(EMACS_ROOT)/nt/inc/sys/time.h \
886 $(SRC)/blockinput.h \
893 $(SRC)/dispextern.h \
905 $(BLD)/frame.$(O) : \
908 $(EMACS_ROOT)/nt/inc/sys/time.h \
911 $(SRC)/blockinput.h \
918 $(SRC)/dispextern.h \
930 $(BLD)/fringe.$(O) : \
933 $(EMACS_ROOT)/nt/inc/sys/time.h \
936 $(SRC)/blockinput.h \
938 $(SRC)/dispextern.h \
945 $(BLD)/gmalloc.$(O) : \
948 $(EMACS_ROOT)/nt/inc/unistd.h \
951 $(BLD)/image.$(O) : \
954 $(EMACS_ROOT)/nt/inc/unistd.h \
955 $(EMACS_ROOT)/nt/inc/sys/time.h \
958 $(SRC)/blockinput.h \
963 $(SRC)/dispextern.h \
973 $(BLD)/indent.$(O) : \
976 $(EMACS_ROOT)/nt/inc/sys/time.h \
983 $(SRC)/dispextern.h \
989 $(SRC)/region-cache.h \
996 $(BLD)/insdel.$(O) : \
999 $(EMACS_ROOT)/nt/inc/sys/time.h \
1002 $(SRC)/blockinput.h \
1004 $(SRC)/character.h \
1005 $(SRC)/composite.h \
1006 $(SRC)/dispextern.h \
1007 $(SRC)/intervals.h \
1008 $(SRC)/region-cache.h \
1013 $(BLD)/intervals.$(O) : \
1014 $(SRC)/intervals.c \
1016 $(EMACS_ROOT)/nt/inc/sys/time.h \
1020 $(SRC)/composite.h \
1021 $(SRC)/dispextern.h \
1022 $(SRC)/intervals.h \
1029 $(BLD)/keyboard.$(O) : \
1032 $(EMACS_ROOT)/nt/inc/unistd.h \
1033 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1034 $(EMACS_ROOT)/nt/inc/sys/time.h \
1038 $(SRC)/blockinput.h \
1040 $(SRC)/character.h \
1043 $(SRC)/composite.h \
1044 $(SRC)/dispextern.h \
1047 $(SRC)/intervals.h \
1053 $(SRC)/syssignal.h \
1056 $(SRC)/termhooks.h \
1062 $(BLD)/keymap.$(O) : \
1065 $(EMACS_ROOT)/nt/inc/sys/time.h \
1068 $(SRC)/blockinput.h \
1070 $(SRC)/character.h \
1074 $(SRC)/composite.h \
1075 $(SRC)/dispextern.h \
1077 $(SRC)/intervals.h \
1082 $(SRC)/termhooks.h \
1086 $(BLD)/lastfile.$(O) : \
1090 $(BLD)/lread.$(O) : \
1093 $(EMACS_ROOT)/nt/inc/unistd.h \
1094 $(EMACS_ROOT)/nt/inc/sys/file.h \
1095 $(EMACS_ROOT)/nt/inc/sys/time.h \
1098 $(SRC)/blockinput.h \
1100 $(SRC)/character.h \
1104 $(SRC)/composite.h \
1105 $(SRC)/dispextern.h \
1108 $(SRC)/intervals.h \
1111 $(SRC)/termhooks.h \
1114 $(BLD)/macros.$(O) : \
1117 $(EMACS_ROOT)/nt/inc/sys/time.h \
1122 $(SRC)/composite.h \
1123 $(SRC)/dispextern.h \
1130 $(BLD)/marker.$(O) : \
1137 $(BLD)/menu.$(O) : \
1140 $(EMACS_ROOT)/nt/inc/sys/time.h \
1143 $(SRC)/blockinput.h \
1145 $(SRC)/composite.h \
1146 $(SRC)/dispextern.h \
1152 $(SRC)/termhooks.h \
1157 $(BLD)/minibuf.$(O) : \
1160 $(EMACS_ROOT)/nt/inc/sys/time.h \
1163 $(SRC)/character.h \
1166 $(SRC)/composite.h \
1167 $(SRC)/dispextern.h \
1169 $(SRC)/intervals.h \
1174 $(SRC)/termhooks.h \
1181 $(EMACS_ROOT)/nt/inc/grp.h \
1182 $(EMACS_ROOT)/nt/inc/pwd.h \
1183 $(EMACS_ROOT)/nt/inc/unistd.h \
1184 $(EMACS_ROOT)/nt/inc/sys/file.h \
1185 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1186 $(EMACS_ROOT)/nt/inc/sys/time.h \
1190 $(SRC)/composite.h \
1191 $(SRC)/dispextern.h \
1198 $(BLD)/w32heap.$(O) : \
1204 $(BLD)/w32inevt.$(O) : \
1207 $(EMACS_ROOT)/nt/inc/sys/time.h \
1210 $(SRC)/blockinput.h \
1212 $(SRC)/composite.h \
1213 $(SRC)/dispextern.h \
1217 $(SRC)/termhooks.h \
1222 $(BLD)/w32proc.$(O) : \
1225 $(EMACS_ROOT)/nt/inc/langinfo.h \
1226 $(EMACS_ROOT)/nt/inc/nl_types.h \
1227 $(EMACS_ROOT)/nt/inc/unistd.h \
1228 $(EMACS_ROOT)/nt/inc/sys/file.h \
1229 $(EMACS_ROOT)/nt/inc/sys/time.h \
1232 $(SRC)/character.h \
1234 $(SRC)/composite.h \
1235 $(SRC)/dispextern.h \
1236 $(SRC)/syssignal.h \
1244 $(BLD)/w32console.$(O) : \
1245 $(SRC)/w32console.c \
1248 $(SRC)/character.h \
1250 $(SRC)/composite.h \
1251 $(SRC)/dispextern.h \
1255 $(SRC)/termhooks.h \
1259 $(BLD)/print.$(O) : \
1262 $(EMACS_ROOT)/nt/inc/unistd.h \
1263 $(EMACS_ROOT)/nt/inc/sys/time.h \
1264 $(EMACS_ROOT)/lib/ftoastr.h \
1265 $(EMACS_ROOT)/lib/intprops.h \
1269 $(SRC)/blockinput.h \
1272 $(SRC)/character.h \
1275 $(SRC)/composite.h \
1276 $(SRC)/dispextern.h \
1279 $(SRC)/intervals.h \
1283 $(SRC)/termhooks.h \
1287 $(BLD)/process.$(O) : \
1290 $(EMACS_ROOT)/nt/inc/netdb.h \
1291 $(EMACS_ROOT)/nt/inc/unistd.h \
1292 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1293 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1294 $(EMACS_ROOT)/nt/inc/sys/file.h \
1295 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1296 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1297 $(EMACS_ROOT)/nt/inc/sys/time.h \
1301 $(SRC)/blockinput.h \
1303 $(SRC)/character.h \
1306 $(SRC)/composite.h \
1307 $(SRC)/dispextern.h \
1310 $(SRC)/sysselect.h \
1311 $(SRC)/syssignal.h \
1315 $(SRC)/termhooks.h \
1321 $(BLD)/ralloc.$(O) : \
1324 $(EMACS_ROOT)/nt/inc/unistd.h \
1325 $(EMACS_ROOT)/nt/inc/sys/time.h \
1328 $(SRC)/blockinput.h \
1329 $(SRC)/getpagesize.h \
1332 $(BLD)/regex.$(O) : \
1338 $(SRC)/character.h \
1342 $(BLD)/region-cache.$(O) : \
1343 $(SRC)/region-cache.c \
1347 $(SRC)/region-cache.h
1349 $(BLD)/scroll.$(O) : \
1352 $(EMACS_ROOT)/nt/inc/sys/time.h \
1355 $(SRC)/composite.h \
1356 $(SRC)/dispextern.h \
1361 $(SRC)/termhooks.h \
1365 $(BLD)/search.$(O) : \
1368 $(EMACS_ROOT)/nt/inc/sys/time.h \
1371 $(SRC)/blockinput.h \
1374 $(SRC)/character.h \
1377 $(SRC)/composite.h \
1378 $(SRC)/dispextern.h \
1379 $(SRC)/intervals.h \
1381 $(SRC)/region-cache.h \
1386 $(BLD)/sound.$(O) : \
1389 $(EMACS_ROOT)/nt/inc/unistd.h \
1390 $(EMACS_ROOT)/nt/inc/sys/time.h \
1393 $(SRC)/dispextern.h \
1394 $(SRC)/syssignal.h \
1398 $(BLD)/syntax.$(O) : \
1404 $(SRC)/character.h \
1406 $(SRC)/composite.h \
1407 $(SRC)/dispextern.h \
1408 $(SRC)/intervals.h \
1414 $(BLD)/sysdep.$(O) : \
1417 $(EMACS_ROOT)/nt/inc/grp.h \
1418 $(EMACS_ROOT)/nt/inc/netdb.h \
1419 $(EMACS_ROOT)/nt/inc/pwd.h \
1420 $(EMACS_ROOT)/nt/inc/unistd.h \
1421 $(EMACS_ROOT)/nt/inc/sys/file.h \
1422 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1423 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1424 $(EMACS_ROOT)/nt/inc/sys/time.h \
1425 $(EMACS_ROOT)/lib/ignore-value.h \
1429 $(SRC)/blockinput.h \
1432 $(SRC)/composite.h \
1433 $(SRC)/dispextern.h \
1436 $(SRC)/sysselect.h \
1437 $(SRC)/syssignal.h \
1442 $(SRC)/termhooks.h \
1448 $(BLD)/term.$(O) : \
1451 $(EMACS_ROOT)/nt/inc/unistd.h \
1452 $(EMACS_ROOT)/nt/inc/sys/file.h \
1453 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1454 $(EMACS_ROOT)/nt/inc/sys/time.h \
1457 $(SRC)/blockinput.h \
1459 $(SRC)/character.h \
1463 $(SRC)/composite.h \
1464 $(SRC)/dispextern.h \
1467 $(SRC)/intervals.h \
1470 $(SRC)/syssignal.h \
1474 $(SRC)/termhooks.h \
1480 $(BLD)/terminal.$(O) : \
1483 $(EMACS_ROOT)/nt/inc/sys/time.h \
1487 $(SRC)/composite.h \
1488 $(SRC)/dispextern.h \
1493 $(SRC)/termhooks.h \
1496 $(BLD)/textprop.$(O) : \
1501 $(SRC)/composite.h \
1502 $(SRC)/dispextern.h \
1503 $(SRC)/intervals.h \
1507 $(BLD)/tparam.$(O) : \
1513 $(BLD)/undo.$(O) : \
1519 $(SRC)/dispextern.h \
1523 $(BLD)/unexw32.$(O) : \
1529 $(BLD)/vm-limit.$(O) : \
1535 $(BLD)/window.$(O) : \
1538 $(EMACS_ROOT)/nt/inc/sys/time.h \
1541 $(SRC)/blockinput.h \
1545 $(SRC)/composite.h \
1546 $(SRC)/dispextern.h \
1550 $(SRC)/intervals.h \
1555 $(SRC)/termhooks.h \
1560 $(BLD)/xdisp.$(O) : \
1563 $(EMACS_ROOT)/nt/inc/unistd.h \
1564 $(EMACS_ROOT)/nt/inc/sys/time.h \
1568 $(SRC)/blockinput.h \
1571 $(SRC)/character.h \
1575 $(SRC)/composite.h \
1576 $(SRC)/dispextern.h \
1582 $(SRC)/intervals.h \
1586 $(SRC)/region-cache.h \
1589 $(SRC)/termhooks.h \
1595 $(BLD)/xfaces.$(O) : \
1598 $(EMACS_ROOT)/nt/inc/sys/time.h \
1601 $(SRC)/blockinput.h \
1604 $(SRC)/character.h \
1607 $(SRC)/composite.h \
1608 $(SRC)/dispextern.h \
1612 $(SRC)/intervals.h \
1616 $(SRC)/termhooks.h \
1621 $(BLD)/w32fns.$(O) : \
1624 $(EMACS_ROOT)/nt/inc/sys/time.h \
1627 $(SRC)/blockinput.h \
1630 $(SRC)/character.h \
1633 $(SRC)/composite.h \
1634 $(SRC)/dispextern.h \
1639 $(SRC)/intervals.h \
1642 $(SRC)/termhooks.h \
1650 $(BLD)/w32menu.$(O) : \
1653 $(EMACS_ROOT)/nt/inc/sys/time.h \
1656 $(SRC)/blockinput.h \
1658 $(SRC)/character.h \
1661 $(SRC)/composite.h \
1662 $(SRC)/dispextern.h \
1668 $(SRC)/termhooks.h \
1673 $(BLD)/w32term.$(O) : \
1676 $(EMACS_ROOT)/nt/inc/unistd.h \
1677 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1678 $(EMACS_ROOT)/nt/inc/sys/time.h \
1682 $(SRC)/blockinput.h \
1685 $(SRC)/character.h \
1688 $(SRC)/composite.h \
1689 $(SRC)/dispextern.h \
1694 $(SRC)/intervals.h \
1700 $(SRC)/termhooks.h \
1708 $(BLD)/w32select.$(O) : \
1709 $(SRC)/w32select.c \
1711 $(EMACS_ROOT)/nt/inc/sys/time.h \
1714 $(SRC)/blockinput.h \
1715 $(SRC)/character.h \
1718 $(SRC)/composite.h \
1724 $(BLD)/w32reg.$(O) : \
1727 $(EMACS_ROOT)/nt/inc/sys/time.h \
1730 $(SRC)/blockinput.h \
1735 $(BLD)/w32xfns.$(O) : \
1738 $(EMACS_ROOT)/nt/inc/sys/time.h \
1741 $(SRC)/blockinput.h \
1744 $(SRC)/composite.h \
1745 $(SRC)/dispextern.h \
1753 $(BLD)/w32font.$(O) : \
1758 $(SRC)/character.h \
1761 $(SRC)/composite.h \
1762 $(SRC)/dispextern.h \
1770 $(BLD)/w32uniscribe.$(O) : \
1771 $(SRC)/w32uniscribe.c \
1775 $(SRC)/character.h \
1777 $(SRC)/composite.h \
1778 $(SRC)/dispextern.h \
1786 # Each object file depends on stamp_BLD, because in parallel builds we must
1787 # make sure $(BLD) exists before starting compilations.
1789 $(OBJ0) $(OBJ1) $(OBJ2) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD