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