xref: /rk3399_rockchip-uboot/Licenses/lgpl-2.1.txt (revision 326ea986ac150acdc7656d57fca647db80b50158)
1*eee479cfSWolfgang Denk                  GNU LESSER GENERAL PUBLIC LICENSE
2*eee479cfSWolfgang Denk                       Version 2.1, February 1999
3*eee479cfSWolfgang Denk
4*eee479cfSWolfgang Denk Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5*eee479cfSWolfgang Denk 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
6*eee479cfSWolfgang Denk Everyone is permitted to copy and distribute verbatim copies
7*eee479cfSWolfgang Denk of this license document, but changing it is not allowed.
8*eee479cfSWolfgang Denk
9*eee479cfSWolfgang Denk[This is the first released version of the Lesser GPL.  It also counts
10*eee479cfSWolfgang Denk as the successor of the GNU Library Public License, version 2, hence
11*eee479cfSWolfgang Denk the version number 2.1.]
12*eee479cfSWolfgang Denk
13*eee479cfSWolfgang Denk                            Preamble
14*eee479cfSWolfgang Denk
15*eee479cfSWolfgang Denk  The licenses for most software are designed to take away your
16*eee479cfSWolfgang Denkfreedom to share and change it.  By contrast, the GNU General Public
17*eee479cfSWolfgang DenkLicenses are intended to guarantee your freedom to share and change
18*eee479cfSWolfgang Denkfree software--to make sure the software is free for all its users.
19*eee479cfSWolfgang Denk
20*eee479cfSWolfgang Denk  This license, the Lesser General Public License, applies to some
21*eee479cfSWolfgang Denkspecially designated software packages--typically libraries--of the
22*eee479cfSWolfgang DenkFree Software Foundation and other authors who decide to use it.  You
23*eee479cfSWolfgang Denkcan use it too, but we suggest you first think carefully about whether
24*eee479cfSWolfgang Denkthis license or the ordinary General Public License is the better
25*eee479cfSWolfgang Denkstrategy to use in any particular case, based on the explanations below.
26*eee479cfSWolfgang Denk
27*eee479cfSWolfgang Denk  When we speak of free software, we are referring to freedom of use,
28*eee479cfSWolfgang Denknot price.  Our General Public Licenses are designed to make sure that
29*eee479cfSWolfgang Denkyou have the freedom to distribute copies of free software (and charge
30*eee479cfSWolfgang Denkfor this service if you wish); that you receive source code or can get
31*eee479cfSWolfgang Denkit if you want it; that you can change the software and use pieces of
32*eee479cfSWolfgang Denkit in new free programs; and that you are informed that you can do
33*eee479cfSWolfgang Denkthese things.
34*eee479cfSWolfgang Denk
35*eee479cfSWolfgang Denk  To protect your rights, we need to make restrictions that forbid
36*eee479cfSWolfgang Denkdistributors to deny you these rights or to ask you to surrender these
37*eee479cfSWolfgang Denkrights.  These restrictions translate to certain responsibilities for
38*eee479cfSWolfgang Denkyou if you distribute copies of the library or if you modify it.
39*eee479cfSWolfgang Denk
40*eee479cfSWolfgang Denk  For example, if you distribute copies of the library, whether gratis
41*eee479cfSWolfgang Denkor for a fee, you must give the recipients all the rights that we gave
42*eee479cfSWolfgang Denkyou.  You must make sure that they, too, receive or can get the source
43*eee479cfSWolfgang Denkcode.  If you link other code with the library, you must provide
44*eee479cfSWolfgang Denkcomplete object files to the recipients, so that they can relink them
45*eee479cfSWolfgang Denkwith the library after making changes to the library and recompiling
46*eee479cfSWolfgang Denkit.  And you must show them these terms so they know their rights.
47*eee479cfSWolfgang Denk
48*eee479cfSWolfgang Denk  We protect your rights with a two-step method: (1) we copyright the
49*eee479cfSWolfgang Denklibrary, and (2) we offer you this license, which gives you legal
50*eee479cfSWolfgang Denkpermission to copy, distribute and/or modify the library.
51*eee479cfSWolfgang Denk
52*eee479cfSWolfgang Denk  To protect each distributor, we want to make it very clear that
53*eee479cfSWolfgang Denkthere is no warranty for the free library.  Also, if the library is
54*eee479cfSWolfgang Denkmodified by someone else and passed on, the recipients should know
55*eee479cfSWolfgang Denkthat what they have is not the original version, so that the original
56*eee479cfSWolfgang Denkauthor's reputation will not be affected by problems that might be
57*eee479cfSWolfgang Denkintroduced by others.
58*eee479cfSWolfgang Denk
59*eee479cfSWolfgang Denk  Finally, software patents pose a constant threat to the existence of
60*eee479cfSWolfgang Denkany free program.  We wish to make sure that a company cannot
61*eee479cfSWolfgang Denkeffectively restrict the users of a free program by obtaining a
62*eee479cfSWolfgang Denkrestrictive license from a patent holder.  Therefore, we insist that
63*eee479cfSWolfgang Denkany patent license obtained for a version of the library must be
64*eee479cfSWolfgang Denkconsistent with the full freedom of use specified in this license.
65*eee479cfSWolfgang Denk
66*eee479cfSWolfgang Denk  Most GNU software, including some libraries, is covered by the
67*eee479cfSWolfgang Denkordinary GNU General Public License.  This license, the GNU Lesser
68*eee479cfSWolfgang DenkGeneral Public License, applies to certain designated libraries, and
69*eee479cfSWolfgang Denkis quite different from the ordinary General Public License.  We use
70*eee479cfSWolfgang Denkthis license for certain libraries in order to permit linking those
71*eee479cfSWolfgang Denklibraries into non-free programs.
72*eee479cfSWolfgang Denk
73*eee479cfSWolfgang Denk  When a program is linked with a library, whether statically or using
74*eee479cfSWolfgang Denka shared library, the combination of the two is legally speaking a
75*eee479cfSWolfgang Denkcombined work, a derivative of the original library.  The ordinary
76*eee479cfSWolfgang DenkGeneral Public License therefore permits such linking only if the
77*eee479cfSWolfgang Denkentire combination fits its criteria of freedom.  The Lesser General
78*eee479cfSWolfgang DenkPublic License permits more lax criteria for linking other code with
79*eee479cfSWolfgang Denkthe library.
80*eee479cfSWolfgang Denk
81*eee479cfSWolfgang Denk  We call this license the "Lesser" General Public License because it
82*eee479cfSWolfgang Denkdoes Less to protect the user's freedom than the ordinary General
83*eee479cfSWolfgang DenkPublic License.  It also provides other free software developers Less
84*eee479cfSWolfgang Denkof an advantage over competing non-free programs.  These disadvantages
85*eee479cfSWolfgang Denkare the reason we use the ordinary General Public License for many
86*eee479cfSWolfgang Denklibraries.  However, the Lesser license provides advantages in certain
87*eee479cfSWolfgang Denkspecial circumstances.
88*eee479cfSWolfgang Denk
89*eee479cfSWolfgang Denk  For example, on rare occasions, there may be a special need to
90*eee479cfSWolfgang Denkencourage the widest possible use of a certain library, so that it becomes
91*eee479cfSWolfgang Denka de-facto standard.  To achieve this, non-free programs must be
92*eee479cfSWolfgang Denkallowed to use the library.  A more frequent case is that a free
93*eee479cfSWolfgang Denklibrary does the same job as widely used non-free libraries.  In this
94*eee479cfSWolfgang Denkcase, there is little to gain by limiting the free library to free
95*eee479cfSWolfgang Denksoftware only, so we use the Lesser General Public License.
96*eee479cfSWolfgang Denk
97*eee479cfSWolfgang Denk  In other cases, permission to use a particular library in non-free
98*eee479cfSWolfgang Denkprograms enables a greater number of people to use a large body of
99*eee479cfSWolfgang Denkfree software.  For example, permission to use the GNU C Library in
100*eee479cfSWolfgang Denknon-free programs enables many more people to use the whole GNU
101*eee479cfSWolfgang Denkoperating system, as well as its variant, the GNU/Linux operating
102*eee479cfSWolfgang Denksystem.
103*eee479cfSWolfgang Denk
104*eee479cfSWolfgang Denk  Although the Lesser General Public License is Less protective of the
105*eee479cfSWolfgang Denkusers' freedom, it does ensure that the user of a program that is
106*eee479cfSWolfgang Denklinked with the Library has the freedom and the wherewithal to run
107*eee479cfSWolfgang Denkthat program using a modified version of the Library.
108*eee479cfSWolfgang Denk
109*eee479cfSWolfgang Denk  The precise terms and conditions for copying, distribution and
110*eee479cfSWolfgang Denkmodification follow.  Pay close attention to the difference between a
111*eee479cfSWolfgang Denk"work based on the library" and a "work that uses the library".  The
112*eee479cfSWolfgang Denkformer contains code derived from the library, whereas the latter must
113*eee479cfSWolfgang Denkbe combined with the library in order to run.
114*eee479cfSWolfgang Denk
115*eee479cfSWolfgang Denk                  GNU LESSER GENERAL PUBLIC LICENSE
116*eee479cfSWolfgang Denk   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
117*eee479cfSWolfgang Denk
118*eee479cfSWolfgang Denk  0. This License Agreement applies to any software library or other
119*eee479cfSWolfgang Denkprogram which contains a notice placed by the copyright holder or
120*eee479cfSWolfgang Denkother authorized party saying it may be distributed under the terms of
121*eee479cfSWolfgang Denkthis Lesser General Public License (also called "this License").
122*eee479cfSWolfgang DenkEach licensee is addressed as "you".
123*eee479cfSWolfgang Denk
124*eee479cfSWolfgang Denk  A "library" means a collection of software functions and/or data
125*eee479cfSWolfgang Denkprepared so as to be conveniently linked with application programs
126*eee479cfSWolfgang Denk(which use some of those functions and data) to form executables.
127*eee479cfSWolfgang Denk
128*eee479cfSWolfgang Denk  The "Library", below, refers to any such software library or work
129*eee479cfSWolfgang Denkwhich has been distributed under these terms.  A "work based on the
130*eee479cfSWolfgang DenkLibrary" means either the Library or any derivative work under
131*eee479cfSWolfgang Denkcopyright law: that is to say, a work containing the Library or a
132*eee479cfSWolfgang Denkportion of it, either verbatim or with modifications and/or translated
133*eee479cfSWolfgang Denkstraightforwardly into another language.  (Hereinafter, translation is
134*eee479cfSWolfgang Denkincluded without limitation in the term "modification".)
135*eee479cfSWolfgang Denk
136*eee479cfSWolfgang Denk  "Source code" for a work means the preferred form of the work for
137*eee479cfSWolfgang Denkmaking modifications to it.  For a library, complete source code means
138*eee479cfSWolfgang Denkall the source code for all modules it contains, plus any associated
139*eee479cfSWolfgang Denkinterface definition files, plus the scripts used to control compilation
140*eee479cfSWolfgang Denkand installation of the library.
141*eee479cfSWolfgang Denk
142*eee479cfSWolfgang Denk  Activities other than copying, distribution and modification are not
143*eee479cfSWolfgang Denkcovered by this License; they are outside its scope.  The act of
144*eee479cfSWolfgang Denkrunning a program using the Library is not restricted, and output from
145*eee479cfSWolfgang Denksuch a program is covered only if its contents constitute a work based
146*eee479cfSWolfgang Denkon the Library (independent of the use of the Library in a tool for
147*eee479cfSWolfgang Denkwriting it).  Whether that is true depends on what the Library does
148*eee479cfSWolfgang Denkand what the program that uses the Library does.
149*eee479cfSWolfgang Denk
150*eee479cfSWolfgang Denk  1. You may copy and distribute verbatim copies of the Library's
151*eee479cfSWolfgang Denkcomplete source code as you receive it, in any medium, provided that
152*eee479cfSWolfgang Denkyou conspicuously and appropriately publish on each copy an
153*eee479cfSWolfgang Denkappropriate copyright notice and disclaimer of warranty; keep intact
154*eee479cfSWolfgang Denkall the notices that refer to this License and to the absence of any
155*eee479cfSWolfgang Denkwarranty; and distribute a copy of this License along with the
156*eee479cfSWolfgang DenkLibrary.
157*eee479cfSWolfgang Denk
158*eee479cfSWolfgang Denk  You may charge a fee for the physical act of transferring a copy,
159*eee479cfSWolfgang Denkand you may at your option offer warranty protection in exchange for a
160*eee479cfSWolfgang Denkfee.
161*eee479cfSWolfgang Denk
162*eee479cfSWolfgang Denk  2. You may modify your copy or copies of the Library or any portion
163*eee479cfSWolfgang Denkof it, thus forming a work based on the Library, and copy and
164*eee479cfSWolfgang Denkdistribute such modifications or work under the terms of Section 1
165*eee479cfSWolfgang Denkabove, provided that you also meet all of these conditions:
166*eee479cfSWolfgang Denk
167*eee479cfSWolfgang Denk    a) The modified work must itself be a software library.
168*eee479cfSWolfgang Denk
169*eee479cfSWolfgang Denk    b) You must cause the files modified to carry prominent notices
170*eee479cfSWolfgang Denk    stating that you changed the files and the date of any change.
171*eee479cfSWolfgang Denk
172*eee479cfSWolfgang Denk    c) You must cause the whole of the work to be licensed at no
173*eee479cfSWolfgang Denk    charge to all third parties under the terms of this License.
174*eee479cfSWolfgang Denk
175*eee479cfSWolfgang Denk    d) If a facility in the modified Library refers to a function or a
176*eee479cfSWolfgang Denk    table of data to be supplied by an application program that uses
177*eee479cfSWolfgang Denk    the facility, other than as an argument passed when the facility
178*eee479cfSWolfgang Denk    is invoked, then you must make a good faith effort to ensure that,
179*eee479cfSWolfgang Denk    in the event an application does not supply such function or
180*eee479cfSWolfgang Denk    table, the facility still operates, and performs whatever part of
181*eee479cfSWolfgang Denk    its purpose remains meaningful.
182*eee479cfSWolfgang Denk
183*eee479cfSWolfgang Denk    (For example, a function in a library to compute square roots has
184*eee479cfSWolfgang Denk    a purpose that is entirely well-defined independent of the
185*eee479cfSWolfgang Denk    application.  Therefore, Subsection 2d requires that any
186*eee479cfSWolfgang Denk    application-supplied function or table used by this function must
187*eee479cfSWolfgang Denk    be optional: if the application does not supply it, the square
188*eee479cfSWolfgang Denk    root function must still compute square roots.)
189*eee479cfSWolfgang Denk
190*eee479cfSWolfgang DenkThese requirements apply to the modified work as a whole.  If
191*eee479cfSWolfgang Denkidentifiable sections of that work are not derived from the Library,
192*eee479cfSWolfgang Denkand can be reasonably considered independent and separate works in
193*eee479cfSWolfgang Denkthemselves, then this License, and its terms, do not apply to those
194*eee479cfSWolfgang Denksections when you distribute them as separate works.  But when you
195*eee479cfSWolfgang Denkdistribute the same sections as part of a whole which is a work based
196*eee479cfSWolfgang Denkon the Library, the distribution of the whole must be on the terms of
197*eee479cfSWolfgang Denkthis License, whose permissions for other licensees extend to the
198*eee479cfSWolfgang Denkentire whole, and thus to each and every part regardless of who wrote
199*eee479cfSWolfgang Denkit.
200*eee479cfSWolfgang Denk
201*eee479cfSWolfgang DenkThus, it is not the intent of this section to claim rights or contest
202*eee479cfSWolfgang Denkyour rights to work written entirely by you; rather, the intent is to
203*eee479cfSWolfgang Denkexercise the right to control the distribution of derivative or
204*eee479cfSWolfgang Denkcollective works based on the Library.
205*eee479cfSWolfgang Denk
206*eee479cfSWolfgang DenkIn addition, mere aggregation of another work not based on the Library
207*eee479cfSWolfgang Denkwith the Library (or with a work based on the Library) on a volume of
208*eee479cfSWolfgang Denka storage or distribution medium does not bring the other work under
209*eee479cfSWolfgang Denkthe scope of this License.
210*eee479cfSWolfgang Denk
211*eee479cfSWolfgang Denk  3. You may opt to apply the terms of the ordinary GNU General Public
212*eee479cfSWolfgang DenkLicense instead of this License to a given copy of the Library.  To do
213*eee479cfSWolfgang Denkthis, you must alter all the notices that refer to this License, so
214*eee479cfSWolfgang Denkthat they refer to the ordinary GNU General Public License, version 2,
215*eee479cfSWolfgang Denkinstead of to this License.  (If a newer version than version 2 of the
216*eee479cfSWolfgang Denkordinary GNU General Public License has appeared, then you can specify
217*eee479cfSWolfgang Denkthat version instead if you wish.)  Do not make any other change in
218*eee479cfSWolfgang Denkthese notices.
219*eee479cfSWolfgang Denk
220*eee479cfSWolfgang Denk  Once this change is made in a given copy, it is irreversible for
221*eee479cfSWolfgang Denkthat copy, so the ordinary GNU General Public License applies to all
222*eee479cfSWolfgang Denksubsequent copies and derivative works made from that copy.
223*eee479cfSWolfgang Denk
224*eee479cfSWolfgang Denk  This option is useful when you wish to copy part of the code of
225*eee479cfSWolfgang Denkthe Library into a program that is not a library.
226*eee479cfSWolfgang Denk
227*eee479cfSWolfgang Denk  4. You may copy and distribute the Library (or a portion or
228*eee479cfSWolfgang Denkderivative of it, under Section 2) in object code or executable form
229*eee479cfSWolfgang Denkunder the terms of Sections 1 and 2 above provided that you accompany
230*eee479cfSWolfgang Denkit with the complete corresponding machine-readable source code, which
231*eee479cfSWolfgang Denkmust be distributed under the terms of Sections 1 and 2 above on a
232*eee479cfSWolfgang Denkmedium customarily used for software interchange.
233*eee479cfSWolfgang Denk
234*eee479cfSWolfgang Denk  If distribution of object code is made by offering access to copy
235*eee479cfSWolfgang Denkfrom a designated place, then offering equivalent access to copy the
236*eee479cfSWolfgang Denksource code from the same place satisfies the requirement to
237*eee479cfSWolfgang Denkdistribute the source code, even though third parties are not
238*eee479cfSWolfgang Denkcompelled to copy the source along with the object code.
239*eee479cfSWolfgang Denk
240*eee479cfSWolfgang Denk  5. A program that contains no derivative of any portion of the
241*eee479cfSWolfgang DenkLibrary, but is designed to work with the Library by being compiled or
242*eee479cfSWolfgang Denklinked with it, is called a "work that uses the Library".  Such a
243*eee479cfSWolfgang Denkwork, in isolation, is not a derivative work of the Library, and
244*eee479cfSWolfgang Denktherefore falls outside the scope of this License.
245*eee479cfSWolfgang Denk
246*eee479cfSWolfgang Denk  However, linking a "work that uses the Library" with the Library
247*eee479cfSWolfgang Denkcreates an executable that is a derivative of the Library (because it
248*eee479cfSWolfgang Denkcontains portions of the Library), rather than a "work that uses the
249*eee479cfSWolfgang Denklibrary".  The executable is therefore covered by this License.
250*eee479cfSWolfgang DenkSection 6 states terms for distribution of such executables.
251*eee479cfSWolfgang Denk
252*eee479cfSWolfgang Denk  When a "work that uses the Library" uses material from a header file
253*eee479cfSWolfgang Denkthat is part of the Library, the object code for the work may be a
254*eee479cfSWolfgang Denkderivative work of the Library even though the source code is not.
255*eee479cfSWolfgang DenkWhether this is true is especially significant if the work can be
256*eee479cfSWolfgang Denklinked without the Library, or if the work is itself a library.  The
257*eee479cfSWolfgang Denkthreshold for this to be true is not precisely defined by law.
258*eee479cfSWolfgang Denk
259*eee479cfSWolfgang Denk  If such an object file uses only numerical parameters, data
260*eee479cfSWolfgang Denkstructure layouts and accessors, and small macros and small inline
261*eee479cfSWolfgang Denkfunctions (ten lines or less in length), then the use of the object
262*eee479cfSWolfgang Denkfile is unrestricted, regardless of whether it is legally a derivative
263*eee479cfSWolfgang Denkwork.  (Executables containing this object code plus portions of the
264*eee479cfSWolfgang DenkLibrary will still fall under Section 6.)
265*eee479cfSWolfgang Denk
266*eee479cfSWolfgang Denk  Otherwise, if the work is a derivative of the Library, you may
267*eee479cfSWolfgang Denkdistribute the object code for the work under the terms of Section 6.
268*eee479cfSWolfgang DenkAny executables containing that work also fall under Section 6,
269*eee479cfSWolfgang Denkwhether or not they are linked directly with the Library itself.
270*eee479cfSWolfgang Denk
271*eee479cfSWolfgang Denk  6. As an exception to the Sections above, you may also combine or
272*eee479cfSWolfgang Denklink a "work that uses the Library" with the Library to produce a
273*eee479cfSWolfgang Denkwork containing portions of the Library, and distribute that work
274*eee479cfSWolfgang Denkunder terms of your choice, provided that the terms permit
275*eee479cfSWolfgang Denkmodification of the work for the customer's own use and reverse
276*eee479cfSWolfgang Denkengineering for debugging such modifications.
277*eee479cfSWolfgang Denk
278*eee479cfSWolfgang Denk  You must give prominent notice with each copy of the work that the
279*eee479cfSWolfgang DenkLibrary is used in it and that the Library and its use are covered by
280*eee479cfSWolfgang Denkthis License.  You must supply a copy of this License.  If the work
281*eee479cfSWolfgang Denkduring execution displays copyright notices, you must include the
282*eee479cfSWolfgang Denkcopyright notice for the Library among them, as well as a reference
283*eee479cfSWolfgang Denkdirecting the user to the copy of this License.  Also, you must do one
284*eee479cfSWolfgang Denkof these things:
285*eee479cfSWolfgang Denk
286*eee479cfSWolfgang Denk    a) Accompany the work with the complete corresponding
287*eee479cfSWolfgang Denk    machine-readable source code for the Library including whatever
288*eee479cfSWolfgang Denk    changes were used in the work (which must be distributed under
289*eee479cfSWolfgang Denk    Sections 1 and 2 above); and, if the work is an executable linked
290*eee479cfSWolfgang Denk    with the Library, with the complete machine-readable "work that
291*eee479cfSWolfgang Denk    uses the Library", as object code and/or source code, so that the
292*eee479cfSWolfgang Denk    user can modify the Library and then relink to produce a modified
293*eee479cfSWolfgang Denk    executable containing the modified Library.  (It is understood
294*eee479cfSWolfgang Denk    that the user who changes the contents of definitions files in the
295*eee479cfSWolfgang Denk    Library will not necessarily be able to recompile the application
296*eee479cfSWolfgang Denk    to use the modified definitions.)
297*eee479cfSWolfgang Denk
298*eee479cfSWolfgang Denk    b) Use a suitable shared library mechanism for linking with the
299*eee479cfSWolfgang Denk    Library.  A suitable mechanism is one that (1) uses at run time a
300*eee479cfSWolfgang Denk    copy of the library already present on the user's computer system,
301*eee479cfSWolfgang Denk    rather than copying library functions into the executable, and (2)
302*eee479cfSWolfgang Denk    will operate properly with a modified version of the library, if
303*eee479cfSWolfgang Denk    the user installs one, as long as the modified version is
304*eee479cfSWolfgang Denk    interface-compatible with the version that the work was made with.
305*eee479cfSWolfgang Denk
306*eee479cfSWolfgang Denk    c) Accompany the work with a written offer, valid for at
307*eee479cfSWolfgang Denk    least three years, to give the same user the materials
308*eee479cfSWolfgang Denk    specified in Subsection 6a, above, for a charge no more
309*eee479cfSWolfgang Denk    than the cost of performing this distribution.
310*eee479cfSWolfgang Denk
311*eee479cfSWolfgang Denk    d) If distribution of the work is made by offering access to copy
312*eee479cfSWolfgang Denk    from a designated place, offer equivalent access to copy the above
313*eee479cfSWolfgang Denk    specified materials from the same place.
314*eee479cfSWolfgang Denk
315*eee479cfSWolfgang Denk    e) Verify that the user has already received a copy of these
316*eee479cfSWolfgang Denk    materials or that you have already sent this user a copy.
317*eee479cfSWolfgang Denk
318*eee479cfSWolfgang Denk  For an executable, the required form of the "work that uses the
319*eee479cfSWolfgang DenkLibrary" must include any data and utility programs needed for
320*eee479cfSWolfgang Denkreproducing the executable from it.  However, as a special exception,
321*eee479cfSWolfgang Denkthe materials to be distributed need not include anything that is
322*eee479cfSWolfgang Denknormally distributed (in either source or binary form) with the major
323*eee479cfSWolfgang Denkcomponents (compiler, kernel, and so on) of the operating system on
324*eee479cfSWolfgang Denkwhich the executable runs, unless that component itself accompanies
325*eee479cfSWolfgang Denkthe executable.
326*eee479cfSWolfgang Denk
327*eee479cfSWolfgang Denk  It may happen that this requirement contradicts the license
328*eee479cfSWolfgang Denkrestrictions of other proprietary libraries that do not normally
329*eee479cfSWolfgang Denkaccompany the operating system.  Such a contradiction means you cannot
330*eee479cfSWolfgang Denkuse both them and the Library together in an executable that you
331*eee479cfSWolfgang Denkdistribute.
332*eee479cfSWolfgang Denk
333*eee479cfSWolfgang Denk  7. You may place library facilities that are a work based on the
334*eee479cfSWolfgang DenkLibrary side-by-side in a single library together with other library
335*eee479cfSWolfgang Denkfacilities not covered by this License, and distribute such a combined
336*eee479cfSWolfgang Denklibrary, provided that the separate distribution of the work based on
337*eee479cfSWolfgang Denkthe Library and of the other library facilities is otherwise
338*eee479cfSWolfgang Denkpermitted, and provided that you do these two things:
339*eee479cfSWolfgang Denk
340*eee479cfSWolfgang Denk    a) Accompany the combined library with a copy of the same work
341*eee479cfSWolfgang Denk    based on the Library, uncombined with any other library
342*eee479cfSWolfgang Denk    facilities.  This must be distributed under the terms of the
343*eee479cfSWolfgang Denk    Sections above.
344*eee479cfSWolfgang Denk
345*eee479cfSWolfgang Denk    b) Give prominent notice with the combined library of the fact
346*eee479cfSWolfgang Denk    that part of it is a work based on the Library, and explaining
347*eee479cfSWolfgang Denk    where to find the accompanying uncombined form of the same work.
348*eee479cfSWolfgang Denk
349*eee479cfSWolfgang Denk  8. You may not copy, modify, sublicense, link with, or distribute
350*eee479cfSWolfgang Denkthe Library except as expressly provided under this License.  Any
351*eee479cfSWolfgang Denkattempt otherwise to copy, modify, sublicense, link with, or
352*eee479cfSWolfgang Denkdistribute the Library is void, and will automatically terminate your
353*eee479cfSWolfgang Denkrights under this License.  However, parties who have received copies,
354*eee479cfSWolfgang Denkor rights, from you under this License will not have their licenses
355*eee479cfSWolfgang Denkterminated so long as such parties remain in full compliance.
356*eee479cfSWolfgang Denk
357*eee479cfSWolfgang Denk  9. You are not required to accept this License, since you have not
358*eee479cfSWolfgang Denksigned it.  However, nothing else grants you permission to modify or
359*eee479cfSWolfgang Denkdistribute the Library or its derivative works.  These actions are
360*eee479cfSWolfgang Denkprohibited by law if you do not accept this License.  Therefore, by
361*eee479cfSWolfgang Denkmodifying or distributing the Library (or any work based on the
362*eee479cfSWolfgang DenkLibrary), you indicate your acceptance of this License to do so, and
363*eee479cfSWolfgang Denkall its terms and conditions for copying, distributing or modifying
364*eee479cfSWolfgang Denkthe Library or works based on it.
365*eee479cfSWolfgang Denk
366*eee479cfSWolfgang Denk  10. Each time you redistribute the Library (or any work based on the
367*eee479cfSWolfgang DenkLibrary), the recipient automatically receives a license from the
368*eee479cfSWolfgang Denkoriginal licensor to copy, distribute, link with or modify the Library
369*eee479cfSWolfgang Denksubject to these terms and conditions.  You may not impose any further
370*eee479cfSWolfgang Denkrestrictions on the recipients' exercise of the rights granted herein.
371*eee479cfSWolfgang DenkYou are not responsible for enforcing compliance by third parties with
372*eee479cfSWolfgang Denkthis License.
373*eee479cfSWolfgang Denk
374*eee479cfSWolfgang Denk  11. If, as a consequence of a court judgment or allegation of patent
375*eee479cfSWolfgang Denkinfringement or for any other reason (not limited to patent issues),
376*eee479cfSWolfgang Denkconditions are imposed on you (whether by court order, agreement or
377*eee479cfSWolfgang Denkotherwise) that contradict the conditions of this License, they do not
378*eee479cfSWolfgang Denkexcuse you from the conditions of this License.  If you cannot
379*eee479cfSWolfgang Denkdistribute so as to satisfy simultaneously your obligations under this
380*eee479cfSWolfgang DenkLicense and any other pertinent obligations, then as a consequence you
381*eee479cfSWolfgang Denkmay not distribute the Library at all.  For example, if a patent
382*eee479cfSWolfgang Denklicense would not permit royalty-free redistribution of the Library by
383*eee479cfSWolfgang Denkall those who receive copies directly or indirectly through you, then
384*eee479cfSWolfgang Denkthe only way you could satisfy both it and this License would be to
385*eee479cfSWolfgang Denkrefrain entirely from distribution of the Library.
386*eee479cfSWolfgang Denk
387*eee479cfSWolfgang DenkIf any portion of this section is held invalid or unenforceable under any
388*eee479cfSWolfgang Denkparticular circumstance, the balance of the section is intended to apply,
389*eee479cfSWolfgang Denkand the section as a whole is intended to apply in other circumstances.
390*eee479cfSWolfgang Denk
391*eee479cfSWolfgang DenkIt is not the purpose of this section to induce you to infringe any
392*eee479cfSWolfgang Denkpatents or other property right claims or to contest validity of any
393*eee479cfSWolfgang Denksuch claims; this section has the sole purpose of protecting the
394*eee479cfSWolfgang Denkintegrity of the free software distribution system which is
395*eee479cfSWolfgang Denkimplemented by public license practices.  Many people have made
396*eee479cfSWolfgang Denkgenerous contributions to the wide range of software distributed
397*eee479cfSWolfgang Denkthrough that system in reliance on consistent application of that
398*eee479cfSWolfgang Denksystem; it is up to the author/donor to decide if he or she is willing
399*eee479cfSWolfgang Denkto distribute software through any other system and a licensee cannot
400*eee479cfSWolfgang Denkimpose that choice.
401*eee479cfSWolfgang Denk
402*eee479cfSWolfgang DenkThis section is intended to make thoroughly clear what is believed to
403*eee479cfSWolfgang Denkbe a consequence of the rest of this License.
404*eee479cfSWolfgang Denk
405*eee479cfSWolfgang Denk  12. If the distribution and/or use of the Library is restricted in
406*eee479cfSWolfgang Denkcertain countries either by patents or by copyrighted interfaces, the
407*eee479cfSWolfgang Denkoriginal copyright holder who places the Library under this License may add
408*eee479cfSWolfgang Denkan explicit geographical distribution limitation excluding those countries,
409*eee479cfSWolfgang Denkso that distribution is permitted only in or among countries not thus
410*eee479cfSWolfgang Denkexcluded.  In such case, this License incorporates the limitation as if
411*eee479cfSWolfgang Denkwritten in the body of this License.
412*eee479cfSWolfgang Denk
413*eee479cfSWolfgang Denk  13. The Free Software Foundation may publish revised and/or new
414*eee479cfSWolfgang Denkversions of the Lesser General Public License from time to time.
415*eee479cfSWolfgang DenkSuch new versions will be similar in spirit to the present version,
416*eee479cfSWolfgang Denkbut may differ in detail to address new problems or concerns.
417*eee479cfSWolfgang Denk
418*eee479cfSWolfgang DenkEach version is given a distinguishing version number.  If the Library
419*eee479cfSWolfgang Denkspecifies a version number of this License which applies to it and
420*eee479cfSWolfgang Denk"any later version", you have the option of following the terms and
421*eee479cfSWolfgang Denkconditions either of that version or of any later version published by
422*eee479cfSWolfgang Denkthe Free Software Foundation.  If the Library does not specify a
423*eee479cfSWolfgang Denklicense version number, you may choose any version ever published by
424*eee479cfSWolfgang Denkthe Free Software Foundation.
425*eee479cfSWolfgang Denk
426*eee479cfSWolfgang Denk  14. If you wish to incorporate parts of the Library into other free
427*eee479cfSWolfgang Denkprograms whose distribution conditions are incompatible with these,
428*eee479cfSWolfgang Denkwrite to the author to ask for permission.  For software which is
429*eee479cfSWolfgang Denkcopyrighted by the Free Software Foundation, write to the Free
430*eee479cfSWolfgang DenkSoftware Foundation; we sometimes make exceptions for this.  Our
431*eee479cfSWolfgang Denkdecision will be guided by the two goals of preserving the free status
432*eee479cfSWolfgang Denkof all derivatives of our free software and of promoting the sharing
433*eee479cfSWolfgang Denkand reuse of software generally.
434*eee479cfSWolfgang Denk
435*eee479cfSWolfgang Denk                            NO WARRANTY
436*eee479cfSWolfgang Denk
437*eee479cfSWolfgang Denk  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
438*eee479cfSWolfgang DenkWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
439*eee479cfSWolfgang DenkEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
440*eee479cfSWolfgang DenkOTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
441*eee479cfSWolfgang DenkKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
442*eee479cfSWolfgang DenkIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
443*eee479cfSWolfgang DenkPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
444*eee479cfSWolfgang DenkLIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
445*eee479cfSWolfgang DenkTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
446*eee479cfSWolfgang Denk
447*eee479cfSWolfgang Denk  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
448*eee479cfSWolfgang DenkWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
449*eee479cfSWolfgang DenkAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
450*eee479cfSWolfgang DenkFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
451*eee479cfSWolfgang DenkCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
452*eee479cfSWolfgang DenkLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
453*eee479cfSWolfgang DenkRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
454*eee479cfSWolfgang DenkFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
455*eee479cfSWolfgang DenkSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
456*eee479cfSWolfgang DenkDAMAGES.
457*eee479cfSWolfgang Denk
458*eee479cfSWolfgang Denk                     END OF TERMS AND CONDITIONS
459*eee479cfSWolfgang Denk
460*eee479cfSWolfgang Denk           How to Apply These Terms to Your New Libraries
461*eee479cfSWolfgang Denk
462*eee479cfSWolfgang Denk  If you develop a new library, and you want it to be of the greatest
463*eee479cfSWolfgang Denkpossible use to the public, we recommend making it free software that
464*eee479cfSWolfgang Denkeveryone can redistribute and change.  You can do so by permitting
465*eee479cfSWolfgang Denkredistribution under these terms (or, alternatively, under the terms of the
466*eee479cfSWolfgang Denkordinary General Public License).
467*eee479cfSWolfgang Denk
468*eee479cfSWolfgang Denk  To apply these terms, attach the following notices to the library.  It is
469*eee479cfSWolfgang Denksafest to attach them to the start of each source file to most effectively
470*eee479cfSWolfgang Denkconvey the exclusion of warranty; and each file should have at least the
471*eee479cfSWolfgang Denk"copyright" line and a pointer to where the full notice is found.
472*eee479cfSWolfgang Denk
473*eee479cfSWolfgang Denk    <one line to give the library's name and a brief idea of what it does.>
474*eee479cfSWolfgang Denk    Copyright (C) <year>  <name of author>
475*eee479cfSWolfgang Denk
476*eee479cfSWolfgang Denk    This library is free software; you can redistribute it and/or
477*eee479cfSWolfgang Denk    modify it under the terms of the GNU Lesser General Public
478*eee479cfSWolfgang Denk    License as published by the Free Software Foundation; either
479*eee479cfSWolfgang Denk    version 2.1 of the License, or (at your option) any later version.
480*eee479cfSWolfgang Denk
481*eee479cfSWolfgang Denk    This library is distributed in the hope that it will be useful,
482*eee479cfSWolfgang Denk    but WITHOUT ANY WARRANTY; without even the implied warranty of
483*eee479cfSWolfgang Denk    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
484*eee479cfSWolfgang Denk    Lesser General Public License for more details.
485*eee479cfSWolfgang Denk
486*eee479cfSWolfgang Denk    You should have received a copy of the GNU Lesser General Public
487*eee479cfSWolfgang Denk    License along with this library; if not, write to the Free Software
488*eee479cfSWolfgang Denk    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
489*eee479cfSWolfgang Denk
490*eee479cfSWolfgang DenkAlso add information on how to contact you by electronic and paper mail.
491*eee479cfSWolfgang Denk
492*eee479cfSWolfgang DenkYou should also get your employer (if you work as a programmer) or your
493*eee479cfSWolfgang Denkschool, if any, to sign a "copyright disclaimer" for the library, if
494*eee479cfSWolfgang Denknecessary.  Here is a sample; alter the names:
495*eee479cfSWolfgang Denk
496*eee479cfSWolfgang Denk  Yoyodyne, Inc., hereby disclaims all copyright interest in the
497*eee479cfSWolfgang Denk  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
498*eee479cfSWolfgang Denk
499*eee479cfSWolfgang Denk  <signature of Ty Coon>, 1 April 1990
500*eee479cfSWolfgang Denk  Ty Coon, President of Vice
501*eee479cfSWolfgang Denk
502*eee479cfSWolfgang DenkThat's all there is to it!
503