new version
[emacs.git] / src / makefile.nt
blob9ffd18d97ae1f95af25e9ee8b59f8e0676bdda29
1 #  Makefile for GNU Emacs on the Microsoft W32 API.
2 #  Copyright (c) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
3 #   Tim Fleehart (apollo@online.com)            17-Apr-92
4 #   Geoff Voelker (voelker@cs.washington.edu)   11-20-93
6 #  This file is part of GNU Emacs.
7 #  
8 #  GNU Emacs is free software; you can redistribute it and/or modify
9 #  it under the terms of the GNU General Public License as published by
10 #  the Free Software Foundation; either version 2, or (at your option)
11 #  any later version.
12 #  
13 #  GNU Emacs is distributed in the hope that it will be useful,
14 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
15 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 #  GNU General Public License for more details.
17 #  
18 #  You should have received a copy of the GNU General Public License
19 #  along with GNU Emacs; see the file COPYING.  If not, write to the
20 #  Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 #  Boston, MA 02111-1307, USA.
24
25 # Sets up the system dependent macros.
27 !include ..\nt\makefile.def
29 SUBSYSTEM=console
32 # HAVE_CONFIG_H is required by some generic gnu sources stuck into
33 # the emacs source tree.
35 LOCAL_FLAGS     = -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I..\nt\inc
37 EMACS           = $(BLD)\emacs.exe
38 TEMACS          = $(BLD)\temacs.exe
39 TLIB1           = $(BLD)\temacs1.lib
40 TLIB2           = $(BLD)\temacs2.lib
41 !IFDEF NTGUI
42 TLIBW32         = $(BLD)\temacw32.lib
43 !ELSE
44 TLIBW32         =
45 !ENDIF
46 TOBJ            = $(BLD)\emacs.obj
47 !if $(MSVCNT11)
48 TRES            = $(BLD)\emacs.res
49 !else
50 TRES            = $(BLD)\emacs.rbj
51 !endif
52 TLASTLIB        = $(BLD)\lastfile.lib
54 # see comments in allocate_heap in w32heap.c before changing any of the
55 # -stack, -heap, or -base settings.
56 LINK_FLAGS      = $(ARCH_LDFLAGS) -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -debug:full -debugtype:cv -machine:$(ARCH) -subsystem:$(SUBSYSTEM) -entry:_start -map:$(BLD)\temacs.map
59 # Split up the objects into two sets so that we don't run out of
60 # command line space when we link them into a library.
62 OBJ1 =  $(BLD)\abbrev.obj       \
63         $(BLD)\alloc.obj        \
64         $(BLD)\alloca.obj       \
65         $(BLD)\buffer.obj       \
66         $(BLD)\bytecode.obj     \
67         $(BLD)\callint.obj      \
68         $(BLD)\callproc.obj     \
69         $(BLD)\casefiddle.obj   \
70         $(BLD)\cm.obj           \
71         $(BLD)\cmds.obj         \
72         $(BLD)\data.obj         \
73         $(BLD)\dired.obj        \
74         $(BLD)\dispnew.obj      \
75         $(BLD)\doc.obj          \
76         $(BLD)\doprnt.obj       \
77         $(BLD)\editfns.obj      \
78         $(BLD)\eval.obj         \
79         $(BLD)\fileio.obj       \
80         $(BLD)\filelock.obj     \
81         $(BLD)\filemode.obj     \
82         $(BLD)\fns.obj          \
83         $(BLD)\indent.obj       \
84         $(BLD)\insdel.obj       \
85         $(BLD)\keyboard.obj     \
86         $(BLD)\keymap.obj       \
87         $(BLD)\lread.obj        \
88         $(BLD)\macros.obj       \
89         $(BLD)\marker.obj       \
90         $(BLD)\minibuf.obj      \
91         $(BLD)\mocklisp.obj
93 OBJ2 =  $(BLD)\w32.obj           \
94         $(BLD)\w32heap.obj       \
95         $(BLD)\w32inevt.obj      \
96         $(BLD)\w32proc.obj       \
97         $(BLD)\w32console.obj       \
98         $(BLD)\print.obj        \
99         $(BLD)\process.obj      \
100         $(BLD)\regex.obj        \
101         $(BLD)\scroll.obj       \
102         $(BLD)\search.obj       \
103         $(BLD)\syntax.obj       \
104         $(BLD)\sysdep.obj       \
105         $(BLD)\term.obj         \
106         $(BLD)\termcap.obj      \
107         $(BLD)\tparam.obj       \
108         $(BLD)\undo.obj         \
109         $(BLD)\unexw32.obj       \
110         $(BLD)\window.obj       \
111         $(BLD)\xdisp.obj        \
112         $(BLD)\casetab.obj      \
113         $(BLD)\floatfns.obj     \
114         $(BLD)\frame.obj        \
115         $(BLD)\gmalloc.obj      \
116         $(BLD)\intervals.obj    \
117         $(BLD)\ralloc.obj       \
118         $(BLD)\textprop.obj     \
119         $(BLD)\vm-limit.obj     \
120         $(BLD)\region-cache.obj \
121         $(BLD)\strftime.obj     \
122         $(BLD)\charset.obj      \
123         $(BLD)\coding.obj       \
124         $(BLD)\category.obj     \
125         $(BLD)\ccl.obj          \
126         $(BLD)\fontset.obj
128 WIN32OBJ = $(BLD)\w32term.obj   \
129            $(BLD)\w32xfns.obj   \
130            $(BLD)\w32fns.obj    \
131            $(BLD)\w32faces.obj  \
132            $(BLD)\w32select.obj \
133            $(BLD)\w32menu.obj   \
134            $(BLD)\w32reg.obj
136 LIBS =  $(TLIB1)        \
137         $(TLIB2)        \
138 !IFDEF NTGUI
139         $(TLIBW32)      \
140 !ENDIF
141         $(TLASTLIB)     \
142 !IFDEF NTGUI
143         gdi32.lib       \
144         comdlg32.lib    \
145 !ENDIF
146 #       libcmt.lib      \
147         $(BASE_LIBS)    \
148         $(ADVAPI32)     \
149         user32.lib      \
150         mpr.lib
153 # Build the executable and dump it.
155 all:            $(BLD) $(EMACS) 
158 # Headers we would preprocess if we could.
160 PREPARED_HEADERS = config.h paths.h
161 config.h:       ..\nt\$(CONFIG_H)
162                 $(CP) $** $@
163 paths.h:        ..\nt\paths.h
164                 $(CP) $** $@
167 # Make sure we have the DOC file in the right place.
169 DOC             = $(OBJDIR)\etc\DOC-X
170 $(DOC):;        cd ..\lib-src 
171                 - $(DEL) DOC-X
172                 $(MAKE) -f makefile.nt all
173                 cd ..\src
176 # The dumped executable
178 emacs:          $(EMACS)
179 $(EMACS):       $(PREPARED_HEADERS) $(DOC) $(TEMACS)
180                 cd $(BLD)
181                 temacs.exe -batch -l loadup dump
182                 cd ..\..
185 # The undumped executable
187 temacs:         $(BLD) $(TEMACS)
188 $(TEMACS):      $(TLIB1) $(TLIB2) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES)
189                 $(LINK) -out:$(TEMACS) $(LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
192 # The resource file.  NT 3.10 requires the use of cvtres; even though
193 # it is not necessary on later versions, it is still ok to use it.
195 $(TRES):        ..\nt\emacs.rc
196                 $(RC) -i..\nt -Fo$(BLD)\emacs.res $**
197 !if !$(MSVCNT11)
198                 $(CVTRES) -r -$(ARCH) -o $@ $(BLD)\emacs.res
199 !endif
202 # Build the library.  Split up the build into two phases...otherwise we 
203 # run out of command line space.
205 $(TLIB1):       $(OBJ1)
206                 @- $(AR) -out:$@ $**
207 $(TLIB2):       $(OBJ2)
208                 @- $(AR) -out:$@ $**
209 !IFDEF NTGUI
210 $(TLIBW32):     $(WIN32OBJ)
211                 @- $(AR) -out:$@ $**
212 !ENDIF
215 # Place lastfile.obj in its own library so that it can be loaded after
216 # the source libraries but before any system libraries.  Doing so defines
217 # the end of Emacs' data section portably across compilers and systems.
219 $(TLASTLIB):    $(BLD)\lastfile.obj
220                 @- $(AR) -out:$@ $**
223 # Object files.
225 .c{$(BLD)}.obj:
226                 $(CC) $(CFLAGS) -Fo$@ $<
229 # Assuming INSTALL_DIR is defined, build and install emacs in it.
231 install:        all
232                 - mkdir $(INSTALL_DIR)\bin
233                 $(CP) $(EMACS) $(INSTALL_DIR)\bin
236 # Maintenance
238 clean:;         - $(DEL) *~ *.pdb config.h paths.h
239                 - $(DEL_TREE) deleted
240                 - $(DEL_TREE) $(OBJDIR)
243 # These files are the ones that compile conditionally on CANNOT_DUMP...
244 # this target is mostly used for debugging.
246 cleandump:;     cd $(BLD)
247                 - $(DEL) callproc.obj data.obj dispnew.obj doc.obj editfns.obj emacs.obj lread.obj process.obj sysdep.obj term.obj w32heap.obj unexw32.obj
248                 cd ..\..
251 ### DEPENDENCIES ###
253 EMACS_ROOT      = ..
254 SRC             = .
256 $(BLD)\abbrev.obj : \
257         $(SRC)\abbrev.c \
258         $(EMACS_ROOT)\src\s\ms-w32.h \
259         $(EMACS_ROOT)\src\m\intel386.h \
260         $(EMACS_ROOT)\src\config.h \
261         $(SRC)\lisp.h \
262         $(SRC)\commands.h \
263         $(SRC)\buffer.h \
264         $(SRC)\window.h
266 $(BLD)\alloc.obj : \
267         $(SRC)\alloc.c \
268         $(EMACS_ROOT)\src\s\ms-w32.h \
269         $(EMACS_ROOT)\src\m\intel386.h \
270         $(EMACS_ROOT)\src\config.h \
271         $(SRC)\lisp.h \
272         $(SRC)\dispextern.h \
273         $(SRC)\intervals.h \
274         $(SRC)\puresize.h \
275         $(SRC)\buffer.h \
276         $(SRC)\window.h \
277         $(SRC)\frame.h \
278         $(SRC)\blockinput.h \
279         $(SRC)\syssignal.h
281 $(BLD)\alloca.obj : \
282         $(SRC)\alloca.c \
283         $(EMACS_ROOT)\src\s\ms-w32.h \
284         $(EMACS_ROOT)\src\m\intel386.h \
285         $(EMACS_ROOT)\src\config.h \
286         $(SRC)\s\ms-w32.h \
287         $(SRC)\m\intel386.h \
288         $(SRC)\config.h \
289         $(SRC)\blockinput.h
291 $(BLD)\buffer.obj : \
292         $(SRC)\buffer.c \
293         $(EMACS_ROOT)\nt\inc\sys\param.h \
294         $(EMACS_ROOT)\src\s\ms-w32.h \
295         $(EMACS_ROOT)\src\m\intel386.h \
296         $(EMACS_ROOT)\src\config.h \
297         $(SRC)\lisp.h \
298         $(SRC)\dispextern.h \
299         $(SRC)\intervals.h \
300         $(SRC)\window.h \
301         $(SRC)\commands.h \
302         $(SRC)\buffer.h \
303         $(SRC)\indent.h \
304         $(SRC)\blockinput.h \
305         $(SRC)\region-cache.h
307 $(BLD)\bytecode.obj : \
308         $(SRC)\bytecode.c \
309         $(SRC)\lisp.h \
310         $(SRC)\buffer.h \
311         $(SRC)\syntax.h
313 $(BLD)\callint.obj : \
314         $(SRC)\callint.c \
315         $(SRC)\lisp.h \
316         $(SRC)\buffer.h \
317         $(SRC)\commands.h \
318         $(SRC)\keyboard.h \
319         $(SRC)\window.h \
320         $(SRC)\mocklisp.h
322 $(BLD)\callproc.obj : \
323         $(SRC)\callproc.c \
324         $(EMACS_ROOT)\src\s\ms-w32.h \
325         $(EMACS_ROOT)\src\m\intel386.h \
326         $(EMACS_ROOT)\src\config.h \
327         $(SRC)\msdos.h \
328         $(EMACS_ROOT)\nt\inc\sys\param.h \
329         $(SRC)\lisp.h \
330         $(SRC)\commands.h \
331         $(SRC)\buffer.h \
332         $(SRC)\process.h \
333         $(SRC)\syssignal.h \
334         $(EMACS_ROOT)\nt\inc\sys\ioctl.h \
335         $(EMACS_ROOT)\nt\inc\sys\file.h \
336         $(SRC)\systty.h
338 $(BLD)\casefiddle.obj : \
339         $(SRC)\casefiddle.c \
340         $(EMACS_ROOT)\src\s\ms-w32.h \
341         $(EMACS_ROOT)\src\m\intel386.h \
342         $(EMACS_ROOT)\src\config.h \
343         $(SRC)\lisp.h \
344         $(SRC)\buffer.h \
345         $(SRC)\commands.h \
346         $(SRC)\syntax.h
347         $(CC) $(CFLAGS) -Fo$@ casefiddle.c
349 $(BLD)\casetab.obj : \
350         $(SRC)\casetab.c \
351         $(EMACS_ROOT)\src\s\ms-w32.h \
352         $(EMACS_ROOT)\src\m\intel386.h \
353         $(EMACS_ROOT)\src\config.h \
354         $(SRC)\lisp.h \
355         $(SRC)\buffer.h
357 $(BLD)\cm.obj : \
358         $(SRC)\cm.c \
359         $(EMACS_ROOT)\src\s\ms-w32.h \
360         $(EMACS_ROOT)\src\m\intel386.h \
361         $(EMACS_ROOT)\src\config.h \
362         $(SRC)\cm.h \
363         $(SRC)\termhooks.h
365 $(BLD)\cmds.obj : \
366         $(SRC)\cmds.c \
367         $(EMACS_ROOT)\src\s\ms-w32.h \
368         $(EMACS_ROOT)\src\m\intel386.h \
369         $(EMACS_ROOT)\src\config.h \
370         $(SRC)\lisp.h \
371         $(SRC)\commands.h \
372         $(SRC)\buffer.h \
373         $(SRC)\syntax.h
375 $(BLD)\data.obj : \
376         $(SRC)\data.c \
377         $(EMACS_ROOT)\src\s\ms-w32.h \
378         $(EMACS_ROOT)\src\m\intel386.h \
379         $(EMACS_ROOT)\src\config.h \
380         $(SRC)\lisp.h \
381         $(SRC)\puresize.h \
382         $(SRC)\buffer.h \
383         $(SRC)\syssignal.h
385 $(BLD)\dired.obj : \
386         $(SRC)\dired.c \
387         $(EMACS_ROOT)\src\s\ms-w32.h \
388         $(EMACS_ROOT)\src\m\intel386.h \
389         $(EMACS_ROOT)\src\config.h \
390         $(SRC)\vmsdir.h \
391         $(SRC)\ndir.h \
392         $(SRC)\lisp.h \
393         $(SRC)\buffer.h \
394         $(SRC)\commands.h \
395         $(SRC)\regex.h
397 $(BLD)\dispnew.obj : \
398         $(SRC)\dispnew.c \
399         $(EMACS_ROOT)\src\s\ms-w32.h \
400         $(EMACS_ROOT)\src\m\intel386.h \
401         $(EMACS_ROOT)\src\config.h \
402         $(SRC)\lisp.h \
403         $(SRC)\termchar.h \
404         $(SRC)\termopts.h \
405         $(SRC)\termhooks.h \
406         $(SRC)\cm.h \
407         $(SRC)\buffer.h \
408         $(SRC)\frame.h \
409         $(SRC)\window.h \
410         $(SRC)\commands.h \
411         $(SRC)\disptab.h \
412         $(SRC)\indent.h \
413         $(SRC)\dispextern.h \
414         $(SRC)\intervals.h \
415         $(EMACS_ROOT)\nt\inc\sys\ioctl.h \
416         $(EMACS_ROOT)\nt\inc\sys\file.h \
417         $(SRC)\systty.h \
418         $(SRC)\w32term.h \
419         $(SRC)\xterm.h \
420         $(SRC)\vmstime.h \
421         $(SRC)\systime.h
423 $(BLD)\doc.obj : \
424         $(SRC)\doc.c \
425         $(EMACS_ROOT)\src\s\ms-w32.h \
426         $(EMACS_ROOT)\src\m\intel386.h \
427         $(EMACS_ROOT)\src\config.h \
428         $(EMACS_ROOT)\nt\inc\sys\file.h \
429         $(SRC)\lisp.h \
430         $(SRC)\buffer.h \
431         $(SRC)\keyboard.h
433 $(BLD)\doprnt.obj : \
434         $(SRC)\doprnt.c \
435         $(EMACS_ROOT)\src\s\ms-w32.h \
436         $(EMACS_ROOT)\src\m\intel386.h \
437         $(EMACS_ROOT)\src\config.h
439 $(BLD)\dosfns.obj : \
440         $(SRC)\dosfns.c \
441         $(EMACS_ROOT)\src\s\ms-w32.h \
442         $(EMACS_ROOT)\src\m\intel386.h \
443         $(EMACS_ROOT)\src\config.h \
444         $(SRC)\lisp.h \
445         $(SRC)\buffer.h \
446         $(SRC)\termchar.h \
447         $(SRC)\termhooks.h \
448         $(SRC)\frame.h \
449         $(SRC)\dosfns.h \
450         $(SRC)\msdos.h
452 $(BLD)\editfns.obj : \
453         $(SRC)\editfns.c \
454         $(EMACS_ROOT)\src\s\ms-w32.h \
455         $(EMACS_ROOT)\src\m\intel386.h \
456         $(EMACS_ROOT)\src\config.h \
457         $(SRC)\uaf.h \
458         $(SRC)\vms-pwd.h \
459         $(EMACS_ROOT)\nt\inc\pwd.h \
460         $(SRC)\lisp.h \
461         $(SRC)\dispextern.h \
462         $(SRC)\intervals.h \
463         $(SRC)\buffer.h \
464         $(SRC)\window.h \
465         $(SRC)\vmstime.h \
466         $(SRC)\systime.h
468 $(BLD)\emacs.obj : \
469         $(SRC)\emacs.c \
470         $(EMACS_ROOT)\src\s\ms-w32.h \
471         $(EMACS_ROOT)\src\m\intel386.h \
472         $(EMACS_ROOT)\src\config.h \
473         $(SRC)\lisp.h \
474         $(SRC)\commands.h \
475         $(SRC)\dispextern.h \
476         $(SRC)\intervals.h \
477         $(EMACS_ROOT)\nt\inc\sys\ioctl.h \
478         $(EMACS_ROOT)\nt\inc\sys\file.h \
479         $(SRC)\systty.h \
480         $(SRC)\syssignal.h \
481         $(SRC)\process.h
483 $(BLD)\eval.obj : \
484         $(SRC)\eval.c \
485         $(EMACS_ROOT)\src\s\ms-w32.h \
486         $(EMACS_ROOT)\src\m\intel386.h \
487         $(EMACS_ROOT)\src\config.h \
488         $(SRC)\lisp.h \
489         $(SRC)\blockinput.h \
490         $(SRC)\commands.h \
491         $(SRC)\keyboard.h
493 $(BLD)\fileio.obj : \
494         $(SRC)\fileio.c \
495         $(EMACS_ROOT)\src\s\ms-w32.h \
496         $(EMACS_ROOT)\src\m\intel386.h \
497         $(EMACS_ROOT)\src\config.h \
498         $(SRC)\uaf.h \
499         $(SRC)\vms-pwd.h \
500         $(EMACS_ROOT)\nt\inc\pwd.h \
501         $(SRC)\msdos.h \
502         $(EMACS_ROOT)\nt\inc\sys\param.h \
503         $(SRC)\vmsdir.h \
504         $(SRC)\lisp.h \
505         $(SRC)\dispextern.h \
506         $(SRC)\intervals.h \
507         $(SRC)\buffer.h \
508         $(SRC)\window.h \
509         $(EMACS_ROOT)\nt\inc\sys\file.h \
510         $(SRC)\vmstime.h \
511         $(SRC)\systime.h
513 $(BLD)\filelock.obj : \
514         $(SRC)\filelock.c \
515         $(EMACS_ROOT)\src\s\ms-w32.h \
516         $(EMACS_ROOT)\src\m\intel386.h \
517         $(EMACS_ROOT)\src\config.h \
518         $(SRC)\uaf.h \
519         $(SRC)\vms-pwd.h \
520         $(EMACS_ROOT)\nt\inc\pwd.h \
521         $(EMACS_ROOT)\nt\inc\sys\file.h \
522         $(SRC)\lisp.h \
523         $(EMACS_ROOT)\src\paths.h \
524         $(SRC)\buffer.h \
525         $(SRC)\vmsdir.h \
526         $(SRC)\ndir.h
528 $(BLD)\filemode.obj : \
529         $(SRC)\filemode.c \
530         $(EMACS_ROOT)\src\s\ms-w32.h \
531         $(EMACS_ROOT)\src\m\intel386.h \
532         $(EMACS_ROOT)\src\config.h \
533         $(SRC)\s\ms-w32.h \
534         $(SRC)\m\intel386.h \
535         $(SRC)\config.h
537 $(BLD)\floatfns.obj : \
538         $(SRC)\floatfns.c \
539         $(EMACS_ROOT)\src\s\ms-w32.h \
540         $(EMACS_ROOT)\src\m\intel386.h \
541         $(EMACS_ROOT)\src\config.h \
542         $(SRC)\lisp.h \
543         $(SRC)\syssignal.h
545 $(BLD)\fns.obj : \
546         $(SRC)\fns.c \
547         $(EMACS_ROOT)\src\s\ms-w32.h \
548         $(EMACS_ROOT)\src\m\intel386.h \
549         $(EMACS_ROOT)\src\config.h \
550         $(SRC)\lisp.h \
551         $(SRC)\commands.h \
552         $(SRC)\buffer.h \
553         $(SRC)\keyboard.h \
554         $(SRC)\dispextern.h \
555         $(SRC)\intervals.h
557 $(BLD)\frame.obj : \
558         $(SRC)\frame.c \
559         $(EMACS_ROOT)\src\s\ms-w32.h \
560         $(EMACS_ROOT)\src\m\intel386.h \
561         $(EMACS_ROOT)\src\config.h \
562         $(SRC)\lisp.h \
563         $(SRC)\frame.h \
564         $(SRC)\termhooks.h \
565         $(SRC)\window.h \
566         $(SRC)\buffer.h \
567         $(SRC)\commands.h \
568         $(SRC)\keyboard.h
570 $(BLD)\getloadavg.obj : \
571         $(SRC)\getloadavg.c \
572         $(EMACS_ROOT)\nt\inc\sys\param.h \
573         $(EMACS_ROOT)\src\s\ms-w32.h \
574         $(EMACS_ROOT)\src\m\intel386.h \
575         $(EMACS_ROOT)\src\config.h \
576         $(SRC)\s\ms-w32.h \
577         $(SRC)\m\intel386.h \
578         $(SRC)\config.h \
579         $(EMACS_ROOT)\nt\inc\sys\file.h
581 $(BLD)\gmalloc.obj : \
582         $(SRC)\gmalloc.c \
583         $(EMACS_ROOT)\src\s\ms-w32.h \
584         $(EMACS_ROOT)\src\m\intel386.h \
585         $(EMACS_ROOT)\src\config.h \
586         $(EMACS_ROOT)\nt\inc\sys\param.h \
587         $(SRC)\getpagesize.h
588         $(CC) $(CFLAGS) -D__STDC__ -Fo$@ gmalloc.c
590 $(BLD)\hftctl.obj : \
591         $(SRC)\hftctl.c \
592         $(EMACS_ROOT)\src\s\ms-w32.h \
593         $(EMACS_ROOT)\src\m\intel386.h \
594         $(EMACS_ROOT)\src\config.h \
595         $(EMACS_ROOT)\nt\inc\sys\ioctl.h
597 $(BLD)\indent.obj : \
598         $(SRC)\indent.c \
599         $(EMACS_ROOT)\src\s\ms-w32.h \
600         $(EMACS_ROOT)\src\m\intel386.h \
601         $(EMACS_ROOT)\src\config.h \
602         $(SRC)\lisp.h \
603         $(SRC)\buffer.h \
604         $(SRC)\indent.h \
605         $(SRC)\frame.h \
606         $(SRC)\window.h \
607         $(SRC)\termchar.h \
608         $(SRC)\termopts.h \
609         $(SRC)\disptab.h \
610         $(SRC)\dispextern.h \
611         $(SRC)\intervals.h \
612         $(SRC)\region-cache.h
614 $(BLD)\insdel.obj : \
615         $(SRC)\insdel.c \
616         $(EMACS_ROOT)\src\s\ms-w32.h \
617         $(EMACS_ROOT)\src\m\intel386.h \
618         $(EMACS_ROOT)\src\config.h \
619         $(SRC)\lisp.h \
620         $(SRC)\dispextern.h \
621         $(SRC)\intervals.h \
622         $(SRC)\buffer.h \
623         $(SRC)\window.h \
624         $(SRC)\blockinput.h
626 $(BLD)\intervals.obj : \
627         $(SRC)\intervals.c \
628         $(EMACS_ROOT)\src\s\ms-w32.h \
629         $(EMACS_ROOT)\src\m\intel386.h \
630         $(EMACS_ROOT)\src\config.h \
631         $(SRC)\lisp.h \
632         $(SRC)\dispextern.h \
633         $(SRC)\intervals.h \
634         $(SRC)\buffer.h \
635         $(SRC)\puresize.h
636         $(CC) $(CFLAGS) -Fo$@ intervals.c
638 $(BLD)\keyboard.obj : \
639         $(SRC)\keyboard.c \
640         $(EMACS_ROOT)\src\s\ms-w32.h \
641         $(EMACS_ROOT)\src\m\intel386.h \
642         $(EMACS_ROOT)\src\config.h \
643         $(SRC)\termchar.h \
644         $(SRC)\termopts.h \
645         $(SRC)\lisp.h \
646         $(SRC)\termhooks.h \
647         $(SRC)\macros.h \
648         $(SRC)\frame.h \
649         $(SRC)\window.h \
650         $(SRC)\commands.h \
651         $(SRC)\buffer.h \
652         $(SRC)\disptab.h \
653         $(SRC)\keyboard.h \
654         $(SRC)\dispextern.h \
655         $(SRC)\intervals.h \
656         $(SRC)\blockinput.h \
657         $(SRC)\msdos.h \
658         $(SRC)\syssignal.h \
659         $(EMACS_ROOT)\nt\inc\sys\ioctl.h \
660         $(EMACS_ROOT)\nt\inc\sys\file.h \
661         $(SRC)\systty.h \
662         $(SRC)\w32term.h \
663         $(SRC)\xterm.h \
664         $(SRC)\vmstime.h \
665         $(SRC)\systime.h
667 $(BLD)\keymap.obj : \
668         $(SRC)\keymap.c \
669         $(EMACS_ROOT)\src\s\ms-w32.h \
670         $(EMACS_ROOT)\src\m\intel386.h \
671         $(EMACS_ROOT)\src\config.h \
672         $(SRC)\lisp.h \
673         $(SRC)\commands.h \
674         $(SRC)\buffer.h \
675         $(SRC)\keyboard.h \
676         $(SRC)\termhooks.h \
677         $(SRC)\blockinput.h
679 $(BLD)\lastfile.obj : \
680         $(SRC)\lastfile.c
682 $(BLD)\lread.obj : \
683         $(SRC)\lread.c \
684         $(EMACS_ROOT)\src\s\ms-w32.h \
685         $(EMACS_ROOT)\src\m\intel386.h \
686         $(EMACS_ROOT)\src\config.h \
687         $(EMACS_ROOT)\nt\inc\sys\file.h \
688         $(SRC)\lisp.h \
689         $(SRC)\buffer.h \
690         $(EMACS_ROOT)\src\paths.h \
691         $(SRC)\commands.h \
692         $(SRC)\keyboard.h \
693         $(SRC)\termhooks.h \
694         $(SRC)\msdos.h
696 $(BLD)\macros.obj : \
697         $(SRC)\macros.c \
698         $(EMACS_ROOT)\src\s\ms-w32.h \
699         $(EMACS_ROOT)\src\m\intel386.h \
700         $(EMACS_ROOT)\src\config.h \
701         $(SRC)\lisp.h \
702         $(SRC)\macros.h \
703         $(SRC)\commands.h \
704         $(SRC)\buffer.h \
705         $(SRC)\window.h
707 $(BLD)\marker.obj : \
708         $(SRC)\marker.c \
709         $(EMACS_ROOT)\src\s\ms-w32.h \
710         $(EMACS_ROOT)\src\m\intel386.h \
711         $(EMACS_ROOT)\src\config.h \
712         $(SRC)\lisp.h \
713         $(SRC)\buffer.h
715 $(BLD)\minibuf.obj : \
716         $(SRC)\minibuf.c \
717         $(EMACS_ROOT)\src\s\ms-w32.h \
718         $(EMACS_ROOT)\src\m\intel386.h \
719         $(EMACS_ROOT)\src\config.h \
720         $(SRC)\lisp.h \
721         $(SRC)\commands.h \
722         $(SRC)\buffer.h \
723         $(SRC)\dispextern.h \
724         $(SRC)\frame.h \
725         $(SRC)\window.h \
726         $(SRC)\syntax.h
728 $(BLD)\mocklisp.obj : \
729         $(SRC)\mocklisp.c \
730         $(EMACS_ROOT)\src\s\ms-w32.h \
731         $(EMACS_ROOT)\src\m\intel386.h \
732         $(EMACS_ROOT)\src\config.h \
733         $(SRC)\lisp.h \
734         $(SRC)\buffer.h
736 $(BLD)\w32.obj : \
737         $(SRC)\w32.c \
738         $(SRC)\w32.h \
739         $(SRC)\s\ms-w32.h \
740         $(SRC)\m\intel386.h \
741         $(SRC)\config.h \
742         $(SRC)\lisp.h \
743         $(EMACS_ROOT)\nt\inc\pwd.h \
744         $(SRC)\w32heap.h
746 $(BLD)\w32heap.obj : \
747         $(SRC)\w32heap.c \
748         $(SRC)\w32heap.h
750 $(BLD)\w32inevt.obj : \
751         $(SRC)\w32inevt.c \
752         $(SRC)\s\ms-w32.h \
753         $(SRC)\m\intel386.h \
754         $(SRC)\config.h \
755         $(SRC)\lisp.h \
756         $(SRC)\frame.h \
757         $(SRC)\blockinput.h \
758         $(SRC)\termhooks.h
760 $(BLD)\w32proc.obj : \
761         $(SRC)\w32proc.c \
762         $(SRC)\s\ms-w32.h \
763         $(SRC)\m\intel386.h \
764         $(SRC)\config.h \
765         $(SRC)\lisp.h \
766         $(SRC)\w32.h \
767         $(SRC)\vmstime.h \
768         $(SRC)\systime.h
770 $(BLD)\w32console.obj : \
771         $(SRC)\w32console.c \
772         $(SRC)\s\ms-w32.h \
773         $(SRC)\m\intel386.h \
774         $(SRC)\config.h \
775         $(SRC)\lisp.h \
776         $(SRC)\frame.h \
777         $(SRC)\disptab.h \
778         $(SRC)\termhooks.h \
779         $(SRC)\w32inevt.h
781 $(BLD)\prefix-args.obj : \
782         $(SRC)\prefix-args.c
784 $(BLD)\print.obj : \
785         $(SRC)\print.c \
786         $(EMACS_ROOT)\src\s\ms-w32.h \
787         $(EMACS_ROOT)\src\m\intel386.h \
788         $(EMACS_ROOT)\src\config.h \
789         $(SRC)\lisp.h \
790         $(SRC)\buffer.h \
791         $(SRC)\frame.h \
792         $(SRC)\window.h \
793         $(SRC)\process.h \
794         $(SRC)\termchar.h \
795         $(SRC)\dispextern.h \
796         $(SRC)\intervals.h
798 $(BLD)\process.obj : \
799         $(SRC)\process.c \
800         $(EMACS_ROOT)\src\s\ms-w32.h \
801         $(EMACS_ROOT)\src\m\intel386.h \
802         $(EMACS_ROOT)\src\config.h \
803         $(EMACS_ROOT)\nt\inc\sys\ioctl.h \
804         $(EMACS_ROOT)\nt\inc\sys\file.h \
805         $(SRC)\systty.h \
806         $(SRC)\window.h \
807         $(SRC)\buffer.h \
808         $(SRC)\process.h \
809         $(SRC)\termhooks.h \
810         $(SRC)\commands.h \
811         $(SRC)\frame.h \
812         $(SRC)\syssignal.h \
813         $(SRC)\vmsproc.h \
814         $(SRC)\syswait.h \
815         $(SRC)\lisp.h \
816         $(SRC)\vmstime.h \
817         $(SRC)\systime.h \
818         $(SRC)\termopts.h
820 $(BLD)\ralloc.obj : \
821         $(SRC)\ralloc.c \
822         $(EMACS_ROOT)\src\s\ms-w32.h \
823         $(EMACS_ROOT)\src\m\intel386.h \
824         $(EMACS_ROOT)\src\config.h \
825         $(SRC)\lisp.h \
826         $(SRC)\s\ms-w32.h \
827         $(SRC)\m\intel386.h \
828         $(SRC)\config.h \
829         $(EMACS_ROOT)\nt\inc\sys\param.h \
830         $(SRC)\getpagesize.h
832 $(BLD)\regex.obj : \
833         $(SRC)\regex.c \
834         $(EMACS_ROOT)\src\s\ms-w32.h \
835         $(EMACS_ROOT)\src\m\intel386.h \
836         $(EMACS_ROOT)\src\config.h \
837         $(SRC)\s\ms-w32.h \
838         $(SRC)\m\intel386.h \
839         $(SRC)\config.h \
840         $(SRC)\lisp.h \
841         $(SRC)\buffer.h \
842         $(SRC)\syntax.h \
843         $(SRC)\regex.h
845 $(BLD)\region-cache.obj : \
846         $(SRC)\region-cache.c \
847         $(EMACS_ROOT)\src\s\ms-w32.h \
848         $(EMACS_ROOT)\src\m\intel386.h \
849         $(EMACS_ROOT)\src\config.h \
850         $(SRC)\lisp.h \
851         $(SRC)\buffer.h \
852         $(SRC)\region-cache.h
854 $(BLD)\scroll.obj : \
855         $(SRC)\scroll.c \
856         $(EMACS_ROOT)\src\s\ms-w32.h \
857         $(EMACS_ROOT)\src\m\intel386.h \
858         $(EMACS_ROOT)\src\config.h \
859         $(SRC)\termchar.h \
860         $(SRC)\lisp.h \
861         $(SRC)\dispextern.h \
862         $(SRC)\frame.h
864 $(BLD)\search.obj : \
865         $(SRC)\search.c \
866         $(EMACS_ROOT)\src\s\ms-w32.h \
867         $(EMACS_ROOT)\src\m\intel386.h \
868         $(EMACS_ROOT)\src\config.h \
869         $(SRC)\lisp.h \
870         $(SRC)\syntax.h \
871         $(SRC)\buffer.h \
872         $(SRC)\commands.h \
873         $(SRC)\blockinput.h \
874         $(SRC)\regex.h \
875         $(SRC)\region-cache.h
877 $(BLD)\strftime.obj : \
878         $(SRC)\strftime.c \
879         $(EMACS_ROOT)\src\s\ms-w32.h \
880         $(EMACS_ROOT)\src\m\intel386.h \
881         $(EMACS_ROOT)\src\config.h
882         $(CC) $(CFLAGS) -Dstrftime=emacs_strftime -Fo$@ strftime.c
884 $(BLD)\sunfns.obj : \
885         $(SRC)\sunfns.c \
886         $(EMACS_ROOT)\src\s\ms-w32.h \
887         $(EMACS_ROOT)\src\m\intel386.h \
888         $(EMACS_ROOT)\src\config.h \
889         $(SRC)\lisp.h \
890         $(SRC)\window.h \
891         $(SRC)\buffer.h \
892         $(SRC)\termhooks.h
894 $(BLD)\syntax.obj : \
895         $(SRC)\syntax.c \
896         $(EMACS_ROOT)\src\s\ms-w32.h \
897         $(EMACS_ROOT)\src\m\intel386.h \
898         $(EMACS_ROOT)\src\config.h \
899         $(SRC)\lisp.h \
900         $(SRC)\commands.h \
901         $(SRC)\buffer.h \
902         $(SRC)\syntax.h
904 $(BLD)\sysdep.obj : \
905         $(SRC)\sysdep.c \
906         $(EMACS_ROOT)\src\s\ms-w32.h \
907         $(EMACS_ROOT)\src\m\intel386.h \
908         $(EMACS_ROOT)\src\config.h \
909         $(SRC)\lisp.h \
910         $(SRC)\blockinput.h \
911         $(SRC)\dosfns.h \
912         $(SRC)\msdos.h \
913         $(EMACS_ROOT)\nt\inc\sys\param.h \
914         $(EMACS_ROOT)\nt\inc\sys\file.h \
915         $(EMACS_ROOT)\nt\inc\sys\ioctl.h \
916         $(EMACS_ROOT)\nt\inc\sys\file.h \
917         $(SRC)\systty.h \
918         $(SRC)\vmsproc.h \
919         $(SRC)\syswait.h \
920         $(SRC)\frame.h \
921         $(SRC)\window.h \
922         $(SRC)\termhooks.h \
923         $(SRC)\termchar.h \
924         $(SRC)\termopts.h \
925         $(SRC)\dispextern.h \
926         $(SRC)\process.h \
927         $(SRC)\vmsdir.h \
928         $(SRC)\ndir.h \
929         $(SRC)\syssignal.h \
930         $(SRC)\vmstime.h \
931         $(SRC)\systime.h \
932         $(SRC)\uaf.h \
933         $(SRC)\vms-pwd.h \
934         $(EMACS_ROOT)\src\acldef.h \
935         $(EMACS_ROOT)\src\chpdef.h
937 $(BLD)\term.obj : \
938         $(SRC)\term.c \
939         $(EMACS_ROOT)\src\s\ms-w32.h \
940         $(EMACS_ROOT)\src\m\intel386.h \
941         $(EMACS_ROOT)\src\config.h \
942         $(SRC)\termchar.h \
943         $(SRC)\termopts.h \
944         $(SRC)\cm.h \
945         $(SRC)\lisp.h \
946         $(SRC)\frame.h \
947         $(SRC)\disptab.h \
948         $(SRC)\termhooks.h \
949         $(SRC)\keyboard.h
951 $(BLD)\termcap.obj : \
952         $(SRC)\termcap.c \
953         $(EMACS_ROOT)\src\s\ms-w32.h \
954         $(EMACS_ROOT)\src\m\intel386.h \
955         $(EMACS_ROOT)\src\config.h \
956         $(EMACS_ROOT)\nt\inc\sys\file.h
958 $(BLD)\terminfo.obj : \
959         $(SRC)\terminfo.c
961 $(BLD)\textprop.obj : \
962         $(SRC)\textprop.c \
963         $(EMACS_ROOT)\src\s\ms-w32.h \
964         $(EMACS_ROOT)\src\m\intel386.h \
965         $(EMACS_ROOT)\src\config.h \
966         $(SRC)\lisp.h \
967         $(SRC)\dispextern.h \
968         $(SRC)\intervals.h \
969         $(SRC)\buffer.h \
970         $(SRC)\window.h
972 $(BLD)\tparam.obj : \
973         $(SRC)\tparam.c \
974         $(EMACS_ROOT)\src\s\ms-w32.h \
975         $(EMACS_ROOT)\src\m\intel386.h \
976         $(EMACS_ROOT)\src\config.h
978 $(BLD)\undo.obj : \
979         $(SRC)\undo.c \
980         $(EMACS_ROOT)\src\s\ms-w32.h \
981         $(EMACS_ROOT)\src\m\intel386.h \
982         $(EMACS_ROOT)\src\config.h \
983         $(SRC)\lisp.h \
984         $(SRC)\buffer.h \
985         $(SRC)\commands.h
987 $(BLD)\unexw32.obj : \
988         $(SRC)\unexw32.c \
989         $(SRC)\w32heap.h
991 $(BLD)\vm-limit.obj : \
992         $(SRC)\vm-limit.c \
993         $(EMACS_ROOT)\src\s\ms-w32.h \
994         $(EMACS_ROOT)\src\m\intel386.h \
995         $(EMACS_ROOT)\src\config.h \
996         $(SRC)\mem-limits.h     
998 $(BLD)\widget.obj : \
999         $(SRC)\widget.c \
1000         $(EMACS_ROOT)\src\s\ms-w32.h \
1001         $(EMACS_ROOT)\src\m\intel386.h \
1002         $(EMACS_ROOT)\src\config.h \
1003         $(SRC)\lisp.h \
1004         $(SRC)\xterm.h \
1005         $(SRC)\frame.h \
1006         $(SRC)\dispextern.h \
1007         $(SRC)\widget.h \
1008         $(SRC)\widgetprv.h
1010 $(BLD)\window.obj : \
1011         $(SRC)\window.c \
1012         $(EMACS_ROOT)\src\s\ms-w32.h \
1013         $(EMACS_ROOT)\src\m\intel386.h \
1014         $(EMACS_ROOT)\src\config.h \
1015         $(SRC)\lisp.h \
1016         $(SRC)\buffer.h \
1017         $(SRC)\frame.h \
1018         $(SRC)\window.h \
1019         $(SRC)\commands.h \
1020         $(SRC)\indent.h \
1021         $(SRC)\termchar.h \
1022         $(SRC)\disptab.h \
1023         $(SRC)\keyboard.h
1025 $(BLD)\xdisp.obj : \
1026         $(SRC)\xdisp.c \
1027         $(EMACS_ROOT)\src\s\ms-w32.h \
1028         $(EMACS_ROOT)\src\m\intel386.h \
1029         $(EMACS_ROOT)\src\config.h \
1030         $(SRC)\lisp.h \
1031         $(SRC)\frame.h \
1032         $(SRC)\window.h \
1033         $(SRC)\termchar.h \
1034         $(SRC)\buffer.h \
1035         $(SRC)\indent.h \
1036         $(SRC)\commands.h \
1037         $(SRC)\macros.h \
1038         $(SRC)\disptab.h \
1039         $(SRC)\termhooks.h \
1040         $(SRC)\dispextern.h \
1041         $(SRC)\intervals.h
1043 $(BLD)\w32faces.obj: \
1044         $(EMACS_ROOT)\src\s\ms-w32.h \
1045         $(EMACS_ROOT)\src\m\intel386.h \
1046         $(EMACS_ROOT)\src\config.h \
1047         $(SRC)\w32faces.c \
1048         $(SRC)\lisp.h \
1049         $(SRC)\w32term.h \
1050         $(SRC)\w32gui.h \
1051         $(SRC)\buffer.h \
1052         $(SRC)\dispextern.h \
1053         $(SRC)\frame.h \
1054         $(SRC)\blockinput.h \
1055         $(SRC)\window.h \
1056         $(SRC)\intervals.h
1058 $(BLD)\w32fns.obj: \
1059         $(EMACS_ROOT)\src\s\ms-w32.h \
1060         $(EMACS_ROOT)\src\m\intel386.h \
1061         $(EMACS_ROOT)\src\config.h \
1062         $(SRC)\w32fns.c \
1063         $(SRC)\lisp.h \
1064         $(SRC)\w32term.h \
1065         $(SRC)\w32gui.h \
1066         $(SRC)\frame.h \
1067         $(SRC)\window.h \
1068         $(SRC)\buffer.h \
1069         $(SRC)\dispextern.h \
1070         $(SRC)\keyboard.h \
1071         $(SRC)\blockinput.h \
1072         $(SRC)\paths.h \
1073         $(SRC)\w32heap.h \
1074         $(SRC)\termhooks.h
1076 $(BLD)\w32menu.obj: \
1077         $(EMACS_ROOT)\src\s\ms-w32.h \
1078         $(EMACS_ROOT)\src\m\intel386.h \
1079         $(EMACS_ROOT)\src\config.h \
1080         $(SRC)\w32menu.c \
1081         $(SRC)\lisp.h \
1082         $(SRC)\termhooks.h \
1083         $(SRC)\frame.h \
1084         $(SRC)\window.h \
1085         $(SRC)\keyboard.h \
1086         $(SRC)\blockinput.h \
1087         $(SRC)\buffer.h
1089 $(BLD)\w32term.obj: \
1090         $(EMACS_ROOT)\src\s\ms-w32.h \
1091         $(EMACS_ROOT)\src\m\intel386.h \
1092         $(EMACS_ROOT)\src\config.h \
1093         $(SRC)\w32term.c \
1094         $(SRC)\lisp.h \
1095         $(SRC)\blockinput.h \
1096         $(SRC)\w32term.h \
1097         $(SRC)\w32gui.h \
1098         $(SRC)\systty.h \
1099         $(SRC)\systime.h \
1100         $(SRC)\frame.h \
1101         $(SRC)\dispextern.h \
1102         $(SRC)\termhooks.h \
1103         $(SRC)\termopts.h \
1104         $(SRC)\termchar.h \
1105         $(SRC)\gnu.h \
1106         $(SRC)\disptab.h \
1107         $(SRC)\buffer.h \
1108         $(SRC)\window.h \
1109         $(SRC)\keyboard.h \
1110         $(SRC)\intervals.h
1112 $(BLD)\w32select.obj: \
1113         $(EMACS_ROOT)\src\s\ms-w32.h \
1114         $(EMACS_ROOT)\src\m\intel386.h \
1115         $(EMACS_ROOT)\src\config.h \
1116         $(SRC)\w32select.c \
1117         $(SRC)\lisp.h \
1118         $(SRC)\w32term.h \
1119         $(SRC)\w32gui.h \
1120         $(SRC)\dispextern.h \
1121         $(SRC)\frame.h \
1122         $(SRC)\blockinput.h
1124 $(BLD)\w32reg.obj: \
1125         $(EMACS_ROOT)\src\s\ms-w32.h \
1126         $(EMACS_ROOT)\src\m\intel386.h \
1127         $(EMACS_ROOT)\src\config.h \
1128         $(SRC)\w32reg.c \
1129         $(SRC)\lisp.h \
1130         $(SRC)\w32term.h \
1131         $(SRC)\w32gui.h \
1132         $(SRC)\blockinput.h