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.
248 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
251 # Dump an Emacs executable named bootstrap-emacs containing the
252 # files from loadup.el in source form.
254 bootstrap-emacs: bootstrap-temacs
255 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
257 $(CP) $(EMACS) ../bin
260 # Force recompile of files that depend on PURESIZE
263 - $(DEL) $(BLD)/alloc.$(O)
264 - $(DEL) $(BLD)/data.$(O)
265 - $(DEL) $(BLD)/intervals.$(O)
266 - $(DEL) $(BLD)/keyboard.$(O)
267 - $(DEL) $(BLD)/keymap.$(O)
270 # The resource file. NT 3.10 requires the use of cvtres; even though
271 # it is not necessary on later versions, it is still ok to use it.
273 $(TRES): ../nt/emacs.rc stamp_BLD
274 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
277 # Build the library. Split up the build into two phases...otherwise we
278 # run out of command line space.
282 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
285 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
288 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
291 # Place lastfile.$(O) in its own library so that it can be loaded after
292 # the source libraries but before any system libraries. Doing so defines
293 # the end of Emacs' data section portably across compilers and systems.
295 $(TLASTLIB): $(BLD)/lastfile.$(O)
297 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
300 # Assuming INSTALL_DIR is defined, build and install emacs in it.
303 - mkdir "$(INSTALL_DIR)/bin"
304 $(CP) $(EMACS) $(INSTALL_DIR)/bin
309 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
310 # remove precious files if it happens to match their short 8+3 aliases.
312 - $(DEL) "s/*.h~" "m/*.h~"
313 - $(DEL) $(COMPILER_TEMP_FILES)
314 - $(DEL_TREE) $(OBJDIR)
315 - $(DEL) stamp_BLD gl-stamp globals.h
319 - $(DEL) config.h epaths.h Makefile
321 maintainer-clean: distclean
326 - $(DEL_TREE) obj-spd
330 ## Arrange to make a tags table TAGS-LISP for ../lisp,
331 ## plus TAGS for the C files, which includes ../lisp/TAGS by reference.
333 ## This works only with GNU Make.
335 TAGS: $(OBJ0) $(OBJ1) $(OBJ2) $(CURDIR)/m/intel386.h $(CURDIR)/s/ms-w32.h
336 $(MAKE) $(MFLAGS) TAGS-$(MAKETYPE)
338 TAGS-LISP: $(OBJ0) $(OBJ1) $(OBJ2)
339 $(MAKE) $(MFLAGS) TAGS-LISP-$(MAKETYPE)
342 ../lib-src/$(BLD)/etags.exe --include=TAGS-LISP --include=../nt/TAGS \
343 --regex=@../nt/emacs-src.tags \
344 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ0))
345 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
346 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ1))
347 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
348 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ2)) \
349 $(CURDIR)/*.h $(CURDIR)/m/intel386.h $(CURDIR)/s/ms-w32.h
352 echo This target is not supported with NMake
357 $(MAKE) $(MFLAGS) -C ../lisp TAGS-LISP DEST=../src
360 echo This target is not supported with NMake
364 $(MAKE) $(MFLAGS) nt-TAGS-$(MAKETYPE)
367 $(MAKE) $(MFLAGS) -C ../nt TAGS
370 echo This target is not supported with NMake
373 full-tags: TAGS TAGS-LISP ../nt/TAGS
379 CONFIG_H = $(EMACS_ROOT)/src/s/ms-w32.h \
380 $(EMACS_ROOT)/src/m/intel386.h \
381 $(EMACS_ROOT)/src/config.h \
382 $(EMACS_ROOT)/nt/inc/sys/stat.h
383 LISP_H = $(SRC)/lisp.h \
385 $(EMACS_ROOT)/nt/inc/inttypes.h \
386 $(EMACS_ROOT)/nt/inc/stdint.h
387 PROCESS_H = $(SRC)/process.h \
388 $(EMACS_ROOT)/nt/inc/unistd.h \
391 $(BLD)/alloc.$(O) : \
394 $(EMACS_ROOT)/nt/inc/sys/time.h \
398 $(SRC)/blockinput.h \
403 $(SRC)/dispextern.h \
415 $(BLD)/atimer.$(O) : \
418 $(EMACS_ROOT)/nt/inc/unistd.h \
419 $(EMACS_ROOT)/nt/inc/sys/time.h \
422 $(SRC)/blockinput.h \
430 $(SRC)/bidimirror.h \
434 $(SRC)/dispextern.h \
437 $(BLD)/buffer.$(O) : \
440 $(EMACS_ROOT)/nt/inc/unistd.h \
441 $(EMACS_ROOT)/nt/inc/sys/param.h \
442 $(EMACS_ROOT)/nt/inc/sys/time.h \
445 $(SRC)/blockinput.h \
451 $(SRC)/dispextern.h \
457 $(SRC)/region-cache.h \
462 $(BLD)/bytecode.$(O) : \
468 $(SRC)/dispextern.h \
473 $(BLD)/callint.$(O) : \
476 $(EMACS_ROOT)/nt/inc/sys/time.h \
483 $(SRC)/dispextern.h \
490 $(BLD)/callproc.$(O) : \
493 $(EMACS_ROOT)/nt/inc/sys/file.h \
494 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
495 $(EMACS_ROOT)/nt/inc/sys/time.h \
499 $(SRC)/blockinput.h \
506 $(SRC)/dispextern.h \
516 $(BLD)/casefiddle.$(O) : \
517 $(SRC)/casefiddle.c \
527 $(BLD)/casetab.$(O) : \
534 $(BLD)/category.$(O) : \
554 $(BLD)/character.$(O) : \
564 $(BLD)/charset.$(O) : \
567 $(EMACS_ROOT)/nt/inc/unistd.h \
576 $(BLD)/chartab.$(O) : \
587 $(EMACS_ROOT)/nt/inc/sys/time.h \
594 $(SRC)/dispextern.h \
603 $(BLD)/coding.$(O) : \
613 $(SRC)/dispextern.h \
619 $(BLD)/composite.$(O) : \
628 $(SRC)/dispextern.h \
639 $(EMACS_ROOT)/nt/inc/sys/time.h \
646 $(SRC)/dispextern.h \
656 $(BLD)/dired.$(O) : \
659 $(EMACS_ROOT)/nt/inc/grp.h \
660 $(EMACS_ROOT)/nt/inc/pwd.h \
661 $(EMACS_ROOT)/nt/inc/unistd.h \
662 $(EMACS_ROOT)/nt/inc/sys/dir.h \
663 $(EMACS_ROOT)/nt/inc/sys/time.h \
664 $(EMACS_ROOT)/lib/filemode.h \
667 $(SRC)/blockinput.h \
678 $(BLD)/dispnew.$(O) : \
681 $(EMACS_ROOT)/nt/inc/sys/time.h \
685 $(SRC)/blockinput.h \
692 $(SRC)/dispextern.h \
711 $(EMACS_ROOT)/nt/inc/unistd.h \
712 $(EMACS_ROOT)/nt/inc/sys/file.h \
713 $(EMACS_ROOT)/nt/inc/sys/time.h \
723 $(BLD)/doprnt.$(O) : \
726 $(EMACS_ROOT)/nt/inc/unistd.h \
730 $(BLD)/editfns.$(O) : \
733 $(EMACS_ROOT)/nt/inc/pwd.h \
734 $(EMACS_ROOT)/nt/inc/unistd.h \
735 $(EMACS_ROOT)/nt/inc/sys/time.h \
736 $(EMACS_ROOT)/lib/intprops.h \
737 $(EMACS_ROOT)/lib/strftime.h \
740 $(SRC)/blockinput.h \
745 $(SRC)/dispextern.h \
752 $(BLD)/emacs.$(O) : \
755 $(EMACS_ROOT)/nt/inc/sys/file.h \
756 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
757 $(EMACS_ROOT)/nt/inc/sys/time.h \
761 $(SRC)/blockinput.h \
766 $(SRC)/dispextern.h \
784 $(EMACS_ROOT)/nt/inc/sys/time.h \
787 $(SRC)/blockinput.h \
791 $(SRC)/dispextern.h \
797 $(BLD)/fileio.$(O) : \
800 $(EMACS_ROOT)/nt/inc/pwd.h \
801 $(EMACS_ROOT)/nt/inc/unistd.h \
802 $(EMACS_ROOT)/nt/inc/sys/time.h \
805 $(SRC)/blockinput.h \
811 $(SRC)/dispextern.h \
818 $(BLD)/filelock.$(O) : \
821 $(EMACS_ROOT)/nt/inc/pwd.h \
822 $(EMACS_ROOT)/nt/inc/unistd.h \
823 $(EMACS_ROOT)/nt/inc/sys/file.h \
824 $(EMACS_ROOT)/nt/inc/sys/time.h \
832 $(BLD)/firstfile.$(O) : \
836 $(BLD)/floatfns.$(O) : \
845 $(EMACS_ROOT)/nt/inc/langinfo.h \
846 $(EMACS_ROOT)/nt/inc/nl_types.h \
847 $(EMACS_ROOT)/nt/inc/unistd.h \
848 $(EMACS_ROOT)/nt/inc/sys/time.h \
849 $(EMACS_ROOT)/lib/md5.h \
852 $(SRC)/blockinput.h \
858 $(SRC)/dispextern.h \
876 $(SRC)/dispextern.h \
884 $(BLD)/fontset.$(O) : \
887 $(EMACS_ROOT)/nt/inc/sys/time.h \
890 $(SRC)/blockinput.h \
897 $(SRC)/dispextern.h \
909 $(BLD)/frame.$(O) : \
912 $(EMACS_ROOT)/nt/inc/sys/time.h \
915 $(SRC)/blockinput.h \
922 $(SRC)/dispextern.h \
934 $(BLD)/fringe.$(O) : \
937 $(EMACS_ROOT)/nt/inc/sys/time.h \
940 $(SRC)/blockinput.h \
942 $(SRC)/dispextern.h \
949 $(BLD)/gmalloc.$(O) : \
952 $(EMACS_ROOT)/nt/inc/unistd.h \
955 $(BLD)/gnutls.$(O) : \
962 $(BLD)/image.$(O) : \
965 $(EMACS_ROOT)/nt/inc/unistd.h \
966 $(EMACS_ROOT)/nt/inc/sys/time.h \
969 $(SRC)/blockinput.h \
974 $(SRC)/dispextern.h \
985 $(BLD)/indent.$(O) : \
988 $(EMACS_ROOT)/nt/inc/sys/time.h \
995 $(SRC)/dispextern.h \
1001 $(SRC)/region-cache.h \
1008 $(BLD)/insdel.$(O) : \
1011 $(EMACS_ROOT)/nt/inc/sys/time.h \
1014 $(SRC)/blockinput.h \
1016 $(SRC)/character.h \
1017 $(SRC)/composite.h \
1018 $(SRC)/dispextern.h \
1019 $(SRC)/intervals.h \
1020 $(SRC)/region-cache.h \
1025 $(BLD)/intervals.$(O) : \
1026 $(SRC)/intervals.c \
1028 $(EMACS_ROOT)/nt/inc/sys/time.h \
1029 $(EMACS_ROOT)/lib/intprops.h \
1033 $(SRC)/composite.h \
1034 $(SRC)/dispextern.h \
1035 $(SRC)/intervals.h \
1042 $(BLD)/keyboard.$(O) : \
1045 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1046 $(EMACS_ROOT)/nt/inc/sys/time.h \
1050 $(SRC)/blockinput.h \
1052 $(SRC)/character.h \
1055 $(SRC)/composite.h \
1056 $(SRC)/dispextern.h \
1059 $(SRC)/intervals.h \
1065 $(SRC)/syssignal.h \
1068 $(SRC)/termhooks.h \
1074 $(BLD)/keymap.$(O) : \
1077 $(EMACS_ROOT)/nt/inc/sys/time.h \
1080 $(SRC)/blockinput.h \
1082 $(SRC)/character.h \
1086 $(SRC)/composite.h \
1087 $(SRC)/dispextern.h \
1089 $(SRC)/intervals.h \
1094 $(SRC)/termhooks.h \
1098 $(BLD)/lastfile.$(O) : \
1102 $(BLD)/lread.$(O) : \
1105 $(EMACS_ROOT)/nt/inc/unistd.h \
1106 $(EMACS_ROOT)/nt/inc/sys/file.h \
1107 $(EMACS_ROOT)/nt/inc/sys/time.h \
1110 $(SRC)/blockinput.h \
1112 $(SRC)/character.h \
1116 $(SRC)/composite.h \
1117 $(SRC)/dispextern.h \
1120 $(SRC)/intervals.h \
1123 $(SRC)/termhooks.h \
1126 $(BLD)/macros.$(O) : \
1129 $(EMACS_ROOT)/nt/inc/sys/time.h \
1134 $(SRC)/composite.h \
1135 $(SRC)/dispextern.h \
1142 $(BLD)/marker.$(O) : \
1149 $(BLD)/menu.$(O) : \
1152 $(EMACS_ROOT)/nt/inc/sys/time.h \
1155 $(SRC)/blockinput.h \
1157 $(SRC)/composite.h \
1158 $(SRC)/dispextern.h \
1164 $(SRC)/termhooks.h \
1169 $(BLD)/minibuf.$(O) : \
1172 $(EMACS_ROOT)/nt/inc/sys/time.h \
1175 $(SRC)/character.h \
1178 $(SRC)/composite.h \
1179 $(SRC)/dispextern.h \
1181 $(SRC)/intervals.h \
1186 $(SRC)/termhooks.h \
1193 $(EMACS_ROOT)/nt/inc/grp.h \
1194 $(EMACS_ROOT)/nt/inc/pwd.h \
1195 $(EMACS_ROOT)/nt/inc/sys/file.h \
1196 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1197 $(EMACS_ROOT)/nt/inc/sys/time.h \
1198 $(EMACS_ROOT)/lib/allocator.h \
1199 $(EMACS_ROOT)/lib/careadlinkat.h \
1203 $(SRC)/composite.h \
1204 $(SRC)/dispextern.h \
1211 $(BLD)/w32heap.$(O) : \
1217 $(BLD)/w32inevt.$(O) : \
1220 $(EMACS_ROOT)/nt/inc/sys/time.h \
1223 $(SRC)/blockinput.h \
1225 $(SRC)/composite.h \
1226 $(SRC)/dispextern.h \
1230 $(SRC)/termhooks.h \
1235 $(BLD)/w32proc.$(O) : \
1238 $(EMACS_ROOT)/nt/inc/langinfo.h \
1239 $(EMACS_ROOT)/nt/inc/nl_types.h \
1240 $(EMACS_ROOT)/nt/inc/sys/file.h \
1241 $(EMACS_ROOT)/nt/inc/sys/time.h \
1244 $(SRC)/character.h \
1246 $(SRC)/composite.h \
1247 $(SRC)/dispextern.h \
1248 $(SRC)/syssignal.h \
1256 $(BLD)/w32console.$(O) : \
1257 $(SRC)/w32console.c \
1260 $(SRC)/character.h \
1262 $(SRC)/composite.h \
1263 $(SRC)/dispextern.h \
1267 $(SRC)/termhooks.h \
1271 $(BLD)/print.$(O) : \
1274 $(EMACS_ROOT)/nt/inc/sys/time.h \
1275 $(EMACS_ROOT)/lib/ftoastr.h \
1276 $(EMACS_ROOT)/lib/intprops.h \
1280 $(SRC)/blockinput.h \
1283 $(SRC)/character.h \
1286 $(SRC)/composite.h \
1287 $(SRC)/dispextern.h \
1290 $(SRC)/intervals.h \
1294 $(SRC)/termhooks.h \
1298 $(BLD)/process.$(O) : \
1301 $(EMACS_ROOT)/nt/inc/netdb.h \
1302 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1303 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1304 $(EMACS_ROOT)/nt/inc/sys/file.h \
1305 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1306 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1307 $(EMACS_ROOT)/nt/inc/sys/time.h \
1311 $(SRC)/blockinput.h \
1313 $(SRC)/character.h \
1316 $(SRC)/composite.h \
1317 $(SRC)/dispextern.h \
1320 $(SRC)/sysselect.h \
1321 $(SRC)/syssignal.h \
1325 $(SRC)/termhooks.h \
1331 $(BLD)/ralloc.$(O) : \
1334 $(EMACS_ROOT)/nt/inc/unistd.h \
1335 $(EMACS_ROOT)/nt/inc/sys/time.h \
1338 $(SRC)/blockinput.h \
1339 $(SRC)/getpagesize.h \
1342 $(BLD)/regex.$(O) : \
1348 $(SRC)/character.h \
1352 $(BLD)/region-cache.$(O) : \
1353 $(SRC)/region-cache.c \
1357 $(SRC)/region-cache.h
1359 $(BLD)/scroll.$(O) : \
1362 $(EMACS_ROOT)/nt/inc/sys/time.h \
1365 $(SRC)/composite.h \
1366 $(SRC)/dispextern.h \
1371 $(SRC)/termhooks.h \
1375 $(BLD)/search.$(O) : \
1378 $(EMACS_ROOT)/nt/inc/sys/time.h \
1381 $(SRC)/blockinput.h \
1384 $(SRC)/character.h \
1387 $(SRC)/composite.h \
1388 $(SRC)/dispextern.h \
1389 $(SRC)/intervals.h \
1391 $(SRC)/region-cache.h \
1396 $(BLD)/sound.$(O) : \
1399 $(EMACS_ROOT)/nt/inc/unistd.h \
1400 $(EMACS_ROOT)/nt/inc/sys/time.h \
1403 $(SRC)/dispextern.h \
1404 $(SRC)/syssignal.h \
1408 $(BLD)/syntax.$(O) : \
1414 $(SRC)/character.h \
1416 $(SRC)/composite.h \
1417 $(SRC)/dispextern.h \
1418 $(SRC)/intervals.h \
1424 $(BLD)/sysdep.$(O) : \
1427 $(EMACS_ROOT)/nt/inc/grp.h \
1428 $(EMACS_ROOT)/nt/inc/netdb.h \
1429 $(EMACS_ROOT)/nt/inc/pwd.h \
1430 $(EMACS_ROOT)/nt/inc/sys/file.h \
1431 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1432 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1433 $(EMACS_ROOT)/nt/inc/sys/time.h \
1434 $(EMACS_ROOT)/lib/allocator.h \
1435 $(EMACS_ROOT)/lib/careadlinkat.h \
1436 $(EMACS_ROOT)/lib/ignore-value.h \
1440 $(SRC)/blockinput.h \
1443 $(SRC)/composite.h \
1444 $(SRC)/dispextern.h \
1447 $(SRC)/sysselect.h \
1448 $(SRC)/syssignal.h \
1453 $(SRC)/termhooks.h \
1459 $(BLD)/term.$(O) : \
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/time.h \
1468 $(SRC)/blockinput.h \
1470 $(SRC)/character.h \
1474 $(SRC)/composite.h \
1475 $(SRC)/dispextern.h \
1478 $(SRC)/intervals.h \
1481 $(SRC)/syssignal.h \
1485 $(SRC)/termhooks.h \
1491 $(BLD)/terminal.$(O) : \
1494 $(EMACS_ROOT)/nt/inc/sys/time.h \
1498 $(SRC)/composite.h \
1499 $(SRC)/dispextern.h \
1504 $(SRC)/termhooks.h \
1507 $(BLD)/textprop.$(O) : \
1512 $(SRC)/composite.h \
1513 $(SRC)/dispextern.h \
1514 $(SRC)/intervals.h \
1518 $(BLD)/tparam.$(O) : \
1524 $(BLD)/undo.$(O) : \
1530 $(SRC)/dispextern.h \
1534 $(BLD)/unexw32.$(O) : \
1540 $(BLD)/vm-limit.$(O) : \
1546 $(BLD)/window.$(O) : \
1549 $(EMACS_ROOT)/nt/inc/sys/time.h \
1552 $(SRC)/blockinput.h \
1556 $(SRC)/composite.h \
1557 $(SRC)/dispextern.h \
1561 $(SRC)/intervals.h \
1566 $(SRC)/termhooks.h \
1571 $(BLD)/xdisp.$(O) : \
1574 $(EMACS_ROOT)/nt/inc/sys/time.h \
1578 $(SRC)/blockinput.h \
1581 $(SRC)/character.h \
1585 $(SRC)/composite.h \
1586 $(SRC)/dispextern.h \
1592 $(SRC)/intervals.h \
1596 $(SRC)/region-cache.h \
1599 $(SRC)/termhooks.h \
1605 $(BLD)/xfaces.$(O) : \
1608 $(EMACS_ROOT)/nt/inc/sys/time.h \
1611 $(SRC)/blockinput.h \
1614 $(SRC)/character.h \
1617 $(SRC)/composite.h \
1618 $(SRC)/dispextern.h \
1622 $(SRC)/intervals.h \
1626 $(SRC)/termhooks.h \
1631 $(BLD)/w32fns.$(O) : \
1634 $(EMACS_ROOT)/nt/inc/sys/time.h \
1637 $(SRC)/blockinput.h \
1640 $(SRC)/character.h \
1643 $(SRC)/composite.h \
1644 $(SRC)/dispextern.h \
1649 $(SRC)/intervals.h \
1652 $(SRC)/termhooks.h \
1660 $(BLD)/w32menu.$(O) : \
1663 $(EMACS_ROOT)/nt/inc/sys/time.h \
1666 $(SRC)/blockinput.h \
1668 $(SRC)/character.h \
1671 $(SRC)/composite.h \
1672 $(SRC)/dispextern.h \
1678 $(SRC)/termhooks.h \
1683 $(BLD)/w32term.$(O) : \
1686 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1687 $(EMACS_ROOT)/nt/inc/sys/time.h \
1691 $(SRC)/blockinput.h \
1694 $(SRC)/character.h \
1697 $(SRC)/composite.h \
1698 $(SRC)/dispextern.h \
1703 $(SRC)/intervals.h \
1709 $(SRC)/termhooks.h \
1717 $(BLD)/w32select.$(O) : \
1718 $(SRC)/w32select.c \
1720 $(EMACS_ROOT)/nt/inc/sys/time.h \
1723 $(SRC)/blockinput.h \
1724 $(SRC)/character.h \
1727 $(SRC)/composite.h \
1733 $(BLD)/w32reg.$(O) : \
1736 $(EMACS_ROOT)/nt/inc/sys/time.h \
1739 $(SRC)/blockinput.h \
1744 $(BLD)/w32xfns.$(O) : \
1747 $(EMACS_ROOT)/nt/inc/sys/time.h \
1750 $(SRC)/blockinput.h \
1753 $(SRC)/composite.h \
1754 $(SRC)/dispextern.h \
1762 $(BLD)/w32font.$(O) : \
1767 $(SRC)/character.h \
1770 $(SRC)/composite.h \
1771 $(SRC)/dispextern.h \
1779 $(BLD)/w32uniscribe.$(O) : \
1780 $(SRC)/w32uniscribe.c \
1784 $(SRC)/character.h \
1786 $(SRC)/composite.h \
1787 $(SRC)/dispextern.h \
1795 # Each object file depends on stamp_BLD, because in parallel builds we must
1796 # make sure $(BLD) exists before starting compilations.
1798 $(OBJ0) $(OBJ1) $(OBJ2) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD