Owner's Manual
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that use
s
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that
,
in the event an application does not supply such function o
r
table, the facility still operates, and performs whatever part o
f
its purpose remains meaningful
.
(For example, a function in a library to compute square roots ha
s
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. I
f
identifiable sections of that work are not derived from the Librar
y,
an
d
can
b
e reasona
bl
y cons
id
ere
d
i
n
d
epen
d
ent an
d
separate wor
k
s
i
n
t
h
emse
l
ves, t
h
en t
hi
s
Li
cense, an
d
i
ts terms,
d
o not app
l
y to t
h
ose
sect
i
ons w
h
en you
di
str
ib
ute t
h
em as separate wor
k
s.
B
ut w
h
en you
distribute the same sections as part of a whole which is a work base
d
on the Library, the distribution of the whole must be on the terms o
f
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
i
t
.
Thus, it is not the intent of this section to claim rights or contest
y
our r
igh
ts to wor
k
wr
i
tten ent
i
re
ly
by
y
ou; rat
h
er, t
h
e
i
ntent
i
s to
exercise the right to control the distribution of derivative o
r
co
ll
ect
i
ve wor
k
s
b
ase
d
on t
h
e
Lib
rary
.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or
di
str
ib
ut
i
on me
di
um
d
oes not
b
r
i
ng t
h
e ot
h
er wor
k
un
d
e
r
the sco
p
e of this License
.
3. You ma
y
o
p
t to a
pp
l
y
the terms of the ordinar
y
GNU General Publi
c
License instead of this License to a given copy of the Library. To do
this,
y
ou must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2
,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
t
h
ese not
i
ces
.
Once this chan
g
e is made in a
g
iven co
py
, it is irreversible fo
r
that copy, so the ordinary GNU General Public License applies to al
l
subse
q
uent co
p
ies and derivative works made from that co
py.
This o
p
tion is useful when
y
ou wish to co
py
p
art of the code of
t
h
e
Lib
rary
i
nto a program t
h
at
i
s not a
lib
rary
.
4. You may copy and distribute the Library (or a portion o
r
derivative of it, under Section 2) in object code or executable for
m
under the terms of Sections 1 and 2 above provided that you accompany
i
t w
i
t
h
t
h
e comp
l
ete correspon
di
ng mac
hi
ne-rea
d
a
bl
e source co
d
e, w
hi
c
h
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange
.
If distribution of object code is made by offering access to copy
from a desi
g
nated
p
lace, then offerin
g
e
q
uivalent access to co
py
the
source code from the same place satisfies the requirement to
di
str
ib
ute t
h
e source co
d
e, even t
h
oug
h
t
hi
r
d
part
i
es are not
compe
ll
e
d
to copy t
h
e source a
l
ong w
i
t
h
t
h
e o
bj
ect co
d
e
.
5. A
p
ro
g
ram that contains no derivative of an
y
p
ortion of the
Lib
rary,
b
ut
i
s
d
es
i
gne
d
to wor
k
w
i
t
h
t
h
e
Lib
rary
b
y
b
e
i
ng comp
il
e
d
o
r
linked with it, is called a "work that uses the Librar
y
". Such a
work, in isolation, is not a derivative work of the Library, an
d
therefore falls outside the sco
p
e of this License
.
However, linkin
g
a
"
work that uses the Librar
y"
with the Librar
y
creates an executable that is a derivative of the Library (because it
contains
p
ortions of the Librar
y)
, rather than a "work that uses the
library". The executable is therefore covered by this License
.
Section 6 states terms for distribution of such executables
.
When a "work that uses the Library" uses material from a header file
that is
p
art of the Librar
y
, the ob
j
ect code for the work ma
y
be a
derivative work of the Library even though the source code is not
.
Whether this is true is es
p
eciall
y
si
g
nificant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not
p
recisel
y
defined b
y
law
.
If such an ob
j
ect file uses onl
y
numerical
p
arameters, data
structure
l
ayouts an
d
accessors, an
d
sma
ll
macros an
d
sma
ll
i
n
li
ne
functions
(
ten lines or less in len
g
th
)
, then the use of the ob
j
ect
file is unrestricted, re
g
ardless of whether it is le
g
all
y
a derivative
work. (Executables containing this object code plus portions of the
Librar
y
will still fall under Section 6.
)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6
.
Any executables containing that work also fall under Section 6
,
whether or not they are linked directly with the Library itself
.
6. As an exception to the Sections above, you may also combine o
r
link a
"
work that uses the Library
"
with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications
.
You must give prominent notice with each copy of the work that the
Lib
rary
i
s use
d
i
n
i
t an
d
t
h
at t
h
e
Lib
rary an
d
i
ts use are covere
d
b
y
this License. You must su
pp
l
y
a co
py
of this License. If the work
d
ur
i
ng execut
i
on
di
sp
l
ays copyr
i
g
h
t not
i
ces, you must
i
nc
l
u
d
e t
h
e
co
py
ri
g
ht notice for the Librar
y
amon
g
them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things
:
a) Accompany the work with the complete correspondin
g
machine-readable source code for the Library including whateve
r
changes were used in the work (which must be distributed unde
r
Sections 1 and 2 above); and, if the work is an executable linke
d
with the Library, with the complete machine-readable
"
work that
uses the Librar
y
", as ob
j
ect code and/or source code, so that the
user can modify the Library and then relink to produce a modifie
d
executable containin
g
the modified Librar
y
.
(
It is understoo
d
that the user who changes the contents of definitions files in the
Lib
rary w
ill
not necessar
il
y
b
e a
bl
e to recomp
il
e t
h
e app
li
cat
i
on
to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
co
py
of the librar
y
alread
y
p
resent on the user's com
p
uter s
y
stem
,
rather than copying library functions into the executable, and (2
)
will o
p
erate
p
ro
p
erl
y
with a modified version of the librar
y
, i
f
the user installs one, as long as the modified version i
s
interface-com
p
atible with the version that the work was made with
.
c) Accompany the work with a written offer, valid for at
l
east t
h
ree years, to g
i
ve t
h
e same user t
h
e mater
i
a
ls
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution
.
d
)
If distribution of the work is made b
y
offerin
g
access to co
py
from a designated place, offer equivalent access to copy the above
s
p
ecified materials from the same
p
lace
.
e
)
Verif
y
that the user has alread
y
received a co
py
of these
mater
i
a
l
s or t
h
at you
h
ave a
l
rea
d
y sent t
hi
s user a copy
.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed fo
r
reproducing the executable from it. However, as a special exception
,
t
h
e mater
i
a
l
s to
b
e
di
str
ib
ute
d
nee
d
not
i
nc
l
u
d
e anyt
hi
ng t
h
at
is
normall
y
distributed
(
in either source or binar
y
form
)
with the ma
j
or
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that com
p
onent itself accom
p
anie
s
t
h
e executa
bl
e
.
I
t may
h
appen t
h
at t
hi
s requ
i
rement contra
di
cts t
h
e
li
cense
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use
b
ot
h
t
h
em an
d
t
h
e
Lib
rary toget
h
er
i
n an executa
bl
e t
h
at you
di
str
ib
ute
.
7. You ma
y
p
lace librar
y
facilities that are a work based on the
Lib
rary s
id
e-
b
y-s
id
e
i
n a s
i
ng
l
e
lib
rary toget
h
er w
i
t
h
ot
h
er
lib
rary
facilities not covered b
y
this License, and distribute such a combine
d
library, provided that the separate distribution of the work based on
the Librar
y
and of the other librar
y
facilities is otherwise
perm
i
tte
d
, an
d
prov
id
e
d
t
h
at you
d
o t
h
ese two t
hi
ngs
:
a) Accompany the combined library with a copy of the same work
b
ase
d
on t
h
e
Lib
rar
y
, uncom
bi
ne
d
w
i
t
h
an
y
ot
h
er
lib
rar
y
facilities. This must be distributed under the terms of the
Sections above
.
b) Give prominent notice with the combined library of the fact
that
p
art of it is a work based on the Librar
y
, and ex
p
lainin
g
where to find the accompanying uncombined form of the same work
.










