annotate doc/lispref/makefile.w32-in @ 92109:4d9fc08769fa

Consolidate the image_cache to the terminal struct. * termhooks.h (P_): Remove redundant def. (struct terminal): New field `image_cache'. * frame.h (FRAME_IMAGE_CACHE): New macro. Use it everywhere in place of FRAME_X_IMAGE_CACHE. * xterm.h (struct x_display_info): Remove image_cache field. (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. * w32term.h (struct w32_display_info): Remove image_cache field. (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. * macterm.h (struct mac_display_info): Remove image_cache field. (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. * xterm.c (x_term_init): * w32term.c (w32_term_init): * macterm.c (mac_term_init): Set the image_cache in the terminal. * dispextern.h (clear_image_cache, forall_images_in_image_cache): Remove declarations. (clear_image_caches, mark_image_cache): New declarations. * xfaces.c (clear_face_cache): * xdisp.c (redisplay_internal): Use clear_image_caches. * image.c (clear_image_cache): Don't check that a frame is on a window-system before checking if it shares the same cache. (clear_image_caches): New function. (Fclear_image_cache): Use it. (mark_image): Move from allo.c. (mark_image_cache): Move from alloc.c and forall_images_in_image_cache. * alloc.c (mark_image, mark_image_cache): Move to image.c. (mark_object): Don't call mark_image_cache for frames. (mark_terminals): Call mark_image_cache.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 22 Feb 2008 17:42:09 +0000
parents 63f2f6e290cb
children fde6f792a832
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 # -*- Makefile -*- for the GNU Emacs Lisp Reference Manual.
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2
87649
107ccd98fa12 Merge from emacs--rel--22
Miles Bader <miles@gnu.org>
parents: 84115
diff changeset
3 # Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
107ccd98fa12 Merge from emacs--rel--22
Miles Bader <miles@gnu.org>
parents: 84115
diff changeset
4 # Free Software Foundation, Inc.
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6 # This file is part of GNU Emacs.
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
7
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
8 # GNU Emacs is free software; you can redistribute it and/or modify
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
9 # it under the terms of the GNU General Public License as published by
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
10 # the Free Software Foundation; either version 3, or (at your option)
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
11 # any later version.
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
12
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
13 # GNU Emacs is distributed in the hope that it will be useful,
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
16 # GNU General Public License for more details.
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
17
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
18 # You should have received a copy of the GNU General Public License
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
19 # along with GNU Emacs; see the file COPYING. If not, write to
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
20 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
21 # Boston, MA 02110-1301, USA.
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
22
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
23 # Standard configure variables.
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
24 srcdir = .
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
25
84115
bf7b75608f40 (infodir, texinputdir): Go up one more level.
Glenn Morris <rgm@gnu.org>
parents: 84084
diff changeset
26 infodir = $(srcdir)/../../info
bf7b75608f40 (infodir, texinputdir): Go up one more level.
Glenn Morris <rgm@gnu.org>
parents: 84084
diff changeset
27 usermanualdir = $(srcdir)/../emacs
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
28
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
29 # Redefine `TEX' if `tex' does not invoke plain TeX. For example:
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
30 # TEX=platex
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
31 TEX=tex
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
32 INSTALL_INFO = install-info
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
33 MAKEINFO = makeinfo --force
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
35 # The environment variable and its value to add $(srcdir) to the path
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
36 # searched for TeX input files.
84115
bf7b75608f40 (infodir, texinputdir): Go up one more level.
Glenn Morris <rgm@gnu.org>
parents: 84084
diff changeset
37 texinputdir = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" /C
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
38
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
39 # The name of the manual:
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40 VERSION=2.9
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41 manual = elisp-manual-21-$(VERSION)
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
43 # List of all the texinfo files in the manual:
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
44
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45 srcs = \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46 $(srcdir)/abbrevs.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47 $(srcdir)/advice.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48 $(srcdir)/anti.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49 $(srcdir)/back.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50 $(srcdir)/backups.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
51 $(srcdir)/buffers.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
52 $(srcdir)/commands.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53 $(srcdir)/compile.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54 $(srcdir)/control.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55 $(srcdir)/customize.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
56 $(srcdir)/debugging.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57 $(srcdir)/display.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58 $(srcdir)/edebug.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59 $(srcdir)/elisp.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 $(srcdir)/errors.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 $(srcdir)/eval.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62 $(srcdir)/files.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63 $(srcdir)/frames.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64 $(srcdir)/functions.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65 $(srcdir)/hash.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 $(srcdir)/help.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67 $(srcdir)/hooks.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68 $(srcdir)/internals.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 $(srcdir)/intro.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70 $(srcdir)/keymaps.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 $(srcdir)/lists.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 $(srcdir)/loading.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 $(srcdir)/locals.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 $(srcdir)/macros.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75 $(srcdir)/maps.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 $(srcdir)/markers.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 $(srcdir)/minibuf.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78 $(srcdir)/modes.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79 $(srcdir)/nonascii.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 $(srcdir)/numbers.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
81 $(srcdir)/objects.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82 $(srcdir)/os.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
83 $(srcdir)/positions.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
84 $(srcdir)/processes.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
85 $(srcdir)/searching.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
86 $(srcdir)/sequences.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
87 $(srcdir)/streams.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
88 $(srcdir)/strings.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
89 $(srcdir)/symbols.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
90 $(srcdir)/syntax.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
91 $(srcdir)/text.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
92 $(srcdir)/tips.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
93 $(srcdir)/variables.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
94 $(srcdir)/windows.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
95 $(srcdir)/index.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
96 $(srcdir)/gpl.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
97 $(srcdir)/doclicense.texi
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
98
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
99
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
100 .PHONY: clean
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
101
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
102 # The info file is named `elisp'.
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
103
91600
63f2f6e290cb Revert last change
Jason Rumney <jasonr@gnu.org>
parents: 91540
diff changeset
104 info: $(infodir)/elisp
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
105
91600
63f2f6e290cb Revert last change
Jason Rumney <jasonr@gnu.org>
parents: 91540
diff changeset
106 $(infodir)/dir:
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
107 $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/elisp
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
108
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
109 $(infodir)/elisp: $(srcs)
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
110 $(MAKEINFO) -I. -I$(srcdir) -o $(infodir)/elisp $(srcdir)/elisp.texi
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
111
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
112 elisp.dvi: $(srcs)
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
113 $(texinputdir) $(TEX) -I $(usermanualdir) $(srcdir)/elisp.texi
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
114
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
115 clean:
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
116 - $(DEL) *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
117 *.vr *.vrs *.pg *.pgs *.ky *.kys
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
118 - $(DEL) make.out core
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
119 - $(DEL) $(infodir)/elisp*
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
120
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
121 distclean: clean
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
122
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
123 maintainer-clean: distclean
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
124 - $(DEL) elisp elisp-? elisp-?? elisp.dvi elisp.oaux