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) \
75 $(BLD)/filemode.$(O) \
79 $(BLD)/keyboard.$(O) \
88 $(BLD)/w32inevt.$(O) \
90 $(BLD)/w32console.$(O) \
99 OBJ2 = $(BLD)/sysdep.$(O) \
103 $(BLD)/unexw32.$(O) \
106 $(BLD)/casetab.$(O) \
107 $(BLD)/floatfns.$(O) \
109 $(BLD)/gmalloc.$(O) \
110 $(BLD)/intervals.$(O) \
111 $(BLD)/composite.$(O) \
113 $(BLD)/textprop.$(O) \
114 $(BLD)/vm-limit.$(O) \
115 $(BLD)/region-cache.$(O) \
117 $(BLD)/charset.$(O) \
118 $(BLD)/character.$(O) \
119 $(BLD)/chartab.$(O) \
121 $(BLD)/category.$(O) \
124 $(BLD)/fontset.$(O) \
127 $(BLD)/terminal.$(O) \
129 $(BLD)/w32term.$(O) \
130 $(BLD)/w32xfns.$(O) \
133 $(BLD)/w32select.$(O) \
134 $(BLD)/w32menu.$(O) \
136 $(BLD)/w32font.$(O) \
137 $(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 filemode.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 md5.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)
231 gl-stamp: ../lib-src/$(BLD)/make-docfile.exe $(GLOBAL_SOURCES)
233 "../lib-src/$(BLD)/make-docfile" -d . -g $(SOME_MACHINE_OBJECTS) $(obj) > gl-tmp
234 cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp globals.h"
238 bootstrap: bootstrap-emacs
241 # Build a temacs with a sufficiently large PURESIZE to load the
242 # Lisp files from loadup.el in source form.
244 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
245 # this can break with GNU Make 3.81 and later if sh.exe is used.
247 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
250 # Dump an Emacs executable named bootstrap-emacs containing the
251 # files from loadup.el in source form.
253 bootstrap-emacs: bootstrap-temacs
254 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
256 $(CP) $(EMACS) ../bin
259 # Force recompile of files that depend on PURESIZE
262 - $(DEL) $(BLD)/alloc.$(O)
263 - $(DEL) $(BLD)/data.$(O)
264 - $(DEL) $(BLD)/intervals.$(O)
265 - $(DEL) $(BLD)/keyboard.$(O)
266 - $(DEL) $(BLD)/keymap.$(O)
269 # The resource file. NT 3.10 requires the use of cvtres; even though
270 # it is not necessary on later versions, it is still ok to use it.
272 $(TRES): ../nt/emacs.rc stamp_BLD
273 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
276 # Build the library. Split up the build into two phases...otherwise we
277 # run out of command line space.
281 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
284 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
287 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
290 # Place lastfile.$(O) in its own library so that it can be loaded after
291 # the source libraries but before any system libraries. Doing so defines
292 # the end of Emacs' data section portably across compilers and systems.
294 $(TLASTLIB): $(BLD)/lastfile.$(O)
296 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
299 # Assuming INSTALL_DIR is defined, build and install emacs in it.
302 - mkdir "$(INSTALL_DIR)/bin"
303 $(CP) $(EMACS) $(INSTALL_DIR)/bin
308 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
309 # remove precious files if it happens to match their short 8+3 aliases.
311 - $(DEL) "s/*.h~" "m/*.h~"
312 - $(DEL) $(COMPILER_TEMP_FILES)
313 - $(DEL_TREE) $(OBJDIR)
314 - $(DEL) stamp_BLD gl-stamp globals.h
318 - $(DEL) config.h epaths.h Makefile
320 maintainer-clean: distclean
325 - $(DEL_TREE) obj-spd
329 ## Arrange to make a tags table TAGS-LISP for ../lisp,
330 ## plus TAGS for the C files, which includes ../lisp/TAGS by reference.
332 ## This works only with GNU Make.
334 TAGS: $(OBJ0) $(OBJ1) $(OBJ2)
335 $(MAKE) $(MFLAGS) TAGS-$(MAKETYPE)
337 TAGS-LISP: $(OBJ0) $(OBJ1) $(OBJ2)
338 $(MAKE) $(MFLAGS) TAGS-LISP-$(MAKETYPE)
341 ../lib-src/$(BLD)/etags.exe --include=TAGS-LISP --include=../nt/TAGS \
342 --regex=@../nt/emacs-src.tags \
343 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ0))
344 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
345 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ1))
346 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
347 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ2)) \
351 echo This target is not supported with NMake
356 $(MAKE) $(MFLAGS) -C ../lisp TAGS-LISP DEST=../src
359 echo This target is not supported with NMake
363 $(MAKE) $(MFLAGS) nt-TAGS-$(MAKETYPE)
366 $(MAKE) $(MFLAGS) -C ../nt TAGS
369 echo This target is not supported with NMake
372 full-tags: TAGS TAGS-LISP ../nt/TAGS
378 CONFIG_H = $(EMACS_ROOT)/src/s/ms-w32.h \
379 $(EMACS_ROOT)/src/m/intel386.h \
380 $(EMACS_ROOT)/src/config.h \
381 $(EMACS_ROOT)/nt/inc/sys/stat.h
382 LISP_H = $(SRC)/lisp.h $(SRC)/globals.h
383 PROCESS_H = $(SRC)/process.h $(SRC)/gnutls.h
385 $(BLD)/alloc.$(O) : \
388 $(EMACS_ROOT)/nt/inc/unistd.h \
389 $(EMACS_ROOT)/nt/inc/sys/time.h \
392 $(SRC)/blockinput.h \
397 $(SRC)/dispextern.h \
410 $(BLD)/atimer.$(O) : \
413 $(EMACS_ROOT)/nt/inc/unistd.h \
414 $(EMACS_ROOT)/nt/inc/sys/time.h \
417 $(SRC)/blockinput.h \
425 $(SRC)/bidimirror.h \
429 $(SRC)/dispextern.h \
432 $(BLD)/buffer.$(O) : \
435 $(EMACS_ROOT)/nt/inc/unistd.h \
436 $(EMACS_ROOT)/nt/inc/sys/param.h \
437 $(EMACS_ROOT)/nt/inc/sys/time.h \
440 $(SRC)/blockinput.h \
446 $(SRC)/dispextern.h \
452 $(SRC)/region-cache.h \
457 $(BLD)/bytecode.$(O) : \
463 $(SRC)/dispextern.h \
468 $(BLD)/callint.$(O) : \
471 $(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/time.h \
492 $(SRC)/blockinput.h \
499 $(SRC)/dispextern.h \
510 $(BLD)/casefiddle.$(O) : \
511 $(SRC)/casefiddle.c \
521 $(BLD)/casetab.$(O) : \
528 $(BLD)/category.$(O) : \
548 $(BLD)/character.$(O) : \
558 $(BLD)/charset.$(O) : \
561 $(EMACS_ROOT)/nt/inc/unistd.h \
570 $(BLD)/chartab.$(O) : \
581 $(EMACS_ROOT)/nt/inc/sys/time.h \
588 $(SRC)/dispextern.h \
597 $(BLD)/coding.$(O) : \
607 $(SRC)/dispextern.h \
613 $(BLD)/composite.$(O) : \
622 $(SRC)/dispextern.h \
633 $(EMACS_ROOT)/nt/inc/sys/time.h \
640 $(SRC)/dispextern.h \
650 $(BLD)/dired.$(O) : \
653 $(EMACS_ROOT)/nt/inc/grp.h \
654 $(EMACS_ROOT)/nt/inc/pwd.h \
655 $(EMACS_ROOT)/nt/inc/unistd.h \
656 $(EMACS_ROOT)/nt/inc/sys/dir.h \
657 $(EMACS_ROOT)/nt/inc/sys/time.h \
660 $(SRC)/blockinput.h \
671 $(BLD)/dispnew.$(O) : \
674 $(EMACS_ROOT)/nt/inc/unistd.h \
675 $(EMACS_ROOT)/nt/inc/sys/time.h \
678 $(SRC)/blockinput.h \
685 $(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/strftime.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)/filemode.$(O) : \
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/unistd.h \
845 $(EMACS_ROOT)/nt/inc/sys/time.h \
848 $(SRC)/blockinput.h \
854 $(SRC)/dispextern.h \
873 $(SRC)/dispextern.h \
881 $(BLD)/fontset.$(O) : \
884 $(EMACS_ROOT)/nt/inc/sys/time.h \
887 $(SRC)/blockinput.h \
894 $(SRC)/dispextern.h \
906 $(BLD)/frame.$(O) : \
909 $(EMACS_ROOT)/nt/inc/sys/time.h \
912 $(SRC)/blockinput.h \
919 $(SRC)/dispextern.h \
931 $(BLD)/fringe.$(O) : \
934 $(EMACS_ROOT)/nt/inc/sys/time.h \
937 $(SRC)/blockinput.h \
939 $(SRC)/dispextern.h \
946 $(BLD)/gmalloc.$(O) : \
949 $(EMACS_ROOT)/nt/inc/unistd.h \
952 $(BLD)/image.$(O) : \
955 $(EMACS_ROOT)/nt/inc/unistd.h \
956 $(EMACS_ROOT)/nt/inc/sys/time.h \
959 $(SRC)/blockinput.h \
964 $(SRC)/dispextern.h \
974 $(BLD)/indent.$(O) : \
977 $(EMACS_ROOT)/nt/inc/sys/time.h \
984 $(SRC)/dispextern.h \
990 $(SRC)/region-cache.h \
997 $(BLD)/insdel.$(O) : \
1000 $(EMACS_ROOT)/nt/inc/sys/time.h \
1003 $(SRC)/blockinput.h \
1005 $(SRC)/character.h \
1006 $(SRC)/composite.h \
1007 $(SRC)/dispextern.h \
1008 $(SRC)/intervals.h \
1009 $(SRC)/region-cache.h \
1014 $(BLD)/intervals.$(O) : \
1015 $(SRC)/intervals.c \
1017 $(EMACS_ROOT)/nt/inc/sys/time.h \
1021 $(SRC)/composite.h \
1022 $(SRC)/dispextern.h \
1023 $(SRC)/intervals.h \
1030 $(BLD)/keyboard.$(O) : \
1033 $(EMACS_ROOT)/nt/inc/unistd.h \
1034 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1035 $(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 \
1054 $(SRC)/syssignal.h \
1057 $(SRC)/termhooks.h \
1063 $(BLD)/keymap.$(O) : \
1066 $(EMACS_ROOT)/nt/inc/sys/time.h \
1069 $(SRC)/blockinput.h \
1071 $(SRC)/character.h \
1075 $(SRC)/composite.h \
1076 $(SRC)/dispextern.h \
1078 $(SRC)/intervals.h \
1083 $(SRC)/termhooks.h \
1087 $(BLD)/lastfile.$(O) : \
1091 $(BLD)/lread.$(O) : \
1094 $(EMACS_ROOT)/nt/inc/unistd.h \
1095 $(EMACS_ROOT)/nt/inc/sys/file.h \
1096 $(EMACS_ROOT)/nt/inc/sys/time.h \
1099 $(SRC)/blockinput.h \
1101 $(SRC)/character.h \
1105 $(SRC)/composite.h \
1106 $(SRC)/dispextern.h \
1109 $(SRC)/intervals.h \
1112 $(SRC)/termhooks.h \
1115 $(BLD)/macros.$(O) : \
1118 $(EMACS_ROOT)/nt/inc/sys/time.h \
1123 $(SRC)/composite.h \
1124 $(SRC)/dispextern.h \
1131 $(BLD)/marker.$(O) : \
1143 $(BLD)/menu.$(O) : \
1146 $(EMACS_ROOT)/nt/inc/sys/time.h \
1149 $(SRC)/blockinput.h \
1151 $(SRC)/composite.h \
1152 $(SRC)/dispextern.h \
1158 $(SRC)/termhooks.h \
1163 $(BLD)/minibuf.$(O) : \
1166 $(EMACS_ROOT)/nt/inc/sys/time.h \
1169 $(SRC)/character.h \
1172 $(SRC)/composite.h \
1173 $(SRC)/dispextern.h \
1175 $(SRC)/intervals.h \
1180 $(SRC)/termhooks.h \
1187 $(EMACS_ROOT)/nt/inc/grp.h \
1188 $(EMACS_ROOT)/nt/inc/pwd.h \
1189 $(EMACS_ROOT)/nt/inc/unistd.h \
1190 $(EMACS_ROOT)/nt/inc/sys/file.h \
1191 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1192 $(EMACS_ROOT)/nt/inc/sys/time.h \
1195 $(SRC)/composite.h \
1196 $(SRC)/dispextern.h \
1204 $(BLD)/w32heap.$(O) : \
1210 $(BLD)/w32inevt.$(O) : \
1213 $(EMACS_ROOT)/nt/inc/sys/time.h \
1216 $(SRC)/blockinput.h \
1218 $(SRC)/composite.h \
1219 $(SRC)/dispextern.h \
1223 $(SRC)/termhooks.h \
1228 $(BLD)/w32proc.$(O) : \
1231 $(EMACS_ROOT)/nt/inc/langinfo.h \
1232 $(EMACS_ROOT)/nt/inc/nl_types.h \
1233 $(EMACS_ROOT)/nt/inc/unistd.h \
1234 $(EMACS_ROOT)/nt/inc/sys/file.h \
1235 $(EMACS_ROOT)/nt/inc/sys/time.h \
1237 $(SRC)/character.h \
1239 $(SRC)/composite.h \
1240 $(SRC)/dispextern.h \
1242 $(SRC)/syssignal.h \
1250 $(BLD)/w32console.$(O) : \
1251 $(SRC)/w32console.c \
1254 $(SRC)/character.h \
1256 $(SRC)/composite.h \
1257 $(SRC)/dispextern.h \
1261 $(SRC)/termhooks.h \
1265 $(BLD)/print.$(O) : \
1268 $(EMACS_ROOT)/nt/inc/unistd.h \
1269 $(EMACS_ROOT)/nt/inc/sys/time.h \
1270 $(EMACS_ROOT)/lib/ftoastr.h \
1271 $(EMACS_ROOT)/lib/intprops.h \
1274 $(SRC)/blockinput.h \
1277 $(SRC)/character.h \
1280 $(SRC)/composite.h \
1281 $(SRC)/dispextern.h \
1284 $(SRC)/intervals.h \
1289 $(SRC)/termhooks.h \
1293 $(BLD)/process.$(O) : \
1296 $(EMACS_ROOT)/nt/inc/netdb.h \
1297 $(EMACS_ROOT)/nt/inc/unistd.h \
1298 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1299 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1300 $(EMACS_ROOT)/nt/inc/sys/file.h \
1301 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1302 $(EMACS_ROOT)/nt/inc/sys/time.h \
1305 $(SRC)/blockinput.h \
1307 $(SRC)/character.h \
1310 $(SRC)/composite.h \
1311 $(SRC)/dispextern.h \
1315 $(SRC)/sysselect.h \
1316 $(SRC)/syssignal.h \
1320 $(SRC)/termhooks.h \
1326 $(BLD)/ralloc.$(O) : \
1329 $(EMACS_ROOT)/nt/inc/unistd.h \
1330 $(EMACS_ROOT)/nt/inc/sys/time.h \
1333 $(SRC)/blockinput.h \
1334 $(SRC)/getpagesize.h \
1337 $(BLD)/regex.$(O) : \
1343 $(SRC)/character.h \
1347 $(BLD)/region-cache.$(O) : \
1348 $(SRC)/region-cache.c \
1352 $(SRC)/region-cache.h
1354 $(BLD)/scroll.$(O) : \
1357 $(EMACS_ROOT)/nt/inc/sys/time.h \
1360 $(SRC)/composite.h \
1361 $(SRC)/dispextern.h \
1366 $(SRC)/termhooks.h \
1370 $(BLD)/search.$(O) : \
1373 $(EMACS_ROOT)/nt/inc/sys/time.h \
1376 $(SRC)/blockinput.h \
1379 $(SRC)/character.h \
1382 $(SRC)/composite.h \
1383 $(SRC)/dispextern.h \
1384 $(SRC)/intervals.h \
1386 $(SRC)/region-cache.h \
1391 $(BLD)/sound.$(O) : \
1394 $(EMACS_ROOT)/nt/inc/unistd.h \
1395 $(EMACS_ROOT)/nt/inc/sys/time.h \
1398 $(SRC)/dispextern.h \
1399 $(SRC)/syssignal.h \
1403 $(BLD)/syntax.$(O) : \
1409 $(SRC)/character.h \
1411 $(SRC)/composite.h \
1412 $(SRC)/dispextern.h \
1413 $(SRC)/intervals.h \
1419 $(BLD)/sysdep.$(O) : \
1422 $(EMACS_ROOT)/nt/inc/grp.h \
1423 $(EMACS_ROOT)/nt/inc/netdb.h \
1424 $(EMACS_ROOT)/nt/inc/pwd.h \
1425 $(EMACS_ROOT)/nt/inc/unistd.h \
1426 $(EMACS_ROOT)/nt/inc/sys/file.h \
1427 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1428 $(EMACS_ROOT)/nt/inc/sys/time.h \
1429 $(EMACS_ROOT)/lib/ignore-value.h \
1432 $(SRC)/blockinput.h \
1435 $(SRC)/composite.h \
1436 $(SRC)/dispextern.h \
1440 $(SRC)/sysselect.h \
1441 $(SRC)/syssignal.h \
1446 $(SRC)/termhooks.h \
1452 $(BLD)/term.$(O) : \
1455 $(EMACS_ROOT)/nt/inc/unistd.h \
1456 $(EMACS_ROOT)/nt/inc/sys/file.h \
1457 $(EMACS_ROOT)/nt/inc/sys/time.h \
1460 $(SRC)/blockinput.h \
1462 $(SRC)/character.h \
1466 $(SRC)/composite.h \
1467 $(SRC)/dispextern.h \
1470 $(SRC)/intervals.h \
1473 $(SRC)/syssignal.h \
1477 $(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) : \
1514 $(BLD)/undo.$(O) : \
1520 $(SRC)/dispextern.h \
1524 $(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 \
1567 $(SRC)/blockinput.h \
1570 $(SRC)/character.h \
1574 $(SRC)/composite.h \
1575 $(SRC)/dispextern.h \
1581 $(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/time.h \
1680 $(SRC)/blockinput.h \
1683 $(SRC)/character.h \
1686 $(SRC)/composite.h \
1687 $(SRC)/dispextern.h \
1692 $(SRC)/intervals.h \
1699 $(SRC)/termhooks.h \
1707 $(BLD)/w32select.$(O) : \
1708 $(SRC)/w32select.c \
1710 $(EMACS_ROOT)/nt/inc/sys/time.h \
1713 $(SRC)/blockinput.h \
1714 $(SRC)/character.h \
1717 $(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