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)
230 gl-stamp: ../lib-src/$(BLD)/make-docfile.exe $(GLOBAL_SOURCES)
232 "../lib-src/$(BLD)/make-docfile" -d . -g $(SOME_MACHINE_OBJECTS) $(obj) > gl-tmp
233 cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp globals.h"
237 bootstrap: bootstrap-emacs
240 # Build a temacs with a sufficiently large PURESIZE to load the
241 # Lisp files from loadup.el in source form.
243 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
244 # this can break with GNU Make 3.81 and later if sh.exe is used.
246 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
249 # Dump an Emacs executable named bootstrap-emacs containing the
250 # files from loadup.el in source form.
252 bootstrap-emacs: bootstrap-temacs
253 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
255 $(CP) $(EMACS) ../bin
258 # Force recompile of files that depend on PURESIZE
261 - $(DEL) $(BLD)/alloc.$(O)
262 - $(DEL) $(BLD)/data.$(O)
263 - $(DEL) $(BLD)/intervals.$(O)
264 - $(DEL) $(BLD)/keyboard.$(O)
265 - $(DEL) $(BLD)/keymap.$(O)
268 # The resource file. NT 3.10 requires the use of cvtres; even though
269 # it is not necessary on later versions, it is still ok to use it.
271 $(TRES): ../nt/emacs.rc stamp_BLD
272 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
275 # Build the library. Split up the build into two phases...otherwise we
276 # run out of command line space.
280 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
283 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
286 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
289 # Place lastfile.$(O) in its own library so that it can be loaded after
290 # the source libraries but before any system libraries. Doing so defines
291 # the end of Emacs' data section portably across compilers and systems.
293 $(TLASTLIB): $(BLD)/lastfile.$(O)
295 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
298 # Assuming INSTALL_DIR is defined, build and install emacs in it.
301 - mkdir "$(INSTALL_DIR)/bin"
302 $(CP) $(EMACS) $(INSTALL_DIR)/bin
307 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
308 # remove precious files if it happens to match their short 8+3 aliases.
310 - $(DEL) "s/*.h~" "m/*.h~"
311 - $(DEL) $(COMPILER_TEMP_FILES)
312 - $(DEL_TREE) $(OBJDIR)
313 - $(DEL) stamp_BLD gl-stamp globals.h
317 - $(DEL) config.h epaths.h Makefile
319 maintainer-clean: distclean
324 - $(DEL_TREE) obj-spd
328 ## Arrange to make a tags table TAGS-LISP for ../lisp,
329 ## plus TAGS for the C files, which includes ../lisp/TAGS by reference.
331 ## This works only with GNU Make.
333 TAGS: $(OBJ0) $(OBJ1) $(OBJ2)
334 $(MAKE) $(MFLAGS) TAGS-$(MAKETYPE)
336 TAGS-LISP: $(OBJ0) $(OBJ1) $(OBJ2)
337 $(MAKE) $(MFLAGS) TAGS-LISP-$(MAKETYPE)
340 ../lib-src/$(BLD)/etags.exe --include=TAGS-LISP --include=../nt/TAGS \
341 --regex=@../nt/emacs-src.tags \
342 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ0))
343 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
344 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ1))
345 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
346 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ2)) \
350 echo This target is not supported with NMake
355 $(MAKE) $(MFLAGS) -C ../lisp TAGS-LISP DEST=../src
358 echo This target is not supported with NMake
362 $(MAKE) $(MFLAGS) nt-TAGS-$(MAKETYPE)
365 $(MAKE) $(MFLAGS) -C ../nt TAGS
368 echo This target is not supported with NMake
371 full-tags: TAGS TAGS-LISP ../nt/TAGS
377 CONFIG_H = $(EMACS_ROOT)/src/s/ms-w32.h \
378 $(EMACS_ROOT)/src/m/intel386.h \
379 $(EMACS_ROOT)/src/config.h \
380 $(EMACS_ROOT)/nt/inc/sys/stat.h
381 LISP_H = $(SRC)/lisp.h $(SRC)/globals.h
382 PROCESS_H = $(SRC)/process.h $(SRC)/gnutls.h
384 $(BLD)/alloc.$(O) : \
387 $(EMACS_ROOT)/nt/inc/unistd.h \
388 $(EMACS_ROOT)/nt/inc/sys/time.h \
392 $(SRC)/blockinput.h \
397 $(SRC)/dispextern.h \
409 $(BLD)/atimer.$(O) : \
412 $(EMACS_ROOT)/nt/inc/unistd.h \
413 $(EMACS_ROOT)/nt/inc/sys/time.h \
416 $(SRC)/blockinput.h \
424 $(SRC)/bidimirror.h \
428 $(SRC)/dispextern.h \
431 $(BLD)/buffer.$(O) : \
434 $(EMACS_ROOT)/nt/inc/unistd.h \
435 $(EMACS_ROOT)/nt/inc/sys/param.h \
436 $(EMACS_ROOT)/nt/inc/sys/time.h \
439 $(SRC)/blockinput.h \
445 $(SRC)/dispextern.h \
451 $(SRC)/region-cache.h \
456 $(BLD)/bytecode.$(O) : \
462 $(SRC)/dispextern.h \
467 $(BLD)/callint.$(O) : \
470 $(EMACS_ROOT)/nt/inc/sys/time.h \
477 $(SRC)/dispextern.h \
484 $(BLD)/callproc.$(O) : \
487 $(EMACS_ROOT)/nt/inc/unistd.h \
488 $(EMACS_ROOT)/nt/inc/sys/file.h \
489 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
490 $(EMACS_ROOT)/nt/inc/sys/time.h \
494 $(SRC)/blockinput.h \
501 $(SRC)/dispextern.h \
511 $(BLD)/casefiddle.$(O) : \
512 $(SRC)/casefiddle.c \
522 $(BLD)/casetab.$(O) : \
529 $(BLD)/category.$(O) : \
549 $(BLD)/character.$(O) : \
559 $(BLD)/charset.$(O) : \
562 $(EMACS_ROOT)/nt/inc/unistd.h \
571 $(BLD)/chartab.$(O) : \
582 $(EMACS_ROOT)/nt/inc/sys/time.h \
589 $(SRC)/dispextern.h \
598 $(BLD)/coding.$(O) : \
608 $(SRC)/dispextern.h \
614 $(BLD)/composite.$(O) : \
623 $(SRC)/dispextern.h \
634 $(EMACS_ROOT)/nt/inc/sys/time.h \
641 $(SRC)/dispextern.h \
651 $(BLD)/dired.$(O) : \
654 $(EMACS_ROOT)/nt/inc/grp.h \
655 $(EMACS_ROOT)/nt/inc/pwd.h \
656 $(EMACS_ROOT)/nt/inc/unistd.h \
657 $(EMACS_ROOT)/nt/inc/sys/dir.h \
658 $(EMACS_ROOT)/nt/inc/sys/time.h \
659 $(EMACS_ROOT)/lib/filemode.h \
662 $(SRC)/blockinput.h \
673 $(BLD)/dispnew.$(O) : \
676 $(EMACS_ROOT)/nt/inc/unistd.h \
677 $(EMACS_ROOT)/nt/inc/sys/time.h \
681 $(SRC)/blockinput.h \
688 $(SRC)/dispextern.h \
707 $(EMACS_ROOT)/nt/inc/unistd.h \
708 $(EMACS_ROOT)/nt/inc/sys/file.h \
709 $(EMACS_ROOT)/nt/inc/sys/time.h \
719 $(BLD)/doprnt.$(O) : \
722 $(EMACS_ROOT)/nt/inc/unistd.h \
726 $(BLD)/editfns.$(O) : \
729 $(EMACS_ROOT)/nt/inc/pwd.h \
730 $(EMACS_ROOT)/nt/inc/unistd.h \
731 $(EMACS_ROOT)/nt/inc/sys/time.h \
732 $(EMACS_ROOT)/lib/intprops.h \
733 $(EMACS_ROOT)/lib/strftime.h \
736 $(SRC)/blockinput.h \
741 $(SRC)/dispextern.h \
748 $(BLD)/emacs.$(O) : \
751 $(EMACS_ROOT)/nt/inc/unistd.h \
752 $(EMACS_ROOT)/nt/inc/sys/file.h \
753 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
754 $(EMACS_ROOT)/nt/inc/sys/time.h \
758 $(SRC)/blockinput.h \
763 $(SRC)/dispextern.h \
781 $(EMACS_ROOT)/nt/inc/sys/time.h \
784 $(SRC)/blockinput.h \
788 $(SRC)/dispextern.h \
794 $(BLD)/fileio.$(O) : \
797 $(EMACS_ROOT)/nt/inc/pwd.h \
798 $(EMACS_ROOT)/nt/inc/unistd.h \
799 $(EMACS_ROOT)/nt/inc/sys/time.h \
802 $(SRC)/blockinput.h \
808 $(SRC)/dispextern.h \
815 $(BLD)/filelock.$(O) : \
818 $(EMACS_ROOT)/nt/inc/pwd.h \
819 $(EMACS_ROOT)/nt/inc/unistd.h \
820 $(EMACS_ROOT)/nt/inc/sys/file.h \
821 $(EMACS_ROOT)/nt/inc/sys/time.h \
829 $(BLD)/firstfile.$(O) : \
833 $(BLD)/floatfns.$(O) : \
842 $(EMACS_ROOT)/nt/inc/langinfo.h \
843 $(EMACS_ROOT)/nt/inc/nl_types.h \
844 $(EMACS_ROOT)/nt/inc/stdint.h \
845 $(EMACS_ROOT)/nt/inc/unistd.h \
846 $(EMACS_ROOT)/nt/inc/sys/time.h \
847 $(EMACS_ROOT)/lib/md5.h \
850 $(SRC)/blockinput.h \
856 $(SRC)/dispextern.h \
874 $(SRC)/dispextern.h \
882 $(BLD)/fontset.$(O) : \
885 $(EMACS_ROOT)/nt/inc/sys/time.h \
888 $(SRC)/blockinput.h \
895 $(SRC)/dispextern.h \
907 $(BLD)/frame.$(O) : \
910 $(EMACS_ROOT)/nt/inc/sys/time.h \
913 $(SRC)/blockinput.h \
920 $(SRC)/dispextern.h \
932 $(BLD)/fringe.$(O) : \
935 $(EMACS_ROOT)/nt/inc/sys/time.h \
938 $(SRC)/blockinput.h \
940 $(SRC)/dispextern.h \
947 $(BLD)/gmalloc.$(O) : \
950 $(EMACS_ROOT)/nt/inc/unistd.h \
953 $(BLD)/image.$(O) : \
956 $(EMACS_ROOT)/nt/inc/unistd.h \
957 $(EMACS_ROOT)/nt/inc/sys/time.h \
960 $(SRC)/blockinput.h \
965 $(SRC)/dispextern.h \
975 $(BLD)/indent.$(O) : \
978 $(EMACS_ROOT)/nt/inc/sys/time.h \
985 $(SRC)/dispextern.h \
991 $(SRC)/region-cache.h \
998 $(BLD)/insdel.$(O) : \
1001 $(EMACS_ROOT)/nt/inc/sys/time.h \
1004 $(SRC)/blockinput.h \
1006 $(SRC)/character.h \
1007 $(SRC)/composite.h \
1008 $(SRC)/dispextern.h \
1009 $(SRC)/intervals.h \
1010 $(SRC)/region-cache.h \
1015 $(BLD)/intervals.$(O) : \
1016 $(SRC)/intervals.c \
1018 $(EMACS_ROOT)/nt/inc/sys/time.h \
1022 $(SRC)/composite.h \
1023 $(SRC)/dispextern.h \
1024 $(SRC)/intervals.h \
1031 $(BLD)/keyboard.$(O) : \
1034 $(EMACS_ROOT)/nt/inc/unistd.h \
1035 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1036 $(EMACS_ROOT)/nt/inc/sys/time.h \
1040 $(SRC)/blockinput.h \
1042 $(SRC)/character.h \
1045 $(SRC)/composite.h \
1046 $(SRC)/dispextern.h \
1049 $(SRC)/intervals.h \
1055 $(SRC)/syssignal.h \
1058 $(SRC)/termhooks.h \
1064 $(BLD)/keymap.$(O) : \
1067 $(EMACS_ROOT)/nt/inc/sys/time.h \
1070 $(SRC)/blockinput.h \
1072 $(SRC)/character.h \
1076 $(SRC)/composite.h \
1077 $(SRC)/dispextern.h \
1079 $(SRC)/intervals.h \
1084 $(SRC)/termhooks.h \
1088 $(BLD)/lastfile.$(O) : \
1092 $(BLD)/lread.$(O) : \
1095 $(EMACS_ROOT)/nt/inc/unistd.h \
1096 $(EMACS_ROOT)/nt/inc/sys/file.h \
1097 $(EMACS_ROOT)/nt/inc/sys/time.h \
1100 $(SRC)/blockinput.h \
1102 $(SRC)/character.h \
1106 $(SRC)/composite.h \
1107 $(SRC)/dispextern.h \
1110 $(SRC)/intervals.h \
1113 $(SRC)/termhooks.h \
1116 $(BLD)/macros.$(O) : \
1119 $(EMACS_ROOT)/nt/inc/sys/time.h \
1124 $(SRC)/composite.h \
1125 $(SRC)/dispextern.h \
1132 $(BLD)/marker.$(O) : \
1139 $(BLD)/menu.$(O) : \
1142 $(EMACS_ROOT)/nt/inc/sys/time.h \
1145 $(SRC)/blockinput.h \
1147 $(SRC)/composite.h \
1148 $(SRC)/dispextern.h \
1154 $(SRC)/termhooks.h \
1159 $(BLD)/minibuf.$(O) : \
1162 $(EMACS_ROOT)/nt/inc/sys/time.h \
1165 $(SRC)/character.h \
1168 $(SRC)/composite.h \
1169 $(SRC)/dispextern.h \
1171 $(SRC)/intervals.h \
1176 $(SRC)/termhooks.h \
1183 $(EMACS_ROOT)/nt/inc/grp.h \
1184 $(EMACS_ROOT)/nt/inc/pwd.h \
1185 $(EMACS_ROOT)/nt/inc/unistd.h \
1186 $(EMACS_ROOT)/nt/inc/sys/file.h \
1187 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1188 $(EMACS_ROOT)/nt/inc/sys/time.h \
1192 $(SRC)/composite.h \
1193 $(SRC)/dispextern.h \
1200 $(BLD)/w32heap.$(O) : \
1206 $(BLD)/w32inevt.$(O) : \
1209 $(EMACS_ROOT)/nt/inc/sys/time.h \
1212 $(SRC)/blockinput.h \
1214 $(SRC)/composite.h \
1215 $(SRC)/dispextern.h \
1219 $(SRC)/termhooks.h \
1224 $(BLD)/w32proc.$(O) : \
1227 $(EMACS_ROOT)/nt/inc/langinfo.h \
1228 $(EMACS_ROOT)/nt/inc/nl_types.h \
1229 $(EMACS_ROOT)/nt/inc/unistd.h \
1230 $(EMACS_ROOT)/nt/inc/sys/file.h \
1231 $(EMACS_ROOT)/nt/inc/sys/time.h \
1234 $(SRC)/character.h \
1236 $(SRC)/composite.h \
1237 $(SRC)/dispextern.h \
1238 $(SRC)/syssignal.h \
1246 $(BLD)/w32console.$(O) : \
1247 $(SRC)/w32console.c \
1250 $(SRC)/character.h \
1252 $(SRC)/composite.h \
1253 $(SRC)/dispextern.h \
1257 $(SRC)/termhooks.h \
1261 $(BLD)/print.$(O) : \
1264 $(EMACS_ROOT)/nt/inc/unistd.h \
1265 $(EMACS_ROOT)/nt/inc/sys/time.h \
1266 $(EMACS_ROOT)/lib/ftoastr.h \
1267 $(EMACS_ROOT)/lib/intprops.h \
1271 $(SRC)/blockinput.h \
1274 $(SRC)/character.h \
1277 $(SRC)/composite.h \
1278 $(SRC)/dispextern.h \
1281 $(SRC)/intervals.h \
1285 $(SRC)/termhooks.h \
1289 $(BLD)/process.$(O) : \
1292 $(EMACS_ROOT)/nt/inc/netdb.h \
1293 $(EMACS_ROOT)/nt/inc/unistd.h \
1294 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1295 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1296 $(EMACS_ROOT)/nt/inc/sys/file.h \
1297 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1298 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1299 $(EMACS_ROOT)/nt/inc/sys/time.h \
1303 $(SRC)/blockinput.h \
1305 $(SRC)/character.h \
1308 $(SRC)/composite.h \
1309 $(SRC)/dispextern.h \
1312 $(SRC)/sysselect.h \
1313 $(SRC)/syssignal.h \
1317 $(SRC)/termhooks.h \
1323 $(BLD)/ralloc.$(O) : \
1326 $(EMACS_ROOT)/nt/inc/unistd.h \
1327 $(EMACS_ROOT)/nt/inc/sys/time.h \
1330 $(SRC)/blockinput.h \
1331 $(SRC)/getpagesize.h \
1334 $(BLD)/regex.$(O) : \
1340 $(SRC)/character.h \
1344 $(BLD)/region-cache.$(O) : \
1345 $(SRC)/region-cache.c \
1349 $(SRC)/region-cache.h
1351 $(BLD)/scroll.$(O) : \
1354 $(EMACS_ROOT)/nt/inc/sys/time.h \
1357 $(SRC)/composite.h \
1358 $(SRC)/dispextern.h \
1363 $(SRC)/termhooks.h \
1367 $(BLD)/search.$(O) : \
1370 $(EMACS_ROOT)/nt/inc/sys/time.h \
1373 $(SRC)/blockinput.h \
1376 $(SRC)/character.h \
1379 $(SRC)/composite.h \
1380 $(SRC)/dispextern.h \
1381 $(SRC)/intervals.h \
1383 $(SRC)/region-cache.h \
1388 $(BLD)/sound.$(O) : \
1391 $(EMACS_ROOT)/nt/inc/unistd.h \
1392 $(EMACS_ROOT)/nt/inc/sys/time.h \
1395 $(SRC)/dispextern.h \
1396 $(SRC)/syssignal.h \
1400 $(BLD)/syntax.$(O) : \
1406 $(SRC)/character.h \
1408 $(SRC)/composite.h \
1409 $(SRC)/dispextern.h \
1410 $(SRC)/intervals.h \
1416 $(BLD)/sysdep.$(O) : \
1419 $(EMACS_ROOT)/nt/inc/grp.h \
1420 $(EMACS_ROOT)/nt/inc/netdb.h \
1421 $(EMACS_ROOT)/nt/inc/pwd.h \
1422 $(EMACS_ROOT)/nt/inc/unistd.h \
1423 $(EMACS_ROOT)/nt/inc/sys/file.h \
1424 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1425 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1426 $(EMACS_ROOT)/nt/inc/sys/time.h \
1427 $(EMACS_ROOT)/lib/ignore-value.h \
1431 $(SRC)/blockinput.h \
1434 $(SRC)/composite.h \
1435 $(SRC)/dispextern.h \
1438 $(SRC)/sysselect.h \
1439 $(SRC)/syssignal.h \
1444 $(SRC)/termhooks.h \
1450 $(BLD)/term.$(O) : \
1453 $(EMACS_ROOT)/nt/inc/unistd.h \
1454 $(EMACS_ROOT)/nt/inc/sys/file.h \
1455 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1456 $(EMACS_ROOT)/nt/inc/sys/time.h \
1459 $(SRC)/blockinput.h \
1461 $(SRC)/character.h \
1465 $(SRC)/composite.h \
1466 $(SRC)/dispextern.h \
1469 $(SRC)/intervals.h \
1472 $(SRC)/syssignal.h \
1476 $(SRC)/termhooks.h \
1482 $(BLD)/terminal.$(O) : \
1485 $(EMACS_ROOT)/nt/inc/sys/time.h \
1489 $(SRC)/composite.h \
1490 $(SRC)/dispextern.h \
1495 $(SRC)/termhooks.h \
1498 $(BLD)/textprop.$(O) : \
1503 $(SRC)/composite.h \
1504 $(SRC)/dispextern.h \
1505 $(SRC)/intervals.h \
1509 $(BLD)/tparam.$(O) : \
1515 $(BLD)/undo.$(O) : \
1521 $(SRC)/dispextern.h \
1525 $(BLD)/unexw32.$(O) : \
1531 $(BLD)/vm-limit.$(O) : \
1537 $(BLD)/window.$(O) : \
1540 $(EMACS_ROOT)/nt/inc/sys/time.h \
1543 $(SRC)/blockinput.h \
1547 $(SRC)/composite.h \
1548 $(SRC)/dispextern.h \
1552 $(SRC)/intervals.h \
1557 $(SRC)/termhooks.h \
1562 $(BLD)/xdisp.$(O) : \
1565 $(EMACS_ROOT)/nt/inc/unistd.h \
1566 $(EMACS_ROOT)/nt/inc/sys/time.h \
1570 $(SRC)/blockinput.h \
1573 $(SRC)/character.h \
1577 $(SRC)/composite.h \
1578 $(SRC)/dispextern.h \
1584 $(SRC)/intervals.h \
1588 $(SRC)/region-cache.h \
1591 $(SRC)/termhooks.h \
1597 $(BLD)/xfaces.$(O) : \
1600 $(EMACS_ROOT)/nt/inc/sys/time.h \
1603 $(SRC)/blockinput.h \
1606 $(SRC)/character.h \
1609 $(SRC)/composite.h \
1610 $(SRC)/dispextern.h \
1614 $(SRC)/intervals.h \
1618 $(SRC)/termhooks.h \
1623 $(BLD)/w32fns.$(O) : \
1626 $(EMACS_ROOT)/nt/inc/sys/time.h \
1629 $(SRC)/blockinput.h \
1632 $(SRC)/character.h \
1635 $(SRC)/composite.h \
1636 $(SRC)/dispextern.h \
1641 $(SRC)/intervals.h \
1644 $(SRC)/termhooks.h \
1652 $(BLD)/w32menu.$(O) : \
1655 $(EMACS_ROOT)/nt/inc/sys/time.h \
1658 $(SRC)/blockinput.h \
1660 $(SRC)/character.h \
1663 $(SRC)/composite.h \
1664 $(SRC)/dispextern.h \
1670 $(SRC)/termhooks.h \
1675 $(BLD)/w32term.$(O) : \
1678 $(EMACS_ROOT)/nt/inc/unistd.h \
1679 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1680 $(EMACS_ROOT)/nt/inc/sys/time.h \
1684 $(SRC)/blockinput.h \
1687 $(SRC)/character.h \
1690 $(SRC)/composite.h \
1691 $(SRC)/dispextern.h \
1696 $(SRC)/intervals.h \
1702 $(SRC)/termhooks.h \
1710 $(BLD)/w32select.$(O) : \
1711 $(SRC)/w32select.c \
1713 $(EMACS_ROOT)/nt/inc/sys/time.h \
1716 $(SRC)/blockinput.h \
1717 $(SRC)/character.h \
1720 $(SRC)/composite.h \
1726 $(BLD)/w32reg.$(O) : \
1729 $(EMACS_ROOT)/nt/inc/sys/time.h \
1732 $(SRC)/blockinput.h \
1737 $(BLD)/w32xfns.$(O) : \
1740 $(EMACS_ROOT)/nt/inc/sys/time.h \
1743 $(SRC)/blockinput.h \
1746 $(SRC)/composite.h \
1747 $(SRC)/dispextern.h \
1755 $(BLD)/w32font.$(O) : \
1760 $(SRC)/character.h \
1763 $(SRC)/composite.h \
1764 $(SRC)/dispextern.h \
1772 $(BLD)/w32uniscribe.$(O) : \
1773 $(SRC)/w32uniscribe.c \
1777 $(SRC)/character.h \
1779 $(SRC)/composite.h \
1780 $(SRC)/dispextern.h \
1788 # Each object file depends on stamp_BLD, because in parallel builds we must
1789 # make sure $(BLD) exists before starting compilations.
1791 $(OBJ0) $(OBJ1) $(OBJ2) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD