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 $(SRC)/globals.h
384 PROCESS_H = $(SRC)/process.h $(SRC)/gnutls.h
386 $(BLD)/alloc.$(O) : \
389 $(EMACS_ROOT)/nt/inc/unistd.h \
390 $(EMACS_ROOT)/nt/inc/sys/time.h \
394 $(SRC)/blockinput.h \
399 $(SRC)/dispextern.h \
411 $(BLD)/atimer.$(O) : \
414 $(EMACS_ROOT)/nt/inc/unistd.h \
415 $(EMACS_ROOT)/nt/inc/sys/time.h \
418 $(SRC)/blockinput.h \
426 $(SRC)/bidimirror.h \
430 $(SRC)/dispextern.h \
433 $(BLD)/buffer.$(O) : \
436 $(EMACS_ROOT)/nt/inc/unistd.h \
437 $(EMACS_ROOT)/nt/inc/sys/param.h \
438 $(EMACS_ROOT)/nt/inc/sys/time.h \
441 $(SRC)/blockinput.h \
447 $(SRC)/dispextern.h \
453 $(SRC)/region-cache.h \
458 $(BLD)/bytecode.$(O) : \
464 $(SRC)/dispextern.h \
469 $(BLD)/callint.$(O) : \
472 $(EMACS_ROOT)/nt/inc/sys/time.h \
479 $(SRC)/dispextern.h \
486 $(BLD)/callproc.$(O) : \
489 $(EMACS_ROOT)/nt/inc/unistd.h \
490 $(EMACS_ROOT)/nt/inc/sys/file.h \
491 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
492 $(EMACS_ROOT)/nt/inc/sys/time.h \
496 $(SRC)/blockinput.h \
503 $(SRC)/dispextern.h \
513 $(BLD)/casefiddle.$(O) : \
514 $(SRC)/casefiddle.c \
524 $(BLD)/casetab.$(O) : \
531 $(BLD)/category.$(O) : \
551 $(BLD)/character.$(O) : \
561 $(BLD)/charset.$(O) : \
564 $(EMACS_ROOT)/nt/inc/unistd.h \
573 $(BLD)/chartab.$(O) : \
584 $(EMACS_ROOT)/nt/inc/sys/time.h \
591 $(SRC)/dispextern.h \
600 $(BLD)/coding.$(O) : \
610 $(SRC)/dispextern.h \
616 $(BLD)/composite.$(O) : \
625 $(SRC)/dispextern.h \
636 $(EMACS_ROOT)/nt/inc/sys/time.h \
643 $(SRC)/dispextern.h \
653 $(BLD)/dired.$(O) : \
656 $(EMACS_ROOT)/nt/inc/grp.h \
657 $(EMACS_ROOT)/nt/inc/pwd.h \
658 $(EMACS_ROOT)/nt/inc/unistd.h \
659 $(EMACS_ROOT)/nt/inc/sys/dir.h \
660 $(EMACS_ROOT)/nt/inc/sys/time.h \
661 $(EMACS_ROOT)/lib/filemode.h \
664 $(SRC)/blockinput.h \
675 $(BLD)/dispnew.$(O) : \
678 $(EMACS_ROOT)/nt/inc/unistd.h \
679 $(EMACS_ROOT)/nt/inc/sys/time.h \
683 $(SRC)/blockinput.h \
690 $(SRC)/dispextern.h \
709 $(EMACS_ROOT)/nt/inc/unistd.h \
710 $(EMACS_ROOT)/nt/inc/sys/file.h \
711 $(EMACS_ROOT)/nt/inc/sys/time.h \
721 $(BLD)/doprnt.$(O) : \
724 $(EMACS_ROOT)/nt/inc/unistd.h \
728 $(BLD)/editfns.$(O) : \
731 $(EMACS_ROOT)/nt/inc/pwd.h \
732 $(EMACS_ROOT)/nt/inc/unistd.h \
733 $(EMACS_ROOT)/nt/inc/sys/time.h \
734 $(EMACS_ROOT)/lib/intprops.h \
735 $(EMACS_ROOT)/lib/strftime.h \
738 $(SRC)/blockinput.h \
743 $(SRC)/dispextern.h \
750 $(BLD)/emacs.$(O) : \
753 $(EMACS_ROOT)/nt/inc/unistd.h \
754 $(EMACS_ROOT)/nt/inc/sys/file.h \
755 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
756 $(EMACS_ROOT)/nt/inc/sys/time.h \
760 $(SRC)/blockinput.h \
765 $(SRC)/dispextern.h \
783 $(EMACS_ROOT)/nt/inc/sys/time.h \
786 $(SRC)/blockinput.h \
790 $(SRC)/dispextern.h \
796 $(BLD)/fileio.$(O) : \
799 $(EMACS_ROOT)/nt/inc/pwd.h \
800 $(EMACS_ROOT)/nt/inc/unistd.h \
801 $(EMACS_ROOT)/nt/inc/sys/time.h \
804 $(SRC)/blockinput.h \
810 $(SRC)/dispextern.h \
817 $(BLD)/filelock.$(O) : \
820 $(EMACS_ROOT)/nt/inc/pwd.h \
821 $(EMACS_ROOT)/nt/inc/unistd.h \
822 $(EMACS_ROOT)/nt/inc/sys/file.h \
823 $(EMACS_ROOT)/nt/inc/sys/time.h \
831 $(BLD)/firstfile.$(O) : \
835 $(BLD)/floatfns.$(O) : \
844 $(EMACS_ROOT)/nt/inc/langinfo.h \
845 $(EMACS_ROOT)/nt/inc/nl_types.h \
846 $(EMACS_ROOT)/nt/inc/stdint.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) : \
958 $(EMACS_ROOT)/nt/inc/unistd.h \
963 $(BLD)/image.$(O) : \
966 $(EMACS_ROOT)/nt/inc/unistd.h \
967 $(EMACS_ROOT)/nt/inc/sys/time.h \
970 $(SRC)/blockinput.h \
975 $(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/unistd.h \
1046 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1047 $(EMACS_ROOT)/nt/inc/sys/time.h \
1051 $(SRC)/blockinput.h \
1053 $(SRC)/character.h \
1056 $(SRC)/composite.h \
1057 $(SRC)/dispextern.h \
1060 $(SRC)/intervals.h \
1066 $(SRC)/syssignal.h \
1069 $(SRC)/termhooks.h \
1075 $(BLD)/keymap.$(O) : \
1078 $(EMACS_ROOT)/nt/inc/sys/time.h \
1081 $(SRC)/blockinput.h \
1083 $(SRC)/character.h \
1087 $(SRC)/composite.h \
1088 $(SRC)/dispextern.h \
1090 $(SRC)/intervals.h \
1095 $(SRC)/termhooks.h \
1099 $(BLD)/lastfile.$(O) : \
1103 $(BLD)/lread.$(O) : \
1106 $(EMACS_ROOT)/nt/inc/inttypes.h \
1107 $(EMACS_ROOT)/nt/inc/stdint.h \
1108 $(EMACS_ROOT)/nt/inc/unistd.h \
1109 $(EMACS_ROOT)/nt/inc/sys/file.h \
1110 $(EMACS_ROOT)/nt/inc/sys/time.h \
1113 $(SRC)/blockinput.h \
1115 $(SRC)/character.h \
1119 $(SRC)/composite.h \
1120 $(SRC)/dispextern.h \
1123 $(SRC)/intervals.h \
1126 $(SRC)/termhooks.h \
1129 $(BLD)/macros.$(O) : \
1132 $(EMACS_ROOT)/nt/inc/sys/time.h \
1137 $(SRC)/composite.h \
1138 $(SRC)/dispextern.h \
1145 $(BLD)/marker.$(O) : \
1152 $(BLD)/menu.$(O) : \
1155 $(EMACS_ROOT)/nt/inc/sys/time.h \
1158 $(SRC)/blockinput.h \
1160 $(SRC)/composite.h \
1161 $(SRC)/dispextern.h \
1167 $(SRC)/termhooks.h \
1172 $(BLD)/minibuf.$(O) : \
1175 $(EMACS_ROOT)/nt/inc/sys/time.h \
1178 $(SRC)/character.h \
1181 $(SRC)/composite.h \
1182 $(SRC)/dispextern.h \
1184 $(SRC)/intervals.h \
1189 $(SRC)/termhooks.h \
1196 $(EMACS_ROOT)/nt/inc/grp.h \
1197 $(EMACS_ROOT)/nt/inc/pwd.h \
1198 $(EMACS_ROOT)/nt/inc/unistd.h \
1199 $(EMACS_ROOT)/nt/inc/sys/file.h \
1200 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1201 $(EMACS_ROOT)/nt/inc/sys/time.h \
1202 $(EMACS_ROOT)/lib/allocator.h \
1203 $(EMACS_ROOT)/lib/careadlinkat.h \
1207 $(SRC)/composite.h \
1208 $(SRC)/dispextern.h \
1215 $(BLD)/w32heap.$(O) : \
1221 $(BLD)/w32inevt.$(O) : \
1224 $(EMACS_ROOT)/nt/inc/sys/time.h \
1227 $(SRC)/blockinput.h \
1229 $(SRC)/composite.h \
1230 $(SRC)/dispextern.h \
1234 $(SRC)/termhooks.h \
1239 $(BLD)/w32proc.$(O) : \
1242 $(EMACS_ROOT)/nt/inc/langinfo.h \
1243 $(EMACS_ROOT)/nt/inc/nl_types.h \
1244 $(EMACS_ROOT)/nt/inc/unistd.h \
1245 $(EMACS_ROOT)/nt/inc/sys/file.h \
1246 $(EMACS_ROOT)/nt/inc/sys/time.h \
1249 $(SRC)/character.h \
1251 $(SRC)/composite.h \
1252 $(SRC)/dispextern.h \
1253 $(SRC)/syssignal.h \
1261 $(BLD)/w32console.$(O) : \
1262 $(SRC)/w32console.c \
1265 $(SRC)/character.h \
1267 $(SRC)/composite.h \
1268 $(SRC)/dispextern.h \
1272 $(SRC)/termhooks.h \
1276 $(BLD)/print.$(O) : \
1279 $(EMACS_ROOT)/nt/inc/unistd.h \
1280 $(EMACS_ROOT)/nt/inc/sys/time.h \
1281 $(EMACS_ROOT)/lib/ftoastr.h \
1282 $(EMACS_ROOT)/lib/intprops.h \
1286 $(SRC)/blockinput.h \
1289 $(SRC)/character.h \
1292 $(SRC)/composite.h \
1293 $(SRC)/dispextern.h \
1296 $(SRC)/intervals.h \
1300 $(SRC)/termhooks.h \
1304 $(BLD)/process.$(O) : \
1307 $(EMACS_ROOT)/nt/inc/netdb.h \
1308 $(EMACS_ROOT)/nt/inc/unistd.h \
1309 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1310 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1311 $(EMACS_ROOT)/nt/inc/sys/file.h \
1312 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1313 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1314 $(EMACS_ROOT)/nt/inc/sys/time.h \
1318 $(SRC)/blockinput.h \
1320 $(SRC)/character.h \
1323 $(SRC)/composite.h \
1324 $(SRC)/dispextern.h \
1327 $(SRC)/sysselect.h \
1328 $(SRC)/syssignal.h \
1332 $(SRC)/termhooks.h \
1338 $(BLD)/ralloc.$(O) : \
1341 $(EMACS_ROOT)/nt/inc/unistd.h \
1342 $(EMACS_ROOT)/nt/inc/sys/time.h \
1345 $(SRC)/blockinput.h \
1346 $(SRC)/getpagesize.h \
1349 $(BLD)/regex.$(O) : \
1355 $(SRC)/character.h \
1359 $(BLD)/region-cache.$(O) : \
1360 $(SRC)/region-cache.c \
1364 $(SRC)/region-cache.h
1366 $(BLD)/scroll.$(O) : \
1369 $(EMACS_ROOT)/nt/inc/sys/time.h \
1372 $(SRC)/composite.h \
1373 $(SRC)/dispextern.h \
1378 $(SRC)/termhooks.h \
1382 $(BLD)/search.$(O) : \
1385 $(EMACS_ROOT)/nt/inc/sys/time.h \
1388 $(SRC)/blockinput.h \
1391 $(SRC)/character.h \
1394 $(SRC)/composite.h \
1395 $(SRC)/dispextern.h \
1396 $(SRC)/intervals.h \
1398 $(SRC)/region-cache.h \
1403 $(BLD)/sound.$(O) : \
1406 $(EMACS_ROOT)/nt/inc/unistd.h \
1407 $(EMACS_ROOT)/nt/inc/sys/time.h \
1410 $(SRC)/dispextern.h \
1411 $(SRC)/syssignal.h \
1415 $(BLD)/syntax.$(O) : \
1421 $(SRC)/character.h \
1423 $(SRC)/composite.h \
1424 $(SRC)/dispextern.h \
1425 $(SRC)/intervals.h \
1431 $(BLD)/sysdep.$(O) : \
1434 $(EMACS_ROOT)/nt/inc/grp.h \
1435 $(EMACS_ROOT)/nt/inc/netdb.h \
1436 $(EMACS_ROOT)/nt/inc/pwd.h \
1437 $(EMACS_ROOT)/nt/inc/unistd.h \
1438 $(EMACS_ROOT)/nt/inc/sys/file.h \
1439 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1440 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1441 $(EMACS_ROOT)/nt/inc/sys/time.h \
1442 $(EMACS_ROOT)/lib/allocator.h \
1443 $(EMACS_ROOT)/lib/careadlinkat.h \
1444 $(EMACS_ROOT)/lib/ignore-value.h \
1448 $(SRC)/blockinput.h \
1451 $(SRC)/composite.h \
1452 $(SRC)/dispextern.h \
1455 $(SRC)/sysselect.h \
1456 $(SRC)/syssignal.h \
1461 $(SRC)/termhooks.h \
1467 $(BLD)/term.$(O) : \
1470 $(EMACS_ROOT)/nt/inc/unistd.h \
1471 $(EMACS_ROOT)/nt/inc/sys/file.h \
1472 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1473 $(EMACS_ROOT)/nt/inc/sys/time.h \
1476 $(SRC)/blockinput.h \
1478 $(SRC)/character.h \
1482 $(SRC)/composite.h \
1483 $(SRC)/dispextern.h \
1486 $(SRC)/intervals.h \
1489 $(SRC)/syssignal.h \
1493 $(SRC)/termhooks.h \
1499 $(BLD)/terminal.$(O) : \
1502 $(EMACS_ROOT)/nt/inc/sys/time.h \
1506 $(SRC)/composite.h \
1507 $(SRC)/dispextern.h \
1512 $(SRC)/termhooks.h \
1515 $(BLD)/textprop.$(O) : \
1520 $(SRC)/composite.h \
1521 $(SRC)/dispextern.h \
1522 $(SRC)/intervals.h \
1526 $(BLD)/tparam.$(O) : \
1532 $(BLD)/undo.$(O) : \
1538 $(SRC)/dispextern.h \
1542 $(BLD)/unexw32.$(O) : \
1548 $(BLD)/vm-limit.$(O) : \
1554 $(BLD)/window.$(O) : \
1557 $(EMACS_ROOT)/nt/inc/sys/time.h \
1560 $(SRC)/blockinput.h \
1564 $(SRC)/composite.h \
1565 $(SRC)/dispextern.h \
1569 $(SRC)/intervals.h \
1574 $(SRC)/termhooks.h \
1579 $(BLD)/xdisp.$(O) : \
1582 $(EMACS_ROOT)/nt/inc/unistd.h \
1583 $(EMACS_ROOT)/nt/inc/sys/time.h \
1587 $(SRC)/blockinput.h \
1590 $(SRC)/character.h \
1594 $(SRC)/composite.h \
1595 $(SRC)/dispextern.h \
1601 $(SRC)/intervals.h \
1605 $(SRC)/region-cache.h \
1608 $(SRC)/termhooks.h \
1614 $(BLD)/xfaces.$(O) : \
1617 $(EMACS_ROOT)/nt/inc/sys/time.h \
1620 $(SRC)/blockinput.h \
1623 $(SRC)/character.h \
1626 $(SRC)/composite.h \
1627 $(SRC)/dispextern.h \
1631 $(SRC)/intervals.h \
1635 $(SRC)/termhooks.h \
1640 $(BLD)/w32fns.$(O) : \
1643 $(EMACS_ROOT)/nt/inc/sys/time.h \
1646 $(SRC)/blockinput.h \
1649 $(SRC)/character.h \
1652 $(SRC)/composite.h \
1653 $(SRC)/dispextern.h \
1658 $(SRC)/intervals.h \
1661 $(SRC)/termhooks.h \
1669 $(BLD)/w32menu.$(O) : \
1672 $(EMACS_ROOT)/nt/inc/sys/time.h \
1675 $(SRC)/blockinput.h \
1677 $(SRC)/character.h \
1680 $(SRC)/composite.h \
1681 $(SRC)/dispextern.h \
1687 $(SRC)/termhooks.h \
1692 $(BLD)/w32term.$(O) : \
1695 $(EMACS_ROOT)/nt/inc/unistd.h \
1696 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1697 $(EMACS_ROOT)/nt/inc/sys/time.h \
1701 $(SRC)/blockinput.h \
1704 $(SRC)/character.h \
1707 $(SRC)/composite.h \
1708 $(SRC)/dispextern.h \
1713 $(SRC)/intervals.h \
1719 $(SRC)/termhooks.h \
1727 $(BLD)/w32select.$(O) : \
1728 $(SRC)/w32select.c \
1730 $(EMACS_ROOT)/nt/inc/sys/time.h \
1733 $(SRC)/blockinput.h \
1734 $(SRC)/character.h \
1737 $(SRC)/composite.h \
1743 $(BLD)/w32reg.$(O) : \
1746 $(EMACS_ROOT)/nt/inc/sys/time.h \
1749 $(SRC)/blockinput.h \
1754 $(BLD)/w32xfns.$(O) : \
1757 $(EMACS_ROOT)/nt/inc/sys/time.h \
1760 $(SRC)/blockinput.h \
1763 $(SRC)/composite.h \
1764 $(SRC)/dispextern.h \
1772 $(BLD)/w32font.$(O) : \
1777 $(SRC)/character.h \
1780 $(SRC)/composite.h \
1781 $(SRC)/dispextern.h \
1789 $(BLD)/w32uniscribe.$(O) : \
1790 $(SRC)/w32uniscribe.c \
1794 $(SRC)/character.h \
1796 $(SRC)/composite.h \
1797 $(SRC)/dispextern.h \
1805 # Each object file depends on stamp_BLD, because in parallel builds we must
1806 # make sure $(BLD) exists before starting compilations.
1808 $(OBJ0) $(OBJ1) $(OBJ2) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD