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 \
732 $(SRC)/blockinput.h \
737 $(SRC)/dispextern.h \
744 $(BLD)/emacs.$(O) : \
747 $(EMACS_ROOT)/nt/inc/unistd.h \
748 $(EMACS_ROOT)/nt/inc/sys/file.h \
749 $(EMACS_ROOT)/nt/inc/sys/time.h \
752 $(SRC)/blockinput.h \
757 $(SRC)/dispextern.h \
776 $(EMACS_ROOT)/nt/inc/sys/time.h \
779 $(SRC)/blockinput.h \
783 $(SRC)/dispextern.h \
789 $(BLD)/fileio.$(O) : \
792 $(EMACS_ROOT)/nt/inc/pwd.h \
793 $(EMACS_ROOT)/nt/inc/unistd.h \
794 $(EMACS_ROOT)/nt/inc/sys/time.h \
797 $(SRC)/blockinput.h \
803 $(SRC)/dispextern.h \
810 $(BLD)/filelock.$(O) : \
813 $(EMACS_ROOT)/nt/inc/pwd.h \
814 $(EMACS_ROOT)/nt/inc/unistd.h \
815 $(EMACS_ROOT)/nt/inc/sys/file.h \
816 $(EMACS_ROOT)/nt/inc/sys/time.h \
824 $(BLD)/firstfile.$(O) : \
828 $(BLD)/floatfns.$(O) : \
837 $(EMACS_ROOT)/nt/inc/langinfo.h \
838 $(EMACS_ROOT)/nt/inc/nl_types.h \
839 $(EMACS_ROOT)/nt/inc/unistd.h \
840 $(EMACS_ROOT)/nt/inc/sys/time.h \
841 $(EMACS_ROOT)/lib/md5.h \
844 $(SRC)/blockinput.h \
850 $(SRC)/dispextern.h \
868 $(SRC)/dispextern.h \
876 $(BLD)/fontset.$(O) : \
879 $(EMACS_ROOT)/nt/inc/sys/time.h \
882 $(SRC)/blockinput.h \
889 $(SRC)/dispextern.h \
901 $(BLD)/frame.$(O) : \
904 $(EMACS_ROOT)/nt/inc/sys/time.h \
907 $(SRC)/blockinput.h \
914 $(SRC)/dispextern.h \
926 $(BLD)/fringe.$(O) : \
929 $(EMACS_ROOT)/nt/inc/sys/time.h \
932 $(SRC)/blockinput.h \
934 $(SRC)/dispextern.h \
941 $(BLD)/gmalloc.$(O) : \
944 $(EMACS_ROOT)/nt/inc/unistd.h \
947 $(BLD)/image.$(O) : \
950 $(EMACS_ROOT)/nt/inc/unistd.h \
951 $(EMACS_ROOT)/nt/inc/sys/time.h \
954 $(SRC)/blockinput.h \
959 $(SRC)/dispextern.h \
969 $(BLD)/indent.$(O) : \
972 $(EMACS_ROOT)/nt/inc/sys/time.h \
979 $(SRC)/dispextern.h \
985 $(SRC)/region-cache.h \
992 $(BLD)/insdel.$(O) : \
995 $(EMACS_ROOT)/nt/inc/sys/time.h \
998 $(SRC)/blockinput.h \
1000 $(SRC)/character.h \
1001 $(SRC)/composite.h \
1002 $(SRC)/dispextern.h \
1003 $(SRC)/intervals.h \
1004 $(SRC)/region-cache.h \
1009 $(BLD)/intervals.$(O) : \
1010 $(SRC)/intervals.c \
1012 $(EMACS_ROOT)/nt/inc/sys/time.h \
1016 $(SRC)/composite.h \
1017 $(SRC)/dispextern.h \
1018 $(SRC)/intervals.h \
1025 $(BLD)/keyboard.$(O) : \
1028 $(EMACS_ROOT)/nt/inc/unistd.h \
1029 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1030 $(EMACS_ROOT)/nt/inc/sys/time.h \
1033 $(SRC)/blockinput.h \
1035 $(SRC)/character.h \
1038 $(SRC)/composite.h \
1039 $(SRC)/dispextern.h \
1042 $(SRC)/intervals.h \
1049 $(SRC)/syssignal.h \
1052 $(SRC)/termhooks.h \
1058 $(BLD)/keymap.$(O) : \
1061 $(EMACS_ROOT)/nt/inc/sys/time.h \
1064 $(SRC)/blockinput.h \
1066 $(SRC)/character.h \
1070 $(SRC)/composite.h \
1071 $(SRC)/dispextern.h \
1073 $(SRC)/intervals.h \
1078 $(SRC)/termhooks.h \
1082 $(BLD)/lastfile.$(O) : \
1086 $(BLD)/lread.$(O) : \
1089 $(EMACS_ROOT)/nt/inc/unistd.h \
1090 $(EMACS_ROOT)/nt/inc/sys/file.h \
1091 $(EMACS_ROOT)/nt/inc/sys/time.h \
1094 $(SRC)/blockinput.h \
1096 $(SRC)/character.h \
1100 $(SRC)/composite.h \
1101 $(SRC)/dispextern.h \
1104 $(SRC)/intervals.h \
1107 $(SRC)/termhooks.h \
1110 $(BLD)/macros.$(O) : \
1113 $(EMACS_ROOT)/nt/inc/sys/time.h \
1118 $(SRC)/composite.h \
1119 $(SRC)/dispextern.h \
1126 $(BLD)/marker.$(O) : \
1133 $(BLD)/menu.$(O) : \
1136 $(EMACS_ROOT)/nt/inc/sys/time.h \
1139 $(SRC)/blockinput.h \
1141 $(SRC)/composite.h \
1142 $(SRC)/dispextern.h \
1148 $(SRC)/termhooks.h \
1153 $(BLD)/minibuf.$(O) : \
1156 $(EMACS_ROOT)/nt/inc/sys/time.h \
1159 $(SRC)/character.h \
1162 $(SRC)/composite.h \
1163 $(SRC)/dispextern.h \
1165 $(SRC)/intervals.h \
1170 $(SRC)/termhooks.h \
1177 $(EMACS_ROOT)/nt/inc/grp.h \
1178 $(EMACS_ROOT)/nt/inc/pwd.h \
1179 $(EMACS_ROOT)/nt/inc/unistd.h \
1180 $(EMACS_ROOT)/nt/inc/sys/file.h \
1181 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1182 $(EMACS_ROOT)/nt/inc/sys/time.h \
1185 $(SRC)/composite.h \
1186 $(SRC)/dispextern.h \
1194 $(BLD)/w32heap.$(O) : \
1200 $(BLD)/w32inevt.$(O) : \
1203 $(EMACS_ROOT)/nt/inc/sys/time.h \
1206 $(SRC)/blockinput.h \
1208 $(SRC)/composite.h \
1209 $(SRC)/dispextern.h \
1213 $(SRC)/termhooks.h \
1218 $(BLD)/w32proc.$(O) : \
1221 $(EMACS_ROOT)/nt/inc/langinfo.h \
1222 $(EMACS_ROOT)/nt/inc/nl_types.h \
1223 $(EMACS_ROOT)/nt/inc/unistd.h \
1224 $(EMACS_ROOT)/nt/inc/sys/file.h \
1225 $(EMACS_ROOT)/nt/inc/sys/time.h \
1227 $(SRC)/character.h \
1229 $(SRC)/composite.h \
1230 $(SRC)/dispextern.h \
1232 $(SRC)/syssignal.h \
1240 $(BLD)/w32console.$(O) : \
1241 $(SRC)/w32console.c \
1244 $(SRC)/character.h \
1246 $(SRC)/composite.h \
1247 $(SRC)/dispextern.h \
1251 $(SRC)/termhooks.h \
1255 $(BLD)/print.$(O) : \
1258 $(EMACS_ROOT)/nt/inc/unistd.h \
1259 $(EMACS_ROOT)/nt/inc/sys/time.h \
1260 $(EMACS_ROOT)/lib/ftoastr.h \
1261 $(EMACS_ROOT)/lib/intprops.h \
1264 $(SRC)/blockinput.h \
1267 $(SRC)/character.h \
1270 $(SRC)/composite.h \
1271 $(SRC)/dispextern.h \
1274 $(SRC)/intervals.h \
1279 $(SRC)/termhooks.h \
1283 $(BLD)/process.$(O) : \
1286 $(EMACS_ROOT)/nt/inc/netdb.h \
1287 $(EMACS_ROOT)/nt/inc/unistd.h \
1288 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1289 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1290 $(EMACS_ROOT)/nt/inc/sys/file.h \
1291 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1292 $(EMACS_ROOT)/nt/inc/sys/time.h \
1295 $(SRC)/blockinput.h \
1297 $(SRC)/character.h \
1300 $(SRC)/composite.h \
1301 $(SRC)/dispextern.h \
1305 $(SRC)/sysselect.h \
1306 $(SRC)/syssignal.h \
1310 $(SRC)/termhooks.h \
1316 $(BLD)/ralloc.$(O) : \
1319 $(EMACS_ROOT)/nt/inc/unistd.h \
1320 $(EMACS_ROOT)/nt/inc/sys/time.h \
1323 $(SRC)/blockinput.h \
1324 $(SRC)/getpagesize.h \
1327 $(BLD)/regex.$(O) : \
1333 $(SRC)/character.h \
1337 $(BLD)/region-cache.$(O) : \
1338 $(SRC)/region-cache.c \
1342 $(SRC)/region-cache.h
1344 $(BLD)/scroll.$(O) : \
1347 $(EMACS_ROOT)/nt/inc/sys/time.h \
1350 $(SRC)/composite.h \
1351 $(SRC)/dispextern.h \
1356 $(SRC)/termhooks.h \
1360 $(BLD)/search.$(O) : \
1363 $(EMACS_ROOT)/nt/inc/sys/time.h \
1366 $(SRC)/blockinput.h \
1369 $(SRC)/character.h \
1372 $(SRC)/composite.h \
1373 $(SRC)/dispextern.h \
1374 $(SRC)/intervals.h \
1376 $(SRC)/region-cache.h \
1381 $(BLD)/sound.$(O) : \
1384 $(EMACS_ROOT)/nt/inc/unistd.h \
1385 $(EMACS_ROOT)/nt/inc/sys/time.h \
1388 $(SRC)/dispextern.h \
1389 $(SRC)/syssignal.h \
1393 $(BLD)/syntax.$(O) : \
1399 $(SRC)/character.h \
1401 $(SRC)/composite.h \
1402 $(SRC)/dispextern.h \
1403 $(SRC)/intervals.h \
1409 $(BLD)/sysdep.$(O) : \
1412 $(EMACS_ROOT)/nt/inc/grp.h \
1413 $(EMACS_ROOT)/nt/inc/netdb.h \
1414 $(EMACS_ROOT)/nt/inc/pwd.h \
1415 $(EMACS_ROOT)/nt/inc/unistd.h \
1416 $(EMACS_ROOT)/nt/inc/sys/file.h \
1417 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1418 $(EMACS_ROOT)/nt/inc/sys/time.h \
1419 $(EMACS_ROOT)/lib/ignore-value.h \
1422 $(SRC)/blockinput.h \
1425 $(SRC)/composite.h \
1426 $(SRC)/dispextern.h \
1430 $(SRC)/sysselect.h \
1431 $(SRC)/syssignal.h \
1436 $(SRC)/termhooks.h \
1442 $(BLD)/term.$(O) : \
1445 $(EMACS_ROOT)/nt/inc/unistd.h \
1446 $(EMACS_ROOT)/nt/inc/sys/file.h \
1447 $(EMACS_ROOT)/nt/inc/sys/time.h \
1450 $(SRC)/blockinput.h \
1452 $(SRC)/character.h \
1456 $(SRC)/composite.h \
1457 $(SRC)/dispextern.h \
1460 $(SRC)/intervals.h \
1463 $(SRC)/syssignal.h \
1467 $(SRC)/termhooks.h \
1472 $(BLD)/terminal.$(O) : \
1475 $(EMACS_ROOT)/nt/inc/sys/time.h \
1479 $(SRC)/composite.h \
1480 $(SRC)/dispextern.h \
1485 $(SRC)/termhooks.h \
1488 $(BLD)/textprop.$(O) : \
1493 $(SRC)/composite.h \
1494 $(SRC)/dispextern.h \
1495 $(SRC)/intervals.h \
1499 $(BLD)/tparam.$(O) : \
1504 $(BLD)/undo.$(O) : \
1510 $(SRC)/dispextern.h \
1514 $(BLD)/unexw32.$(O) : \
1519 $(BLD)/vm-limit.$(O) : \
1525 $(BLD)/window.$(O) : \
1528 $(EMACS_ROOT)/nt/inc/sys/time.h \
1531 $(SRC)/blockinput.h \
1535 $(SRC)/composite.h \
1536 $(SRC)/dispextern.h \
1540 $(SRC)/intervals.h \
1545 $(SRC)/termhooks.h \
1550 $(BLD)/xdisp.$(O) : \
1553 $(EMACS_ROOT)/nt/inc/unistd.h \
1554 $(EMACS_ROOT)/nt/inc/sys/time.h \
1557 $(SRC)/blockinput.h \
1560 $(SRC)/character.h \
1564 $(SRC)/composite.h \
1565 $(SRC)/dispextern.h \
1571 $(SRC)/intervals.h \
1576 $(SRC)/region-cache.h \
1579 $(SRC)/termhooks.h \
1585 $(BLD)/xfaces.$(O) : \
1588 $(EMACS_ROOT)/nt/inc/sys/time.h \
1591 $(SRC)/blockinput.h \
1594 $(SRC)/character.h \
1597 $(SRC)/composite.h \
1598 $(SRC)/dispextern.h \
1602 $(SRC)/intervals.h \
1606 $(SRC)/termhooks.h \
1611 $(BLD)/w32fns.$(O) : \
1614 $(EMACS_ROOT)/nt/inc/sys/time.h \
1617 $(SRC)/blockinput.h \
1620 $(SRC)/character.h \
1623 $(SRC)/composite.h \
1624 $(SRC)/dispextern.h \
1629 $(SRC)/intervals.h \
1632 $(SRC)/termhooks.h \
1640 $(BLD)/w32menu.$(O) : \
1643 $(EMACS_ROOT)/nt/inc/sys/time.h \
1646 $(SRC)/blockinput.h \
1648 $(SRC)/character.h \
1651 $(SRC)/composite.h \
1652 $(SRC)/dispextern.h \
1658 $(SRC)/termhooks.h \
1663 $(BLD)/w32term.$(O) : \
1666 $(EMACS_ROOT)/nt/inc/unistd.h \
1667 $(EMACS_ROOT)/nt/inc/sys/time.h \
1670 $(SRC)/blockinput.h \
1673 $(SRC)/character.h \
1676 $(SRC)/composite.h \
1677 $(SRC)/dispextern.h \
1682 $(SRC)/intervals.h \
1689 $(SRC)/termhooks.h \
1697 $(BLD)/w32select.$(O) : \
1698 $(SRC)/w32select.c \
1700 $(EMACS_ROOT)/nt/inc/sys/time.h \
1703 $(SRC)/blockinput.h \
1704 $(SRC)/character.h \
1707 $(SRC)/composite.h \
1714 $(BLD)/w32reg.$(O) : \
1717 $(EMACS_ROOT)/nt/inc/sys/time.h \
1720 $(SRC)/blockinput.h \
1725 $(BLD)/w32xfns.$(O) : \
1728 $(EMACS_ROOT)/nt/inc/sys/time.h \
1731 $(SRC)/blockinput.h \
1734 $(SRC)/composite.h \
1735 $(SRC)/dispextern.h \
1743 $(BLD)/w32font.$(O) : \
1748 $(SRC)/character.h \
1751 $(SRC)/composite.h \
1752 $(SRC)/dispextern.h \
1760 $(BLD)/w32uniscribe.$(O) : \
1761 $(SRC)/w32uniscribe.c \
1765 $(SRC)/character.h \
1767 $(SRC)/composite.h \
1768 $(SRC)/dispextern.h \
1776 # Each object file depends on stamp_BLD, because in parallel builds we must
1777 # make sure $(BLD) exists before starting compilations.
1779 $(OBJ0) $(OBJ1) $(OBJ2) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD