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.
247 bootstrap-temacs-CMD:
248 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(ESC_CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
251 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
254 $(MAKE) $(MFLAGS) bootstrap-temacs-$(SHELLTYPE)
257 # Dump an Emacs executable named bootstrap-emacs containing the
258 # files from loadup.el in source form.
260 bootstrap-emacs: bootstrap-temacs
261 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
263 $(CP) $(EMACS) ../bin
266 # Force recompile of files that depend on PURESIZE
269 - $(DEL) $(BLD)/alloc.$(O)
270 - $(DEL) $(BLD)/data.$(O)
271 - $(DEL) $(BLD)/intervals.$(O)
272 - $(DEL) $(BLD)/keyboard.$(O)
273 - $(DEL) $(BLD)/keymap.$(O)
276 # The resource file. NT 3.10 requires the use of cvtres; even though
277 # it is not necessary on later versions, it is still ok to use it.
279 $(TRES): ../nt/emacs.rc stamp_BLD
280 $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
283 # Build the library. Split up the build into two phases...otherwise we
284 # run out of command line space.
288 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
291 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
294 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
297 # Place lastfile.$(O) in its own library so that it can be loaded after
298 # the source libraries but before any system libraries. Doing so defines
299 # the end of Emacs' data section portably across compilers and systems.
301 $(TLASTLIB): $(BLD)/lastfile.$(O)
303 $(AR) $(AR_OUT)$@ $(ALL_DEPS)
306 # Assuming INSTALL_DIR is defined, build and install emacs in it.
309 - mkdir "$(INSTALL_DIR)/bin"
310 $(CP) $(EMACS) $(INSTALL_DIR)/bin
315 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
316 # remove precious files if it happens to match their short 8+3 aliases.
318 - $(DEL) "s/*.h~" "m/*.h~"
319 - $(DEL) $(COMPILER_TEMP_FILES)
320 - $(DEL_TREE) $(OBJDIR)
321 - $(DEL) stamp_BLD gl-stamp globals.h
325 - $(DEL) config.h epaths.h Makefile
327 maintainer-clean: distclean
332 - $(DEL_TREE) obj-spd
336 ## Arrange to make a tags table TAGS-LISP for ../lisp,
337 ## plus TAGS for the C files, which includes ../lisp/TAGS by reference.
339 ## This works only with GNU Make.
341 TAGS: $(OBJ0) $(OBJ1) $(OBJ2) $(CURDIR)/m/intel386.h $(CURDIR)/s/ms-w32.h
342 $(MAKE) $(MFLAGS) TAGS-$(MAKETYPE)
344 TAGS-LISP: $(OBJ0) $(OBJ1) $(OBJ2)
345 $(MAKE) $(MFLAGS) TAGS-LISP-$(MAKETYPE)
348 ../lib-src/$(BLD)/etags.exe --include=TAGS-LISP --include=../nt/TAGS \
349 --regex=@../nt/emacs-src.tags \
350 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ0))
351 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
352 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ1))
353 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
354 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ2)) \
355 $(CURDIR)/*.h $(CURDIR)/m/intel386.h $(CURDIR)/s/ms-w32.h
358 echo This target is not supported with NMake
363 $(MAKE) $(MFLAGS) -C ../lisp TAGS-LISP DEST=../src
366 echo This target is not supported with NMake
370 $(MAKE) $(MFLAGS) nt-TAGS-$(MAKETYPE)
373 $(MAKE) $(MFLAGS) -C ../nt TAGS
376 echo This target is not supported with NMake
379 full-tags: TAGS TAGS-LISP ../nt/TAGS
385 CONFIG_H = $(EMACS_ROOT)/src/s/ms-w32.h \
386 $(EMACS_ROOT)/src/m/intel386.h \
387 $(EMACS_ROOT)/src/config.h \
388 $(EMACS_ROOT)/nt/inc/sys/stat.h
389 LISP_H = $(SRC)/lisp.h \
391 $(EMACS_ROOT)/lib/intprops.h \
392 $(EMACS_ROOT)/nt/inc/inttypes.h \
393 $(EMACS_ROOT)/nt/inc/stdint.h
394 PROCESS_H = $(SRC)/process.h \
395 $(EMACS_ROOT)/nt/inc/unistd.h \
398 $(BLD)/alloc.$(O) : \
401 $(EMACS_ROOT)/nt/inc/unistd.h \
402 $(EMACS_ROOT)/nt/inc/sys/time.h \
406 $(SRC)/blockinput.h \
411 $(SRC)/dispextern.h \
423 $(BLD)/atimer.$(O) : \
426 $(EMACS_ROOT)/nt/inc/unistd.h \
427 $(EMACS_ROOT)/nt/inc/sys/time.h \
430 $(SRC)/blockinput.h \
437 $(EMACS_ROOT)/nt/inc/sys/time.h \
439 $(SRC)/bidimirror.h \
443 $(SRC)/dispextern.h \
447 $(BLD)/buffer.$(O) : \
450 $(EMACS_ROOT)/nt/inc/unistd.h \
451 $(EMACS_ROOT)/nt/inc/sys/param.h \
452 $(EMACS_ROOT)/nt/inc/sys/time.h \
455 $(SRC)/blockinput.h \
461 $(SRC)/dispextern.h \
467 $(SRC)/region-cache.h \
472 $(BLD)/bytecode.$(O) : \
475 $(EMACS_ROOT)/nt/inc/sys/time.h \
479 $(SRC)/dispextern.h \
485 $(BLD)/callint.$(O) : \
488 $(EMACS_ROOT)/nt/inc/sys/time.h \
495 $(SRC)/dispextern.h \
502 $(BLD)/callproc.$(O) : \
505 $(EMACS_ROOT)/nt/inc/unistd.h \
506 $(EMACS_ROOT)/nt/inc/sys/file.h \
507 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
508 $(EMACS_ROOT)/nt/inc/sys/time.h \
512 $(SRC)/blockinput.h \
519 $(SRC)/dispextern.h \
529 $(BLD)/casefiddle.$(O) : \
530 $(SRC)/casefiddle.c \
540 $(BLD)/casetab.$(O) : \
547 $(BLD)/category.$(O) : \
567 $(BLD)/character.$(O) : \
577 $(BLD)/charset.$(O) : \
580 $(EMACS_ROOT)/nt/inc/unistd.h \
589 $(BLD)/chartab.$(O) : \
600 $(EMACS_ROOT)/nt/inc/sys/time.h \
607 $(SRC)/dispextern.h \
616 $(BLD)/coding.$(O) : \
619 $(EMACS_ROOT)/nt/inc/sys/time.h \
627 $(SRC)/dispextern.h \
634 $(BLD)/composite.$(O) : \
637 $(EMACS_ROOT)/nt/inc/sys/time.h \
644 $(SRC)/dispextern.h \
656 $(EMACS_ROOT)/nt/inc/sys/time.h \
663 $(SRC)/dispextern.h \
673 $(BLD)/dired.$(O) : \
676 $(EMACS_ROOT)/nt/inc/grp.h \
677 $(EMACS_ROOT)/nt/inc/pwd.h \
678 $(EMACS_ROOT)/nt/inc/unistd.h \
679 $(EMACS_ROOT)/nt/inc/sys/dir.h \
680 $(EMACS_ROOT)/nt/inc/sys/time.h \
681 $(EMACS_ROOT)/lib/filemode.h \
684 $(SRC)/blockinput.h \
695 $(BLD)/dispnew.$(O) : \
698 $(EMACS_ROOT)/nt/inc/unistd.h \
699 $(EMACS_ROOT)/nt/inc/sys/time.h \
703 $(SRC)/blockinput.h \
710 $(SRC)/dispextern.h \
729 $(EMACS_ROOT)/nt/inc/unistd.h \
730 $(EMACS_ROOT)/nt/inc/sys/file.h \
731 $(EMACS_ROOT)/nt/inc/sys/time.h \
741 $(BLD)/doprnt.$(O) : \
744 $(EMACS_ROOT)/nt/inc/unistd.h \
748 $(BLD)/editfns.$(O) : \
751 $(EMACS_ROOT)/nt/inc/pwd.h \
752 $(EMACS_ROOT)/nt/inc/unistd.h \
753 $(EMACS_ROOT)/nt/inc/sys/time.h \
754 $(EMACS_ROOT)/lib/strftime.h \
755 $(EMACS_ROOT)/lib/verify.h \
758 $(SRC)/blockinput.h \
763 $(SRC)/dispextern.h \
770 $(BLD)/emacs.$(O) : \
773 $(EMACS_ROOT)/nt/inc/unistd.h \
774 $(EMACS_ROOT)/nt/inc/sys/file.h \
775 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
776 $(EMACS_ROOT)/nt/inc/sys/time.h \
780 $(SRC)/blockinput.h \
785 $(SRC)/dispextern.h \
803 $(EMACS_ROOT)/nt/inc/sys/time.h \
806 $(SRC)/blockinput.h \
810 $(SRC)/dispextern.h \
816 $(BLD)/fileio.$(O) : \
819 $(EMACS_ROOT)/nt/inc/pwd.h \
820 $(EMACS_ROOT)/nt/inc/unistd.h \
821 $(EMACS_ROOT)/nt/inc/sys/time.h \
824 $(SRC)/blockinput.h \
830 $(SRC)/dispextern.h \
837 $(BLD)/filelock.$(O) : \
840 $(EMACS_ROOT)/nt/inc/pwd.h \
841 $(EMACS_ROOT)/nt/inc/unistd.h \
842 $(EMACS_ROOT)/nt/inc/sys/file.h \
843 $(EMACS_ROOT)/nt/inc/sys/time.h \
851 $(BLD)/firstfile.$(O) : \
855 $(BLD)/floatfns.$(O) : \
864 $(EMACS_ROOT)/nt/inc/langinfo.h \
865 $(EMACS_ROOT)/nt/inc/nl_types.h \
866 $(EMACS_ROOT)/nt/inc/unistd.h \
867 $(EMACS_ROOT)/nt/inc/sys/time.h \
868 $(EMACS_ROOT)/lib/md5.h \
869 $(EMACS_ROOT)/lib/sha1.h \
872 $(SRC)/blockinput.h \
878 $(SRC)/dispextern.h \
890 $(EMACS_ROOT)/nt/inc/sys/time.h \
897 $(SRC)/dispextern.h \
906 $(BLD)/fontset.$(O) : \
909 $(EMACS_ROOT)/nt/inc/sys/time.h \
912 $(SRC)/blockinput.h \
919 $(SRC)/dispextern.h \
931 $(BLD)/frame.$(O) : \
934 $(EMACS_ROOT)/nt/inc/sys/time.h \
937 $(SRC)/blockinput.h \
944 $(SRC)/dispextern.h \
956 $(BLD)/fringe.$(O) : \
959 $(EMACS_ROOT)/nt/inc/sys/time.h \
962 $(SRC)/blockinput.h \
964 $(SRC)/dispextern.h \
971 $(BLD)/gmalloc.$(O) : \
974 $(EMACS_ROOT)/nt/inc/unistd.h \
977 $(BLD)/gnutls.$(O) : \
980 $(EMACS_ROOT)/nt/inc/unistd.h \
985 $(BLD)/image.$(O) : \
988 $(EMACS_ROOT)/nt/inc/unistd.h \
989 $(EMACS_ROOT)/nt/inc/sys/time.h \
992 $(SRC)/blockinput.h \
997 $(SRC)/dispextern.h \
1002 $(SRC)/termhooks.h \
1008 $(BLD)/indent.$(O) : \
1011 $(EMACS_ROOT)/nt/inc/sys/time.h \
1015 $(SRC)/character.h \
1017 $(SRC)/composite.h \
1018 $(SRC)/dispextern.h \
1022 $(SRC)/intervals.h \
1024 $(SRC)/region-cache.h \
1031 $(BLD)/insdel.$(O) : \
1034 $(EMACS_ROOT)/nt/inc/sys/time.h \
1037 $(SRC)/blockinput.h \
1039 $(SRC)/character.h \
1040 $(SRC)/composite.h \
1041 $(SRC)/dispextern.h \
1042 $(SRC)/intervals.h \
1043 $(SRC)/region-cache.h \
1048 $(BLD)/intervals.$(O) : \
1049 $(SRC)/intervals.c \
1051 $(EMACS_ROOT)/nt/inc/sys/time.h \
1055 $(SRC)/composite.h \
1056 $(SRC)/dispextern.h \
1057 $(SRC)/intervals.h \
1064 $(BLD)/keyboard.$(O) : \
1067 $(EMACS_ROOT)/nt/inc/unistd.h \
1068 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1069 $(EMACS_ROOT)/nt/inc/sys/time.h \
1073 $(SRC)/blockinput.h \
1075 $(SRC)/character.h \
1078 $(SRC)/composite.h \
1079 $(SRC)/dispextern.h \
1082 $(SRC)/intervals.h \
1088 $(SRC)/syssignal.h \
1091 $(SRC)/termhooks.h \
1097 $(BLD)/keymap.$(O) : \
1100 $(EMACS_ROOT)/nt/inc/sys/time.h \
1103 $(SRC)/blockinput.h \
1105 $(SRC)/character.h \
1109 $(SRC)/composite.h \
1110 $(SRC)/dispextern.h \
1112 $(SRC)/intervals.h \
1117 $(SRC)/termhooks.h \
1121 $(BLD)/lastfile.$(O) : \
1125 $(BLD)/lread.$(O) : \
1128 $(EMACS_ROOT)/nt/inc/unistd.h \
1129 $(EMACS_ROOT)/nt/inc/sys/file.h \
1130 $(EMACS_ROOT)/nt/inc/sys/time.h \
1133 $(SRC)/blockinput.h \
1135 $(SRC)/character.h \
1139 $(SRC)/composite.h \
1140 $(SRC)/dispextern.h \
1143 $(SRC)/intervals.h \
1146 $(SRC)/termhooks.h \
1149 $(BLD)/macros.$(O) : \
1152 $(EMACS_ROOT)/nt/inc/sys/time.h \
1157 $(SRC)/composite.h \
1158 $(SRC)/dispextern.h \
1165 $(BLD)/marker.$(O) : \
1172 $(BLD)/menu.$(O) : \
1175 $(EMACS_ROOT)/nt/inc/sys/time.h \
1178 $(SRC)/blockinput.h \
1180 $(SRC)/composite.h \
1181 $(SRC)/dispextern.h \
1187 $(SRC)/termhooks.h \
1192 $(BLD)/minibuf.$(O) : \
1195 $(EMACS_ROOT)/nt/inc/sys/time.h \
1198 $(SRC)/character.h \
1201 $(SRC)/composite.h \
1202 $(SRC)/dispextern.h \
1204 $(SRC)/intervals.h \
1209 $(SRC)/termhooks.h \
1216 $(EMACS_ROOT)/nt/inc/grp.h \
1217 $(EMACS_ROOT)/nt/inc/pwd.h \
1218 $(EMACS_ROOT)/nt/inc/unistd.h \
1219 $(EMACS_ROOT)/nt/inc/sys/file.h \
1220 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1221 $(EMACS_ROOT)/nt/inc/sys/time.h \
1222 $(EMACS_ROOT)/lib/allocator.h \
1223 $(EMACS_ROOT)/lib/careadlinkat.h \
1227 $(SRC)/composite.h \
1228 $(SRC)/dispextern.h \
1235 $(BLD)/w32heap.$(O) : \
1241 $(BLD)/w32inevt.$(O) : \
1244 $(EMACS_ROOT)/nt/inc/sys/time.h \
1247 $(SRC)/blockinput.h \
1249 $(SRC)/composite.h \
1250 $(SRC)/dispextern.h \
1254 $(SRC)/termhooks.h \
1259 $(BLD)/w32proc.$(O) : \
1262 $(EMACS_ROOT)/nt/inc/langinfo.h \
1263 $(EMACS_ROOT)/nt/inc/nl_types.h \
1264 $(EMACS_ROOT)/nt/inc/unistd.h \
1265 $(EMACS_ROOT)/nt/inc/sys/file.h \
1266 $(EMACS_ROOT)/nt/inc/sys/time.h \
1269 $(SRC)/character.h \
1271 $(SRC)/composite.h \
1272 $(SRC)/dispextern.h \
1273 $(SRC)/syssignal.h \
1281 $(BLD)/w32console.$(O) : \
1282 $(SRC)/w32console.c \
1284 $(EMACS_ROOT)/nt/inc/sys/time.h \
1286 $(SRC)/character.h \
1288 $(SRC)/composite.h \
1289 $(SRC)/dispextern.h \
1294 $(SRC)/termhooks.h \
1298 $(BLD)/print.$(O) : \
1301 $(EMACS_ROOT)/nt/inc/unistd.h \
1302 $(EMACS_ROOT)/nt/inc/sys/time.h \
1303 $(EMACS_ROOT)/lib/ftoastr.h \
1307 $(SRC)/blockinput.h \
1310 $(SRC)/character.h \
1313 $(SRC)/composite.h \
1314 $(SRC)/dispextern.h \
1317 $(SRC)/intervals.h \
1321 $(SRC)/termhooks.h \
1325 $(BLD)/process.$(O) : \
1328 $(EMACS_ROOT)/nt/inc/netdb.h \
1329 $(EMACS_ROOT)/nt/inc/unistd.h \
1330 $(EMACS_ROOT)/nt/inc/arpa/inet.h \
1331 $(EMACS_ROOT)/nt/inc/netinet/in.h \
1332 $(EMACS_ROOT)/nt/inc/sys/file.h \
1333 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1334 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1335 $(EMACS_ROOT)/nt/inc/sys/time.h \
1339 $(SRC)/blockinput.h \
1341 $(SRC)/character.h \
1344 $(SRC)/composite.h \
1345 $(SRC)/dispextern.h \
1348 $(SRC)/sysselect.h \
1349 $(SRC)/syssignal.h \
1353 $(SRC)/termhooks.h \
1359 $(BLD)/ralloc.$(O) : \
1362 $(EMACS_ROOT)/nt/inc/unistd.h \
1363 $(EMACS_ROOT)/nt/inc/sys/time.h \
1366 $(SRC)/blockinput.h \
1367 $(SRC)/getpagesize.h \
1370 $(BLD)/regex.$(O) : \
1376 $(SRC)/character.h \
1380 $(BLD)/region-cache.$(O) : \
1381 $(SRC)/region-cache.c \
1385 $(SRC)/region-cache.h
1387 $(BLD)/scroll.$(O) : \
1390 $(EMACS_ROOT)/nt/inc/sys/time.h \
1393 $(SRC)/composite.h \
1394 $(SRC)/dispextern.h \
1399 $(SRC)/termhooks.h \
1403 $(BLD)/search.$(O) : \
1406 $(EMACS_ROOT)/nt/inc/sys/time.h \
1409 $(SRC)/blockinput.h \
1412 $(SRC)/character.h \
1415 $(SRC)/composite.h \
1416 $(SRC)/dispextern.h \
1417 $(SRC)/intervals.h \
1419 $(SRC)/region-cache.h \
1424 $(BLD)/sound.$(O) : \
1427 $(EMACS_ROOT)/nt/inc/unistd.h \
1428 $(EMACS_ROOT)/nt/inc/sys/time.h \
1431 $(SRC)/dispextern.h \
1432 $(SRC)/syssignal.h \
1436 $(BLD)/syntax.$(O) : \
1439 $(EMACS_ROOT)/nt/inc/sys/time.h \
1443 $(SRC)/character.h \
1445 $(SRC)/composite.h \
1446 $(SRC)/dispextern.h \
1447 $(SRC)/intervals.h \
1454 $(BLD)/sysdep.$(O) : \
1457 $(EMACS_ROOT)/nt/inc/grp.h \
1458 $(EMACS_ROOT)/nt/inc/netdb.h \
1459 $(EMACS_ROOT)/nt/inc/pwd.h \
1460 $(EMACS_ROOT)/nt/inc/unistd.h \
1461 $(EMACS_ROOT)/nt/inc/sys/file.h \
1462 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1463 $(EMACS_ROOT)/nt/inc/sys/socket.h \
1464 $(EMACS_ROOT)/nt/inc/sys/time.h \
1465 $(EMACS_ROOT)/lib/allocator.h \
1466 $(EMACS_ROOT)/lib/careadlinkat.h \
1467 $(EMACS_ROOT)/lib/ignore-value.h \
1471 $(SRC)/blockinput.h \
1474 $(SRC)/composite.h \
1475 $(SRC)/dispextern.h \
1478 $(SRC)/sysselect.h \
1479 $(SRC)/syssignal.h \
1484 $(SRC)/termhooks.h \
1490 $(BLD)/term.$(O) : \
1493 $(EMACS_ROOT)/nt/inc/unistd.h \
1494 $(EMACS_ROOT)/nt/inc/sys/file.h \
1495 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1496 $(EMACS_ROOT)/nt/inc/sys/time.h \
1499 $(SRC)/blockinput.h \
1501 $(SRC)/character.h \
1505 $(SRC)/composite.h \
1506 $(SRC)/dispextern.h \
1509 $(SRC)/intervals.h \
1512 $(SRC)/syssignal.h \
1516 $(SRC)/termhooks.h \
1522 $(BLD)/terminal.$(O) : \
1525 $(EMACS_ROOT)/nt/inc/sys/time.h \
1529 $(SRC)/composite.h \
1530 $(SRC)/dispextern.h \
1535 $(SRC)/termhooks.h \
1538 $(BLD)/textprop.$(O) : \
1541 $(EMACS_ROOT)/nt/inc/sys/time.h \
1544 $(SRC)/composite.h \
1545 $(SRC)/dispextern.h \
1546 $(SRC)/intervals.h \
1551 $(BLD)/tparam.$(O) : \
1557 $(BLD)/undo.$(O) : \
1560 $(EMACS_ROOT)/nt/inc/sys/time.h \
1564 $(SRC)/dispextern.h \
1569 $(BLD)/unexw32.$(O) : \
1575 $(BLD)/vm-limit.$(O) : \
1581 $(BLD)/window.$(O) : \
1584 $(EMACS_ROOT)/nt/inc/sys/time.h \
1587 $(SRC)/blockinput.h \
1591 $(SRC)/composite.h \
1592 $(SRC)/dispextern.h \
1596 $(SRC)/intervals.h \
1601 $(SRC)/termhooks.h \
1606 $(BLD)/xdisp.$(O) : \
1609 $(EMACS_ROOT)/nt/inc/unistd.h \
1610 $(EMACS_ROOT)/nt/inc/sys/time.h \
1614 $(SRC)/blockinput.h \
1617 $(SRC)/character.h \
1621 $(SRC)/composite.h \
1622 $(SRC)/dispextern.h \
1628 $(SRC)/intervals.h \
1632 $(SRC)/region-cache.h \
1635 $(SRC)/termhooks.h \
1641 $(BLD)/xfaces.$(O) : \
1644 $(EMACS_ROOT)/nt/inc/sys/time.h \
1647 $(SRC)/blockinput.h \
1650 $(SRC)/character.h \
1653 $(SRC)/composite.h \
1654 $(SRC)/dispextern.h \
1658 $(SRC)/intervals.h \
1662 $(SRC)/termhooks.h \
1667 $(BLD)/w32fns.$(O) : \
1670 $(EMACS_ROOT)/nt/inc/sys/time.h \
1673 $(SRC)/blockinput.h \
1676 $(SRC)/character.h \
1679 $(SRC)/composite.h \
1680 $(SRC)/dispextern.h \
1685 $(SRC)/intervals.h \
1688 $(SRC)/termhooks.h \
1696 $(BLD)/w32menu.$(O) : \
1699 $(EMACS_ROOT)/nt/inc/sys/time.h \
1702 $(SRC)/blockinput.h \
1704 $(SRC)/character.h \
1707 $(SRC)/composite.h \
1708 $(SRC)/dispextern.h \
1714 $(SRC)/termhooks.h \
1719 $(BLD)/w32term.$(O) : \
1722 $(EMACS_ROOT)/nt/inc/unistd.h \
1723 $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
1724 $(EMACS_ROOT)/nt/inc/sys/time.h \
1728 $(SRC)/blockinput.h \
1731 $(SRC)/character.h \
1734 $(SRC)/composite.h \
1735 $(SRC)/dispextern.h \
1740 $(SRC)/intervals.h \
1746 $(SRC)/termhooks.h \
1754 $(BLD)/w32select.$(O) : \
1755 $(SRC)/w32select.c \
1757 $(EMACS_ROOT)/nt/inc/sys/time.h \
1760 $(SRC)/blockinput.h \
1761 $(SRC)/character.h \
1764 $(SRC)/composite.h \
1770 $(BLD)/w32reg.$(O) : \
1773 $(EMACS_ROOT)/nt/inc/sys/time.h \
1776 $(SRC)/blockinput.h \
1781 $(BLD)/w32xfns.$(O) : \
1784 $(EMACS_ROOT)/nt/inc/sys/time.h \
1787 $(SRC)/blockinput.h \
1790 $(SRC)/composite.h \
1791 $(SRC)/dispextern.h \
1799 $(BLD)/w32font.$(O) : \
1802 $(EMACS_ROOT)/nt/inc/sys/time.h \
1805 $(SRC)/character.h \
1808 $(SRC)/composite.h \
1809 $(SRC)/dispextern.h \
1818 $(BLD)/w32uniscribe.$(O) : \
1819 $(SRC)/w32uniscribe.c \
1821 $(EMACS_ROOT)/nt/inc/sys/time.h \
1824 $(SRC)/character.h \
1826 $(SRC)/composite.h \
1827 $(SRC)/dispextern.h \
1836 # Each object file depends on stamp_BLD, because in parallel builds we must
1837 # make sure $(BLD) exists before starting compilations.
1839 $(OBJ0) $(OBJ1) $(OBJ2) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD