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