nt/config.nt: Sync with autogen/config.in.
[emacs.git] / src / makefile.w32-in
blob8e0e1d23dfda5c565e9236be515e60a8f288cce0
1 # -*- Makefile -*- for GNU Emacs on the Microsoft Windows API.
2 # Copyright (C) 2000-2012  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/>.
20 ALL = emacs
22 .PHONY: $(ALL)
24 # Set EMACSLOADPATH correctly (in case already defined in environment).
25 EMACSLOADPATH=$(CURDIR)/../lisp
27 # Size in MBs of the static heap in temacs.exe.
28 HEAPSIZE = $(EMACS_HEAPSIZE)
30 LOCAL_FLAGS     = -Demacs=1 -I../lib -I../nt/inc $(EMACS_EXTRA_C_FLAGS)
32 SRC             = .
33 EMACS           = $(BLD)/emacs.exe
34 TEMACS          = $(BLD)/temacs.exe
35 TEMACS_TMP      = $(BLD)/temacs.bin
36 TLIB0           = $(BLD)/temacs0.$(A)
37 TLIB1           = $(BLD)/temacs1.$(A)
38 TLIB2           = $(BLD)/temacs2.$(A)
39 TOBJ            = $(BLD)/firstfile.$(O)
40 TRES            = $(BLD)/emacs.res
41 TLASTLIB        = $(BLD)/lastfile.$(A)
42 GNULIB          = ../lib/$(BLD)/libgnu.$(A)
44 DOC             = $(OBJDIR)/etc/DOC-X
46 FULL_LINK_FLAGS = $(LINK_FLAGS) $(TEMACS_EXTRA_LINK)
49 # Split up the objects into two sets so that we don't run out of
50 # command line space when we link them into a library.
52 # Put emacs.$(O) in a separate lib, since we need to have firstfile.$(O)
53 # as the "main" object file when linking.
55 OBJ0 =  $(BLD)/emacs.$(O)
57 OBJ1 =  $(BLD)/alloc.$(O)               \
58         $(BLD)/atimer.$(O)              \
59         $(BLD)/buffer.$(O)              \
60         $(BLD)/bytecode.$(O)            \
61         $(BLD)/callint.$(O)             \
62         $(BLD)/callproc.$(O)            \
63         $(BLD)/casefiddle.$(O)          \
64         $(BLD)/cmds.$(O)                \
65         $(BLD)/data.$(O)                \
66         $(BLD)/dired.$(O)               \
67         $(BLD)/dispnew.$(O)             \
68         $(BLD)/doc.$(O)                 \
69         $(BLD)/doprnt.$(O)              \
70         $(BLD)/editfns.$(O)             \
71         $(BLD)/eval.$(O)                \
72         $(BLD)/fileio.$(O)              \
73         $(BLD)/filelock.$(O)            \
74         $(BLD)/fns.$(O)                 \
75         $(BLD)/indent.$(O)              \
76         $(BLD)/insdel.$(O)              \
77         $(BLD)/keyboard.$(O)            \
78         $(BLD)/keymap.$(O)              \
79         $(BLD)/lread.$(O)               \
80         $(BLD)/macros.$(O)              \
81         $(BLD)/marker.$(O)              \
82         $(BLD)/minibuf.$(O)             \
83         $(BLD)/w32.$(O)                 \
84         $(BLD)/w32heap.$(O)             \
85         $(BLD)/w32inevt.$(O)            \
86         $(BLD)/w32proc.$(O)             \
87         $(BLD)/w32console.$(O)          \
88         $(BLD)/print.$(O)               \
89         $(BLD)/process.$(O)             \
90         $(BLD)/regex.$(O)               \
91         $(BLD)/scroll.$(O)              \
92         $(BLD)/search.$(O)              \
93         $(BLD)/sound.$(O)               \
94         $(BLD)/syntax.$(O)
96 OBJ2 =  $(BLD)/sysdep.$(O)              \
97         $(BLD)/term.$(O)                \
98         $(BLD)/tparam.$(O)              \
99         $(BLD)/undo.$(O)                \
100         $(BLD)/unexw32.$(O)             \
101         $(BLD)/window.$(O)              \
102         $(BLD)/xdisp.$(O)               \
103         $(BLD)/casetab.$(O)             \
104         $(BLD)/floatfns.$(O)            \
105         $(BLD)/frame.$(O)               \
106         $(BLD)/gmalloc.$(O)             \
107         $(BLD)/gnutls.$(O)              \
108         $(BLD)/intervals.$(O)           \
109         $(BLD)/composite.$(O)           \
110         $(BLD)/ralloc.$(O)              \
111         $(BLD)/textprop.$(O)            \
112         $(BLD)/vm-limit.$(O)            \
113         $(BLD)/region-cache.$(O)        \
114         $(BLD)/bidi.$(O)                \
115         $(BLD)/charset.$(O)             \
116         $(BLD)/character.$(O)           \
117         $(BLD)/chartab.$(O)             \
118         $(BLD)/coding.$(O)              \
119         $(BLD)/category.$(O)            \
120         $(BLD)/ccl.$(O)                 \
121         $(BLD)/font.$(O)                \
122         $(BLD)/fontset.$(O)             \
123         $(BLD)/fringe.$(O)              \
124         $(BLD)/image.$(O)               \
125         $(BLD)/terminal.$(O)            \
126         $(BLD)/menu.$(O)                \
127         $(BLD)/xml.$(O)                 \
128         $(BLD)/profiler.$(O)            \
129         $(BLD)/w32term.$(O)             \
130         $(BLD)/w32xfns.$(O)             \
131         $(BLD)/w32fns.$(O)              \
132         $(BLD)/xfaces.$(O)              \
133         $(BLD)/w32select.$(O)           \
134         $(BLD)/w32menu.$(O)             \
135         $(BLD)/w32reg.$(O)              \
136         $(BLD)/w32font.$(O)             \
137         $(BLD)/w32uniscribe.$(O)
139 LIBS =  $(TLIB0)        \
140         $(TLIB1)        \
141         $(TLIB2)        \
142         $(TLASTLIB)     \
143         $(GNULIB)       \
144         $(WINMM)        \
145         $(ADVAPI32)     \
146         $(GDI32)        \
147         $(COMDLG32)     \
148         $(USER32)       \
149         $(MPR)          \
150         $(SHELL32)      \
151         $(WINSPOOL)     \
152         $(OLE32)        \
153         $(COMCTL32)     \
154         $(UNISCRIBE)    \
155         $(USER_LIBS)    \
156         $(libc)
159 # Build the executable and dump it.
161 all:            $(ALL)
164 # The dumped executable
166 emacs:          stamp_BLD $(EMACS)
167 $(EMACS):       $(DOC) $(TEMACS)
168         "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
169         -"$(THISDIR)/$(BLD)/emacs.exe" -batch -f list-load-path-shadows
172 # The undumped executable
173 # Note the extra post-link step to insert a static preload heap section.
174 # If preload runs out of memory, increase the last argument to addsection
175 # (it is the preload heap size in MB).
177 temacs:         stamp_BLD $(TEMACS)
178 $(TEMACS):      $(TLIB0) $(TLIB1) $(TLIB2) $(TLASTLIB) $(TOBJ) $(TRES) \
179                   ../nt/$(BLD)/addsection.exe $(GNULIB)
180         $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
181         "$(THISDIR)/../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP $(HEAPSIZE)
183 # These omit firstfile.${O}, but there's no documentation in there
184 # anyways.
185 buildobj.h: $(SRC)/makefile.w32-in
186         $(MAKE) $(MFLAGS) make-buildobj-$(SHELLTYPE)
188 # Cannot have blanks between the backslash and the redirection
189 # characters, because CMD's `echo' will put them in buildobj.h.
190 make-buildobj-CMD:
191         echo #define BUILDOBJ ^"\> buildobj.h
192         echo $(OBJ0)            \>> buildobj.h
193         echo $(OBJ1)            \>> buildobj.h
194         echo $(OBJ2)            \>> buildobj.h
195         echo ^">> buildobj.h
197 # "
198 # The above line is here to countermand the single quote
199 # on the last "echo" command above, wrt font-lock.
200 make-buildobj-SH:
201         echo '#define BUILDOBJ $(DQUOTE)\'  > buildobj.h
202         echo $(OBJ0)                   '\' >> buildobj.h
203         echo $(OBJ1)                   '\' >> buildobj.h
204         echo $(OBJ2)                   '\' >> buildobj.h
205         echo '$(DQUOTE)'                   >> buildobj.h
207 GLOBAL_SOURCES =   dosfns.c msdos.c \
208         xterm.c xfns.c xmenu.c xselect.c xrdb.c xsmfns.c fringe.c image.c \
209         fontset.c menu.c dbusbind.c \
210         w32.c w32console.c w32fns.c w32heap.c w32inevt.c cygw32.c \
211         w32menu.c w32proc.c w32reg.c w32select.c w32term.c w32xfns.c \
212         font.c w32font.c w32uniscribe.c \
213         dispnew.c frame.c scroll.c xdisp.c window.c bidi.c \
214         charset.c coding.c category.c ccl.c character.c chartab.c \
215         cm.c term.c terminal.c xfaces.c \
216         emacs.c keyboard.c macros.c keymap.c sysdep.c \
217         buffer.c filelock.c insdel.c marker.c \
218         minibuf.c fileio.c dired.c \
219         cmds.c casetab.c casefiddle.c indent.c search.c regex.c undo.c \
220         alloc.c data.c doc.c editfns.c callint.c \
221         eval.c floatfns.c fns.c print.c lread.c \
222         syntax.c bytecode.c \
223         process.c callproc.c unexw32.c \
224         region-cache.c sound.c atimer.c \
225         doprnt.c intervals.c textprop.c composite.c \
226         gnutls.c xml.c profiler.c
227 SOME_MACHINE_OBJECTS = dosfns.o msdos.o \
228         xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o dbusbind.o
229 obj = $(GLOBAL_SOURCES:.c=.o)
231 globals.h: gl-stamp
232         @cmd /c rem true
234 gl-stamp: ../lib-src/$(BLD)/make-docfile.exe $(GLOBAL_SOURCES)
235         - $(DEL) gl-tmp
236         "$(THISDIR)/../lib-src/$(BLD)/make-docfile" -d . -g $(SOME_MACHINE_OBJECTS) $(obj) > gl-tmp
237         cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp globals.h"
238         - $(DEL) gl-tmp
239         echo timestamp > $@
241 bootstrap: bootstrap-emacs
244 # Build a temacs with a sufficiently large PURESIZE to load the
245 # Lisp files from loadup.el in source form.
247 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
248 #          this can break with GNU Make 3.81 and later if sh.exe is used.
249 bootstrap-temacs-CMD:
250         $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(ESC_CFLAGS) -DPURESIZE=$(EMACS_PURESIZE)$(ARGQUOTE)
252 bootstrap-temacs-SH:
253         $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=$(EMACS_PURESIZE)$(ARGQUOTE)
255 bootstrap-temacs:
256         $(MAKE) $(MFLAGS) bootstrap-temacs-$(SHELLTYPE)
259 # Dump an Emacs executable named bootstrap-emacs containing the
260 # files from loadup.el in source form.
262 bootstrap-emacs: bootstrap-temacs
263         "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
264         - mkdir "../bin"
265         $(CP) $(EMACS) ../bin
268 # Force recompile of files that depend on PURESIZE
270 bootstrap-clean:
271         - $(DEL) $(BLD)/alloc.$(O)
272         - $(DEL) $(BLD)/data.$(O)
273         - $(DEL) $(BLD)/intervals.$(O)
274         - $(DEL) $(BLD)/keyboard.$(O)
275         - $(DEL) $(BLD)/keymap.$(O)
278 # The resource file.  NT 3.10 requires the use of cvtres; even though
279 # it is not necessary on later versions, it is still ok to use it.
281 $(TRES): ../nt/emacs.rc stamp_BLD
282         $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
285 # Build the library.  Split up the build into two phases...otherwise we
286 # run out of command line space.
288 $(TLIB0):       $(OBJ0)
289         - $(DEL) $@
290         $(AR) $(AR_OUT)$@ $(ALL_DEPS)
291 $(TLIB1):       $(OBJ1)
292         - $(DEL) $@
293         $(AR) $(AR_OUT)$@ $(ALL_DEPS)
294 $(TLIB2):       $(OBJ2)
295         - $(DEL) $@
296         $(AR) $(AR_OUT)$@ $(ALL_DEPS)
299 # Place lastfile.$(O) in its own library so that it can be loaded after
300 # the source libraries but before any system libraries.  Doing so defines
301 # the end of Emacs' data section portably across compilers and systems.
303 $(TLASTLIB):    $(BLD)/lastfile.$(O)
304         - $(DEL) $@
305         $(AR) $(AR_OUT)$@ $(ALL_DEPS)
308 # Assuming INSTALL_DIR is defined, build and install emacs in it.
310 install:        $(ALL)
311         - mkdir "$(INSTALL_DIR)/bin"
312         $(CP) $(EMACS) $(INSTALL_DIR)/bin
315 # Maintenance
317 # We used to delete *~, s/*~, m/*~ here, but that might inadvertently
318 # remove precious files if it happens to match their short 8+3 aliases.
319 clean:
320         - $(DEL) "s/*.h~" "m/*.h~"
321         - $(DEL) $(COMPILER_TEMP_FILES)
322         - $(DEL_TREE) $(OBJDIR)
323         - $(DEL) stamp_BLD gl-stamp globals.h
324         - $(DEL) buildobj.h
326 distclean:      cleanall
327         - $(DEL) config.h epaths.h Makefile
329 maintainer-clean: distclean
330         - $(DEL) TAGS
332 cleanall:       clean
333         - $(DEL_TREE) obj
334         - $(DEL_TREE) obj-spd
335         - $(DEL_TREE) oo
336         - $(DEL_TREE) oo-spd
338 ## Arrange to make a tags table TAGS-LISP for ../lisp,
339 ## plus TAGS for the C files, which includes ../lisp/TAGS by reference.
341 ## This works only with GNU Make.
343 TAGS: $(OBJ0) $(OBJ1) $(OBJ2) $(CURDIR)/../nt/inc/ms-w32.h
344         $(MAKE) $(MFLAGS) TAGS-$(MAKETYPE)
346 TAGS-LISP: $(OBJ0) $(OBJ1) $(OBJ2)
347         $(MAKE) $(MFLAGS) TAGS-LISP-$(MAKETYPE)
349 TAGS-gmake:
350         ../lib-src/$(BLD)/etags.exe --include=TAGS-LISP --include=../nt/TAGS \
351           --regex=@../nt/emacs-src.tags \
352           $(OBJ0_c)
353         ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
354           $(OBJ1_c)
355         ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
356           $(OBJ2_c) \
357           $(CURDIR)/*.h $(CURDIR)/../nt/inc/ms-w32.h
359 TAGS-nmake:
360         echo This target is not supported with NMake
361         exit -1
363 frc:
364 TAGS-LISP-gmake: frc
365         $(MAKE) $(MFLAGS) -C ../lisp TAGS-LISP DEST=../src
367 TAGS-LISP-nmake:
368         echo This target is not supported with NMake
369         exit -1
371 ../nt/TAGS: frc
372         $(MAKE) $(MFLAGS) nt-TAGS-$(MAKETYPE)
374 nt-TAGS-gmake:
375         $(MAKE) $(MFLAGS) -C ../nt TAGS
377 nt-TAGS-nmake:
378         echo This target is not supported with NMake
379         exit -1
381 full-tags: TAGS TAGS-LISP ../nt/TAGS
382 .PHONY: full-tags
384 ### DEPENDENCIES ###
386 EMACS_ROOT = ..
387 GNU_LIB = $(EMACS_ROOT)/lib
388 NT_INC = $(EMACS_ROOT)/nt/inc
390 SYSTIME_H      = $(SRC)/systime.h \
391                  $(NT_INC)/sys/time.h \
392                  $(GNU_LIB)/timespec.h
393 ATIMER_H       = $(SRC)/atimer.h \
394                  $(NT_INC)/stdbool.h \
395                  $(SYSTIME_H)
396 BUFFER_H       = $(SRC)/buffer.h \
397                  $(SYSTIME_H)
398 C_CTYPE_H      = $(GNU_LIB)/c-ctype.h \
399                  $(NT_INC)/stdbool.h
400 CAREADLINKAT_H = $(GNU_LIB)/careadlinkat.h \
401                  $(NT_INC)/unistd.h
402 CHARACTER_H    = $(SRC)/character.h \
403                  $(GNU_LIB)/verify.h
404 CCL_H          = $(SRC)/ccl.h \
405                  $(CHARACTER_H)
406 CHARSET_H      = $(SRC)/charset.h \
407                  $(GNU_LIB)/verify.h
408 CODING_H       = $(SRC)/coding.h \
409                  $(SRC)/composite.h
410 MS_W32_H       = $(NT_INC)/ms-w32.h \
411                  $(NT_INC)/sys/stat.h
412 CONF_POST_H    = $(SRC)/conf_post.h \
413                  $(MS_W32_H)
414 CONFIG_H       = $(SRC)/config.h \
415                  $(CONF_POST_H)
416 DIR_H          = $(NT_INC)/sys/dir.h \
417                  $(SRC)/ndir.h
418 W32GUI_H       = $(SRC)/w32gui.h \
419                  $(SYSTIME_H)
420 DISPEXTERN_H   = $(SRC)/dispextern.h \
421                  $(GNU_LIB)/c-strcase.h \
422                  $(SYSTIME_H) \
423                  $(W32GUI_H)
424 FILEMODE_H     = $(GNU_LIB)/filemode.h \
425                  $(NT_INC)/sys/stat.h
426 FONT_H         = $(SRC)/font.h \
427                  $(FRAME_H) \
428                  $(CCL_H)
429 FRAME_H        = $(SRC)/frame.h \
430                  $(DISPEXTERN_H)
431 FTOASTR_H      = $(GNU_LIB)/ftoastr.h \
432                  $(GNU_LIB)/intprops.h
433 GRP_H          = $(NT_INC)/grp.h \
434                  $(NT_INC)/pwd.h
435 INTERVALS_H    = $(SRC)/intervals.h \
436                  $(SRC)/composite.h \
437                  $(DISPEXTERN_H)
438 INTTYPES_H     = $(NT_INC)/inttypes.h \
439                  $(NT_INC)/stdint.h
440 KEYBOARD_H     = $(SRC)/keyboard.h \
441                  $(CODING_H) \
442                  $(SYSTIME_H)
443 LANGINFO_H     = $(NT_INC)/langinfo.h \
444                  $(NT_INC)/nl_types.h
445 LISP_H         = $(SRC)/lisp.h \
446                  $(SRC)/globals.h \
447                  $(GNU_LIB)/intprops.h \
448                  $(INTTYPES_H) \
449                  $(NT_INC)/stdalign.h \
450                  $(NT_INC)/stdbool.h
451 MD5_H          = $(GNU_LIB)/md5.h \
452                  $(NT_INC)/stdint.h
453 MENU_H         = $(SRC)/menu.h \
454                  $(SYSTIME_H)
455 PROCESS_H      = $(SRC)/process.h \
456                  $(SRC)/gnutls.h \
457                  $(NT_INC)/unistd.h
458 SHA1_H         = $(GNU_LIB)/sha1.h \
459                  $(NT_INC)/stdint.h
460 SHA256_H       = $(GNU_LIB)/sha256.h \
461                  $(NT_INC)/stdint.h
462 U64_H          = $(GNU_LIB)/u64.h \
463                  $(NT_INC)/stdint.h
464 SHA512_H       = $(GNU_LIB)/sha512.h \
465                  $(U64_H)
466 SOCKET_H       = $(NT_INC)/sys/socket.h \
467                  $(SRC)/w32.h
468 STAT_TIME_H    = $(GNU_LIB)/stat-time.h \
469                  $(NT_INC)/sys/stat.h
470 SYSSIGNAL_H    = $(SRC)/syssignal.h \
471                  $(NT_INC)/stdbool.h
472 SYSTTY_H       = $(SRC)/systty.h \
473                  $(NT_INC)/sys/ioctl.h \
474                  $(NT_INC)/unistd.h
475 TERMHOOKS_H    = $(SRC)/termhooks.h \
476                  $(SYSTIME_H)
477 W32FONT_H      = $(SRC)/w32font.h \
478                  $(FONT_H)
479 W32TERM_H      = $(SRC)/w32term.h \
480                  $(ATIMER_H) \
481                  $(FRAME_H) \
482                  $(W32GUI_H)
483 WINDOW_H       = $(SRC)/window.h \
484                  $(DISPEXTERN_H)
486 $(BLD)/alloc.$(O) : \
487         $(SRC)/alloc.c \
488         $(SRC)/blockinput.h \
489         $(SRC)/puresize.h \
490         $(SRC)/w32.h \
491         $(SRC)/w32heap.h \
492         $(NT_INC)/unistd.h \
493         $(GNU_LIB)/verify.h \
494         $(BUFFER_H) \
495         $(CHARACTER_H) \
496         $(CONFIG_H) \
497         $(FRAME_H) \
498         $(INTERVALS_H) \
499         $(KEYBOARD_H) \
500         $(LISP_H) \
501         $(PROCESS_H) \
502         $(TERMHOOKS_H) \
503         $(WINDOW_H)
505 $(BLD)/atimer.$(O) : \
506         $(SRC)/atimer.c \
507         $(SRC)/blockinput.h \
508         $(NT_INC)/unistd.h \
509         $(ATIMER_H) \
510         $(CONFIG_H) \
511         $(LISP_H) \
512         $(SYSSIGNAL_H) \
513         $(SYSTIME_H)
515 $(BLD)/bidi.$(O) : \
516         $(SRC)/bidi.c \
517         $(BUFFER_H) \
518         $(CHARACTER_H) \
519         $(CONFIG_H) \
520         $(DISPEXTERN_H) \
521         $(LISP_H)
523 $(BLD)/buffer.$(O) : \
524         $(SRC)/buffer.c \
525         $(SRC)/blockinput.h \
526         $(SRC)/commands.h \
527         $(SRC)/indent.h \
528         $(SRC)/keymap.h \
529         $(SRC)/region-cache.h \
530         $(NT_INC)/sys/param.h \
531         $(NT_INC)/sys/stat.h \
532         $(NT_INC)/unistd.h \
533         $(GNU_LIB)/verify.h \
534         $(BUFFER_H) \
535         $(CHARACTER_H) \
536         $(CONFIG_H) \
537         $(FRAME_H) \
538         $(INTERVALS_H) \
539         $(KEYBOARD_H) \
540         $(LISP_H) \
541         $(WINDOW_H)
543 $(BLD)/bytecode.$(O) : \
544         $(SRC)/bytecode.c \
545         $(SRC)/syntax.h \
546         $(BUFFER_H) \
547         $(CHARACTER_H) \
548         $(CONFIG_H) \
549         $(LISP_H) \
550         $(WINDOW_H)
552 $(BLD)/callint.$(O) : \
553         $(SRC)/callint.c \
554         $(SRC)/commands.h \
555         $(SRC)/keymap.h \
556         $(BUFFER_H) \
557         $(CHARACTER_H) \
558         $(CONFIG_H) \
559         $(KEYBOARD_H) \
560         $(LISP_H) \
561         $(WINDOW_H)
563 $(BLD)/callproc.$(O) : \
564         $(SRC)/callproc.c \
565         $(SRC)/blockinput.h \
566         $(SRC)/commands.h \
567         $(SRC)/composite.h \
568         $(SRC)/epaths.h \
569         $(SRC)/syswait.h \
570         $(SRC)/w32.h \
571         $(NT_INC)/sys/file.h \
572         $(NT_INC)/unistd.h \
573         $(BUFFER_H) \
574         $(CCL_H) \
575         $(CHARACTER_H) \
576         $(CODING_H) \
577         $(CONFIG_H) \
578         $(FRAME_H) \
579         $(LISP_H) \
580         $(PROCESS_H) \
581         $(SYSSIGNAL_H) \
582         $(SYSTTY_H) \
583         $(TERMHOOKS_H)
585 $(BLD)/casefiddle.$(O) : \
586         $(SRC)/casefiddle.c \
587         $(SRC)/commands.h \
588         $(SRC)/composite.h \
589         $(SRC)/keymap.h \
590         $(SRC)/syntax.h \
591         $(BUFFER_H) \
592         $(CHARACTER_H) \
593         $(CONFIG_H) \
594         $(LISP_H)
596 $(BLD)/casetab.$(O) : \
597         $(SRC)/casetab.c \
598         $(BUFFER_H) \
599         $(CHARACTER_H) \
600         $(CONFIG_H) \
601         $(LISP_H)
603 $(BLD)/category.$(O) : \
604         $(SRC)/category.c \
605         $(SRC)/category.h \
606         $(SRC)/keymap.h \
607         $(BUFFER_H) \
608         $(CHARACTER_H) \
609         $(CHARSET_H) \
610         $(CONFIG_H) \
611         $(LISP_H)
613 $(BLD)/ccl.$(O) : \
614         $(SRC)/ccl.c \
615         $(CCL_H) \
616         $(CHARACTER_H) \
617         $(CHARSET_H) \
618         $(CODING_H) \
619         $(CONFIG_H) \
620         $(LISP_H)
622 $(BLD)/character.$(O) : \
623         $(SRC)/character.c \
624         $(SRC)/composite.h \
625         $(SRC)/disptab.h \
626         $(GNU_LIB)/intprops.h \
627         $(BUFFER_H) \
628         $(CHARACTER_H) \
629         $(CHARSET_H) \
630         $(CONFIG_H) \
631         $(LISP_H)
633 $(BLD)/charset.$(O) : \
634         $(SRC)/charset.c \
635         $(SRC)/disptab.h \
636         $(NT_INC)/unistd.h \
637         $(BUFFER_H) \
638         $(CHARACTER_H) \
639         $(CHARSET_H) \
640         $(CODING_H) \
641         $(CONFIG_H) \
642         $(C_CTYPE_H) \
643         $(LISP_H)
645 $(BLD)/chartab.$(O) : \
646         $(SRC)/chartab.c \
647         $(CCL_H) \
648         $(CHARACTER_H) \
649         $(CHARSET_H) \
650         $(CONFIG_H) \
651         $(LISP_H)
653 $(BLD)/cmds.$(O) : \
654         $(SRC)/cmds.c \
655         $(SRC)/commands.h \
656         $(SRC)/keymap.h \
657         $(SRC)/syntax.h \
658         $(BUFFER_H) \
659         $(CHARACTER_H) \
660         $(CONFIG_H) \
661         $(DISPEXTERN_H) \
662         $(FRAME_H) \
663         $(KEYBOARD_H) \
664         $(LISP_H) \
665         $(WINDOW_H)
667 $(BLD)/coding.$(O) : \
668         $(SRC)/coding.c \
669         $(SRC)/composite.h \
670         $(BUFFER_H) \
671         $(CCL_H) \
672         $(CHARACTER_H) \
673         $(CHARSET_H) \
674         $(CODING_H) \
675         $(CONFIG_H) \
676         $(FRAME_H) \
677         $(LISP_H) \
678         $(TERMHOOKS_H) \
679         $(WINDOW_H)
681 $(BLD)/composite.$(O) : \
682         $(SRC)/composite.c \
683         $(BUFFER_H) \
684         $(CHARACTER_H) \
685         $(CODING_H) \
686         $(CONFIG_H) \
687         $(DISPEXTERN_H) \
688         $(FONT_H) \
689         $(FRAME_H) \
690         $(INTERVALS_H) \
691         $(LISP_H) \
692         $(TERMHOOKS_H) \
693         $(WINDOW_H)
695 $(BLD)/data.$(O) : \
696         $(SRC)/data.c \
697         $(SRC)/keymap.h \
698         $(SRC)/puresize.h \
699         $(GNU_LIB)/intprops.h \
700         $(BUFFER_H) \
701         $(CHARACTER_H) \
702         $(CONFIG_H) \
703         $(FONT_H) \
704         $(FRAME_H) \
705         $(KEYBOARD_H) \
706         $(LISP_H) \
707         $(SYSSIGNAL_H) \
708         $(TERMHOOKS_H)
710 $(BLD)/dired.$(O) : \
711         $(SRC)/dired.c \
712         $(SRC)/blockinput.h \
713         $(SRC)/commands.h \
714         $(SRC)/regex.h \
715         $(NT_INC)/pwd.h \
716         $(NT_INC)/sys/stat.h \
717         $(NT_INC)/unistd.h \
718         $(BUFFER_H) \
719         $(CHARACTER_H) \
720         $(CHARSET_H) \
721         $(CODING_H) \
722         $(CONFIG_H) \
723         $(DIR_H) \
724         $(FILEMODE_H) \
725         $(GRP_H) \
726         $(LISP_H) \
727         $(STAT_TIME_H) \
728         $(SYSTIME_H)
730 $(BLD)/dispnew.$(O) : \
731         $(SRC)/dispnew.c \
732         $(SRC)/blockinput.h \
733         $(SRC)/cm.h \
734         $(SRC)/commands.h \
735         $(SRC)/disptab.h \
736         $(SRC)/indent.h \
737         $(SRC)/termchar.h \
738         $(SRC)/termopts.h \
739         $(NT_INC)/unistd.h \
740         $(BUFFER_H) \
741         $(CHARACTER_H) \
742         $(CONFIG_H) \
743         $(DISPEXTERN_H) \
744         $(FRAME_H) \
745         $(INTERVALS_H) \
746         $(KEYBOARD_H) \
747         $(LISP_H) \
748         $(PROCESS_H) \
749         $(SYSSIGNAL_H) \
750         $(SYSTIME_H) \
751         $(TERMHOOKS_H) \
752         $(W32TERM_H) \
753         $(WINDOW_H)
755 $(BLD)/doc.$(O) : \
756         $(SRC)/doc.c \
757         $(SRC)/buildobj.h \
758         $(SRC)/keymap.h \
759         $(NT_INC)/sys/file.h \
760         $(NT_INC)/unistd.h \
761         $(BUFFER_H) \
762         $(CHARACTER_H) \
763         $(CONFIG_H) \
764         $(C_CTYPE_H) \
765         $(KEYBOARD_H) \
766         $(LISP_H)
768 $(BLD)/doprnt.$(O) : \
769         $(SRC)/doprnt.c \
770         $(NT_INC)/unistd.h \
771         $(CHARACTER_H) \
772         $(CONFIG_H) \
773         $(LISP_H)
775 $(BLD)/editfns.$(O) : \
776         $(SRC)/editfns.c \
777         $(SRC)/blockinput.h \
778         $(NT_INC)/pwd.h \
779         $(NT_INC)/unistd.h \
780         $(GNU_LIB)/intprops.h \
781         $(GNU_LIB)/strftime.h \
782         $(GNU_LIB)/verify.h \
783         $(BUFFER_H) \
784         $(CHARACTER_H) \
785         $(CODING_H) \
786         $(CONFIG_H) \
787         $(FRAME_H) \
788         $(INTERVALS_H) \
789         $(LISP_H) \
790         $(SYSTIME_H) \
791         $(WINDOW_H)
793 $(BLD)/emacs.$(O) : \
794         $(SRC)/emacs.c \
795         $(SRC)/blockinput.h \
796         $(SRC)/commands.h \
797         $(SRC)/gnutls.h \
798         $(SRC)/keymap.h \
799         $(SRC)/unexec.h \
800         $(SRC)/w32.h \
801         $(SRC)/w32heap.h \
802         $(SRC)/w32select.h \
803         $(SRC)/w32font.h \
804         $(NT_INC)/sys/file.h \
805         $(NT_INC)/unistd.h \
806         $(GNU_LIB)/ignore-value.h \
807         $(ATIMER_H) \
808         $(BUFFER_H) \
809         $(CHARACTER_H) \
810         $(CONFIG_H) \
811         $(FRAME_H) \
812         $(INTERVALS_H) \
813         $(KEYBOARD_H) \
814         $(LISP_H) \
815         $(PROCESS_H) \
816         $(SYSSIGNAL_H) \
817         $(SYSTTY_H) \
818         $(TERMHOOKS_H) \
819         $(W32TERM_H) \
820         $(WINDOW_H)
822 $(BLD)/eval.$(O) : \
823         $(SRC)/eval.c \
824         $(SRC)/blockinput.h \
825         $(SRC)/commands.h \
826         $(CONFIG_H) \
827         $(DISPEXTERN_H) \
828         $(FRAME_H) \
829         $(KEYBOARD_H) \
830         $(LISP_H)
832 $(BLD)/fileio.$(O) : \
833         $(SRC)/fileio.c \
834         $(SRC)/blockinput.h \
835         $(SRC)/commands.h \
836         $(NT_INC)/pwd.h \
837         $(NT_INC)/sys/stat.h \
838         $(NT_INC)/unistd.h \
839         $(BUFFER_H) \
840         $(CHARACTER_H) \
841         $(CODING_H) \
842         $(CONFIG_H) \
843         $(C_CTYPE_H) \
844         $(DISPEXTERN_H) \
845         $(FRAME_H) \
846         $(INTERVALS_H) \
847         $(LISP_H) \
848         $(STAT_TIME_H) \
849         $(SYSTIME_H) \
850         $(WINDOW_H)
852 $(BLD)/filelock.$(O) : \
853         $(SRC)/filelock.c \
854         $(NT_INC)/pwd.h \
855         $(NT_INC)/sys/file.h \
856         $(NT_INC)/sys/stat.h \
857         $(NT_INC)/unistd.h \
858         $(BUFFER_H) \
859         $(CHARACTER_H) \
860         $(CODING_H) \
861         $(CONFIG_H) \
862         $(LISP_H) \
863         $(SYSTIME_H)
865 $(BLD)/firstfile.$(O) : \
866         $(SRC)/firstfile.c \
867         $(CONFIG_H)
869 $(BLD)/floatfns.$(O) : \
870         $(SRC)/floatfns.c \
871         $(CONFIG_H) \
872         $(LISP_H)
874 $(BLD)/fns.$(O) : \
875         $(SRC)/fns.c \
876         $(SRC)/blockinput.h \
877         $(SRC)/commands.h \
878         $(SRC)/keymap.h \
879         $(NT_INC)/unistd.h \
880         $(GNU_LIB)/intprops.h \
881         $(BUFFER_H) \
882         $(CHARACTER_H) \
883         $(CODING_H) \
884         $(CONFIG_H) \
885         $(FRAME_H) \
886         $(INTERVALS_H) \
887         $(KEYBOARD_H) \
888         $(LANGINFO_H) \
889         $(LISP_H) \
890         $(MD5_H) \
891         $(SHA1_H) \
892         $(SHA256_H) \
893         $(SHA512_H) \
894         $(WINDOW_H)
896 $(BLD)/font.$(O) : \
897         $(SRC)/font.c \
898         $(SRC)/composite.h \
899         $(SRC)/fontset.h \
900         $(BUFFER_H) \
901         $(CHARACTER_H) \
902         $(CHARSET_H) \
903         $(CONFIG_H) \
904         $(C_CTYPE_H) \
905         $(DISPEXTERN_H) \
906         $(FONT_H) \
907         $(FRAME_H) \
908         $(LISP_H) \
909         $(W32TERM_H) \
910         $(WINDOW_H)
912 $(BLD)/fontset.$(O) : \
913         $(SRC)/fontset.c \
914         $(SRC)/blockinput.h \
915         $(SRC)/fontset.h \
916         $(BUFFER_H) \
917         $(CCL_H) \
918         $(CHARACTER_H) \
919         $(CHARSET_H) \
920         $(CONFIG_H) \
921         $(DISPEXTERN_H) \
922         $(FONT_H) \
923         $(FRAME_H) \
924         $(INTERVALS_H) \
925         $(KEYBOARD_H) \
926         $(LISP_H) \
927         $(TERMHOOKS_H) \
928         $(W32TERM_H) \
929         $(WINDOW_H)
931 $(BLD)/frame.$(O) : \
932         $(SRC)/frame.c \
933         $(SRC)/blockinput.h \
934         $(SRC)/commands.h \
935         $(SRC)/fontset.h \
936         $(SRC)/termchar.h \
937         $(BUFFER_H) \
938         $(CHARACTER_H) \
939         $(CONFIG_H) \
940         $(C_CTYPE_H) \
941         $(DISPEXTERN_H) \
942         $(FONT_H) \
943         $(FRAME_H) \
944         $(KEYBOARD_H) \
945         $(LISP_H) \
946         $(TERMHOOKS_H) \
947         $(W32TERM_H) \
948         $(WINDOW_H)
950 $(BLD)/fringe.$(O) : \
951         $(SRC)/fringe.c \
952         $(SRC)/blockinput.h \
953         $(BUFFER_H) \
954         $(CHARACTER_H) \
955         $(CONFIG_H) \
956         $(DISPEXTERN_H) \
957         $(FRAME_H) \
958         $(LISP_H) \
959         $(TERMHOOKS_H) \
960         $(WINDOW_H)
962 $(BLD)/gmalloc.$(O) : \
963         $(SRC)/gmalloc.c \
964         $(SRC)/w32heap.h \
965         $(NT_INC)/stdint.h \
966         $(NT_INC)/unistd.h \
967         $(CONFIG_H)
969 $(BLD)/gnutls.$(O) : \
970         $(SRC)/gnutls.c \
971         $(SRC)/w32.h \
972         $(CONFIG_H) \
973         $(LISP_H) \
974         $(PROCESS_H)
976 $(BLD)/xml.$(O) : \
977         $(SRC)/xml.c \
978         $(SRC)/w32.h \
979         $(BUFFER_H) \
980         $(CHARACTER_H) \
981         $(CONFIG_H) \
982         $(LISP_H)
984 $(BLD)/profiler.$(O) : \
985         $(SRC)/profiler.c \
986         $(CONFIG_H) \
987         $(LISP_H) \
988         $(SYSSIGNAL_H) \
989         $(SYSTIME_H)
991 $(BLD)/image.$(O) : \
992         $(SRC)/image.c \
993         $(SRC)/blockinput.h \
994         $(SRC)/epaths.h \
995         $(SRC)/w32.h \
996         $(NT_INC)/unistd.h \
997         $(CHARACTER_H) \
998         $(CODING_H) \
999         $(CONFIG_H) \
1000         $(C_CTYPE_H) \
1001         $(DISPEXTERN_H) \
1002         $(FONT_H) \
1003         $(FRAME_H) \
1004         $(LISP_H) \
1005         $(SYSTIME_H) \
1006         $(TERMHOOKS_H) \
1007         $(W32TERM_H) \
1008         $(WINDOW_H)
1010 $(BLD)/indent.$(O) : \
1011         $(SRC)/indent.c \
1012         $(SRC)/category.h \
1013         $(SRC)/composite.h \
1014         $(SRC)/disptab.h \
1015         $(SRC)/indent.h \
1016         $(SRC)/region-cache.h \
1017         $(SRC)/termchar.h \
1018         $(SRC)/termopts.h \
1019         $(BUFFER_H) \
1020         $(CHARACTER_H) \
1021         $(CONFIG_H) \
1022         $(DISPEXTERN_H) \
1023         $(FRAME_H) \
1024         $(INTERVALS_H) \
1025         $(KEYBOARD_H) \
1026         $(LISP_H) \
1027         $(WINDOW_H)
1029 $(BLD)/insdel.$(O) : \
1030         $(SRC)/insdel.c \
1031         $(SRC)/blockinput.h \
1032         $(SRC)/region-cache.h \
1033         $(GNU_LIB)/intprops.h \
1034         $(BUFFER_H) \
1035         $(CHARACTER_H) \
1036         $(CONFIG_H) \
1037         $(INTERVALS_H) \
1038         $(LISP_H) \
1039         $(WINDOW_H)
1041 $(BLD)/intervals.$(O) : \
1042         $(SRC)/intervals.c \
1043         $(SRC)/keymap.h \
1044         $(SRC)/puresize.h \
1045         $(GNU_LIB)/intprops.h \
1046         $(BUFFER_H) \
1047         $(CHARACTER_H) \
1048         $(CONFIG_H) \
1049         $(INTERVALS_H) \
1050         $(KEYBOARD_H) \
1051         $(LISP_H)
1053 $(BLD)/keyboard.$(O) : \
1054         $(SRC)/keyboard.c \
1055         $(SRC)/blockinput.h \
1056         $(SRC)/commands.h \
1057         $(SRC)/disptab.h \
1058         $(SRC)/keymap.h \
1059         $(SRC)/macros.h \
1060         $(SRC)/puresize.h \
1061         $(SRC)/syntax.h \
1062         $(SRC)/termchar.h \
1063         $(SRC)/termopts.h \
1064         $(NT_INC)/sys/ioctl.h \
1065         $(NT_INC)/unistd.h \
1066         $(ATIMER_H) \
1067         $(BUFFER_H) \
1068         $(CHARACTER_H) \
1069         $(CONFIG_H) \
1070         $(DISPEXTERN_H) \
1071         $(FRAME_H) \
1072         $(INTERVALS_H) \
1073         $(KEYBOARD_H) \
1074         $(LISP_H) \
1075         $(PROCESS_H) \
1076         $(SYSSIGNAL_H) \
1077         $(SYSTIME_H) \
1078         $(TERMHOOKS_H) \
1079         $(W32TERM_H) \
1080         $(WINDOW_H)
1082 $(BLD)/keymap.$(O) : \
1083         $(SRC)/keymap.c \
1084         $(SRC)/blockinput.h \
1085         $(SRC)/commands.h \
1086         $(SRC)/keymap.h \
1087         $(SRC)/puresize.h \
1088         $(BUFFER_H) \
1089         $(CHARACTER_H) \
1090         $(CHARSET_H) \
1091         $(CONFIG_H) \
1092         $(FRAME_H) \
1093         $(INTERVALS_H) \
1094         $(KEYBOARD_H) \
1095         $(LISP_H) \
1096         $(TERMHOOKS_H) \
1097         $(WINDOW_H)
1099 $(BLD)/lastfile.$(O) : \
1100         $(SRC)/lastfile.c \
1101         $(CONFIG_H)
1103 $(BLD)/lread.$(O) : \
1104         $(SRC)/lread.c \
1105         $(SRC)/blockinput.h \
1106         $(SRC)/commands.h \
1107         $(SRC)/epaths.h \
1108         $(NT_INC)/sys/file.h \
1109         $(NT_INC)/sys/stat.h \
1110         $(NT_INC)/unistd.h \
1111         $(BUFFER_H) \
1112         $(CHARACTER_H) \
1113         $(CHARSET_H) \
1114         $(CODING_H) \
1115         $(CONFIG_H) \
1116         $(FRAME_H) \
1117         $(INTERVALS_H) \
1118         $(KEYBOARD_H) \
1119         $(LISP_H) \
1120         $(STAT_TIME_H) \
1121         $(TERMHOOKS_H)
1123 $(BLD)/macros.$(O) : \
1124         $(SRC)/macros.c \
1125         $(SRC)/commands.h \
1126         $(SRC)/macros.h \
1127         $(BUFFER_H) \
1128         $(CHARACTER_H) \
1129         $(CONFIG_H) \
1130         $(KEYBOARD_H) \
1131         $(LISP_H) \
1132         $(WINDOW_H)
1134 $(BLD)/marker.$(O) : \
1135         $(SRC)/marker.c \
1136         $(BUFFER_H) \
1137         $(CHARACTER_H) \
1138         $(CONFIG_H) \
1139         $(LISP_H)
1141 $(BLD)/menu.$(O) : \
1142         $(SRC)/menu.c \
1143         $(SRC)/blockinput.h \
1144         $(SRC)/keymap.h \
1145         $(CONFIG_H) \
1146         $(DISPEXTERN_H) \
1147         $(FRAME_H) \
1148         $(KEYBOARD_H) \
1149         $(LISP_H) \
1150         $(MENU_H) \
1151         $(TERMHOOKS_H) \
1152         $(W32TERM_H) \
1153         $(WINDOW_H)
1155 $(BLD)/minibuf.$(O) : \
1156         $(SRC)/minibuf.c \
1157         $(SRC)/commands.h \
1158         $(SRC)/keymap.h \
1159         $(SRC)/syntax.h \
1160         $(BUFFER_H) \
1161         $(CHARACTER_H) \
1162         $(CONFIG_H) \
1163         $(DISPEXTERN_H) \
1164         $(FRAME_H) \
1165         $(INTERVALS_H) \
1166         $(KEYBOARD_H) \
1167         $(LISP_H) \
1168         $(TERMHOOKS_H) \
1169         $(WINDOW_H)
1171 $(BLD)/w32.$(O) : \
1172         $(SRC)/w32.c \
1173         $(SRC)/ndir.h \
1174         $(SRC)/w32.h \
1175         $(SRC)/w32common.h \
1176         $(SRC)/w32heap.h \
1177         $(NT_INC)/pwd.h \
1178         $(NT_INC)/sys/file.h \
1179         $(NT_INC)/sys/time.h \
1180         $(GNU_LIB)/allocator.h \
1181         $(CAREADLINKAT_H) \
1182         $(CODING_H) \
1183         $(CONFIG_H) \
1184         $(DISPEXTERN_H) \
1185         $(GRP_H) \
1186         $(LISP_H) \
1187         $(PROCESS_H) \
1188         $(SOCKET_H) \
1189         $(SYSTIME_H)
1191 $(BLD)/w32heap.$(O) : \
1192         $(SRC)/w32heap.c \
1193         $(SRC)/w32heap.h \
1194         $(SRC)/w32common.h \
1195         $(CONFIG_H) \
1196         $(LISP_H)
1198 $(BLD)/w32inevt.$(O) : \
1199         $(SRC)/w32inevt.c \
1200         $(SRC)/blockinput.h \
1201         $(SRC)/termchar.h \
1202         $(SRC)/w32heap.h \
1203         $(SRC)/w32inevt.h \
1204         $(CONFIG_H) \
1205         $(DISPEXTERN_H) \
1206         $(FRAME_H) \
1207         $(KEYBOARD_H) \
1208         $(LISP_H) \
1209         $(TERMHOOKS_H) \
1210         $(W32TERM_H) \
1211         $(WINDOW_H)
1213 $(BLD)/w32proc.$(O) : \
1214         $(SRC)/w32proc.c \
1215         $(SRC)/syswait.h \
1216         $(SRC)/w32.h \
1217         $(SRC)/w32common.h \
1218         $(SRC)/w32heap.h \
1219         $(NT_INC)/nl_types.h \
1220         $(NT_INC)/sys/file.h \
1221         $(CODING_H) \
1222         $(CONFIG_H) \
1223         $(DISPEXTERN_H) \
1224         $(LANGINFO_H) \
1225         $(LISP_H) \
1226         $(PROCESS_H) \
1227         $(SYSSIGNAL_H) \
1228         $(SYSTIME_H) \
1229         $(W32TERM_H)
1231 $(BLD)/w32console.$(O) : \
1232         $(SRC)/w32console.c \
1233         $(SRC)/disptab.h \
1234         $(SRC)/termchar.h \
1235         $(SRC)/w32common.h \
1236         $(SRC)/w32inevt.h \
1237         $(CHARACTER_H) \
1238         $(CODING_H) \
1239         $(CONFIG_H) \
1240         $(DISPEXTERN_H) \
1241         $(FRAME_H) \
1242         $(LISP_H) \
1243         $(TERMHOOKS_H) \
1244         $(W32TERM_H) \
1245         $(WINDOW_H)
1247 $(BLD)/print.$(O) : \
1248         $(SRC)/print.c \
1249         $(SRC)/blockinput.h \
1250         $(SRC)/termchar.h \
1251         $(BUFFER_H) \
1252         $(CHARACTER_H) \
1253         $(CHARSET_H) \
1254         $(CONFIG_H) \
1255         $(DISPEXTERN_H) \
1256         $(FONT_H) \
1257         $(FRAME_H) \
1258         $(FTOASTR_H) \
1259         $(INTERVALS_H) \
1260         $(KEYBOARD_H) \
1261         $(LISP_H) \
1262         $(PROCESS_H) \
1263         $(TERMHOOKS_H) \
1264         $(WINDOW_H)
1266 $(BLD)/process.$(O) : \
1267         $(SRC)/process.c \
1268         $(SRC)/blockinput.h \
1269         $(SRC)/commands.h \
1270         $(SRC)/composite.h \
1271         $(SRC)/gnutls.h \
1272         $(SRC)/sysselect.h \
1273         $(SRC)/syswait.h \
1274         $(SRC)/termopts.h \
1275         $(NT_INC)/arpa/inet.h \
1276         $(NT_INC)/netdb.h \
1277         $(NT_INC)/netinet/in.h \
1278         $(NT_INC)/sys/file.h \
1279         $(NT_INC)/sys/ioctl.h \
1280         $(NT_INC)/sys/stat.h \
1281         $(NT_INC)/unistd.h \
1282         $(ATIMER_H) \
1283         $(BUFFER_H) \
1284         $(CHARACTER_H) \
1285         $(CODING_H) \
1286         $(CONFIG_H) \
1287         $(DISPEXTERN_H) \
1288         $(FRAME_H) \
1289         $(KEYBOARD_H) \
1290         $(LISP_H) \
1291         $(PROCESS_H) \
1292         $(SOCKET_H) \
1293         $(SYSSIGNAL_H) \
1294         $(SYSTIME_H) \
1295         $(SYSTTY_H) \
1296         $(TERMHOOKS_H) \
1297         $(W32TERM_H) \
1298         $(WINDOW_H)
1300 $(BLD)/ralloc.$(O) : \
1301         $(SRC)/ralloc.c \
1302         $(SRC)/blockinput.h \
1303         $(SRC)/getpagesize.h \
1304         $(NT_INC)/unistd.h \
1305         $(CONFIG_H) \
1306         $(LISP_H)
1308 $(BLD)/regex.$(O) : \
1309         $(SRC)/regex.c \
1310         $(SRC)/category.h \
1311         $(SRC)/regex.h \
1312         $(SRC)/syntax.h \
1313         $(BUFFER_H) \
1314         $(CHARACTER_H) \
1315         $(CONFIG_H) \
1316         $(LISP_H)
1318 $(BLD)/region-cache.$(O) : \
1319         $(SRC)/region-cache.c \
1320         $(SRC)/region-cache.h \
1321         $(BUFFER_H) \
1322         $(CHARACTER_H) \
1323         $(CONFIG_H) \
1324         $(LISP_H)
1326 $(BLD)/scroll.$(O) : \
1327         $(SRC)/scroll.c \
1328         $(SRC)/termchar.h \
1329         $(CONFIG_H) \
1330         $(DISPEXTERN_H) \
1331         $(FRAME_H) \
1332         $(KEYBOARD_H) \
1333         $(LISP_H) \
1334         $(TERMHOOKS_H) \
1335         $(WINDOW_H)
1337 $(BLD)/search.$(O) : \
1338         $(SRC)/search.c \
1339         $(SRC)/blockinput.h \
1340         $(SRC)/category.h \
1341         $(SRC)/commands.h \
1342         $(SRC)/regex.h \
1343         $(SRC)/region-cache.h \
1344         $(SRC)/syntax.h \
1345         $(BUFFER_H) \
1346         $(CHARACTER_H) \
1347         $(CHARSET_H) \
1348         $(CONFIG_H) \
1349         $(INTERVALS_H) \
1350         $(LISP_H)
1352 $(BLD)/sound.$(O) : \
1353         $(SRC)/sound.c \
1354         $(NT_INC)/unistd.h \
1355         $(ATIMER_H) \
1356         $(CONFIG_H) \
1357         $(DISPEXTERN_H) \
1358         $(LISP_H) \
1359         $(SYSSIGNAL_H)
1361 $(BLD)/syntax.$(O) : \
1362         $(SRC)/syntax.c \
1363         $(SRC)/category.h \
1364         $(SRC)/commands.h \
1365         $(SRC)/keymap.h \
1366         $(SRC)/regex.h \
1367         $(SRC)/syntax.h \
1368         $(BUFFER_H) \
1369         $(CHARACTER_H) \
1370         $(CONFIG_H) \
1371         $(INTERVALS_H) \
1372         $(LISP_H)
1374 $(BLD)/sysdep.$(O) : \
1375         $(SRC)/sysdep.c \
1376         $(SRC)/blockinput.h \
1377         $(SRC)/cm.h \
1378         $(SRC)/sysselect.h \
1379         $(SRC)/syswait.h \
1380         $(SRC)/termchar.h \
1381         $(SRC)/termopts.h \
1382         $(NT_INC)/netdb.h \
1383         $(NT_INC)/pwd.h \
1384         $(NT_INC)/sys/file.h \
1385         $(NT_INC)/sys/stat.h \
1386         $(NT_INC)/unistd.h \
1387         $(GNU_LIB)/allocator.h \
1388         $(GNU_LIB)/execinfo.h \
1389         $(GNU_LIB)/ignore-value.h \
1390         $(GNU_LIB)/utimens.h \
1391         $(CAREADLINKAT_H) \
1392         $(CONFIG_H) \
1393         $(C_CTYPE_H) \
1394         $(DISPEXTERN_H) \
1395         $(FRAME_H) \
1396         $(GRP_H) \
1397         $(KEYBOARD_H) \
1398         $(LISP_H) \
1399         $(PROCESS_H) \
1400         $(SOCKET_H) \
1401         $(SYSSIGNAL_H) \
1402         $(SYSTIME_H) \
1403         $(SYSTTY_H) \
1404         $(TERMHOOKS_H) \
1405         $(WINDOW_H)
1407 $(BLD)/term.$(O) : \
1408         $(SRC)/term.c \
1409         $(SRC)/blockinput.h \
1410         $(SRC)/cm.h \
1411         $(SRC)/composite.h \
1412         $(SRC)/disptab.h \
1413         $(SRC)/keymap.h \
1414         $(SRC)/termchar.h \
1415         $(SRC)/termopts.h \
1416         $(SRC)/tparam.h \
1417         $(NT_INC)/sys/file.h \
1418         $(NT_INC)/sys/time.h \
1419         $(NT_INC)/unistd.h \
1420         $(BUFFER_H) \
1421         $(CHARACTER_H) \
1422         $(CHARSET_H) \
1423         $(CODING_H) \
1424         $(CONFIG_H) \
1425         $(DISPEXTERN_H) \
1426         $(FRAME_H) \
1427         $(INTERVALS_H) \
1428         $(KEYBOARD_H) \
1429         $(LISP_H) \
1430         $(SYSSIGNAL_H) \
1431         $(SYSTTY_H) \
1432         $(TERMHOOKS_H) \
1433         $(WINDOW_H)
1435 $(BLD)/terminal.$(O) : \
1436         $(SRC)/terminal.c \
1437         $(SRC)/termchar.h \
1438         $(CHARSET_H) \
1439         $(CODING_H) \
1440         $(CONFIG_H) \
1441         $(FRAME_H) \
1442         $(KEYBOARD_H) \
1443         $(LISP_H) \
1444         $(TERMHOOKS_H)
1446 $(BLD)/textprop.$(O) : \
1447         $(SRC)/textprop.c \
1448         $(BUFFER_H) \
1449         $(CHARACTER_H) \
1450         $(CONFIG_H) \
1451         $(INTERVALS_H) \
1452         $(LISP_H) \
1453         $(WINDOW_H)
1455 $(BLD)/tparam.$(O) : \
1456         $(SRC)/tparam.c \
1457         $(SRC)/tparam.h \
1458         $(CONFIG_H) \
1459         $(LISP_H)
1461 $(BLD)/undo.$(O) : \
1462         $(SRC)/undo.c \
1463         $(SRC)/commands.h \
1464         $(BUFFER_H) \
1465         $(CHARACTER_H) \
1466         $(CONFIG_H) \
1467         $(LISP_H) \
1468         $(WINDOW_H)
1470 $(BLD)/unexw32.$(O) : \
1471         $(SRC)/unexw32.c \
1472         $(SRC)/unexec.h \
1473         $(SRC)/w32common.h \
1474         $(SRC)/w32heap.h \
1475         $(CONFIG_H)
1477 $(BLD)/vm-limit.$(O) : \
1478         $(SRC)/vm-limit.c \
1479         $(SRC)/mem-limits.h \
1480         $(NT_INC)/unistd.h \
1481         $(CONFIG_H) \
1482         $(LISP_H)
1484 $(BLD)/window.$(O) : \
1485         $(SRC)/window.c \
1486         $(SRC)/blockinput.h \
1487         $(SRC)/commands.h \
1488         $(SRC)/disptab.h \
1489         $(SRC)/indent.h \
1490         $(SRC)/keymap.h \
1491         $(SRC)/termchar.h \
1492         $(BUFFER_H) \
1493         $(CHARACTER_H) \
1494         $(CONFIG_H) \
1495         $(DISPEXTERN_H) \
1496         $(FRAME_H) \
1497         $(INTERVALS_H) \
1498         $(KEYBOARD_H) \
1499         $(LISP_H) \
1500         $(TERMHOOKS_H) \
1501         $(W32TERM_H) \
1502         $(WINDOW_H)
1504 $(BLD)/xdisp.$(O) : \
1505         $(SRC)/xdisp.c \
1506         $(SRC)/blockinput.h \
1507         $(SRC)/commands.h \
1508         $(SRC)/disptab.h \
1509         $(SRC)/fontset.h \
1510         $(SRC)/indent.h \
1511         $(SRC)/keymap.h \
1512         $(SRC)/macros.h \
1513         $(SRC)/region-cache.h \
1514         $(SRC)/termchar.h \
1515         $(SRC)/termopts.h \
1516         $(ATIMER_H) \
1517         $(BUFFER_H) \
1518         $(CHARACTER_H) \
1519         $(CHARSET_H) \
1520         $(CODING_H) \
1521         $(CONFIG_H) \
1522         $(DISPEXTERN_H) \
1523         $(FONT_H) \
1524         $(FRAME_H) \
1525         $(INTERVALS_H) \
1526         $(KEYBOARD_H) \
1527         $(LISP_H) \
1528         $(PROCESS_H) \
1529         $(TERMHOOKS_H) \
1530         $(W32TERM_H) \
1531         $(WINDOW_H)
1533 $(BLD)/xfaces.$(O) : \
1534         $(SRC)/xfaces.c \
1535         $(SRC)/blockinput.h \
1536         $(SRC)/fontset.h \
1537         $(SRC)/termchar.h \
1538         $(NT_INC)/sys/stat.h \
1539         $(BUFFER_H) \
1540         $(CHARACTER_H) \
1541         $(CHARSET_H) \
1542         $(CONFIG_H) \
1543         $(C_CTYPE_H) \
1544         $(DISPEXTERN_H) \
1545         $(FONT_H) \
1546         $(FRAME_H) \
1547         $(INTERVALS_H) \
1548         $(KEYBOARD_H) \
1549         $(LISP_H) \
1550         $(TERMHOOKS_H) \
1551         $(W32TERM_H) \
1552         $(WINDOW_H)
1554 $(BLD)/w32fns.$(O) : \
1555         $(SRC)/w32fns.c \
1556         $(SRC)/blockinput.h \
1557         $(SRC)/epaths.h \
1558         $(SRC)/fontset.h \
1559         $(SRC)/w32.h \
1560         $(SRC)/w32common.h \
1561         $(SRC)/w32heap.h \
1562         $(BUFFER_H) \
1563         $(CCL_H) \
1564         $(CHARACTER_H) \
1565         $(CHARSET_H) \
1566         $(CODING_H) \
1567         $(CONFIG_H) \
1568         $(DISPEXTERN_H) \
1569         $(FONT_H) \
1570         $(FRAME_H) \
1571         $(INTERVALS_H) \
1572         $(KEYBOARD_H) \
1573         $(LISP_H) \
1574         $(SYSTIME_H) \
1575         $(TERMHOOKS_H) \
1576         $(W32FONT_H) \
1577         $(W32TERM_H) \
1578         $(WINDOW_H)
1580 $(BLD)/w32menu.$(O) : \
1581         $(SRC)/w32menu.c \
1582         $(SRC)/blockinput.h \
1583         $(SRC)/keymap.h \
1584         $(SRC)/w32common.h \
1585         $(BUFFER_H) \
1586         $(CHARACTER_H) \
1587         $(CHARSET_H) \
1588         $(CODING_H) \
1589         $(CONFIG_H) \
1590         $(DISPEXTERN_H) \
1591         $(FRAME_H) \
1592         $(KEYBOARD_H) \
1593         $(LISP_H) \
1594         $(MENU_H) \
1595         $(TERMHOOKS_H) \
1596         $(W32TERM_H) \
1597         $(WINDOW_H)
1599 $(BLD)/w32term.$(O) : \
1600         $(SRC)/w32term.c \
1601         $(SRC)/blockinput.h \
1602         $(SRC)/disptab.h \
1603         $(SRC)/fontset.h \
1604         $(SRC)/keymap.h \
1605         $(SRC)/termchar.h \
1606         $(SRC)/termopts.h \
1607         $(SRC)/w32heap.h \
1608         $(NT_INC)/sys/stat.h \
1609         $(ATIMER_H) \
1610         $(BUFFER_H) \
1611         $(CCL_H) \
1612         $(CHARACTER_H) \
1613         $(CHARSET_H) \
1614         $(CODING_H) \
1615         $(CONFIG_H) \
1616         $(DISPEXTERN_H) \
1617         $(FONT_H) \
1618         $(FRAME_H) \
1619         $(INTERVALS_H) \
1620         $(KEYBOARD_H) \
1621         $(LISP_H) \
1622         $(PROCESS_H) \
1623         $(SYSTIME_H) \
1624         $(SYSTTY_H) \
1625         $(TERMHOOKS_H) \
1626         $(W32FONT_H) \
1627         $(W32TERM_H) \
1628         $(WINDOW_H)
1630 $(BLD)/w32select.$(O) : \
1631         $(SRC)/w32select.c \
1632         $(SRC)/blockinput.h \
1633         $(SRC)/composite.h \
1634         $(SRC)/w32common.h \
1635         $(CHARSET_H) \
1636         $(CODING_H) \
1637         $(CONFIG_H) \
1638         $(LISP_H) \
1639         $(W32TERM_H)
1641 $(BLD)/w32reg.$(O) : \
1642         $(SRC)/w32reg.c \
1643         $(SRC)/blockinput.h \
1644         $(CONFIG_H) \
1645         $(LISP_H) \
1646         $(W32TERM_H)
1648 $(BLD)/w32xfns.$(O) : \
1649         $(SRC)/w32xfns.c \
1650         $(SRC)/blockinput.h \
1651         $(SRC)/fontset.h \
1652         $(CHARSET_H) \
1653         $(CONFIG_H) \
1654         $(FRAME_H) \
1655         $(KEYBOARD_H) \
1656         $(LISP_H) \
1657         $(W32TERM_H)
1659 $(BLD)/w32font.$(O) : \
1660         $(SRC)/w32font.c \
1661         $(SRC)/fontset.h \
1662         $(CHARACTER_H) \
1663         $(CHARSET_H) \
1664         $(CODING_H) \
1665         $(CONFIG_H) \
1666         $(DISPEXTERN_H) \
1667         $(FONT_H) \
1668         $(FRAME_H) \
1669         $(LISP_H) \
1670         $(W32FONT_H) \
1671         $(W32TERM_H)
1673 $(BLD)/w32uniscribe.$(O) : \
1674         $(SRC)/w32uniscribe.c \
1675         $(SRC)/composite.h \
1676         $(SRC)/fontset.h \
1677         $(CHARACTER_H) \
1678         $(CHARSET_H) \
1679         $(CONFIG_H) \
1680         $(DISPEXTERN_H) \
1681         $(FONT_H) \
1682         $(FRAME_H) \
1683         $(LISP_H) \
1684         $(W32FONT_H) \
1685         $(W32TERM_H)
1687 # Each object file depends on stamp_BLD, because in parallel builds we must
1688 # make sure $(BLD) exists before starting compilations.
1690 $(OBJ0) $(OBJ1) $(OBJ2) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD