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