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