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