annotate doc/misc/ede.texi @ 107413:a21a1c5668d6

* mail/hashcash.el (declare-function): Remove duplicate definition.
author Glenn Morris <rgm@gnu.org>
date Wed, 17 Mar 2010 23:21:21 -0700
parents f412ff4a9f03
children 53fa33713b24
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
105494
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1 \input texinfo
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2 @setfilename ../../info/ede
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3 @settitle Emacs Development Environment
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
4
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
5 @copying
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
6 This file describes EDE, the Emacs Development Environment.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
7
106815
1d1d5d9bd884 Add 2010 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 106061
diff changeset
8 Copyright @copyright{} 1998, 1999, 2000, 2001, 2004, 2005, 2008, 2009, 2010
105494
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
9 Free Software Foundation, Inc.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
10
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
11 @quotation
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
12 Permission is granted to copy, distribute and/or modify this document
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
13 under the terms of the GNU Free Documentation License, Version 1.3 or
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
14 any later version published by the Free Software Foundation; with no
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
15 Invariant Sections, with the Front-Cover texts being ``A GNU Manual,''
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
16 and with the Back-Cover Texts as in (a) below. A copy of the license
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
17 is included in the section entitled ``GNU Free Documentation License.''
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
18
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
19 (a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
20 modify this GNU manual. Buying copies from the FSF supports it in
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
21 developing GNU and promoting software freedom.''
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
22 @end quotation
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
23 @end copying
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
24
107093
f412ff4a9f03 Use standard format for direntry
Mark A. Hershberger <mah@everybody.org>
parents: 106874
diff changeset
25 @dircategory Emacs
f412ff4a9f03 Use standard format for direntry
Mark A. Hershberger <mah@everybody.org>
parents: 106874
diff changeset
26 @direntry
105494
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
27 * ede: (ede). Project management for Emacs
107093
f412ff4a9f03 Use standard format for direntry
Mark A. Hershberger <mah@everybody.org>
parents: 106874
diff changeset
28 @end direntry
105494
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
29
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
30 @titlepage
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
31 @center @titlefont{EDE (The Emacs Development Environment)}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
32 @sp 4
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
33 @center by Eric Ludlam
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
34 @end titlepage
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
35 @page
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
36
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
37 @macro cedet{}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
38 @i{CEDET}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
39 @end macro
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
40
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
41 @macro semantic{}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
42 @i{Semantic}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
43 @end macro
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
44
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
45 @macro srecode{}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
46 @i{SRecode}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
47 @end macro
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
48
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
49 @macro eieio{}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
50 @i{EIEIO}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
51 @end macro
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
52
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
53 @macro ede{}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
54 @i{EDE}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
55 @end macro
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
56
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
57 @macro cogre{}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
58 @i{COGRE}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
59 @end macro
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
60
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
61 @macro speedbar{}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
62 @i{Speedbar}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
63 @end macro
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
64
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
65 @contents
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
66
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
67 @node top, EDE Project Concepts, (dir), (dir)
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
68 @top EDE
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
69 @comment node-name, next, previous, up
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
70
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
71 @ede{} is the Emacs Development Environment: an Emacs extension that
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
72 simplifies building and debugging programs in Emacs. It attempts to
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
73 emulate a typical IDE (Integrated Development Environment). @ede{}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
74 can manage or create your makefiles and other building environment
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
75 duties, allowing you to concentrate on writing code rather than
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
76 support files. It aims to make it much easier for new programmers to
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
77 learn and adopt GNU ways of doing things.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
78
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
79 @ifnottex
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
80 @insertcopying
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
81 @end ifnottex
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
82
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
83 @menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
84 * EDE Project Concepts:: @ede{} Project Concepts
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
85 * EDE Mode:: Turning on @ede{} mode.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
86 * Creating a project:: Creating a project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
87 * Modifying your project:: Adding and removing files and targets.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
88 * Building and Debugging:: Initiating a build or debug session.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
89 * Miscellaneous commands:: Other project related commands.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
90 * Simple projects:: Projects not managed by @ede{}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
91 * Extending EDE:: Programming and extending @ede{}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
92 @end menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
93
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
94 @node EDE Project Concepts, EDE Mode, top, top
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
95 @chapter @ede{} Project Concepts
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
96
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
97 @ede{} is a generic interface for managing projects. It specifies a
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
98 single set of menus and keybindings, while supporting multiple ways to
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
99 express a project via a build system.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
100
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
101 In the subsequent chapters, we will describe the different project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
102 types (@pxref{Creating a project}), as well as the commands to build
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
103 and debug projects (@pxref{Building and Debugging}).
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
104
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
105 In @ede{}, a project hierarchy matches a directory hierarchy. The
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
106 project's topmost directory is called the @dfn{project root}, and its
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
107 subdirectories are @dfn{subprojects}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
108
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
109 Each project can contain multiple @dfn{targets}. A target, at the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
110 simplest level, is a named collection of files within a project. A
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
111 target can specify two different types of information:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
112
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
113 @enumerate
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
114 @item
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
115 A collection of files to be added to a distribution (e.g., a tarball
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
116 that you intend to distribute to others).
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
117
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
118 @item
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
119 A collection of files that can be built into something else (e.g., a
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
120 program or compiled documentation).
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
121 @end enumerate
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
122
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
123 Lastly, @ede{} provides a way for other tools to easily learn file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
124 associations. For example, a program might need to restrict some sort
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
125 of search to files in a single target, or to discover the location of
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
126 documentation or interface files. @ede{} can provide this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
127 information.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
128
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
129 @node EDE Mode, Creating a project, EDE Project Concepts, top
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
130 @chapter @ede{} Mode
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
131
106061
014672c3a25f * Makefile.in: Build the Semantic manual.
Chong Yidong <cyd@stupidchicken.com>
parents: 105754
diff changeset
132 @ede{} is implemented as a minor-mode, which augments other modes such
014672c3a25f * Makefile.in: Build the Semantic manual.
Chong Yidong <cyd@stupidchicken.com>
parents: 105754
diff changeset
133 as C mode, and Texinfo mode. You can enable @ede{} for all buffers by
014672c3a25f * Makefile.in: Build the Semantic manual.
Chong Yidong <cyd@stupidchicken.com>
parents: 105754
diff changeset
134 running the command @code{global-ede-mode}, or by putting this in your
105494
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
135 @file{~/.emacs} file:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
136
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
137 @example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
138 (global-ede-mode t)
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
139 @end example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
140
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
141 When @ede{} is active for a given buffer, the menu item
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
142 ``Development'' appears. This menu provides several menu items for
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
143 high-level @ede{} commands. These menu items, and their corresponding
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
144 keybindings, are independent of the type of project you are actually
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
145 working on.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
146
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
147 @node Creating a project, Modifying your project, EDE Mode, top
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
148 @chapter Creating a project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
149
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
150 To create a new project, first visit a file that you want to include
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
151 in that project. If you have a hierarchy of directories, choose a
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
152 file in the topmost directory first. From this buffer, type @kbd{M-x
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
153 ede-new}, or click on the @samp{Create Project} item in the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
154 @samp{Development} menu.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
155
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
156 The @command{ede-new} command prompts for the type of project you
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
157 would like to create. Each project type has its own benefits or
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
158 language specific enhancements. @ede{} supports four different
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
159 project types: @samp{Make}, @samp{Automake}, @samp{direct Automake},
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
160 and @samp{Simple}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
161
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
162 @itemize
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
163 @item
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
164 For the @samp{Make} project type, @ede{} creates a @dfn{project file},
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
165 called @file{Project.ede}, in each project directory. Information
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
166 about the project is stored in this file. This project autogenerates
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
167 a @file{Makefile}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
168
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
169 @item
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
170 For the @samp{Automake} project type, @ede{} creates a
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
171 @file{Project.ede} project file similar to a @samp{Make} project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
172 Unlike a @samp{Make} project, this project autogenerates a
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
173 @file{Makefile.am} file. @ede{} handles the Automake bootstrapping
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
174 routines, which import and maintain a @file{configure.am} script and
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
175 other required files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
176
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
177 @item
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
178 For the @samp{direct Automake} project type, @ede{} reads directly
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
179 from the Automake files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
180
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
181 You cannot create direct Automake projects with the @command{ede-new}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
182 command. Instead, when you visit a project with existing Automake
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
183 files, @ede{} automatically detects them.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
184
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
185 @item
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
186 The @samp{Simple} project type provides light-weight constructs for
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
187 identifying a project root and looking up files. If you already have
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
188 a non-@ede{} project infrastructure, you can use a @samp{Simple}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
189 project to provide other Emacs packages, such as Semantic, with some
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
190 information about the project. @xref{Simple projects}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
191 @end itemize
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
192
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
193 A subproject is merely a project in a subdirectory of another project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
194 You can create a subproject by using the @command{ede-new} command (or
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
195 the @samp{Create Project} menu item), while visiting a buffer in a
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
196 subdirectory of the project root. This new project is automatically
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
197 added to the parent project, and will be automatically loaded when
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
198 @ede{} reads the parent project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
199
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
200 When using a project command that involves a makefile, @ede{} uses
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
201 the top-most project's makefile as a starting place for the build. How
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
202 the toplevel project handles subprojects in the build process is
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
203 dependent on that project's type.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
204
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
205 @node Modifying your project, Building and Debugging, Creating a project, top
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
206 @chapter Modifying your project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
207
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
208 In this chapter, we describe the generic features for manipulating
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
209 projects, including the targets and files within them. Subsequent
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
210 chapters, which describe specific project types, will provide more
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
211 detailed information about exactly what these features do.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
212
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
213 @menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
214 * Add/Remove target::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
215 * Add/Remove files::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
216 * Customize Features::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
217 * EDE Project Features::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
218 @end menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
219
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
220 @node Add/Remove target, Add/Remove files, Modifying your project, Modifying your project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
221 @section Add/Remove target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
222
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
223 To create a new target, type @kbd{C-c . t} (@code{M-x ede-new-target})
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
224 or use the @samp{Add Target} menu item in the @samp{Project Options}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
225 submenu. This prompts for a target name, and adds the current buffer
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
226 to that target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
227
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
228 The @command{ede-new-target} command also prompts for a @dfn{target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
229 type}. Each target type has its own build process and class of files
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
230 that it will accept.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
231
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
232 To remove a target from the project, type @kbd{M-x ede-delete-target},
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
233 or use the @samp{Remove Target} menu item in the @samp{Project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
234 Options} submenu.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
235
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
236 @node Add/Remove files, Customize Features, Add/Remove target, Modifying your project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
237 @section Add/Remove files
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
238
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
239 To add the current file to an existing target, type @kbd{C-c . a}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
240 (@code{ede-add-file}), or or use the @samp{Add File} menu item in the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
241 @samp{Target Options} submenu.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
242
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
243 You can add a file to more than one target; this is OK.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
244
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
245 To remove the current file from a target, type @kbd{C-c . d}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
246 (@code{ede-remove-file}), or or use the @samp{Remove File} menu item
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
247 in the @samp{Target Options} submenu. If the file belongs to multiple
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
248 targets, this command prompts for each target it could be removed
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
249 from.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
250
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
251 While working in a project, if you visit a file that is not part of an
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
252 existing target, @ede{} automatically prompts for a target. If you do
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
253 not wish to add the file to any target, you can choose @samp{none}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
254 You can customize this behavior with the variable
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
255 @command{ede-auto-add-method}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
256
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
257 @node Customize Features, EDE Project Features, Add/Remove files, Modifying your project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
258 @section Customize Features
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
259
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
260 A project, and its targets, are objects using the @samp{EIEIO} object
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
261 system. @xref{Top,,,eieio,EIEIO manual}. These objects have data
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
262 fields containing important information related to your work.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
263
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
264 If the high-level functions aren't enough, you can tweak all
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
265 user-customizable fields at any time by running the command
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
266 @command{customize-project} or @command{customize-target}. This loads
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
267 the current project or target into a customization buffer, where you
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
268 can tweak individual slots. This is usually necessary for complex
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
269 projects.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
270
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
271 Some project modes do not have a project file, but directly read a
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
272 Makefile or other existing file. Instead of directly editing the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
273 object, you can edit the file by typine @kbd{C-c . e}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
274 (@code{ede-edit-file-target}). You should ``rescan'' the project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
275 afterwards (@pxref{Miscellaneous commands}).
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
276
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
277 @node EDE Project Features, , Customize Features, Modifying your project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
278 @section EDE Project Features
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
279
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
280 This section details user facing features of an @ede{} @samp{Make}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
281 style project. An @samp{Automake} project has similar options (but a
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
282 direct Automake project does not).
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
283
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
284 To modify any of the specific features mentioned here, you need to
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
285 customize the project or target with @command{customize-project} or
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
286 @command{customize-target}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
287
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
288 When you are customizing, you are directly manipulating slot values in
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
289 @eieio{} objects. @xref{Extending EDE}, if you are interested in
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
290 additional details.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
291
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
292 @menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
293 * Changing Compilers and Flags::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
294 * Configurations::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
295 @end menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
296
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
297 @node Changing Compilers and Flags, Configurations, EDE Project Features, EDE Project Features
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
298 @subsection Changing Compilers and Flags
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
299
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
300 Targets that build stuff need compilers. To change compilers, you
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
301 need to customize the desired target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
302
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
303 In the @samp{[Make]} section, you can choose a new compiler or linker
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
304 from the list. If a linker you need is not available, you will need
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
305 to create a new one. @xref{Compiler and Linker objects}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
306
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
307 If an existing compiler or linker is close, but you need to modify
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
308 some flag set such as adding an include path you will need to add a
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
309 configuration variable.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
310
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
311 To start, you should create the basic setup, and construct a makefile
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
312 with @command{ede-proj-regenerate}. Look in the @file{Makefile} to
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
313 see what commands are inserted. Once you have determined the variable
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
314 you need to modify, you can add a configuration for it.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
315 @xref{Configurations}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
316
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
317 @node Configurations, , Changing Compilers and Flags, EDE Project Features
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
318 @subsection Configurations
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
319
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
320 Configurations specify different ways to build a project. For
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
321 example, you may configure a project to be in ``debug'' mode, or
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
322 perhaps in ``release'' mode.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
323
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
324 The project, and each target type all have a slot named
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
325 @code{configuration-variables}. To add new variables to a
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
326 configuration find this slot in the custom buffer, and insert a new
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
327 configuration. Name it either ``debug'' or ``release'', then insert
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
328 some number of name/value pairs to it.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
329
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
330 You can have any number of valid configurations too. To add a new
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
331 configuration, customize your project. Work in the @samp{[Settings]}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
332 block for ``configurations''. Add a new named configuration here.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
333
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
334 To switch between different active configurations, modify the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
335 ``configuration default'' slot.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
336
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
337 @node Building and Debugging, Miscellaneous commands, Modifying your project, top
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
338 @chapter Building and Debugging
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
339
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
340 @ede{} provides the following ``project-aware'' compilation and
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
341 debugging commands:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
342
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
343 @table @kbd
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
344 @item C-c . c
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
345 Compile the current target (@code{ede-compile-target}).
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
346 @item C-c . C
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
347 Compile the entire project (@code{ede-compile-project}).
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
348 @item c-c . D
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
349 Debug the current target (@code{ede-debug-target}).
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
350 @item M-x ede-make-dist
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
351 Build a distribution file for your project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
352 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
353
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
354 These commands are also available from the @samp{Development} menu.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
355
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
356 @node Miscellaneous commands, Simple projects, Building and Debugging, top
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
357 @chapter Miscellaneous commands
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
358
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
359 If you opt to go in and edit @ede{} project files directly---for
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
360 instance, by using @kbd{C-c . e} (@pxref{Customize Features})---you
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
361 must then ``rescan'' the project files to update the internal data
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
362 structures. To rescan the current project, type @kbd{C-c . g}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
363 (@code{ede-rescan-toplevel}).
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
364
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
365 @ede{} can help you find files in your project, via the command
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
366 @kbd{C-c . f} (@code{ede-find-file}). This prompts for a file name;
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
367 you need not specify the directory. EDE then tries to visit a file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
368 with that name somewhere in your project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
369
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
370 @ede{} can use external tools to help with file finding. To do this,
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
371 customize @code{ede-locate-setup-options}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
372
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
373 @defvar ede-locate-setup-options
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
374 @anchor{ede-locate-setup-options}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
375 List of locate objects to try out by default.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
376 Listed in order of preference. If the first item cannot be used in
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
377 a particular project, then the next one is tried.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
378 It is always assumed that @dfn{ede-locate-base} is at end of the list.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
379 @end defvar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
380
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
381 @ede{} also provides a project display mode for the speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
382 (@pxref{Speedbar,,,emacs,GNU Emacs Manual}). This allows you to view
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
383 your source files as they are structured in your project: as a
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
384 hierarchical tree, grouped according to target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
385
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
386 To activate the speedbar in this mode, type @kbd{C-c . s}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
387 (@code{ede-speedbar}).
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
388
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
389 @node Simple projects, Extending EDE, Miscellaneous commands, top
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
390 @section Simple Projects
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
391
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
392 There is a wide array of Simple projects. The root for simple
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
393 projects is the class @code{ede-simple-project}. This handles the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
394 infrastructure of storing a .ede file if needed.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
395
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
396 The class @code{ede-simple-project} is designed to be subclassed.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
397 Then key @ede{} methods can be overridden to provide a quick wrapper
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
398 over any project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
399
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
400 A second project type is @code{ede-cpp-root}. This project type is
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
401 designed to be created for a directory hierarchy full of C/C++ code.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
402 It can be configured with minimal lisp knowledge to do header file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
403 lookup for @semantic{}, improving code completion performance.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
404
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
405 @menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
406 * ede-cpp-root:: This project marks the root of a C/C++ code project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
407 * ede-simple subclassing:: Create your own simple project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
408 * ede-emacs:: A project for working with Emacs.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
409 * ede-linux:: A project for working with Linux kernels.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
410 * Custom Locate:: Customizing how to locate files in a simple project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
411 @end menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
412
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
413 @node ede-cpp-root
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
414 @subsection ede-cpp-root
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
415
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
416 The @code{ede-cpp-root} project type allows you to create a single
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
417 object with no save-file in your @file{.emacs} file. It allows @ede{}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
418 to provide the @semantic{} package with the ability to find header
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
419 files quickly.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
420
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
421 The @code{ede-cpp-root} class knows a few things about C++ projects,
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
422 such as the prevalence of "include" directories, and typical
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
423 file-layout stuff. If this isn't sufficient, you can subclass
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
424 @code{ede-cpp-root-project} and add your own tweaks in just a few
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
425 lines. See the end of this file for an example.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
426
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
427 In the most basic case, add this to your @file{.emacs} file, modifying
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
428 appropriate bits as needed.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
429
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
430 @example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
431 (ede-cpp-root-project "SOMENAME" :file "/dir/to/some/file")
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
432 @end example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
433
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
434 Replace @var{SOMENAME} with whatever name you want, and the filename
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
435 to an actual file at the root of your project. It might be a
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
436 Makefile, a README file. Whatever. It doesn't matter. It's just a
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
437 key to hang the rest of @ede{} off of.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
438
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
439 The most likely reason to create this project, is to speed up
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
440 searching for includes files, or to simplify bootstrapping @semantic{}'s
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
441 ability to find files without much user interaction. In conjunction
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
442 with @semantic{} completion, having a short include path is key. You can
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
443 override the default include path and system include path like this:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
444
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
445 @example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
446 (ede-cpp-root-project "NAME" :file "FILENAME"
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
447 :include-path '( "/include" "../include" "/c/include" )
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
448 :system-include-path '( "/usr/include/c++/3.2.2/" )
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
449 :spp-table '( ("MOOSE" . "")
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
450 ("CONST" . "const") ) )
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
451 @end example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
452
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
453 In this case each item in the include path list is searched. If the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
454 directory starts with "/", then that expands to the project root
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
455 directory. If a directory does not start with "/", then it is
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
456 relative to the default-directory of the current buffer when the file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
457 name is expanded.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
458
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
459 The include path only affects C/C++ header files. Use the slot
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
460 @code{:header-match-regexp} to change it.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
461
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
462 The @code{:system-include-path} allows you to specify full directory
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
463 names to include directories where system header files can be found.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
464 These will be applied to files in this project only.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
465
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
466 The @code{:spp-table} provides a list of project specific #define
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
467 style macros that are unique to this project, passed in to the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
468 compiler on the command line, or are in special headers.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
469 See the @code{semantic-lex-c-preprocessor-symbol-map} for more
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
470 on how to format this entry.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
471
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
472 If there is a single file in your project, you can instead set the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
473 @code{:spp-files} to a list of file names relative to the root of your
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
474 project. Specifying this is like setting the variable
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
475 @code{semantic-lex-c-preprocessor-symbol-file} in semantic.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
476
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
477 If you want to override the file-finding tool with your own
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
478 function you can do this:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
479
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
480 @example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
481 (ede-cpp-root-project "NAME" :file "FILENAME" :locate-fcn 'MYFCN)
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
482 @end example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
483
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
484 Where @var{MYFCN} is a symbol for a function. The locate function can
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
485 be used in place of @code{ede-expand-filename} so you can quickly
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
486 customize your custom target to use specialized local routines instead
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
487 of the default @ede{} routines. The function symbol must take two
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
488 arguments:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
489
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
490 @table @var
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
491 @item NAME
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
492 The name of the file to find.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
493 @item DIR
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
494 The directory root for this cpp-root project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
495 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
496
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
497
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
498 If the cpp-root project style is right for you, but you want a dynamic
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
499 loader, instead of hard-coding path name values in your @file{.emacs}, you
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
500 can do that too, but you will need to write some lisp code.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
501
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
502 To do that, you need to add an entry to the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
503 @code{ede-project-class-files} list, and also provide two functions to
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
504 teach @ede{} how to load your project pattern
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
505
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
506 It would look like this:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
507
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
508 @example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
509 (defun MY-FILE-FOR-DIR (&optional dir)
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
510 "Return a full file name to the project file stored in DIR."
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
511 <write your code here, or return nil>
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
512 )
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
513
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
514 (defun MY-ROOT-FCN ()
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
515 "Return the root fcn for `default-directory'"
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
516 ;; You might be able to use `ede-cpp-root-project-root'
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
517 ;; and not write this at all.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
518 )
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
519
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
520 (defun MY-LOAD (dir)
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
521 "Load a project of type `cpp-root' for the directory DIR.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
522 Return nil if there isn't one."
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
523 ;; Use your preferred constructin method here.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
524 (ede-cpp-root-project "NAME" :file (expand-file-name "FILE" dir)
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
525 :locate-fcn 'MYFCN)
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
526 )
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
527
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
528 (add-to-list 'ede-project-class-files
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
529 (ede-project-autoload "cpp-root"
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
530 :name "CPP ROOT"
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
531 :file 'ede-cpp-root
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
532 :proj-file 'MY-FILE-FOR-DIR
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
533 :proj-root 'MY-ROOT-FCN
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
534 :load-type 'MY-LOAD
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
535 :class-sym 'ede-cpp-root)
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
536 t)
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
537 @end example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
538
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
539 This example only creates an auto-loader, and does not create a new kind
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
540 of project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
541
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
542 @xref{ede-cpp-root-project}, for details about the class that defines
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
543 the @code{ede-cpp-root} project type.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
544
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
545 @node ede-simple subclassing
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
546 @subsection ede-simple Subclassing
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
547
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
548 todo - Write some doc.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
549
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
550 In the meantime look in the commentary of ede-simple.el
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
551
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
552 @node ede-emacs
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
553 @subsection ede-emacs
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
554
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
555 The @code{ede-emacs} project automatically identifies an Emacs source
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
556 tree, and enables EDE project mode for it.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
557
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
558 It pre-populates the C Preprocessor symbol map for correct parsing,
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
559 and has an optimized include file identification function.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
560
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
561 @node ede-linux
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
562 @subsection ede-linux
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
563
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
564 The @code{ede-linux} project will automatically identify a Linux
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
565 Kernel source tree, and enable EDE project mode for it.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
566
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
567 It pre-populates the C Preprocessor symbol map for reasonable parsing,
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
568 and has an optimized include file identification function.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
569
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
570 @node Custom Locate
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
571 @subsection Custom Locate
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
572
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
573 The various simple project styles all have one major drawback, which
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
574 is that the files in the project are not completely known to EDE.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
575 When the EDE API is used to try and file files by some reference name
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
576 in the project, then that could fail.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
577
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
578 @@TODO - Add ID Utils and CScope examples
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
579
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
580 @ede{} can therefore use some external locate commands, such as the unix
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
581 ``locate'' command, or ``GNU Global''.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
582
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
583 Configuration of the tool you want to use such as @code{locate}, or
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
584 @code{global} will need to be done without the aid of @ede{}. Once
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
585 configured, however, @ede{} can use it.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
586
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
587 To enable one of these tools, set the variable
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
588 @code{ede-locate-setup-options} with the names of different locate
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
589 objects. @ref{Miscellaneous commands}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
590
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
591 Configure this in your @file{.emacs} before loading in CEDET or EDE.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
592 If you want to add support for GNU Global, your configuration would
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
593 look like this:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
594
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
595 @example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
596 (setq ede-locate-setup-options '(ede-locate-global ede-locate-base))
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
597 @end example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
598
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
599 That way, when a search needs to be done, it will first try using
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
600 GLOBAL. If global is not available for that directory, then it will
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
601 revert to the base locate object. The base object always fails to
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
602 find a file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
603
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
604 You can add your own locate tool but subclassing from
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
605 @code{ede-locate-base}. The subclass should also implement two
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
606 methods. See the code in @file{ede-locate.el} for GNU Global as a
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
607 simple example.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
608
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
609 @node Extending EDE, , Simple projects, top
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
610 @chapter Extending @ede{}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
611
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
612 This chapter is intended for users who want to write new parts or fix
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
613 bugs in @ede{}. A knowledge of Emacs Lisp, and some @eieio{}(CLOS) is
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
614 required.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
615
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
616 @ede{} uses @eieio{}, the CLOS package for Emacs, to define two object
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
617 superclasses, specifically the PROJECT and TARGET. All commands in
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
618 @ede{} are usually meant to address the current project, or current
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
619 target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
620
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
621 All specific projects in @ede{} derive subclasses of the @ede{}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
622 superclasses. In this way, specific behaviors such as how a project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
623 is saved, or how a target is compiled can be customized by a project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
624 author in detail. @ede{} communicates to these project objects via an
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
625 API using methods. The commands you use in @ede{} mode are high-level
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
626 functional wrappers over these methods. @xref{(eieio)Top}. For
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
627 details on using @eieio{} to extending classes, and writing methods.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
628
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
629 If you intend to extend @ede{}, it is most likely that a new target type is
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
630 needed in one of the existing project types. The rest of this chapter
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
631 will discuss extending the @code{ede-project} class, and it's targets.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
632 See @file{project-am.el} for basic details on adding targets to it.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
633
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
634 For the @code{ede-project} type, the core target class is called
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
635 @code{ede-proj-target}. Inheriting from this will give you everything
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
636 you need to start, including adding your sources into the makefile. If
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
637 you also need additional rules in the makefile, you will want to inherit
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
638 from @code{ede-proj-target-makefile} instead. You may want to also add
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
639 new fields to track important information.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
640
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
641 If you are building currently unsupported code into a program or shared
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
642 library, it is unlikely you need a new target at all. Instead you
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
643 would need to create a new compiler or linker object that compiles
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
644 source code of the desired type. @ref{Compiler and Linker objects}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
645
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
646 Once your new class exists, you will want to fill in some basic methods.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
647 See the @file{ede-skel.el} file for examples of these. The files
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
648 @file{ede-proj-info.el} and @file{ede-proj-elisp.el} are two interesting
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
649 examples.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
650
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
651 @menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
652 * User interface methods:: Methods associated with keybindings
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
653 * Base project methods:: The most basic methods on @ede{} objects.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
654 * Sourcecode objects:: Defining new sourcecode classes.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
655 * Compiler and Linker objects:: Defining new compilers and linkers.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
656 * Project:: Details of project classes.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
657 * Targets:: Details of target classes.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
658 * Sourcecode:: Details of source code classes.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
659 * Compilers:: Details of compiler classes.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
660 @end menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
661
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
662 @node User interface methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
663 @section User interface methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
664
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
665 These methods are core behaviors associated with user commands.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
666 If you do not implement a method, there is a reasonable default that
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
667 may do what you need.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
668
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
669 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
670 @item project-add-file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
671 Add a file to your project. Override this if you want to put new
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
672 sources into different fields depending on extension, or other details.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
673 @item project-remove-file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
674 Reverse of project-add-file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
675 @item project-compile-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
676 Override this if you want to do something special when the user
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
677 "compiles" this target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
678 @item project-debug-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
679 What to do when a user wants to debug your target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
680 @item project-update-version
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
681 Easily update the version number of your project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
682 @item project-edit-file-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
683 Edit the file the project's information is stored in.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
684 @item project-new-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
685 Create a new target in a project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
686 @item project-delete-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
687 Delete a target from a project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
688 @item project-make-dist
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
689 Make a distribution (tar archive) of the project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
690 @item project-rescan
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
691 Rescan a project file, changing the data in the existing objects.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
692 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
693
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
694 @node Base project methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
695 @section Base project methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
696
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
697 These methods are important for querying base information from project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
698 and target types:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
699
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
700 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
701 @item ede-name
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
702 Return a string that is the name of this target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
703 @item ede-target-name
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
704 Return a string that is the name of the target used by a Make system.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
705 @item ede-description
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
706 A brief description of the project or target. This is currently used
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
707 by the @samp{ede-speedbar} interface.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
708 @item ede-want-file-p
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
709 Return non-nil if a target will accept a given file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
710 It is generally unecessary to override this. See the section on source
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
711 code.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
712 @item ede-buffer-mine
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
713 Return non-nil if a buffer belongs to this target. Used during
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
714 association when a file is loaded. It is generally unecessary to
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
715 override this unless you keep auxiliary files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
716 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
717
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
718 These methods are used by the semantic package extensions @xref{(semantic)Top}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
719
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
720 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
721 @item ede-buffer-header-file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
722 Return a header file belonging to a given buffer. Prototypes are place
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
723 there when appropriate
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
724 @item ede-buffer-documentation-files
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
725 Return the documentation file information about this file would be
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
726 stored in.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
727 @item ede-documentation
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
728 List all documentation a project or target is responsible for.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
729 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
730
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
731 @node Sourcecode objects
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
732 @section Sourcecode objects
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
733
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
734 @ede{} projects track source file / target associates via source code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
735 objects. The definitions for this is in @file{ede-source.el}. A source
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
736 code object contains methods that know how to identify a file as being
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
737 of that class, (ie, a C file ends with @file{.c}). Some targets can
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
738 handle many different types of sources which must all be compiled
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
739 together. For example, a mixed C and C++ program would have
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
740 instantiations of both sourcecode types.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
741
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
742 When a target needs to know if it will accept a source file, it
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
743 references its list of source code objects. These objects then make
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
744 that decision.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
745
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
746 Source code objects are stored in the target objects as a list of
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
747 symbols, where the symbol's value is the object. This enables the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
748 project save file mechanism to work.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
749
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
750 Here is an example for an instantiation of an Emacs Lisp source code object:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
751
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
752 @example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
753 (defvar ede-source-emacs
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
754 (ede-sourcecode "ede-emacs-source"
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
755 :name "Emacs Lisp"
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
756 :sourcepattern "\\.el$"
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
757 :garbagepattern '("*.elc"))
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
758 "Emacs Lisp source code definition.")
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
759 @end example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
760
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
761 If you want to recycle parts of an existing sourcecode object, you can
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
762 clone the original, and then just tweak the parts that are different.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
763 For example:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
764
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
765 @example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
766 (defvar ede-source-emacs-autoload
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
767 (clone ede-source-emacs "ede-source-emacs-autoload"
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
768 :name "Emacs Lisp Autoload"
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
769 :sourcepattern "-loaddefs\\.el")
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
770 "Emacs Lisp autoload source code.")
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
771 @end example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
772
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
773 In this case, the garbage pattern is the same.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
774
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
775 @xref{Sourcecode}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
776
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
777 @node Compiler and Linker objects
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
778 @section Compiler and Linker objects
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
779
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
780 In order for a target to create a @file{Makefile}, it must know how to
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
781 compile the sources into the program or desired data file, and
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
782 possibly link them together.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
783
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
784 A compiler object instantiation is used to associate a given target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
785 with a given source code type. Some targets can handle many types of
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
786 sources, and thus has many compilers available to it. Some targets
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
787 may have multiple compilers for a given type of source code.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
788
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
789 @ede{} will examine the actual source files in a target, cross reference
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
790 that against the compiler list to come up with the final set of
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
791 compilers that will be inserted into the Makefile.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
792
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
793 Compiler instantiations must also insert variables specifying the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
794 compiler it plans to use, in addition to creating Automake settings for
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
795 @file{configure.in} when appropriate.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
796
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
797 Compiler objects are stored in the target objects as a list of
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
798 symbols, where the symbols value is the object. This enables the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
799 project output mechanism to work more efficiently.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
800
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
801 Targets will also have a special "compiler" slot which lets a user
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
802 explicitly choose the compiler they want to use.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
803
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
804 Here is an example for texinfo:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
805
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
806 @example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
807 (defvar ede-makeinfo-compiler
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
808 (ede-compiler
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
809 "ede-makeinfo-compiler"
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
810 :name "makeinfo"
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
811 :variables '(("MAKEINFO" . "makeinfo"))
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
812 :commands '("makeinfo -o $@ $<")
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
813 :autoconf '(("AC_CHECK_PROG" . "MAKEINFO, makeinfo"))
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
814 :sourcetype '(ede-makeinfo-source)
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
815 )
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
816 "Compile texinfo files into info files.")
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
817 @end example
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
818
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
819 @xref{Compilers}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
820
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
821 When creating compiler instantiations, it may be useful to @code{clone}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
822 an existing compiler variable. Cloning allows you to only modify
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
823 parts of the original, while keeping the rest of the same.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
824 Modification of the original will result in the clone also being
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
825 changed for shared value slots.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
826
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
827 The second important object is the linker class. The linker is similar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
828 to the compiler, except several compilers might be used to create some
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
829 object files, and only one linker is used to link those objects together.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
830
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
831 See @file{ede-proj-obj.el} for examples of the combination.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
832
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
833 @defindex pj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
834 @defindex tg
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
835 @defindex sc
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
836 @defindex cm
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
837
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
838 @node Project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
839 @section Project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
840
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
841 @menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
842 * ede-project-placeholder ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
843 * ede-project ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
844 * ede-cpp-root-project ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
845 * ede-simple-project ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
846 * ede-simple-base-project ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
847 * ede-proj-project ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
848 * project-am-makefile ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
849 * ede-step-project ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
850 @end menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
851
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
852 @node ede-project-placeholder
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
853 @subsection ede-project-placeholder
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
854 @pjindex ede-project-placeholder
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
855
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
856 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
857 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
858 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
859 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
860 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
861 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
862 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
863 @item ede-project-placeholder
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
864 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
865 @item Children:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
866 @w{@xref{ede-project}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
867 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
868 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
869 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
870 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
871 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
872
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
873 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
874 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
875
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
876 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
877 @item :name
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
878 Type: @code{string} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
879 Default Value: @code{"Untitled"}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
880
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
881 The name used when generating distribution files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
882 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
883
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
884 @item :version
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
885 Type: @code{string} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
886 Default Value: @code{"1.0"}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
887
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
888 The version number used when distributing files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
889 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
890
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
891 @item :directory
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
892 Type: @code{string}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
893
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
894 Directory this project is associated with.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
895 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
896
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
897 @item :file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
898 Type: @code{string}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
899
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
900 File name where this project is stored.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
901 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
902
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
903 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
904
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
905 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
906
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
907 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
908
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
909 @deffn Method ede--project-inode :AFTER proj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
910 Get the inode of the directory project @var{PROJ} is in.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
911 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
912
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
913 @deffn Method ede-project-root :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
914 If a project knows it's root, return it here.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
915 Allows for one-project-object-for-a-tree type systems.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
916 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
917
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
918 @deffn Method ede-find-subproject-for-directory :AFTER proj dir
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
919 Find a subproject of @var{PROJ} that corresponds to @var{DIR}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
920 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
921
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
922 @deffn Method ede-project-root-directory :AFTER this &optional file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
923 If a project knows it's root, return it here.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
924 Allows for one-project-object-for-a-tree type systems.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
925 Optional @var{FILE} is the file to test. It is ignored in preference
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
926 of the anchor file for the project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
927 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
928
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
929 @deffn Method ede-project-force-load :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
930 Make sure the placeholder @var{THIS} is replaced with the real thing.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
931 Return the new object created in its place.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
932 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
933
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
934 @deffn Method project-interactive-select-target :AFTER this prompt
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
935 Make sure placeholder @var{THIS} is replaced with the real thing, and pass through.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
936 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
937
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
938 @deffn Method project-add-file :AFTER this file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
939 Make sure placeholder @var{THIS} is replaced with the real thing, and pass through.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
940 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
941
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
942 @node ede-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
943 @subsection ede-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
944 @pjindex ede-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
945
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
946 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
947 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
948 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
949 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
950 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
951 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
952 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
953 @item @w{@xref{ede-project-placeholder}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
954 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
955 @item ede-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
956 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
957 @item Children:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
958 @w{@xref{ede-cpp-root-project},} @w{ede-emacs-project,} @w{ede-linux-project,} @w{ede-maven-project,} @w{@xref{ede-simple-project},} @w{@xref{ede-simple-base-project},} @w{@xref{ede-proj-project},} @w{@xref{project-am-makefile},} @w{@xref{ede-step-project}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
959 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
960 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
961 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
962 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
963 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
964 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
965
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
966 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
967 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
968
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
969 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
970 @item :targets
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
971 Type: @code{list}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
972
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
973 List of top level targets in this project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
974 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
975
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
976 @item :tool-cache
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
977 Type: @code{list}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
978
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
979 List of tool cache configurations in this project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
980 This allows any tool to create, manage, and persist project-specific settings.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
981 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
982
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
983 @item :web-site-url
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
984 Type: @code{string} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
985
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
986 URL to this projects web site.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
987 This is a URL to be sent to a web site for documentation.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
988 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
989
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
990 @item :web-site-directory @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
991
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
992 A directory where web pages can be found by Emacs.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
993 For remote locations use a path compatible with ange-ftp or EFS.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
994 You can also use TRAMP for use with rcp & scp.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
995 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
996
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
997 @item :web-site-file @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
998
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
999 A file which contains the home page for this project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1000 This file can be relative to slot @code{web-site-directory}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1001 This can be a local file, use ange-ftp, EFS, or TRAMP.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1002 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1003
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1004 @item :ftp-site
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1005 Type: @code{string} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1006
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1007 FTP site where this project's distribution can be found.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1008 This FTP site should be in Emacs form, as needed by @code{ange-ftp}, but can
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1009 also be of a form used by TRAMP for use with scp, or rcp.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1010 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1011
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1012 @item :ftp-upload-site
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1013 Type: @code{string} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1014
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1015 FTP Site to upload new distributions to.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1016 This FTP site should be in Emacs form as needed by @code{ange-ftp}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1017 If this slot is @code{nil}, then use @code{ftp-site} instead.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1018 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1019
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1020 @item :configurations
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1021 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1022 Default Value: @code{("debug" "release")}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1023
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1024 List of available configuration types.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1025 Individual target/project types can form associations between a configuration,
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1026 and target specific elements such as build variables.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1027 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1028
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1029 @item :configuration-default @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1030 Default Value: @code{"debug"}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1031
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1032 The default configuration.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1033 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1034
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1035 @item :local-variables @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1036 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1037
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1038 Project local variables
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1039 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1040
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1041 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1042
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1043 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1044 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1045
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1046 @deffn Method ede-preprocessor-map :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1047 Get the pre-processor map for project @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1048 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1049
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1050 @deffn Method ede-subproject-relative-path :AFTER proj &optional parent-in
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1051 Get a path name for @var{PROJ} which is relative to the parent project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1052 If PARENT is specified, then be relative to the PARENT project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1053 Specifying PARENT is useful for sub-sub projects relative to the root project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1054 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1055
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1056 @deffn Method eieio-speedbar-description :AFTER obj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1057 Provide a speedbar description for @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1058 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1059
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1060 @deffn Method ede-map-any-target-p :AFTER this proc
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1061 For project @var{THIS}, map @var{PROC} to all targets and return if any non-nil.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1062 Return the first non-@code{nil} value returned by @var{PROC}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1063 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1064
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1065 @deffn Method ede-map-subprojects :AFTER this proc
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1066 For object @var{THIS}, execute @var{PROC} on all direct subprojects.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1067 This function does not apply @var{PROC} to sub-sub projects.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1068 See also @dfn{ede-map-all-subprojects}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1069 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1070
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1071 @deffn Method ede-convert-path :AFTER this path
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1072 Convert path in a standard way for a given project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1073 Default to making it project relative.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1074 Argument @var{THIS} is the project to convert @var{PATH} to.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1075 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1076
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1077 @deffn Method ede-name :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1078 Return a short-name for @var{THIS} project file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1079 Do this by extracting the lowest directory name.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1080 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1081
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1082 @deffn Method ede-set-project-variables :AFTER project &optional buffer
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1083 Set variables local to @var{PROJECT} in @var{BUFFER}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1084 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1085
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1086 @deffn Method eieio-speedbar-derive-line-path :AFTER obj &optional depth
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1087 Return the path to @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1088 Optional @var{DEPTH} is the depth we start at.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1089 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1090
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1091 @deffn Method ede-map-all-subprojects :AFTER this allproc
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1092 For object @var{THIS}, execute PROC on @var{THIS} and all subprojects.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1093 This function also applies PROC to sub-sub projects.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1094 See also @dfn{ede-map-subprojects}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1095 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1096
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1097 @deffn Method project-update-version :AFTER ot
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1098 The @code{:version} of the project @var{OT} has been updated.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1099 Handle saving, or other detail.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1100 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1101
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1102 @deffn Method ede-buffer-header-file :AFTER this buffer
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1103 Return @code{nil}, projects don't have header files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1104 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1105
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1106 @deffn Method ede-buffer-documentation-files :AFTER this buffer
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1107 Return all documentation in project @var{THIS} based on @var{BUFFER}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1108 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1109
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1110 @deffn Method ede-map-targets :AFTER this proc
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1111 For object @var{THIS}, execute @var{PROC} on all targets.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1112 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1113
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1114 @deffn Method ede-buffer-mine :AFTER this buffer
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1115 Return non-@code{nil} if object @var{THIS} lays claim to the file in @var{BUFFER}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1116 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1117
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1118 @deffn Method ede-object-keybindings :BEFORE this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1119 Retrieves the slot @code{keybindings} from an object of class @code{ede-project}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1120 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1121
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1122 @deffn Method ede-description :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1123 Return a description suitable for the minibuffer about @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1124 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1125
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1126 @deffn Method eieio-speedbar-object-children :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1127 Return the list of speedbar display children for @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1128 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1129
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1130 @deffn Method project-make-dist :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1131 Build a distribution for the project based on @var{THIS} project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1132 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1133
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1134 @deffn Method ede-system-include-path :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1135 Get the system include path used by project @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1136 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1137
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1138 @deffn Method project-new-target-custom :AFTER proj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1139 Create a new target. It is up to the project @var{PROJ} to get the name.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1140 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1141
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1142 @deffn Method ede-subproject-p :AFTER proj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1143 Return non-@code{nil} if @var{PROJ} is a sub project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1144 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1145
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1146 @deffn Method ede-expand-filename :AFTER this filename &optional force
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1147 Return a fully qualified file name based on project @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1148 @var{FILENAME} should be just a filename which occurs in a directory controlled
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1149 by this project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1150 Optional argument @var{FORCE} forces the default filename to be provided even if it
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1151 doesn't exist.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1152 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1153
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1154 @deffn Method ede-menu-items-build :AFTER obj &optional current
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1155 Return a list of menu items for building project @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1156 If optional argument @var{CURRENT} is non-@code{nil}, return sub-menu code.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1157 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1158
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1159 @deffn Method ede-update-version-in-source :AFTER this version
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1160 Change occurrences of a version string in sources.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1161 In project @var{THIS}, cycle over all targets to give them a chance to set
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1162 their sources to @var{VERSION}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1163 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1164
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1165 @deffn Method project-new-target :AFTER proj &rest args
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1166 Create a new target. It is up to the project @var{PROJ} to get the name.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1167 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1168
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1169 @deffn Method project-compile-project :AFTER obj &optional command
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1170 Compile the entire current project @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1171 Argument @var{COMMAND} is the command to use when compiling.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1172 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1173
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1174 @deffn Method eieio-speedbar-object-buttonname :AFTER object
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1175 Return a string to use as a speedbar button for @var{OBJECT}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1176 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1177
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1178 @deffn Method ede-map-project-buffers :AFTER this proc
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1179 For @var{THIS}, execute @var{PROC} on all buffers belonging to @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1180 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1181
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1182 @deffn Method ede-expand-filename-impl :AFTER this filename &optional force
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1183 Return a fully qualified file name based on project @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1184 @var{FILENAME} should be just a filename which occurs in a directory controlled
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1185 by this project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1186 Optional argument @var{FORCE} forces the default filename to be provided even if it
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1187 doesn't exist.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1188 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1189
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1190 @deffn Method eieio-done-customizing :AFTER proj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1191 Call this when a user finishes customizing @var{PROJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1192 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1193
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1194 @deffn Method ede-html-documentation :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1195 Return a list of HTML files provided by project @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1196 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1197
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1198 @deffn Method ede-documentation :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1199 Return a list of files that provides documentation.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1200 Documentation is not for object @var{THIS}, but is provided by @var{THIS} for other
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1201 files in the project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1202 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1203
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1204 @deffn Method project-interactive-select-target :AFTER this prompt
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1205 Interactively query for a target that exists in project @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1206 Argument @var{PROMPT} is the prompt to use when querying the user for a target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1207 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1208
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1209 @deffn Method ede-target-in-project-p :AFTER proj target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1210 Is @var{PROJ} the parent of @var{TARGET}?
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1211 If @var{TARGET} belongs to a subproject, return that project file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1212 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1213
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1214 @deffn Method ede-find-target :AFTER proj buffer
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1215 Fetch the target in @var{PROJ} belonging to @var{BUFFER} or nil.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1216 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1217
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1218 @deffn Method ede-add-subproject :AFTER proj-a proj-b
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1219 Add into @var{PROJ-A}, the subproject @var{PROJ-B}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1220 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1221
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1222 @deffn Method ede-commit-project :AFTER proj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1223 Commit any change to @var{PROJ} to its file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1224 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1225
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1226 @deffn Method project-dist-files :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1227 Return a list of files that constitutes a distribution of @var{THIS} project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1228 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1229
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1230 @deffn Method ede-object-menu :BEFORE this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1231 Retrieves the slot @code{menu} from an object of class @code{ede-project}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1232 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1233
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1234 @deffn Method ede-commit-local-variables :AFTER proj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1235 Commit change to local variables in @var{PROJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1236 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1237
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1238 @node ede-cpp-root-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1239 @subsection ede-cpp-root-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1240 @pjindex ede-cpp-root-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1241
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1242 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1243 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1244 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1245 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1246 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1247 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1248 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1249 @item @w{@xref{ede-project-placeholder}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1250 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1251 @item @w{@xref{ede-project}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1252 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1253 @item ede-cpp-root-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1254 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1255 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1256 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1257 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1258 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1259 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1260 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1261
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1262 This class implements the @code{ede-cpp-root} project type.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1263 @xref{ede-cpp-root}, for information about using this project type.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1264
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1265 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1266 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1267
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1268 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1269 @item :include-path
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1270 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1271 Default Value: @code{(quote ("/include" "../include/"))}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1272
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1273 The default locate function expands filenames within a project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1274 If a header file (.h, .hh, etc) name is expanded, and
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1275 the @code{:locate-fcn} slot is @code{nil}, then the include path is checked
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1276 first, and other directories are ignored. For very large
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1277 projects, this optimization can save a lot of time.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1278
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1279 Directory names in the path can be relative to the current
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1280 buffer's @code{default-directory} (not starting with a /). Directories
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1281 that are relative to the project's root should start with a /, such
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1282 as "/include", meaning the directory @code{include} off the project root
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1283 directory.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1284 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1285
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1286 @item :system-include-path
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1287 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1288 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1289
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1290 The system include path for files in this project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1291 C files initialized in an ede-cpp-root-project have their semantic
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1292 system include path set to this value. If this is @code{nil}, then the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1293 semantic path is not modified.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1294 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1295
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1296 @item :spp-table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1297 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1298 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1299
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1300 C Preprocessor macros for your files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1301 Preprocessor symbols will be used while parsing your files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1302 These macros might be passed in through the command line compiler, or
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1303 are critical symbols derived from header files. Providing header files
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1304 macro values through this slot improves accuracy and performance.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1305 Use `:spp-files' to use these files directly.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1306 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1307
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1308 @item :spp-files
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1309 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1310 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1311
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1312 C header file with Preprocessor macros for your files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1313 The PreProcessor symbols appearing in these files will be used while
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1314 parsing files in this project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1315 See @code{semantic-lex-c-preprocessor-symbol-map} for more on how this works.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1316 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1317
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1318 @item :header-match-regexp
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1319 Type: @code{string} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1320 Default Value: @code{"\\.\\(h\\(h\\|xx\\|pp\\|\\+\\+\\)?\\|H\\)$\\|\\<\\w+$"}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1321
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1322 Regexp used to identify C/C++ header files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1323 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1324
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1325 @item :locate-fcn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1326 Type: @code{(or null function)} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1327 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1328
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1329 The locate function can be used in place of
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1330 @dfn{ede-expand-filename} so you can quickly customize your custom target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1331 to use specialized local routines instead of the EDE routines.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1332 The function symbol must take two arguments:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1333 NAME - The name of the file to find.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1334 DIR - The directory root for this cpp-root project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1335
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1336 It should return the fully qualified file name passed in from NAME. If that file does not
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1337 exist, it should return nil.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1338 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1339
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1340 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1341
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1342 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1343 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1344
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1345 @deffn Method initialize-instance :AFTER this &rest fields
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1346 Make sure the @code{:file} is fully expanded.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1347 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1348
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1349 @deffn Method ede-preprocessor-map :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1350 Get the pre-processor map for project @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1351 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1352
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1353 @deffn Method ede-cpp-root-header-file-p :AFTER proj name
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1354 Non @code{nil} if in @var{PROJ} the filename @var{NAME} is a header.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1355 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1356
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1357 @deffn Method ede-system-include-path :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1358 Get the system include path used by project @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1359 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1360
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1361 @deffn Method ede-expand-filename-impl :AFTER proj name
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1362 Within this project @var{PROJ}, find the file @var{NAME}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1363 This knows details about or source tree.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1364 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1365
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1366 @node ede-simple-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1367 @subsection ede-simple-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1368 @pjindex ede-simple-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1369
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1370 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1371 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1372 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1373 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1374 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1375 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1376 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1377 @item @w{@xref{ede-project-placeholder}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1378 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1379 @item @w{@xref{ede-project}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1380 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1381 @item ede-simple-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1382 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1383 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1384 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1385 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1386 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1387 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1388 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1389
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1390 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1391
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1392 @deffn Method ede-commit-project :AFTER proj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1393 Commit any change to @var{PROJ} to its file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1394 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1395
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1396 @node ede-simple-base-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1397 @subsection ede-simple-base-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1398 @pjindex ede-simple-base-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1399
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1400 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1401 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1402 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1403 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1404 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1405 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1406 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1407 @item @w{@xref{ede-project-placeholder}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1408 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1409 @item @w{@xref{ede-project}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1410 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1411 @item ede-simple-base-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1412 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1413 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1414 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1415 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1416 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1417 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1418 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1419
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1420 EDE Simple project base class.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1421 This one project could control a tree of subdirectories.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1422
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1423 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1424 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1425
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1426 @node ede-proj-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1427 @subsection ede-proj-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1428 @pjindex ede-proj-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1429
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1430 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1431 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1432 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1433 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1434 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1435 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1436 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1437 @item @w{@xref{ede-project-placeholder}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1438 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1439 @item @w{@xref{ede-project}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1440 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1441 @item ede-proj-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1442 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1443 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1444 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1445 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1446 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1447 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1448 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1449
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1450 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1451 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1452
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1453 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1454 @item :makefile-type
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1455 Type: @code{symbol} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1456 Default Value: @code{Makefile}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1457
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1458 The type of Makefile to generate.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1459 Can be one of @code{'Makefile}, 'Makefile.in, or 'Makefile.am.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1460 If this value is NOT @code{'Makefile}, then that overrides the @code{:makefile} slot
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1461 in targets.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1462 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1463
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1464 @item :variables
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1465 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1466 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1467
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1468 Variables to set in this Makefile.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1469 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1470
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1471 @item :configuration-variables
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1472 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1473 Default Value: @code{("debug" (("DEBUG" . "1")))}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1474
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1475 Makefile variables to use in different configurations.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1476 These variables are used in the makefile when a configuration becomes active.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1477 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1478
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1479 @item :inference-rules @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1480 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1481
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1482 Inference rules to add to the makefile.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1483 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1484
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1485 @item :include-file @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1486 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1487
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1488 Additional files to include.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1489 These files can contain additional rules, variables, and customizations.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1490 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1491
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1492 @item :automatic-dependencies
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1493 Type: @code{boolean} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1494 Default Value: @code{t}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1495
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1496 Non-@code{nil} to do implement automatic dependencies in the Makefile.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1497 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1498
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1499 @item :metasubproject
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1500 Type: @code{boolean} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1501 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1502
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1503 Non-@code{nil} if this is a metasubproject.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1504 Usually, a subproject is determined by a parent project. If multiple top level
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1505 projects are grouped into a large project not maintained by EDE, then you need
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1506 to set this to non-nil. The only effect is that the @code{dist} rule will then avoid
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1507 making a tar file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1508 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1509
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1510 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1511
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1512 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1513 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1514
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1515 @deffn Method ede-proj-makefile-create :AFTER this mfilename
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1516 Create a Makefile for all Makefile targets in @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1517 @var{MFILENAME} is the makefile to generate.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1518 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1519
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1520 @deffn Method ede-proj-makefile-insert-rules :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1521 Insert rules needed by @var{THIS} target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1522 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1523
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1524 @deffn Method ede-proj-makefile-tags :AFTER this targets
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1525 Insert into the current location rules to make recursive TAGS files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1526 Argument @var{THIS} is the project to create tags for.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1527 Argument @var{TARGETS} are the targets we should depend on for TAGS.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1528 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1529
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1530 @deffn Method ede-proj-makefile-insert-variables :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1531 Insert variables needed by target @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1532 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1533
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1534 @deffn Method project-make-dist :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1535 Build a distribution for the project based on @var{THIS} target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1536 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1537
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1538 @deffn Method ede-proj-makefile-insert-dist-rules :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1539 Insert distribution rules for @var{THIS} in a Makefile, such as CLEAN and DIST.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1540 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1541
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1542 @deffn Method ede-proj-makefile-insert-dist-dependencies :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1543 Insert any symbols that the DIST rule should depend on.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1544 Argument @var{THIS} is the project that should insert stuff.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1545 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1546
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1547 @deffn Method ede-proj-makefile-insert-subproj-rules :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1548 Insert a rule for the project @var{THIS} which should be a subproject.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1549 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1550
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1551 @deffn Method ede-proj-makefile-create-maybe :AFTER this mfilename
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1552 Create a Makefile for all Makefile targets in @var{THIS} if needed.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1553 @var{MFILENAME} is the makefile to generate.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1554 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1555
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1556 @deffn Method ede-proj-configure-test-required-file :AFTER this file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1557 For project @var{THIS}, test that the file @var{FILE} exists, or create it.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1558 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1559
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1560 @deffn Method ede-proj-setup-buildenvironment :AFTER this &optional force
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1561 Setup the build environment for project @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1562 Handles the Makefile, or a Makefile.am configure.in combination.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1563 Optional argument @var{FORCE} will force items to be regenerated.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1564 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1565
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1566 @deffn Method ede-proj-makefile-garbage-patterns :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1567 Return a list of patterns that are considered garbage to @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1568 These are removed with make clean.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1569 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1570
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1571 @deffn Method ede-proj-configure-synchronize :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1572 Synchronize what we know about project @var{THIS} into configure.in.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1573 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1574
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1575 @deffn Method ede-proj-makefile-insert-variables-new :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1576 Insert variables needed by target @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1577
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1578 NOTE: Not yet in use! This is part of an SRecode conversion of
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1579 EDE that is in progress.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1580 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1581
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1582 @deffn Method ede-proj-makefile-configuration-variables :AFTER this configuration
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1583 Return a list of configuration variables from @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1584 Use @var{CONFIGURATION} as the current configuration to query.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1585 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1586
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1587 @deffn Method eieio-done-customizing :AFTER proj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1588 Call this when a user finishes customizing this object.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1589 Argument @var{PROJ} is the project to save.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1590 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1591
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1592 @deffn Method ede-proj-configure-recreate :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1593 Delete project @var{THIS}es configure script and start over.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1594 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1595
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1596 @deffn Method ede-proj-makefile-insert-user-rules :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1597 Insert user specified rules needed by @var{THIS} target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1598 This is different from @dfn{ede-proj-makefile-insert-rules} in that this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1599 function won't create the building rules which are auto created with
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1600 automake.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1601 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1602
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1603 @deffn Method ede-proj-dist-makefile :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1604 Return the name of the Makefile with the DIST target in it for @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1605 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1606
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1607 @deffn Method ede-proj-configure-file :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1608 The configure.in script used by project @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1609 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1610
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1611 @deffn Method ede-commit-project :AFTER proj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1612 Commit any change to @var{PROJ} to its file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1613 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1614
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1615 @deffn Method project-dist-files :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1616 Return a list of files that constitutes a distribution of @var{THIS} project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1617 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1618
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1619 @deffn Method ede-commit-local-variables :AFTER proj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1620 Commit change to local variables in @var{PROJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1621 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1622
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1623 @node project-am-makefile
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1624 @subsection project-am-makefile
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1625 @pjindex project-am-makefile
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1626
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1627 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1628 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1629 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1630 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1631 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1632 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1633 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1634 @item @w{@xref{ede-project-placeholder}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1635 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1636 @item @w{@xref{ede-project}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1637 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1638 @item project-am-makefile
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1639 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1640 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1641 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1642 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1643 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1644 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1645 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1646
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1647 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1648
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1649 @deffn Method project-am-subtree :AFTER ampf subdir
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1650 Return the sub project in @var{AMPF} specified by @var{SUBDIR}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1651 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1652
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1653 @deffn Method project-targets-for-file :AFTER proj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1654 Return a list of targets the project @var{PROJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1655 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1656
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1657 @deffn Method project-new-target :AFTER proj &optional name type
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1658 Create a new target named @var{NAME}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1659 Argument @var{TYPE} is the type of target to insert. This is a string
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1660 matching something in @code{project-am-type-alist} or type class symbol.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1661 Despite the fact that this is a method, it depends on the current
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1662 buffer being in order to provide a smart default target type.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1663 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1664
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1665 @node ede-step-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1666 @subsection ede-step-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1667 @pjindex ede-step-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1668
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1669 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1670 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1671 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1672 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1673 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1674 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1675 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1676 @item @w{@xref{ede-project-placeholder}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1677 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1678 @item @w{@xref{ede-project}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1679 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1680 @item ede-step-project
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1681 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1682 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1683 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1684 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1685 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1686 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1687 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1688
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1689 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1690 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1691
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1692 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1693 @item :init-variables
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1694 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1695 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1696
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1697 Variables to set in this Makefile, at top of file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1698 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1699
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1700 @item :additional-variables
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1701 Type: @code{(or null list)} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1702 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1703
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1704 Arbitrary variables needed from this project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1705 It is safe to leave this blank.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1706 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1707
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1708 @item :additional-rules
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1709 Type: @code{(or null list)} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1710 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1711
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1712 Arbitrary rules and dependencies needed to make this target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1713 It is safe to leave this blank.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1714 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1715
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1716 @item :installation-domain
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1717 Type: @code{symbol} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1718 Default Value: @code{user}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1719
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1720 Installation domain specification.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1721 The variable GNUSTEP_INSTALLATION_DOMAIN is set at this value.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1722 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1723
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1724 @item :preamble
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1725 Type: @code{(or null list)} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1726 Default Value: @code{(quote ("GNUmakefile.preamble"))}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1727
106874
ab4dd366cab3 Fix typos in info documentation.
Juanma Barranquero <lekktu@gmail.com>
parents: 106860
diff changeset
1728 The auxiliary makefile for additional variables.
105494
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1729 Included just before the specific target files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1730 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1731
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1732 @item :postamble
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1733 Type: @code{(or null list)} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1734 Default Value: @code{(quote ("GNUmakefile.postamble"))}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1735
106874
ab4dd366cab3 Fix typos in info documentation.
Juanma Barranquero <lekktu@gmail.com>
parents: 106860
diff changeset
1736 The auxiliary makefile for additional rules.
105494
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1737 Included just after the specific target files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1738 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1739
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1740 @item :metasubproject
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1741 Type: @code{boolean} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1742 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1743
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1744 Non-@code{nil} if this is a metasubproject.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1745 Usually, a subproject is determined by a parent project. If multiple top level
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1746 projects are grouped into a large project not maintained by EDE, then you need
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1747 to set this to non-nil. The only effect is that the @code{dist} rule will then avoid
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1748 making a tar file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1749 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1750
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1751 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1752
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1753 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1754 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1755
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1756 @deffn Method ede-proj-makefile-create :AFTER this mfilename
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1757 Create a GNUmakefile for all Makefile targets in @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1758 @var{MFILENAME} is the makefile to generate.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1759 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1760
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1761 @deffn Method project-make-dist :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1762 Build a distribution for the project based on @var{THIS} target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1763 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1764
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1765 @deffn Method ede-proj-makefile-create-maybe :AFTER this mfilename
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1766 Create a Makefile for all Makefile targets in @var{THIS} if needed.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1767 @var{MFILENAME} is the makefile to generate.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1768 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1769
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1770 @deffn Method ede-proj-setup-buildenvironment :AFTER this &optional force
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1771 Setup the build environment for project @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1772 Handles the Makefile, or a Makefile.am configure.in combination.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1773 Optional argument @var{FORCE} will force items to be regenerated.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1774 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1775
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1776 @deffn Method eieio-done-customizing :AFTER proj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1777 Call this when a user finishes customizing this object.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1778 Argument @var{PROJ} is the project to save.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1779 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1780
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1781 @deffn Method ede-proj-dist-makefile :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1782 Return the name of the Makefile with the DIST target in it for @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1783 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1784
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1785 @deffn Method ede-commit-project :AFTER proj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1786 Commit any change to @var{PROJ} to its file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1787 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1788
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1789 @deffn Method project-dist-files :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1790 Return a list of files that constitutes a distribution of @var{THIS} project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1791 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1792
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1793 @deffn Method ede-commit-local-variables :AFTER proj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1794 Commit change to local variables in @var{PROJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1795 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1796
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1797 @node Targets
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1798 @section Targets
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1799
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1800 @menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1801 * ede-target ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1802 * ede-proj-target ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1803 * ede-proj-target-makefile ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1804 * semantic-ede-proj-target-grammar ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1805 * ede-proj-target-makefile-objectcode ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1806 * ede-proj-target-makefile-archive ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1807 * ede-proj-target-makefile-program ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1808 * ede-proj-target-makefile-shared-object ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1809 * ede-proj-target-elisp ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1810 * ede-proj-target-elisp-autoloads ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1811 * ede-proj-target-makefile-miscelaneous ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1812 * ede-proj-target-makefile-info ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1813 * ede-proj-target-scheme ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1814 * project-am-target ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1815 * project-am-objectcode ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1816 * project-am-program ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1817 * project-am-header-noinst ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1818 * project-am-header-inst ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1819 * project-am-lisp ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1820 * project-am-texinfo ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1821 * project-am-man ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1822 @end menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1823
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1824
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1825 @node ede-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1826 @subsection ede-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1827 @tgindex ede-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1828
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1829 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1830 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1831 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1832 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1833 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1834 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1835 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1836 @item ede-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1837 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1838 @item Children:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1839 @w{ede-cpp-root-target,} @w{ede-emacs-target-c,} @w{ede-emacs-target-el,} @w{ede-emacs-target-misc,} @w{ede-linux-target-c,} @w{ede-linux-target-misc,} @w{ede-maven-target-java,} @w{ede-maven-target-c,} @w{ede-maven-target-misc,} @w{ede-simple-target,} @w{@xref{ede-proj-target},} @w{@xref{project-am-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1840 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1841 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1842 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1843 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1844 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1845
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1846 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1847 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1848
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1849 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1850 @item :name
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1851 Type: @code{string}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1852
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1853 Name of this target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1854 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1855
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1856 @item :path
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1857 Type: @code{string}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1858
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1859 The path to the sources of this target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1860 Relative to the path of the project it belongs to.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1861 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1862
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1863 @item :source
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1864 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1865 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1866
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1867 Source files in this target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1868 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1869
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1870 @item :versionsource
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1871 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1872 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1873
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1874 Source files with a version string in them.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1875 These files are checked for a version string whenever the EDE version
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1876 of the master project is changed. When strings are found, the version
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1877 previously there is updated.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1878 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1879
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1880 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1881
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1882 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1883 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1884
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1885 @deffn Method ede-preprocessor-map :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1886 Get the pre-processor map for project @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1887 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1888
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1889 @deffn Method eieio-speedbar-description :AFTER obj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1890 Provide a speedbar description for @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1891 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1892
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1893 @deffn Method project-compile-target :AFTER obj &optional command
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1894 Compile the current target @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1895 Argument @var{COMMAND} is the command to use for compiling the target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1896 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1897
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1898 @deffn Method project-debug-target :AFTER obj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1899 Run the current project target @var{OBJ} in a debugger.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1900 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1901
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1902 @deffn Method ede-convert-path :AFTER this path
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1903 Convert path in a standard way for a given project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1904 Default to making it project relative.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1905 Argument @var{THIS} is the project to convert @var{PATH} to.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1906 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1907
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1908 @deffn Method ede-name :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1909 Return the name of @var{THIS} targt.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1910 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1911
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1912 @deffn Method ede-target-buffer-in-sourcelist :AFTER this buffer source
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1913 Return non-@code{nil} if object @var{THIS} is in @var{BUFFER} to a @var{SOURCE} list.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1914 Handles complex path issues.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1915 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1916
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1917 @deffn Method eieio-speedbar-derive-line-path :AFTER obj &optional depth
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1918 Return the path to @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1919 Optional @var{DEPTH} is the depth we start at.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1920 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1921
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1922 @deffn Method ede-buffer-header-file :AFTER this buffer
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1923 There are no default header files in EDE.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1924 Do a quick check to see if there is a Header tag in this buffer.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1925 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1926
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1927 @deffn Method project-remove-file :AFTER ot fnnd
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1928 Remove the current buffer from project target @var{OT}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1929 Argument @var{FNND} is an argument.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1930 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1931
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1932 @deffn Method ede-buffer-documentation-files :AFTER this buffer
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1933 Check for some documentation files for @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1934 Also do a quick check to see if there is a Documentation tag in this @var{BUFFER}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1935 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1936
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1937 @deffn Method ede-map-target-buffers :AFTER this proc
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1938 For @var{THIS}, execute @var{PROC} on all buffers belonging to @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1939 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1940
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1941 @deffn Method eieio-speedbar-child-description :AFTER obj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1942 Provide a speedbar description for a plain-child of @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1943 A plain child is a child element which is not an EIEIO object.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1944 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1945
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1946 @deffn Method ede-object-keybindings :BEFORE this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1947 Retrieves the slot @code{keybindings} from an object of class @code{ede-target}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1948 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1949
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1950 @deffn Method ede-description :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1951 Return a description suitable for the minibuffer about @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1952 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1953
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1954 @deffn Method eieio-speedbar-object-children :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1955 Return the list of speedbar display children for @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1956 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1957
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1958 @deffn Method ede-system-include-path :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1959 Get the system include path used by project @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1960 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1961
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1962 @deffn Method ede-object-sourcecode :BEFORE this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1963 Retrieves the slot @code{sourcetype} from an object of class @code{ede-target}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1964 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1965
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1966 @deffn Method ede-expand-filename :AFTER this filename &optional force
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1967 Return a fully qualified file name based on target @var{THIS}.
106860
4cf58c2379f4 Mario Lang <mlang@delysid.org>: Remove some duplicated words.
Glenn Morris <rgm@gnu.org>
parents: 106815
diff changeset
1968 @var{FILENAME} should be a filename which occurs in a directory in which @var{THIS} works.
105494
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1969 Optional argument @var{FORCE} forces the default filename to be provided even if it
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1970 doesn't exist.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1971 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1972
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1973 @deffn Method ede-menu-items-build :AFTER obj &optional current
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1974 Return a list of menu items for building target @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1975 If optional argument @var{CURRENT} is non-@code{nil}, return sub-menu code.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1976 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1977
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1978 @deffn Method ede-want-file-p :AFTER this file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1979 Return non-@code{nil} if @var{THIS} target wants @var{FILE}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1980 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1981
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1982 @deffn Method ede-update-version-in-source :AFTER this version
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1983 In sources for @var{THIS}, change version numbers to @var{VERSION}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1984 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1985
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1986 @deffn Method project-delete-target :AFTER ot
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1987 Delete the current target @var{OT} from it's parent project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1988 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1989
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1990 @deffn Method ede-target-sourcecode :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1991 Return the sourcecode objects which @var{THIS} permits.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1992 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1993
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1994 @deffn Method eieio-speedbar-child-make-tag-lines :AFTER this depth
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1995 Create a speedbar tag line for a child of @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1996 It has depth @var{DEPTH}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1997 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1998
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1999 @deffn Method eieio-speedbar-object-buttonname :AFTER object
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2000 Return a string to use as a speedbar button for @var{OBJECT}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2001 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2002
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2003 @deffn Method eieio-done-customizing :AFTER target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2004 Call this when a user finishes customizing @var{TARGET}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2005 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2006
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2007 @deffn Method project-edit-file-target :AFTER ot
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2008 Edit the target @var{OT} associated w/ this file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2009 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2010
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2011 @deffn Method ede-documentation :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2012 Return a list of files that provides documentation.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2013 Documentation is not for object @var{THIS}, but is provided by @var{THIS} for other
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2014 files in the project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2015 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2016
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2017 @deffn Method ede-want-file-source-p :AFTER this file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2018 Return non-@code{nil} if @var{THIS} target wants @var{FILE}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2019 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2020
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2021 @deffn Method ede-want-file-auxiliary-p :AFTER this file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2022 Return non-@code{nil} if @var{THIS} target wants @var{FILE}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2023 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2024
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2025 @deffn Method project-add-file :AFTER ot file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2026 Add the current buffer into project project target @var{OT}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2027 Argument @var{FILE} is the file to add.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2028 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2029
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2030 @deffn Method ede-target-name :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2031 Return the name of @var{THIS} target, suitable for make or debug style commands.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2032 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2033
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2034 @deffn Method ede-object-menu :BEFORE this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2035 Retrieves the slot @code{menu} from an object of class @code{ede-target}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2036 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2037
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2038 @node ede-proj-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2039 @subsection ede-proj-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2040 @tgindex ede-proj-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2041
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2042 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2043 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2044 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2045 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2046 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2047 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2048 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2049 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2050 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2051 @item ede-proj-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2052 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2053 @item Children:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2054 @w{@xref{ede-proj-target-makefile},} @w{ede-proj-target-aux,} @w{@xref{ede-proj-target-scheme}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2055 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2056 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2057 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2058 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2059 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2060 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2061
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2062 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2063 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2064
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2065 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2066 @item :name
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2067 Type: @code{string}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2068
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2069 Name of this target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2070 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2071
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2072 @item :path
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2073 Type: @code{string}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2074
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2075 The path to the sources of this target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2076 Relative to the path of the project it belongs to.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2077 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2078
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2079 @item :auxsource
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2080 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2081 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2082
106874
ab4dd366cab3 Fix typos in info documentation.
Juanma Barranquero <lekktu@gmail.com>
parents: 106860
diff changeset
2083 Auxiliary source files included in this target.
105494
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2084 Each of these is considered equivalent to a source file, but it is not
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2085 distributed, and each should have a corresponding rule to build it.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2086 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2087
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2088 @item :compiler
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2089 Type: @code{(or null symbol)} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2090 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2091
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2092 The compiler to be used to compile this object.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2093 This should be a symbol, which contains the object defining the compiler.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2094 This enables save/restore to do so by name, permitting the sharing
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2095 of these compiler resources, and global customization thereof.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2096 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2097
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2098 @item :linker
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2099 Type: @code{(or null symbol)} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2100 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2101
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2102 The linker to be used to link compiled sources for this object.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2103 This should be a symbol, which contains the object defining the linker.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2104 This enables save/restore to do so by name, permitting the sharing
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2105 of these linker resources, and global customization thereof.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2106 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2107
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2108 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2109
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2110 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2111 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2112
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2113 @deffn Method project-compile-target :AFTER obj &optional command
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2114 Compile the current target @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2115 Argument @var{COMMAND} is the command to use for compiling the target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2116 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2117
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2118 @deffn Method project-debug-target :AFTER obj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2119 Run the current project target @var{OBJ} in a debugger.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2120 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2121
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2122 @deffn Method ede-proj-configure-add-missing :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2123 Query if any files needed by @var{THIS} provided by automake are missing.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2124 Results in --add-missing being passed to automake.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2125 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2126
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2127 @deffn Method ede-proj-flush-autoconf :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2128 Flush the configure file (current buffer) to accomodate @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2129 By flushing, remove any cruft that may be in the file. Subsequent
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2130 calls to @dfn{ede-proj-tweak-autoconf} can restore items removed by flush.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2131 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2132
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2133 @deffn Method ede-proj-makefile-insert-rules :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2134 Insert rules needed by @var{THIS} target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2135 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2136
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2137 @deffn Method project-remove-file :AFTER target file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2138 For @var{TARGET}, remove @var{FILE}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2139 @var{FILE} must be massaged by @dfn{ede-convert-path}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2140 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2141
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2142 @deffn Method ede-proj-configure-create-missing :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2143 Add any missing files for @var{THIS} by creating them.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2144 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2145
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2146 @deffn Method ede-proj-makefile-sourcevar :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2147 Return the variable name for @var{THIS}'s sources.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2148 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2149
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2150 @deffn Method ede-proj-makefile-insert-variables :AFTER this &optional moresource
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2151 Insert variables needed by target @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2152 Optional argument @var{MORESOURCE} is a list of additional sources to add to the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2153 sources variable.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2154 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2155
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2156 @deffn Method ede-proj-makefile-insert-automake-post-variables :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2157 Insert variables needed by target @var{THIS} in Makefile.am after SOURCES.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2158 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2159
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2160 @deffn Method ede-proj-makefile-insert-dist-dependencies :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2161 Insert any symbols that the DIST rule should depend on.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2162 Argument @var{THIS} is the target that should insert stuff.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2163 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2164
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2165 @deffn Method ede-proj-linkers :AFTER obj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2166 List of linkers being used by @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2167 If the @code{linker} slot is empty, concoct one on a first match found
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2168 basis for any given type from the @code{availablelinkers} slot.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2169 Otherwise, return the @code{linker} slot.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2170 Converts all symbols into the objects to be used.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2171 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2172
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2173 @deffn Method ede-proj-makefile-garbage-patterns :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2174 Return a list of patterns that are considered garbage to @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2175 These are removed with make clean.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2176 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2177
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2178 @deffn Method ede-proj-tweak-autoconf :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2179 Tweak the configure file (current buffer) to accomodate @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2180 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2181
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2182 @deffn Method ede-proj-compilers :AFTER obj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2183 List of compilers being used by @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2184 If the @code{compiler} slot is empty, concoct one on a first match found
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2185 basis for any given type from the @code{availablecompilers} slot.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2186 Otherwise, return the @code{compiler} slot.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2187 Converts all symbols into the objects to be used.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2188 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2189
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2190 @deffn Method project-delete-target :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2191 Delete the current target @var{THIS} from it's parent project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2192 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2193
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2194 @deffn Method ede-proj-makefile-target-name :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2195 Return the name of the main target for @var{THIS} target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2196 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2197
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2198 @deffn Method eieio-done-customizing :AFTER target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2199 Call this when a user finishes customizing this object.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2200 Argument @var{TARGET} is the project we are completing customization on.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2201 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2202
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2203 @deffn Method ede-proj-makefile-insert-user-rules :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2204 Insert user specified rules needed by @var{THIS} target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2205 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2206
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2207 @deffn Method project-add-file :AFTER this file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2208 Add to target @var{THIS} the current buffer represented as @var{FILE}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2209 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2210
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2211 @deffn Method ede-proj-makefile-insert-automake-pre-variables :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2212 Insert variables needed by target @var{THIS} in Makefile.am before SOURCES.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2213 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2214
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2215 @deffn Method ede-proj-makefile-insert-dist-filepatterns :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2216 Insert any symbols that the DIST rule should depend on.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2217 Argument @var{THIS} is the target that should insert stuff.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2218 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2219
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2220 @deffn Method ede-proj-makefile-dependency-files :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2221 Return a list of source files to convert to dependencies.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2222 Argument @var{THIS} is the target to get sources from.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2223 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2224
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2225 @deffn Method ede-proj-makefile-insert-source-variables :AFTER this &optional moresource
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2226 Insert the source variables needed by @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2227 Optional argument @var{MORESOURCE} is a list of additional sources to add to the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2228 sources variable.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2229 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2230
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2231
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2232 @node ede-proj-target-makefile
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2233 @subsection ede-proj-target-makefile
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2234 @tgindex ede-proj-target-makefile
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2235
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2236 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2237 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2238 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2239 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2240 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2241 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2242 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2243 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2244 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2245 @item @w{@xref{ede-proj-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2246 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2247 @item ede-proj-target-makefile
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2248 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2249 @item Children:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2250 @w{@xref{semantic-ede-proj-target-grammar},} @w{@xref{ede-proj-target-makefile-objectcode},} @w{@xref{ede-proj-target-elisp},} @w{@xref{ede-proj-target-makefile-miscelaneous},} @w{@xref{ede-proj-target-makefile-info}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2251 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2252 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2253 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2254 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2255 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2256 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2257 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2258
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2259 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2260 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2261
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2262 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2263 @item :makefile
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2264 Type: @code{string} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2265 Default Value: @code{"Makefile"}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2266
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2267 File name of generated Makefile.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2268 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2269
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2270 @item :partofall
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2271 Type: @code{boolean} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2272 Default Value: @code{t}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2273
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2274 Non @code{nil} means the rule created is part of the all target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2275 Setting this to @code{nil} creates the rule to build this item, but does not
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2276 include it in the ALL`all:' rule.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2277 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2278
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2279 @item :configuration-variables
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2280 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2281 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2282
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2283 Makefile variables appended to use in different configurations.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2284 These variables are used in the makefile when a configuration becomes active.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2285 Target variables are always renamed such as foo_CFLAGS, then included into
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2286 commands where the variable would usually appear.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2287 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2288
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2289 @item :rules
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2290 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2291 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2292
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2293 Arbitrary rules and dependencies needed to make this target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2294 It is safe to leave this blank.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2295 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2296
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2297 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2298
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2299 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2300 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2301
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2302 @deffn Method ede-proj-makefile-dependencies :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2303 Return a string representing the dependencies for @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2304 Some compilers only use the first element in the dependencies, others
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2305 have a list of intermediates (object files), and others don't care.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2306 This allows customization of how these elements appear.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2307 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2308
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2309 @deffn Method project-compile-target :AFTER obj &optional command
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2310 Compile the current target program @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2311 Optional argument @var{COMMAND} is the s the alternate command to use.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2312 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2313
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2314 @deffn Method ede-proj-makefile-insert-rules :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2315 Insert rules needed by @var{THIS} target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2316 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2317
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2318 @deffn Method ede-proj-makefile-insert-variables :AFTER this &optional moresource
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2319 Insert variables needed by target @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2320 Optional argument @var{MORESOURCE} is a list of additional sources to add to the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2321 sources variable.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2322 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2323
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2324 @deffn Method ede-proj-makefile-insert-commands :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2325 Insert the commands needed by target @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2326 For targets, insert the commands needed by the chosen compiler.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2327 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2328
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2329 @deffn Method ede-proj-makefile-configuration-variables :AFTER this configuration
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2330 Return a list of configuration variables from @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2331 Use @var{CONFIGURATION} as the current configuration to query.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2332 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2333
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2334 @node semantic-ede-proj-target-grammar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2335 @subsection semantic-ede-proj-target-grammar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2336 @tgindex semantic-ede-proj-target-grammar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2337
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2338 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2339 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2340 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2341 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2342 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2343 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2344 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2345 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2346 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2347 @item @w{@xref{ede-proj-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2348 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2349 @item @w{@xref{ede-proj-target-makefile}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2350 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2351 @item semantic-ede-proj-target-grammar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2352 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2353 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2354 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2355 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2356 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2357 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2358 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2359 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2360
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2361 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2362
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2363 @deffn Method project-compile-target :AFTER obj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2364 Compile all sources in a Lisp target @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2365 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2366
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2367 @deffn Method ede-proj-makefile-insert-rules :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2368 Insert rules needed by @var{THIS} target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2369 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2370
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2371 @deffn Method ede-buffer-mine :AFTER this buffer
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2372 Return @code{t} if object @var{THIS} lays claim to the file in @var{BUFFER}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2373 Lays claim to all -by.el, and -wy.el files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2374 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2375
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2376 @deffn Method ede-proj-makefile-sourcevar :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2377 Return the variable name for @var{THIS}'s sources.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2378 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2379
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2380 @deffn Method ede-proj-makefile-insert-dist-dependencies :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2381 Insert dist dependencies, or intermediate targets.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2382 This makes sure that all grammar lisp files are created before the dist
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2383 runs, so they are always up to date.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2384 Argument @var{THIS} is the target that should insert stuff.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2385 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2386
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2387
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2388 @node ede-proj-target-makefile-objectcode
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2389 @subsection ede-proj-target-makefile-objectcode
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2390 @tgindex ede-proj-target-makefile-objectcode
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2391
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2392 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2393 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2394 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2395 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2396 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2397 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2398 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2399 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2400 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2401 @item @w{@xref{ede-proj-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2402 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2403 @item @w{@xref{ede-proj-target-makefile}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2404 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2405 @item ede-proj-target-makefile-objectcode
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2406 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2407 @item Children:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2408 @w{@xref{ede-proj-target-makefile-archive},} @w{@xref{ede-proj-target-makefile-program}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2409 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2410 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2411 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2412 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2413 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2414 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2415 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2416 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2417
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2418 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2419 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2420
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2421 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2422 @item :configuration-variables
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2423 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2424 Default Value: @code{("debug" ("CFLAGS" . "-g") ("LDFLAGS" . "-g"))}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2425
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2426 @xref{ede-proj-target-makefile}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2427 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2428 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2429 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2430
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2431 @deffn Method ede-buffer-header-file :AFTER this buffer
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2432 There are no default header files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2433 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2434
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2435 @deffn Method ede-proj-makefile-sourcevar :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2436 Return the variable name for @var{THIS}'s sources.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2437 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2438
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2439 @deffn Method ede-proj-makefile-insert-variables :AFTER this &optional moresource
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2440 Insert variables needed by target @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2441 Optional argument @var{MORESOURCE} is not used.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2442 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2443
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2444 @deffn Method ede-proj-makefile-dependency-files :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2445 Return a list of source files to convert to dependencies.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2446 Argument @var{THIS} is the target to get sources from.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2447 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2448
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2449
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2450 @node ede-proj-target-makefile-archive
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2451 @subsection ede-proj-target-makefile-archive
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2452 @tgindex ede-proj-target-makefile-archive
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2453
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2454 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2455 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2456 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2457 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2458 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2459 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2460 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2461 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2462 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2463 @item @w{@xref{ede-proj-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2464 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2465 @item @w{@xref{ede-proj-target-makefile}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2466 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2467 @item @w{@xref{ede-proj-target-makefile-objectcode}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2468 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2469 @item ede-proj-target-makefile-archive
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2470 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2471 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2472 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2473 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2474 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2475 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2476 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2477 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2478 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2479
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2480 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2481
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2482 @deffn Method ede-proj-makefile-insert-rules :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2483 Create the make rule needed to create an archive for @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2484 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2485
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2486 @deffn Method ede-proj-makefile-insert-source-variables :PRIMARY this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2487 Insert bin_PROGRAMS variables needed by target @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2488 We aren't acutally inserting SOURCE details, but this is used by the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2489 Makefile.am generator, so use it to add this important bin program.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2490 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2491
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2492
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2493 @node ede-proj-target-makefile-program
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2494 @subsection ede-proj-target-makefile-program
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2495 @tgindex ede-proj-target-makefile-program
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2496
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2497 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2498 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2499 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2500 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2501 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2502 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2503 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2504 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2505 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2506 @item @w{@xref{ede-proj-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2507 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2508 @item @w{@xref{ede-proj-target-makefile}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2509 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2510 @item @w{@xref{ede-proj-target-makefile-objectcode}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2511 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2512 @item ede-proj-target-makefile-program
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2513 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2514 @item Children:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2515 @w{@xref{ede-proj-target-makefile-shared-object}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2516 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2517 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2518 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2519 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2520 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2521 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2522 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2523 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2524 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2525
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2526 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2527 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2528
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2529 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2530 @item :ldlibs
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2531 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2532 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2533
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2534 Libraries, such as "m" or "Xt" which this program depends on.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2535 The linker flag "-l" is automatically prepended. Do not include a "lib"
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2536 prefix, or a ".so" suffix.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2537
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2538 Note: Currently only used for Automake projects.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2539 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2540
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2541 @item :ldflags
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2542 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2543 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2544
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2545 Additional flags to add when linking this target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2546 Use ldlibs to add addition libraries. Use this to specify specific
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2547 options to the linker.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2548
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2549 Note: Not currently used. This bug needs to be fixed.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2550 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2551
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2552 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2553
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2554 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2555 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2556
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2557 @deffn Method project-debug-target :AFTER obj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2558 Debug a program target @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2559 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2560
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2561 @deffn Method ede-proj-makefile-insert-rules :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2562 Insert rules needed by @var{THIS} target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2563 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2564
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2565 @deffn Method ede-proj-makefile-insert-automake-post-variables :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2566 Insert bin_PROGRAMS variables needed by target @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2567 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2568
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2569 @deffn Method ede-proj-makefile-insert-automake-pre-variables :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2570 Insert bin_PROGRAMS variables needed by target @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2571 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2572
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2573
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2574 @node ede-proj-target-makefile-shared-object
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2575 @subsection ede-proj-target-makefile-shared-object
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2576 @tgindex ede-proj-target-makefile-shared-object
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2577
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2578 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2579 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2580 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2581 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2582 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2583 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2584 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2585 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2586 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2587 @item @w{@xref{ede-proj-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2588 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2589 @item @w{@xref{ede-proj-target-makefile}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2590 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2591 @item @w{@xref{ede-proj-target-makefile-objectcode}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2592 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2593 @item @w{@xref{ede-proj-target-makefile-program}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2594 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2595 @item ede-proj-target-makefile-shared-object
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2596 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2597 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2598 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2599 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2600 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2601 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2602 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2603 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2604 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2605 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2606
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2607 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2608
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2609 @deffn Method ede-proj-configure-add-missing :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2610 Query if any files needed by @var{THIS} provided by automake are missing.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2611 Results in --add-missing being passed to automake.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2612 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2613
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2614 @deffn Method ede-proj-makefile-sourcevar :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2615 Return the variable name for @var{THIS}'s sources.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2616 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2617
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2618 @deffn Method ede-proj-makefile-insert-automake-post-variables :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2619 Insert bin_PROGRAMS variables needed by target @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2620 We need to override -program which has an LDADD element.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2621 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2622
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2623 @deffn Method ede-proj-makefile-target-name :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2624 Return the name of the main target for @var{THIS} target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2625 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2626
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2627 @deffn Method ede-proj-makefile-insert-automake-pre-variables :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2628 Insert bin_PROGRAMS variables needed by target @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2629 We aren't acutally inserting SOURCE details, but this is used by the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2630 Makefile.am generator, so use it to add this important bin program.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2631 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2632
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2633
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2634 @node ede-proj-target-elisp
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2635 @subsection ede-proj-target-elisp
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2636 @tgindex ede-proj-target-elisp
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2637
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2638 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2639 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2640 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2641 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2642 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2643 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2644 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2645 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2646 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2647 @item @w{@xref{ede-proj-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2648 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2649 @item @w{@xref{ede-proj-target-makefile}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2650 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2651 @item ede-proj-target-elisp
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2652 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2653 @item Children:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2654 @w{@xref{ede-proj-target-elisp-autoloads}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2655 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2656 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2657 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2658 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2659 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2660 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2661 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2662 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2663
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2664 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2665 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2666
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2667 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2668 @item :aux-packages
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2669 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2670 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2671
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2672 Additional packages needed.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2673 There should only be one toplevel package per auxiliary tool needed.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2674 These packages location is found, and added to the compile time
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2675 load path.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2676 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2677
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2678 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2679
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2680 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2681 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2682
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2683 @deffn Method project-compile-target :AFTER obj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2684 Compile all sources in a Lisp target @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2685 Bonus: Return a cons cell: (COMPILED . UPTODATE).
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2686 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2687
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2688 @deffn Method ede-proj-flush-autoconf :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2689 Flush the configure file (current buffer) to accomodate @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2690 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2691
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2692 @deffn Method ede-buffer-mine :AFTER this buffer
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2693 Return @code{t} if object @var{THIS} lays claim to the file in @var{BUFFER}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2694 Lays claim to all .elc files that match .el files in this target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2695 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2696
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2697 @deffn Method ede-proj-makefile-sourcevar :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2698 Return the variable name for @var{THIS}'s sources.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2699 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2700
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2701 @deffn Method ede-proj-tweak-autoconf :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2702 Tweak the configure file (current buffer) to accomodate @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2703 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2704
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2705 @deffn Method ede-update-version-in-source :AFTER this version
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2706 In a Lisp file, updated a version string for @var{THIS} to @var{VERSION}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2707 There are standards in Elisp files specifying how the version string
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2708 is found, such as a @code{-version} variable, or the standard header.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2709 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2710
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2711 @node ede-proj-target-elisp-autoloads
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2712 @subsection ede-proj-target-elisp-autoloads
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2713 @tgindex ede-proj-target-elisp-autoloads
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2714
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2715 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2716 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2717 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2718 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2719 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2720 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2721 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2722 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2723 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2724 @item @w{@xref{ede-proj-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2725 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2726 @item @w{@xref{ede-proj-target-makefile}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2727 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2728 @item @w{@xref{ede-proj-target-elisp}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2729 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2730 @item ede-proj-target-elisp-autoloads
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2731 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2732 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2733 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2734 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2735 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2736 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2737 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2738 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2739 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2740
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2741 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2742 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2743
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2744 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2745 @item :aux-packages
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2746 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2747 Default Value: @code{("cedet-autogen")}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2748
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2749 @xref{ede-proj-target-elisp}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2750 @item :autoload-file
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2751 Type: @code{string} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2752 Default Value: @code{"loaddefs.el"}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2753
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2754 The file that autoload definitions are placed in.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2755 There should be one load defs file for a given package. The load defs are created
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2756 for all Emacs Lisp sources that exist in the directory of the created target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2757 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2758
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2759 @item :autoload-dirs
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2760 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2761 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2762
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2763 The directories to scan for autoload definitions.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2764 If @code{nil} defaults to the current directory.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2765 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2766
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2767 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2768
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2769 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2770 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2771
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2772 @deffn Method ede-proj-makefile-dependencies :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2773 Return a string representing the dependencies for @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2774 Always return an empty string for an autoloads generator.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2775 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2776
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2777 @deffn Method project-compile-target :AFTER obj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2778 Create or update the autoload target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2779 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2780
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2781 @deffn Method ede-proj-flush-autoconf :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2782 Flush the configure file (current buffer) to accomodate @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2783 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2784
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2785 @deffn Method ede-buffer-mine :AFTER this buffer
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2786 Return @code{t} if object @var{THIS} lays claim to the file in @var{BUFFER}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2787 Lays claim to all .elc files that match .el files in this target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2788 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2789
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2790 @deffn Method ede-proj-makefile-sourcevar :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2791 Return the variable name for @var{THIS}'s sources.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2792 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2793
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2794 @deffn Method ede-proj-makefile-insert-dist-dependencies :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2795 Insert any symbols that the DIST rule should depend on.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2796 Emacs Lisp autoload files ship the generated .el files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2797 Argument @var{THIS} is the target which needs to insert an info file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2798 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2799
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2800 @deffn Method ede-proj-tweak-autoconf :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2801 Tweak the configure file (current buffer) to accomodate @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2802 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2803
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2804 @deffn Method ede-update-version-in-source :AFTER this version
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2805 In a Lisp file, updated a version string for @var{THIS} to @var{VERSION}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2806 There are standards in Elisp files specifying how the version string
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2807 is found, such as a @code{-version} variable, or the standard header.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2808 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2809
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2810 @deffn Method ede-proj-compilers :AFTER obj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2811 List of compilers being used by @var{OBJ}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2812 If the @code{compiler} slot is empty, get the car of the compilers list.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2813 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2814
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2815 @deffn Method ede-proj-makefile-insert-dist-filepatterns :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2816 Insert any symbols that the DIST rule should distribute.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2817 Emacs Lisp autoload files ship the generated .el files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2818 Argument @var{THIS} is the target which needs to insert an info file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2819 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2820
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2821 @deffn Method ede-proj-makefile-insert-source-variables :AFTER this &optional moresource
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2822 Insert the source variables needed by @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2823 Optional argument @var{MORESOURCE} is a list of additional sources to add to the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2824 sources variable.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2825 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2826
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2827
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2828 @node ede-proj-target-makefile-miscelaneous
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2829 @subsection ede-proj-target-makefile-miscelaneous
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2830 @tgindex ede-proj-target-makefile-miscelaneous
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2831
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2832 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2833 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2834 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2835 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2836 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2837 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2838 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2839 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2840 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2841 @item @w{@xref{ede-proj-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2842 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2843 @item @w{@xref{ede-proj-target-makefile}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2844 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2845 @item ede-proj-target-makefile-miscelaneous
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2846 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2847 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2848 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2849 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2850 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2851 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2852 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2853 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2854
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2855 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2856 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2857
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2858 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2859 @item :submakefile
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2860 Type: @code{string} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2861 Default Value: @code{""}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2862
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2863 Miscellaneous sources which have a specialized makefile.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2864 The sub-makefile is used to build this target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2865 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2866
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2867 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2868
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2869 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2870 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2871
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2872 @deffn Method ede-proj-makefile-insert-rules :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2873 Create the make rule needed to create an archive for @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2874 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2875
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2876 @deffn Method ede-proj-makefile-sourcevar :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2877 Return the variable name for @var{THIS}'s sources.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2878 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2879
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2880 @deffn Method ede-proj-makefile-dependency-files :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2881 Return a list of files which @var{THIS} target depends on.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2882 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2883
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2884
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2885 @node ede-proj-target-makefile-info
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2886 @subsection ede-proj-target-makefile-info
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2887 @tgindex ede-proj-target-makefile-info
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2888
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2889 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2890 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2891 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2892 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2893 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2894 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2895 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2896 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2897 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2898 @item @w{@xref{ede-proj-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2899 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2900 @item @w{@xref{ede-proj-target-makefile}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2901 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2902 @item ede-proj-target-makefile-info
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2903 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2904 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2905 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2906 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2907 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2908 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2909 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2910 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2911
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2912 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2913 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2914
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2915 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2916 @item :mainmenu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2917 Type: @code{string} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2918 Default Value: @code{""}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2919
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2920 The main menu resides in this file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2921 All other sources should be included independently.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2922 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2923
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2924 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2925
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2926 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2927 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2928
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2929 @deffn Method ede-proj-configure-add-missing :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2930 Query if any files needed by @var{THIS} provided by automake are missing.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2931 Results in --add-missing being passed to automake.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2932 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2933
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2934 @deffn Method object-write :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2935 Before committing any change to @var{THIS}, make sure the mainmenu is first.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2936 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2937
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2938 @deffn Method ede-proj-makefile-sourcevar :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2939 Return the variable name for @var{THIS}'s sources.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2940 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2941
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2942 @deffn Method ede-proj-makefile-insert-dist-dependencies :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2943 Insert any symbols that the DIST rule should depend on.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2944 Texinfo files want to insert generated `.info' files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2945 Argument @var{THIS} is the target which needs to insert an info file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2946 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2947
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2948 @deffn Method ede-proj-makefile-target-name :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2949 Return the name of the main target for @var{THIS} target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2950 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2951
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2952 @deffn Method ede-documentation :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2953 Return a list of files that provides documentation.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2954 Documentation is not for object @var{THIS}, but is provided by @var{THIS} for other
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2955 files in the project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2956 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2957
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2958 @deffn Method ede-proj-makefile-insert-dist-filepatterns :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2959 Insert any symbols that the DIST rule should depend on.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2960 Texinfo files want to insert generated `.info' files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2961 Argument @var{THIS} is the target which needs to insert an info file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2962 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2963
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2964 @deffn Method ede-proj-makefile-insert-source-variables :AFTER this &optional moresource
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2965 Insert the source variables needed by @var{THIS} info target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2966 Optional argument @var{MORESOURCE} is a list of additional sources to add to the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2967 sources variable.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2968 Does the usual for Makefile mode, but splits source into two variables
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2969 when working in Automake mode.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2970 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2971
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2972 @node ede-proj-target-scheme
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2973 @subsection ede-proj-target-scheme
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2974 @tgindex ede-proj-target-scheme
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2975
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2976 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2977 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2978 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2979 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2980 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2981 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2982 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2983 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2984 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2985 @item @w{@xref{ede-proj-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2986 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2987 @item ede-proj-target-scheme
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2988 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2989 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2990 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2991 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2992 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2993 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2994 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2995
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2996 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2997 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2998
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2999 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3000 @item :interpreter
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3001 Type: @code{string} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3002 Default Value: @code{"guile"}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3003
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3004 The preferred interpreter for this code.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3005 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3006
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3007 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3008
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3009 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3010 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3011
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3012 @deffn Method ede-proj-tweak-autoconf :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3013 Tweak the configure file (current buffer) to accomodate @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3014 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3015
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3016
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3017 @node project-am-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3018 @subsection project-am-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3019 @tgindex project-am-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3020
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3021 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3022 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3023 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3024 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3025 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3026 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3027 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3028 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3029 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3030 @item project-am-target
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3031 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3032 @item Children:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3033 @w{@xref{project-am-objectcode},} @w{project-am-header,} @w{@xref{project-am-lisp},} @w{@xref{project-am-texinfo},} @w{@xref{project-am-man}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3034 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3035 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3036 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3037 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3038 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3039 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3040
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3041 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3042
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3043 @deffn Method project-compile-target-command :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3044 Default target to use when compiling a given target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3045 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3046
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3047 @deffn Method project-make-dist :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3048 Run the current project in the debugger.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3049 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3050
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3051 @deffn Method project-edit-file-target :AFTER obj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3052 Edit the target associated w/ this file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3053 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3054
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3055 @node project-am-objectcode
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3056 @subsection project-am-objectcode
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3057 @tgindex project-am-objectcode
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3058
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3059 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3060 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3061 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3062 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3063 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3064 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3065 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3066 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3067 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3068 @item @w{@xref{project-am-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3069 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3070 @item project-am-objectcode
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3071 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3072 @item Children:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3073 @w{@xref{project-am-program},} @w{project-am-lib.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3074 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3075 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3076 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3077 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3078 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3079 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3080 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3081
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3082 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3083
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3084 @deffn Method project-am-macro :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3085 Return the default macro to 'edit' for this object type.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3086 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3087
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3088 @deffn Method project-debug-target :AFTER obj
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3089 Run the current project target in a debugger.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3090 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3091
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3092 @deffn Method project-compile-target-command :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3093 Default target to use when compiling an object code target.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3094 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3095
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3096 @deffn Method ede-buffer-header-file :AFTER this buffer
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3097 There are no default header files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3098 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3099
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3100 @node project-am-program
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3101 @subsection project-am-program
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3102 @tgindex project-am-program
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3103
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3104 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3105 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3106 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3107 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3108 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3109 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3110 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3111 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3112 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3113 @item @w{@xref{project-am-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3114 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3115 @item @w{@xref{project-am-objectcode}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3116 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3117 @item project-am-program
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3118 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3119 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3120 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3121 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3122 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3123 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3124 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3125 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3126
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3127 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3128 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3129
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3130 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3131 @item :ldadd @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3132 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3133
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3134 Additional LD args.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3135 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3136 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3137 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3138
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3139 @node project-am-header-noinst
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3140 @subsection project-am-header-noinst
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3141 @tgindex project-am-header-noinst
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3142
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3143 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3144 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3145 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3146 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3147 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3148 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3149 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3150 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3151 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3152 @item @w{@xref{project-am-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3153 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3154 @item @w{project-am-header.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3155 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3156 @item project-am-header-noinst
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3157 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3158 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3159 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3160 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3161 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3162 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3163 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3164 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3165
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3166 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3167
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3168 @deffn Method project-am-macro :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3169 Return the default macro to 'edit' for this object.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3170 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3171
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3172 @node project-am-header-inst
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3173 @subsection project-am-header-inst
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3174 @tgindex project-am-header-inst
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3175
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3176 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3177 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3178 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3179 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3180 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3181 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3182 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3183 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3184 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3185 @item @w{@xref{project-am-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3186 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3187 @item @w{project-am-header.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3188 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3189 @item project-am-header-inst
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3190 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3191 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3192 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3193 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3194 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3195 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3196 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3197 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3198
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3199 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3200
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3201 @deffn Method project-am-macro :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3202 Return the default macro to 'edit' for this object.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3203 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3204
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3205 @node project-am-lisp
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3206 @subsection project-am-lisp
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3207 @tgindex project-am-lisp
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3208
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3209 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3210 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3211 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3212 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3213 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3214 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3215 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3216 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3217 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3218 @item @w{@xref{project-am-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3219 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3220 @item project-am-lisp
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3221 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3222 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3223 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3224 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3225 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3226 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3227 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3228
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3229 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3230
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3231 @deffn Method project-am-macro :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3232 Return the default macro to 'edit' for this object.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3233 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3234
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3235 @node project-am-texinfo
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3236 @subsection project-am-texinfo
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3237 @tgindex project-am-texinfo
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3238
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3239 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3240 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3241 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3242 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3243 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3244 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3245 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3246 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3247 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3248 @item @w{@xref{project-am-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3249 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3250 @item project-am-texinfo
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3251 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3252 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3253 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3254 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3255 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3256 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3257 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3258
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3259 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3260 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3261
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3262 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3263 @item :include @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3264 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3265
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3266 Additional texinfo included in this one.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3267 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3268
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3269 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3270 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3271 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3272
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3273 @deffn Method project-am-macro :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3274 Return the default macro to 'edit' for this object type.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3275 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3276
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3277 @deffn Method project-compile-target-command :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3278 Default target t- use when compling a texinfo file.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3279 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3280
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3281 @deffn Method ede-documentation :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3282 Return a list of files that provides documentation.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3283 Documentation is not for object @var{THIS}, but is provided by @var{THIS} for other
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3284 files in the project.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3285 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3286
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3287 @node project-am-man
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3288 @comment node-name, next, previous, up
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3289 @subsection project-am-man
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3290 @tgindex project-am-man
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3291
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3292 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3293 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3294 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3295 @item eieio-speedbar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3296 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3297 @item eieio-speedbar-directory-button
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3298 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3299 @item @w{@xref{ede-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3300 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3301 @item @w{@xref{project-am-target}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3302 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3303 @item project-am-man
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3304 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3305 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3306 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3307 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3308 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3309 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3310 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3311
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3312 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3313
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3314 @deffn Method project-am-macro :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3315 Return the default macro to 'edit' for this object type.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3316 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3317
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3318 @node Sourcecode
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3319 @section Sourcecode
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3320
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3321 The source code type is an object designed to associated files with
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3322 targets.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3323
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3324 @menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3325 * ede-sourcecode ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3326 @end menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3327
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3328
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3329 @node ede-sourcecode
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3330 @subsection ede-sourcecode
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3331 @scindex ede-sourcecode
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3332
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3333 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3334 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3335 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3336 @item eieio-instance-inheritor
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3337 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3338 @item ede-sourcecode
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3339 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3340 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3341 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3342 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3343
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3344 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3345 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3346
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3347 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3348 @item :parent-instance
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3349 Type: @code{eieio-instance-inheritor-child}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3350
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3351 The parent of this instance.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3352 If a slot of this class is reference, and is unbound, then the parent
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3353 is checked for a value.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3354 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3355
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3356 @item :name
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3357 Type: @code{string}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3358
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3359 The name of this type of source code.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3360 Such as "C" or "Emacs Lisp"
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3361 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3362
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3363 @item :sourcepattern
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3364 Type: @code{string} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3365 Default Value: @code{".*"}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3366
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3367 Emacs regex matching sourcecode this target accepts.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3368 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3369
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3370 @item :auxsourcepattern
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3371 Type: @code{(or null string)} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3372 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3373
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3374 Emacs regex matching auxiliary source code this target accepts.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3375 Aux source are source code files needed for compilation, which are not comiled
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3376 themselves.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3377 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3378
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3379 @item :enable-subdirectories
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3380 Type: @code{boolean} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3381 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3382
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3383 Non @code{nil} if this sourcecode type uses subdirectores.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3384 If sourcecode always lives near the target creating it, this should be nil.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3385 If sourcecode can, or typically lives in a subdirectory of the owning
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3386 target, set this to t.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3387 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3388
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3389 @item :garbagepattern
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3390 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3391 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3392
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3393 Shell file regex matching files considered as garbage.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3394 This is a list of items added to an @code{rm} command when executing a @code{clean}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3395 type directive.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3396 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3397
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3398 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3399
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3400 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3401 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3402
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3403 @deffn Method ede-want-any-files-p :AFTER this filenames
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3404 Return non-@code{nil} if @var{THIS} will accept any files in @var{FILENAMES}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3405 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3406
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3407 @deffn Method ede-want-any-source-files-p :AFTER this filenames
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3408 Return non-@code{nil} if @var{THIS} will accept any source files in @var{FILENAMES}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3409 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3410
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3411 @deffn Method ede-want-any-auxiliary-files-p :AFTER this filenames
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3412 Return non-@code{nil} if @var{THIS} will accept any aux files in @var{FILENAMES}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3413 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3414
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3415 @deffn Method ede-buffer-header-file :AFTER this filename
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3416 Return a list of file names of header files for @var{THIS} with @var{FILENAME}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3417 Used to guess header files, but uses the auxsource regular expression.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3418 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3419
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3420 @deffn Method ede-want-file-p :AFTER this filename
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3421 Return non-@code{nil} if sourcecode definition @var{THIS} will take @var{FILENAME}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3422 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3423
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3424 @deffn Method ede-want-file-source-p :AFTER this filename
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3425 Return non-@code{nil} if @var{THIS} will take @var{FILENAME} as an auxiliary .
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3426 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3427
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3428 @deffn Method ede-want-file-auxiliary-p :AFTER this filename
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3429 Return non-@code{nil} if @var{THIS} will take @var{FILENAME} as an auxiliary .
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3430 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3431
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3432 @node Compilers
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3433 @section Compilers
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3434
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3435 The compiler object is designed to associate source code with
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3436 compilers. The target then references the compilers it can use.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3437 When the makefile is created, this object type knows how to create
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3438 compile commands.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3439
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3440 @menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3441 * ede-compilation-program ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3442 * ede-compiler ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3443 * ede-object-compiler ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3444 * ede-linker ::
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3445 @end menu
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3446
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3447
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3448 @node ede-compilation-program
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3449 @subsection ede-compilation-program
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3450 @cmindex ede-compilation-program
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3451
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3452 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3453 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3454 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3455 @item eieio-instance-inheritor
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3456 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3457 @item ede-compilation-program
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3458 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3459 @item Children:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3460 @w{@xref{ede-compiler},} @w{@xref{ede-linker}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3461 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3462 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3463 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3464 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3465
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3466 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3467 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3468
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3469 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3470 @item :parent-instance
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3471 Type: @code{eieio-instance-inheritor-child}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3472
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3473 The parent of this instance.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3474 If a slot of this class is reference, and is unbound, then the parent
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3475 is checked for a value.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3476 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3477
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3478 @item :name
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3479 Type: @code{string}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3480
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3481 Name of this type of compiler.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3482 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3483
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3484 @item :variables
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3485 Type: @code{list}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3486
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3487 Variables needed in the Makefile for this compiler.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3488 An assoc list where each element is (VARNAME . VALUE) where VARNAME
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3489 is a string, and VALUE is either a string, or a list of strings.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3490 For example, GCC would define CC=gcc, and emacs would define EMACS=emacs.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3491 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3492
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3493 @item :sourcetype
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3494 Type: @code{list}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3495
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3496 A list of @code{ede-sourcecode} @xref{ede-sourcecode}. objects this class will handle.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3497 This is used to match target objects with the compilers and linkers
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3498 they can use, and which files this object is interested in.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3499 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3500
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3501 @item :rules
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3502 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3503 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3504
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3505 Auxiliary rules needed for this compiler to run.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3506 For example, yacc/lex files need additional chain rules, or inferences.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3507 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3508
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3509 @item :commands
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3510 Type: @code{list}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3511
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3512 The commands used to execute this compiler.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3513 The object which uses this compiler will place these commands after
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3514 it's rule definition.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3515 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3516
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3517 @item :autoconf
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3518 Type: @code{list} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3519 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3520
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3521 Autoconf function to call if this type of compiler is used.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3522 When a project is in Automake mode, this defines the autoconf function to
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3523 call to initialize automake to use this compiler.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3524 For example, there may be multiple C compilers, but they all probably
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3525 use the same autoconf form.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3526 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3527
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3528 @item :objectextention
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3529 Type: @code{string}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3530
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3531 A string which is the extention used for object files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3532 For example, C code uses .o on unix, and Emacs Lisp uses .elc.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3533 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3534
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3535 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3536
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3537 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3538 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3539
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3540 @deffn Method ede-proj-flush-autoconf :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3541 Flush the configure file (current buffer) to accomodate @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3542 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3543
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3544 @deffn Method ede-proj-makefile-insert-rules :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3545 Insert rules needed for @var{THIS} compiler object.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3546 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3547
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3548 @deffn Method ede-proj-makefile-insert-variables :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3549 Insert variables needed by the compiler @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3550 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3551
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3552 @deffn Method ede-proj-makefile-insert-commands :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3553 Insert the commands needed to use compiler @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3554 The object creating makefile rules must call this method for the
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3555 compiler it decides to use after inserting in the rule.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3556 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3557
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3558 @deffn Method ede-object-sourcecode :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3559 Retrieves the slot @code{sourcetype} from an object of class @code{ede-compilation-program}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3560 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3561
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3562 @deffn Method ede-proj-tweak-autoconf :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3563 Tweak the configure file (current buffer) to accomodate @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3564 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3565
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3566
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3567 @node ede-compiler
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3568 @subsection ede-compiler
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3569 @cmindex ede-compiler
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3570
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3571 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3572 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3573 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3574 @item eieio-instance-inheritor
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3575 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3576 @item @w{@xref{ede-compilation-program}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3577 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3578 @item ede-compiler
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3579 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3580 @item Children:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3581 @w{@xref{ede-object-compiler},} @w{semantic-ede-grammar-compiler-class.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3582 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3583
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3584 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3585
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3586 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3587
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3588 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3589 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3590
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3591 Create a new object with name NAME of class type ede-compiler
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3592
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3593 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3594 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3595
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3596 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3597 @item :parent-instance
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3598 Type: @code{eieio-instance-inheritor-child}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3599
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3600 The parent of this instance.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3601 If a slot of this class is reference, and is unbound, then the parent
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3602 is checked for a value.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3603 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3604
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3605 @item :name
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3606 Type: @code{string}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3607
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3608 Name of this type of compiler.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3609 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3610
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3611 @item :variables
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3612 Type: @code{list}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3613
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3614 Variables needed in the Makefile for this compiler.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3615 An assoc list where each element is (VARNAME . VALUE) where VARNAME
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3616 is a string, and VALUE is either a string, or a list of strings.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3617 For example, GCC would define CC=gcc, and emacs would define EMACS=emacs.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3618 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3619
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3620 @item :sourcetype
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3621 Type: @code{list}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3622
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3623 A list of @code{ede-sourcecode} @xref{ede-sourcecode}. objects this class will handle.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3624 This is used to match target objects with the compilers and linkers
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3625 they can use, and which files this object is interested in.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3626 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3627
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3628 @item :commands
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3629 Type: @code{list}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3630
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3631 The commands used to execute this compiler.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3632 The object which uses this compiler will place these commands after
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3633 it's rule definition.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3634 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3635
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3636 @item :objectextention
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3637 Type: @code{string}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3638
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3639 A string which is the extention used for object files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3640 For example, C code uses .o on unix, and Emacs Lisp uses .elc.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3641 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3642
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3643 @item :makedepends
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3644 Type: @code{boolean} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3645 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3646
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3647 Non-@code{nil} if this compiler can make dependencies.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3648 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3649
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3650 @item :uselinker
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3651 Type: @code{boolean} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3652 Default Value: @code{nil}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3653
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3654 Non-@code{nil} if this compiler creates code that can be linked.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3655 This requires that the containing target also define a list of available
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3656 linkers that can be used.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3657 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3658
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3659 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3660
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3661 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3662 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3663
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3664 @deffn Method ede-proj-makefile-insert-object-variables :AFTER this targetname sourcefiles
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3665 Insert an OBJ variable to specify object code to be generated for @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3666 The name of the target is @var{TARGETNAME} as a string. @var{SOURCEFILES} is the list of
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3667 files to be objectified.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3668 Not all compilers do this.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3669 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3670
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3671 @deffn Method ede-compiler-intermediate-objects-p :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3672 Return non-@code{nil} if @var{THIS} has intermediate object files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3673 If this compiler creates code that can be linked together,
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3674 then the object files created by the compiler are considered intermediate.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3675 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3676
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3677 @deffn Method ede-compiler-intermediate-object-variable :AFTER this targetname
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3678 Return a string based on @var{THIS} representing a make object variable.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3679 @var{TARGETNAME} is the name of the target that these objects belong to.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3680 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3681
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3682
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3683 @node ede-object-compiler
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3684 @subsection ede-object-compiler
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3685 @cmindex ede-object-compiler
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3686
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3687 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3688 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3689 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3690 @item eieio-instance-inheritor
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3691 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3692 @item @w{@xref{ede-compilation-program}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3693 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3694 @item @w{@xref{ede-compiler}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3695 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3696 @item ede-object-compiler
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3697 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3698 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3699 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3700 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3701 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3702 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3703
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3704 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3705 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3706
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3707 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3708 @item :uselinker
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3709 Type: @code{boolean} @*
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3710 Default Value: @code{t}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3711
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3712 @xref{ede-compiler}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3713 @item :dependencyvar
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3714 Type: @code{list}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3715
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3716 A variable dedicated to dependency generation.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3717 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3718 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3719 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3720
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3721 @subsubsection Specialized Methods
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3722
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3723 @deffn Method ede-proj-makefile-insert-variables :AFTER this
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3724 Insert variables needed by the compiler @var{THIS}.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3725 @end deffn
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3726
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3727 @node ede-linker
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3728 @subsection ede-linker
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3729 @cmindex ede-linker
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3730
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3731 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3732 @item Inheritance Tree:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3733 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3734 @item eieio-instance-inheritor
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3735 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3736 @item @w{@xref{ede-compilation-program}.}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3737 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3738 @item ede-linker
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3739 No children
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3740 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3741
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3742 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3743
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3744 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3745 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3746
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3747 Create a new object with name NAME of class type ede-linker
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3748
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3749 @table @asis
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3750 @item Slots:
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3751
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3752 @table @code
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3753 @item :name
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3754 Type: @code{string}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3755
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3756 Name of this type of compiler.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3757 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3758
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3759 @item :variables
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3760 Type: @code{list}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3761
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3762 Variables needed in the Makefile for this compiler.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3763 An assoc list where each element is (VARNAME . VALUE) where VARNAME
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3764 is a string, and VALUE is either a string, or a list of strings.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3765 For example, GCC would define CC=gcc, and emacs would define EMACS=emacs.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3766 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3767
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3768 @item :sourcetype
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3769 Type: @code{list}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3770
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3771 A list of @code{ede-sourcecode} @xref{ede-sourcecode}. objects this class will handle.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3772 This is used to match target objects with the compilers and linkers
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3773 they can use, and which files this object is interested in.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3774 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3775
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3776 @item :commands
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3777 Type: @code{list}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3778
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3779 The commands used to execute this compiler.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3780 The object which uses this compiler will place these commands after
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3781 it's rule definition.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3782 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3783
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3784 @item :objectextention
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3785 Type: @code{string}
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3786
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3787 A string which is the extention used for object files.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3788 For example, C code uses .o on unix, and Emacs Lisp uses .elc.
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3789 @refill
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3790
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3791 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3792 @end table
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3793
6104e7688824 * eieio.texi:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3794 @bye
105754
2313ef258869 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 105494
diff changeset
3795
2313ef258869 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 105494
diff changeset
3796 @ignore
2313ef258869 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 105494
diff changeset
3797 arch-tag: c9bfdc6e-e6e9-4e87-97f7-d8348342fbf4
2313ef258869 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 105494
diff changeset
3798 @end ignore