1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
|
<?xml version="1.0"?>
<!--
__COPYRIGHT__
This file is processed by the bin/SConsDoc.py module.
See its __doc__ string for a discussion of the format.
-->
<!DOCTYPE sconsdoc [
<!ENTITY % scons SYSTEM '../../doc/scons.mod'>
%scons;
<!ENTITY % builders-mod SYSTEM '../../doc/generated/builders.mod'>
%builders-mod;
<!ENTITY % functions-mod SYSTEM '../../doc/generated/functions.mod'>
%functions-mod;
<!ENTITY % tools-mod SYSTEM '../../doc/generated/tools.mod'>
%tools-mod;
<!ENTITY % variables-mod SYSTEM '../../doc/generated/variables.mod'>
%variables-mod;
]>
<sconsdoc xmlns="http://www.scons.org/dbxsd/v1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.scons.org/dbxsd/v1.0 http://www.scons.org/dbxsd/v1.0/scons.xsd">
<tool name="applelink">
<summary>
<para>
Sets construction variables for the Apple linker
(similar to the GNU linker).
</para>
</summary>
<sets>
<item>FRAMEWORKPATHPREFIX</item>
<item>_FRAMEWORKPATH</item>
<item>_FRAMEWORKS</item>
<item>LINKCOM</item>
<item>SHLINKFLAGS</item>
<item>SHLINKCOM</item>
<item>LDMODULEPREFIX</item>
<item>LDMODULESUFFIX</item>
<item>LDMODULEFLAGS</item>
<item>LDMODULECOM</item>
<item>APPLELINK_CURRENT_VERSION</item>
<item>APPLELINK_COMPATIBILITY_VERSION</item>
<item>APPLELINK_NO_CURRENT_VERSION</item>
<item>APPLELINK_NO_COMPATIBILITY_VERSION</item>
<item>_APPLELINK_CURRENT_VERSION</item>
<item>_APPLELINK_COMPATIBILITY_VERSION</item>
</sets>
<uses>
<item>FRAMEWORKSFLAGS</item>
</uses>
</tool>
<cvar name="APPLELINK_COMPATIBILITY_VERSION">
<summary>
<para>
On Mac OS X this is used to set the linker flag:
-compatibility_version
</para>
<para>
The value is specified as X[.Y[.Z]] where X is between 1 and 65535, Y can be omitted or between 1 and
255, Z can be omitted or between 1 and 255. This value will be derived from &cv-link-SHLIBVERSION; if
not
specified. The lowest digit will be dropped and replaced by a 0.
</para>
<para>
If the &cv-link-APPLELINK_NO_COMPATIBILITY_VERSION; is set then no -compatibility_version will be
output.
</para>
<para>See MacOS's ld manpage for more details</para>
</summary>
</cvar>
<cvar name="APPLELINK_NO_COMPATIBILITY_VERSION">
<summary>
<para>
Set this to any True (1|True|non-empty string) value to disable adding -compatibility_version flag when
generating versioned shared libraries.
</para>
<para>
This overrides &cv-link-APPLELINK_COMPATIBILITY_VERSION;.
</para>
</summary>
</cvar>
<cvar name="_APPLELINK_COMPATIBILITY_VERSION">
<summary>
<para>
A macro (by default a generator function) used to create the linker flags to specify
apple's linker's -compatibility_version flag.
The default generator uses &cv-link-APPLELINK_COMPATIBILITY_VERSION;
and &cv-link-APPLELINK_NO_COMPATIBILITY_VERSION; and &cv-link-SHLIBVERSION;
to determine the correct flag.
</para>
</summary>
</cvar>
<cvar name="APPLELINK_CURRENT_VERSION">
<summary>
<para>
On Mac OS X this is used to set the linker flag:
-current_version
</para>
<para>
The value is specified as X[.Y[.Z]] where X is between 1 and 65535, Y can be omitted or between 1 and
255, Z can be omitted or between 1 and 255. This value will be set to &cv-link-SHLIBVERSION; if not
specified.
</para>
<para>
If the &cv-link-APPLELINK_NO_CURRENT_VERSION; is set then no -current_version will be
output.
</para>
<para>See MacOS's ld manpage for more details</para>
</summary>
</cvar>
<cvar name="APPLELINK_NO_CURRENT_VERSION">
<summary>
<para>
Set this to any True (1|True|non-empty string) value to disable adding -current_version flag when
generating versioned shared libraries.
</para>
<para>
This overrides &cv-link-APPLELINK_CURRENT_VERSION;.
</para>
</summary>
</cvar>
<cvar name="_APPLELINK_CURRENT_VERSION">
<summary>
<para>
A macro (by default a generator function) used to create the linker flags to specify apple's linker's
-current_version flag. The default generator uses &cv-link-APPLELINK_CURRENT_VERSION; and
&cv-link-APPLELINK_NO_CURRENT_VERSION; and &cv-link-SHLIBVERSION; to determine the correct flag.
</para>
</summary>
</cvar>
<cvar name="FRAMEWORKSFLAGS">">
<summary>
<para>
On Mac OS X with gcc,
general user-supplied frameworks options to be added at
the end of a command
line building a loadable module.
(This has been largely superseded by
the &cv-link-FRAMEWORKPATH;, &cv-link-FRAMEWORKPATHPREFIX;,
&cv-link-FRAMEWORKPREFIX; and &cv-link-FRAMEWORKS; variables
described above.)
</para>
</summary>
</cvar>
<cvar name="FRAMEWORKS">
<summary>
<para>
On Mac OS X with gcc, a list of the framework names to be linked into a
program or shared library or bundle.
The default value is the empty list.
For example:
</para>
<example_commands>
env.AppendUnique(FRAMEWORKS=Split('System Cocoa SystemConfiguration'))
</example_commands>
</summary>
</cvar>
<cvar name="FRAMEWORKPREFIX">
<summary>
<para>
On Mac OS X with gcc,
the prefix to be used for linking in frameworks
(see &cv-link-FRAMEWORKS;).
The default value is
<option>-framework</option>.
</para>
</summary>
</cvar>
<cvar name="_FRAMEWORKS">
<summary>
<para>
On Mac OS X with gcc,
an automatically-generated construction variable
containing the linker command-line options
for linking with FRAMEWORKS.
</para>
</summary>
</cvar>
<cvar name="FRAMEWORKPATH">
<summary>
<para>
On Mac OS X with gcc,
a list containing the paths to search for frameworks.
Used by the compiler to find framework-style includes like
#include <Fmwk/Header.h>.
Used by the linker to find user-specified frameworks when linking (see
&cv-link-FRAMEWORKS;).
For example:
</para>
<example_commands>
env.AppendUnique(FRAMEWORKPATH='#myframeworkdir')
</example_commands>
<para>
will add
</para>
<example_commands>
... -Fmyframeworkdir
</example_commands>
<para>
to the compiler and linker command lines.
</para>
</summary>
</cvar>
<cvar name="FRAMEWORKPATHPREFIX">
<summary>
<para>
On Mac OS X with gcc, the prefix to be used for the FRAMEWORKPATH entries.
(see &cv-link-FRAMEWORKPATH;).
The default value is
<option>-F</option>.
</para>
</summary>
</cvar>
<cvar name="_FRAMEWORKPATH">
<summary>
<para>
On Mac OS X with gcc, an automatically-generated construction variable
containing the linker command-line options corresponding to
&cv-link-FRAMEWORKPATH;.
</para>
</summary>
</cvar>
</sconsdoc>
|