comparison src/deps.mk @ 108802:f1cd90ef7663

merge trunk
author Kenichi Handa <handa@etlken>
date Thu, 27 May 2010 16:08:37 +0900
parents dedcf813aa69
children 7e588bac2220
comparison
equal deleted inserted replaced
108801:023730733576 108802:f1cd90ef7663
1 /* deps.mk --- src/Makefile fragment for GNU Emacs 1 ### deps.mk --- src/Makefile fragment for GNU Emacs
2 2
3 Copyright (C) 1985, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, 2002, 3 ## Copyright (C) 1985, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, 2002,
4 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 4 ## 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5 Free Software Foundation, Inc. 5 ## Free Software Foundation, Inc.
6 6
7 This file is part of GNU Emacs. 7 ## This file is part of GNU Emacs.
8 8
9 GNU Emacs is free software: you can redistribute it and/or modify 9 ## GNU Emacs is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by 10 ## it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or 11 ## the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version. 12 ## (at your option) any later version.
13 13 ##
14 GNU Emacs is distributed in the hope that it will be useful, 14 ## GNU Emacs is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of 15 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details. 17 ## GNU General Public License for more details.
18 18 ##
19 You should have received a copy of the GNU General Public License 19 ## You should have received a copy of the GNU General Public License
20 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. 20 ## along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
21 21
22 Commentary: 22 ## Commentary:
23 23 ##
24 This file is inserted in src/Makefile if AUTO_DEPEND=no. 24 ## This file is inserted in src/Makefile if AUTO_DEPEND=no.
25 It defines static dependencies between the various source files. 25 ## It defines static dependencies between the various source files.
26 26
27 FIXME some of these dependencies are platform-specific. 27 ## FIXME some of these dependencies are platform-specific.
28 Eg callproc.c only depends on w32.h for WINDOWSNT builds. 28 ## Eg callproc.c only depends on w32.h for WINDOWSNT builds.
29 One way to fix this would be to replace w32.h (etc) by $(W32_H), 29 ## One way to fix this would be to replace w32.h (etc) by $(W32_H),
30 a variable set by configure. Does not seem worth the trouble. 30 ## a variable set by configure. Does not seem worth the trouble.
31 Since the w32 build does not even use this file, you might ask 31 ## Since the w32 build does not even use this file, you might ask
32 why these dependencies are here at all... 32 ## why these dependencies are here at all...
33 33
34 nsgui.h: In fact, every .o file depends directly or indirectly on 34 ## nsgui.h: In fact, every .o file depends directly or indirectly on
35 dispextern.h and hence nsgui.h under NS. But the ones that actually 35 ## dispextern.h and hence nsgui.h under NS. But the ones that actually
36 use stuff there are more limited. 36 ## use stuff there are more limited.
37 37
38 Code: */ 38 ### Code:
39 39
40 atimer.o: atimer.c atimer.h syssignal.h systime.h lisp.h blockinput.h \ 40 atimer.o: atimer.c atimer.h syssignal.h systime.h lisp.h blockinput.h \
41 $(config_h) 41 $(config_h)
42 bidi.o: bidi.c buffer.h character.h dispextern.h lisp.h $(config_h) 42 bidi.o: bidi.c buffer.h character.h dispextern.h lisp.h $(config_h)
43 buffer.o: buffer.c buffer.h region-cache.h commands.h window.h \ 43 buffer.o: buffer.c buffer.h region-cache.h commands.h window.h \
243 xterm.h lisp.h termopts.h frame.h dispextern.h 243 xterm.h lisp.h termopts.h frame.h dispextern.h
244 xsettings.o: xterm.h xsettings.h lisp.h frame.h termhooks.h $(config_h) \ 244 xsettings.o: xterm.h xsettings.h lisp.h frame.h termhooks.h $(config_h) \
245 dispextern.h keyboard.h systime.h coding.h composite.h blockinput.h \ 245 dispextern.h keyboard.h systime.h coding.h composite.h blockinput.h \
246 atimer.h termopts.h 246 atimer.h termopts.h
247 247
248 /* The files of Lisp proper. */ 248 ## The files of Lisp proper.
249 alloc.o: alloc.c process.h frame.h window.h buffer.h puresize.h syssignal.h \ 249 alloc.o: alloc.c process.h frame.h window.h buffer.h puresize.h syssignal.h \
250 keyboard.h blockinput.h atimer.h systime.h character.h lisp.h $(config_h) \ 250 keyboard.h blockinput.h atimer.h systime.h character.h lisp.h $(config_h) \
251 $(INTERVALS_H) termhooks.h 251 $(INTERVALS_H) termhooks.h
252 bytecode.o: bytecode.c buffer.h syntax.h character.h window.h dispextern.h \ 252 bytecode.o: bytecode.c buffer.h syntax.h character.h window.h dispextern.h \
253 frame.h xterm.h lisp.h $(config_h) 253 frame.h xterm.h lisp.h $(config_h)
265 blockinput.h atimer.h systime.h font.h charset.h coding.h ccl.h 265 blockinput.h atimer.h systime.h font.h charset.h coding.h ccl.h
266 lread.o: lread.c commands.h keyboard.h buffer.h epaths.h character.h \ 266 lread.o: lread.c commands.h keyboard.h buffer.h epaths.h character.h \
267 charset.h lisp.h $(config_h) $(INTERVALS_H) termhooks.h coding.h msdos.h \ 267 charset.h lisp.h $(config_h) $(INTERVALS_H) termhooks.h coding.h msdos.h \
268 systime.h frame.h blockinput.h atimer.h 268 systime.h frame.h blockinput.h atimer.h
269 269
270 /* Text properties support. */ 270 ## Text properties support.
271 composite.o: composite.c buffer.h character.h coding.h font.h ccl.h \ 271 composite.o: composite.c buffer.h character.h coding.h font.h ccl.h \
272 frame.h termhooks.h $(INTERVALS_H) window.h lisp.h $(config_h) 272 frame.h termhooks.h $(INTERVALS_H) window.h lisp.h $(config_h)
273 intervals.o: intervals.c buffer.h $(INTERVALS_H) keyboard.h puresize.h \ 273 intervals.o: intervals.c buffer.h $(INTERVALS_H) keyboard.h puresize.h \
274 keymap.h lisp.h $(config_h) systime.h coding.h 274 keymap.h lisp.h $(config_h) systime.h coding.h
275 textprop.o: textprop.c buffer.h window.h $(INTERVALS_H) \ 275 textprop.o: textprop.c buffer.h window.h $(INTERVALS_H) \
276 lisp.h $(config_h) 276 lisp.h $(config_h)
277 277
278 278
279 /* deps.mk ends here */ 279 ### deps.mk ends here