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 \
390 $(SRC)/blockinput.h \
395 $(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/time.h \
490 $(SRC)/blockinput.h \
497 $(SRC)/dispextern.h \
508 $(BLD)/casefiddle.$(O) : \
509 $(SRC)/casefiddle.c \
519 $(BLD)/casetab.$(O) : \
526 $(BLD)/category.$(O) : \
546 $(BLD)/character.$(O) : \
556 $(BLD)/charset.$(O) : \
559 $(EMACS_ROOT)/nt/inc/unistd.h \
568 $(BLD)/chartab.$(O) : \
579 $(EMACS_ROOT)/nt/inc/sys/time.h \
586 $(SRC)/dispextern.h \
595 $(BLD)/coding.$(O) : \
605 $(SRC)/dispextern.h \
611 $(BLD)/composite.$(O) : \
620 $(SRC)/dispextern.h \
631 $(EMACS_ROOT)/nt/inc/sys/time.h \
638 $(SRC)/dispextern.h \
648 $(BLD)/dired.$(O) : \
651 $(EMACS_ROOT)/nt/inc/grp.h \
652 $(EMACS_ROOT)/nt/inc/pwd.h \
653 $(EMACS_ROOT)/nt/inc/unistd.h \
654 $(EMACS_ROOT)/nt/inc/sys/dir.h \
655 $(EMACS_ROOT)/nt/inc/sys/time.h \
658 $(SRC)/blockinput.h \
665 $(EMACS_ROOT)/lib/filemode.h \
670 $(BLD)/dispnew.$(O) : \
673 $(EMACS_ROOT)/nt/inc/unistd.h \
674 $(EMACS_ROOT)/nt/inc/sys/time.h \
677 $(SRC)/blockinput.h \
684 $(SRC)/dispextern.h \
704 $(EMACS_ROOT)/nt/inc/unistd.h \
705 $(EMACS_ROOT)/nt/inc/sys/file.h \
706 $(EMACS_ROOT)/nt/inc/sys/time.h \
716 $(BLD)/doprnt.$(O) : \
719 $(EMACS_ROOT)/nt/inc/unistd.h \
723 $(BLD)/editfns.$(O) : \
726 $(EMACS_ROOT)/nt/inc/pwd.h \
727 $(EMACS_ROOT)/nt/inc/unistd.h \
728 $(EMACS_ROOT)/nt/inc/sys/time.h \
729 $(EMACS_ROOT)/lib/strftime.h \
730 $(EMACS_ROOT)/lib/intprops.h \
733 $(SRC)/blockinput.h \
738 $(SRC)/dispextern.h \
745 $(BLD)/emacs.$(O) : \
748 $(EMACS_ROOT)/nt/inc/unistd.h \
749 $(EMACS_ROOT)/nt/inc/sys/file.h \
750 $(EMACS_ROOT)/nt/inc/sys/time.h \
753 $(SRC)/blockinput.h \
758 $(SRC)/dispextern.h \
777 $(EMACS_ROOT)/nt/inc/sys/time.h \
780 $(SRC)/blockinput.h \
784 $(SRC)/dispextern.h \
790 $(BLD)/fileio.$(O) : \
793 $(EMACS_ROOT)/nt/inc/pwd.h \
794 $(EMACS_ROOT)/nt/inc/unistd.h \
795 $(EMACS_ROOT)/nt/inc/sys/time.h \
798 $(SRC)/blockinput.h \
804 $(SRC)/dispextern.h \
811 $(BLD)/filelock.$(O) : \
814 $(EMACS_ROOT)/nt/inc/pwd.h \
815 $(EMACS_ROOT)/nt/inc/unistd.h \
816 $(EMACS_ROOT)/nt/inc/sys/file.h \
817 $(EMACS_ROOT)/nt/inc/sys/time.h \
825 $(BLD)/firstfile.$(O) : \
829 $(BLD)/floatfns.$(O) : \
838 $(EMACS_ROOT)/nt/inc/langinfo.h \
839 $(EMACS_ROOT)/nt/inc/nl_types.h \
840 $(EMACS_ROOT)/nt/inc/unistd.h \
841 $(EMACS_ROOT)/nt/inc/sys/time.h \
842 $(EMACS_ROOT)/lib/md5.h \
845 $(SRC)/blockinput.h \
851 $(SRC)/dispextern.h \
869 $(SRC)/dispextern.h \
877 $(BLD)/fontset.$(O) : \
880 $(EMACS_ROOT)/nt/inc/sys/time.h \
883 $(SRC)/blockinput.h \
890 $(SRC)/dispextern.h \
902 $(BLD)/frame.$(O) : \
905 $(EMACS_ROOT)/nt/inc/sys/time.h \
908 $(SRC)/blockinput.h \
915 $(SRC)/dispextern.h \
927 $(BLD)/fringe.$(O) : \
930 $(EMACS_ROOT)/nt/inc/sys/time.h \
933 $(SRC)/blockinput.h \
935 $(SRC)/dispextern.h \
942 $(BLD)/gmalloc.$(O) : \
945 $(EMACS_ROOT)/nt/inc/unistd.h \
948 $(BLD)/image.$(O) : \
951 $(EMACS_ROOT)/nt/inc/unistd.h \
952 $(EMACS_ROOT)/nt/inc/sys/time.h \
955 $(SRC)/blockinput.h \
960 $(SRC)/dispextern.h \
970 $(BLD)/indent.$(O) : \
973 $(EMACS_ROOT)/nt/inc/sys/time.h \
980 $(SRC)/dispextern.h \
986 $(SRC)/region-cache.h \
993 $(BLD)/insdel.$(O) : \
996 $(EMACS_ROOT)/nt/inc/sys/time.h \
999 $(SRC)/blockinput.h \
1001 $(SRC)/character.h \
1002 $(SRC)/composite.h \
1003 $(SRC)/dispextern.h \
1004 $(SRC)/intervals.h \
1005 $(SRC)/region-cache.h \
1010 $(BLD)/intervals.$(O) : \
1011 $(SRC)/intervals.c \
1013 $(EMACS_ROOT)/nt/inc/sys/time.h \
1017 $(SRC)/composite.h \
1018 $(SRC)/dispextern.h \
1019 $(SRC)/intervals.h \
1026 $(BLD)/keyboard.$(O) : \
1029 $(EMACS_ROOT)/nt/inc/unistd.h \
1030 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1031 $(EMACS_ROOT)/nt/inc/sys/time.h \
1034 $(SRC)/blockinput.h \
1036 $(SRC)/character.h \
1039 $(SRC)/composite.h \
1040 $(SRC)/dispextern.h \
1043 $(SRC)/intervals.h \
1050 $(SRC)/syssignal.h \
1053 $(SRC)/termhooks.h \
1059 $(BLD)/keymap.$(O) : \
1062 $(EMACS_ROOT)/nt/inc/sys/time.h \
1065 $(SRC)/blockinput.h \
1067 $(SRC)/character.h \
1071 $(SRC)/composite.h \
1072 $(SRC)/dispextern.h \
1074 $(SRC)/intervals.h \
1079 $(SRC)/termhooks.h \
1083 $(BLD)/lastfile.$(O) : \
1087 $(BLD)/lread.$(O) : \
1090 $(EMACS_ROOT)/nt/inc/unistd.h \
1091 $(EMACS_ROOT)/nt/inc/sys/file.h \
1092 $(EMACS_ROOT)/nt/inc/sys/time.h \
1095 $(SRC)/blockinput.h \
1097 $(SRC)/character.h \
1101 $(SRC)/composite.h \
1102 $(SRC)/dispextern.h \
1105 $(SRC)/intervals.h \
1108 $(SRC)/termhooks.h \
1111 $(BLD)/macros.$(O) : \
1114 $(EMACS_ROOT)/nt/inc/sys/time.h \
1119 $(SRC)/composite.h \
1120 $(SRC)/dispextern.h \
1127 $(BLD)/marker.$(O) : \
1134 $(BLD)/menu.$(O) : \
1137 $(EMACS_ROOT)/nt/inc/sys/time.h \
1140 $(SRC)/blockinput.h \
1142 $(SRC)/composite.h \
1143 $(SRC)/dispextern.h \
1149 $(SRC)/termhooks.h \
1154 $(BLD)/minibuf.$(O) : \
1157 $(EMACS_ROOT)/nt/inc/sys/time.h \
1160 $(SRC)/character.h \
1163 $(SRC)/composite.h \
1164 $(SRC)/dispextern.h \
1166 $(SRC)/intervals.h \
1171 $(SRC)/termhooks.h \
1178 $(EMACS_ROOT)/nt/inc/grp.h \
1179 $(EMACS_ROOT)/nt/inc/pwd.h \
1180 $(EMACS_ROOT)/nt/inc/unistd.h \
1181 $(EMACS_ROOT)/nt/inc/sys/file.h \
1182 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1183 $(EMACS_ROOT)/nt/inc/sys/time.h \
1186 $(SRC)/composite.h \
1187 $(SRC)/dispextern.h \
1195 $(BLD)/w32heap.$(O) : \
1201 $(BLD)/w32inevt.$(O) : \
1204 $(EMACS_ROOT)/nt/inc/sys/time.h \
1207 $(SRC)/blockinput.h \
1209 $(SRC)/composite.h \
1210 $(SRC)/dispextern.h \
1214 $(SRC)/termhooks.h \
1219 $(BLD)/w32proc.$(O) : \
1222 $(EMACS_ROOT)/nt/inc/langinfo.h \
1223 $(EMACS_ROOT)/nt/inc/nl_types.h \
1224 $(EMACS_ROOT)/nt/inc/unistd.h \
1225 $(EMACS_ROOT)/nt/inc/sys/file.h \
1226 $(EMACS_ROOT)/nt/inc/sys/time.h \
1228 $(SRC)/character.h \
1230 $(SRC)/composite.h \
1231 $(SRC)/dispextern.h \
1233 $(SRC)/syssignal.h \
1241 $(BLD)/w32console.$(O) : \
1242 $(SRC)/w32console.c \
1245 $(SRC)/character.h \
1247 $(SRC)/composite.h \
1248 $(SRC)/dispextern.h \
1252 $(SRC)/termhooks.h \
1256 $(BLD)/print.$(O) : \
1259 $(EMACS_ROOT)/nt/inc/unistd.h \
1260 $(EMACS_ROOT)/nt/inc/sys/time.h \
1261 $(EMACS_ROOT)/lib/ftoastr.h \
1262 $(EMACS_ROOT)/lib/intprops.h \
1265 $(SRC)/blockinput.h \
1268 $(SRC)/character.h \
1271 $(SRC)/composite.h \
1272 $(SRC)/dispextern.h \
1275 $(SRC)/intervals.h \
1280 $(SRC)/termhooks.h \
1284 $(BLD)/process.$(O) : \
1287 $(EMACS_ROOT)/nt/inc/netdb.h \
1288 $(EMACS_ROOT)/nt/inc/unistd.h \
1289 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1290 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1291 $(EMACS_ROOT)/nt/inc/sys/file.h \
1292 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1293 $(EMACS_ROOT)/nt/inc/sys/time.h \
1296 $(SRC)/blockinput.h \
1298 $(SRC)/character.h \
1301 $(SRC)/composite.h \
1302 $(SRC)/dispextern.h \
1306 $(SRC)/sysselect.h \
1307 $(SRC)/syssignal.h \
1311 $(SRC)/termhooks.h \
1317 $(BLD)/ralloc.$(O) : \
1320 $(EMACS_ROOT)/nt/inc/unistd.h \
1321 $(EMACS_ROOT)/nt/inc/sys/time.h \
1324 $(SRC)/blockinput.h \
1325 $(SRC)/getpagesize.h \
1328 $(BLD)/regex.$(O) : \
1334 $(SRC)/character.h \
1338 $(BLD)/region-cache.$(O) : \
1339 $(SRC)/region-cache.c \
1343 $(SRC)/region-cache.h
1345 $(BLD)/scroll.$(O) : \
1348 $(EMACS_ROOT)/nt/inc/sys/time.h \
1351 $(SRC)/composite.h \
1352 $(SRC)/dispextern.h \
1357 $(SRC)/termhooks.h \
1361 $(BLD)/search.$(O) : \
1364 $(EMACS_ROOT)/nt/inc/sys/time.h \
1367 $(SRC)/blockinput.h \
1370 $(SRC)/character.h \
1373 $(SRC)/composite.h \
1374 $(SRC)/dispextern.h \
1375 $(SRC)/intervals.h \
1377 $(SRC)/region-cache.h \
1382 $(BLD)/sound.$(O) : \
1385 $(EMACS_ROOT)/nt/inc/unistd.h \
1386 $(EMACS_ROOT)/nt/inc/sys/time.h \
1389 $(SRC)/dispextern.h \
1390 $(SRC)/syssignal.h \
1394 $(BLD)/syntax.$(O) : \
1400 $(SRC)/character.h \
1402 $(SRC)/composite.h \
1403 $(SRC)/dispextern.h \
1404 $(SRC)/intervals.h \
1410 $(BLD)/sysdep.$(O) : \
1413 $(EMACS_ROOT)/nt/inc/grp.h \
1414 $(EMACS_ROOT)/nt/inc/netdb.h \
1415 $(EMACS_ROOT)/nt/inc/pwd.h \
1416 $(EMACS_ROOT)/nt/inc/unistd.h \
1417 $(EMACS_ROOT)/nt/inc/sys/file.h \
1418 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1419 $(EMACS_ROOT)/nt/inc/sys/time.h \
1420 $(EMACS_ROOT)/lib/ignore-value.h \
1423 $(SRC)/blockinput.h \
1426 $(SRC)/composite.h \
1427 $(SRC)/dispextern.h \
1431 $(SRC)/sysselect.h \
1432 $(SRC)/syssignal.h \
1437 $(SRC)/termhooks.h \
1443 $(BLD)/term.$(O) : \
1446 $(EMACS_ROOT)/nt/inc/unistd.h \
1447 $(EMACS_ROOT)/nt/inc/sys/file.h \
1448 $(EMACS_ROOT)/nt/inc/sys/time.h \
1451 $(SRC)/blockinput.h \
1453 $(SRC)/character.h \
1457 $(SRC)/composite.h \
1458 $(SRC)/dispextern.h \
1461 $(SRC)/intervals.h \
1464 $(SRC)/syssignal.h \
1468 $(SRC)/termhooks.h \
1474 $(BLD)/terminal.$(O) : \
1477 $(EMACS_ROOT)/nt/inc/sys/time.h \
1481 $(SRC)/composite.h \
1482 $(SRC)/dispextern.h \
1487 $(SRC)/termhooks.h \
1490 $(BLD)/textprop.$(O) : \
1495 $(SRC)/composite.h \
1496 $(SRC)/dispextern.h \
1497 $(SRC)/intervals.h \
1501 $(BLD)/tparam.$(O) : \
1507 $(BLD)/undo.$(O) : \
1513 $(SRC)/dispextern.h \
1517 $(BLD)/unexw32.$(O) : \
1523 $(BLD)/vm-limit.$(O) : \
1529 $(BLD)/window.$(O) : \
1532 $(EMACS_ROOT)/nt/inc/sys/time.h \
1535 $(SRC)/blockinput.h \
1539 $(SRC)/composite.h \
1540 $(SRC)/dispextern.h \
1544 $(SRC)/intervals.h \
1549 $(SRC)/termhooks.h \
1554 $(BLD)/xdisp.$(O) : \
1557 $(EMACS_ROOT)/nt/inc/unistd.h \
1558 $(EMACS_ROOT)/nt/inc/sys/time.h \
1561 $(SRC)/blockinput.h \
1564 $(SRC)/character.h \
1568 $(SRC)/composite.h \
1569 $(SRC)/dispextern.h \
1575 $(SRC)/intervals.h \
1580 $(SRC)/region-cache.h \
1583 $(SRC)/termhooks.h \
1589 $(BLD)/xfaces.$(O) : \
1592 $(EMACS_ROOT)/nt/inc/sys/time.h \
1595 $(SRC)/blockinput.h \
1598 $(SRC)/character.h \
1601 $(SRC)/composite.h \
1602 $(SRC)/dispextern.h \
1606 $(SRC)/intervals.h \
1610 $(SRC)/termhooks.h \
1615 $(BLD)/w32fns.$(O) : \
1618 $(EMACS_ROOT)/nt/inc/sys/time.h \
1621 $(SRC)/blockinput.h \
1624 $(SRC)/character.h \
1627 $(SRC)/composite.h \
1628 $(SRC)/dispextern.h \
1633 $(SRC)/intervals.h \
1636 $(SRC)/termhooks.h \
1644 $(BLD)/w32menu.$(O) : \
1647 $(EMACS_ROOT)/nt/inc/sys/time.h \
1650 $(SRC)/blockinput.h \
1652 $(SRC)/character.h \
1655 $(SRC)/composite.h \
1656 $(SRC)/dispextern.h \
1662 $(SRC)/termhooks.h \
1667 $(BLD)/w32term.$(O) : \
1670 $(EMACS_ROOT)/nt/inc/unistd.h \
1671 $(EMACS_ROOT)/nt/inc/sys/time.h \
1674 $(SRC)/blockinput.h \
1677 $(SRC)/character.h \
1680 $(SRC)/composite.h \
1681 $(SRC)/dispextern.h \
1686 $(SRC)/intervals.h \
1693 $(SRC)/termhooks.h \
1701 $(BLD)/w32select.$(O) : \
1702 $(SRC)/w32select.c \
1704 $(EMACS_ROOT)/nt/inc/sys/time.h \
1707 $(SRC)/blockinput.h \
1708 $(SRC)/character.h \
1711 $(SRC)/composite.h \
1718 $(BLD)/w32reg.$(O) : \
1721 $(EMACS_ROOT)/nt/inc/sys/time.h \
1724 $(SRC)/blockinput.h \
1729 $(BLD)/w32xfns.$(O) : \
1732 $(EMACS_ROOT)/nt/inc/sys/time.h \
1735 $(SRC)/blockinput.h \
1738 $(SRC)/composite.h \
1739 $(SRC)/dispextern.h \
1747 $(BLD)/w32font.$(O) : \
1752 $(SRC)/character.h \
1755 $(SRC)/composite.h \
1756 $(SRC)/dispextern.h \
1764 $(BLD)/w32uniscribe.$(O) : \
1765 $(SRC)/w32uniscribe.c \
1769 $(SRC)/character.h \
1771 $(SRC)/composite.h \
1772 $(SRC)/dispextern.h \
1780 # Each object file depends on stamp_BLD, because in parallel builds we must
1781 # make sure $(BLD) exists before starting compilations.
1783 $(OBJ0) $(OBJ1) $(OBJ2) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD