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