xref: /aosp_15_r20/external/dtc/GPL (revision cd60bc56d4bea3af4ec04523e4d71c2b272c8aff)
1*cd60bc56SAndroid Build Coastguard Worker                    GNU GENERAL PUBLIC LICENSE
2*cd60bc56SAndroid Build Coastguard Worker                       Version 2, June 1991
3*cd60bc56SAndroid Build Coastguard Worker
4*cd60bc56SAndroid Build Coastguard Worker Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5*cd60bc56SAndroid Build Coastguard Worker 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6*cd60bc56SAndroid Build Coastguard Worker Everyone is permitted to copy and distribute verbatim copies
7*cd60bc56SAndroid Build Coastguard Worker of this license document, but changing it is not allowed.
8*cd60bc56SAndroid Build Coastguard Worker
9*cd60bc56SAndroid Build Coastguard Worker                            Preamble
10*cd60bc56SAndroid Build Coastguard Worker
11*cd60bc56SAndroid Build Coastguard Worker  The licenses for most software are designed to take away your
12*cd60bc56SAndroid Build Coastguard Workerfreedom to share and change it.  By contrast, the GNU General Public
13*cd60bc56SAndroid Build Coastguard WorkerLicense is intended to guarantee your freedom to share and change free
14*cd60bc56SAndroid Build Coastguard Workersoftware--to make sure the software is free for all its users.  This
15*cd60bc56SAndroid Build Coastguard WorkerGeneral Public License applies to most of the Free Software
16*cd60bc56SAndroid Build Coastguard WorkerFoundation's software and to any other program whose authors commit to
17*cd60bc56SAndroid Build Coastguard Workerusing it.  (Some other Free Software Foundation software is covered by
18*cd60bc56SAndroid Build Coastguard Workerthe GNU Lesser General Public License instead.)  You can apply it to
19*cd60bc56SAndroid Build Coastguard Workeryour programs, too.
20*cd60bc56SAndroid Build Coastguard Worker
21*cd60bc56SAndroid Build Coastguard Worker  When we speak of free software, we are referring to freedom, not
22*cd60bc56SAndroid Build Coastguard Workerprice.  Our General Public Licenses are designed to make sure that you
23*cd60bc56SAndroid Build Coastguard Workerhave the freedom to distribute copies of free software (and charge for
24*cd60bc56SAndroid Build Coastguard Workerthis service if you wish), that you receive source code or can get it
25*cd60bc56SAndroid Build Coastguard Workerif you want it, that you can change the software or use pieces of it
26*cd60bc56SAndroid Build Coastguard Workerin new free programs; and that you know you can do these things.
27*cd60bc56SAndroid Build Coastguard Worker
28*cd60bc56SAndroid Build Coastguard Worker  To protect your rights, we need to make restrictions that forbid
29*cd60bc56SAndroid Build Coastguard Workeranyone to deny you these rights or to ask you to surrender the rights.
30*cd60bc56SAndroid Build Coastguard WorkerThese restrictions translate to certain responsibilities for you if you
31*cd60bc56SAndroid Build Coastguard Workerdistribute copies of the software, or if you modify it.
32*cd60bc56SAndroid Build Coastguard Worker
33*cd60bc56SAndroid Build Coastguard Worker  For example, if you distribute copies of such a program, whether
34*cd60bc56SAndroid Build Coastguard Workergratis or for a fee, you must give the recipients all the rights that
35*cd60bc56SAndroid Build Coastguard Workeryou have.  You must make sure that they, too, receive or can get the
36*cd60bc56SAndroid Build Coastguard Workersource code.  And you must show them these terms so they know their
37*cd60bc56SAndroid Build Coastguard Workerrights.
38*cd60bc56SAndroid Build Coastguard Worker
39*cd60bc56SAndroid Build Coastguard Worker  We protect your rights with two steps: (1) copyright the software, and
40*cd60bc56SAndroid Build Coastguard Worker(2) offer you this license which gives you legal permission to copy,
41*cd60bc56SAndroid Build Coastguard Workerdistribute and/or modify the software.
42*cd60bc56SAndroid Build Coastguard Worker
43*cd60bc56SAndroid Build Coastguard Worker  Also, for each author's protection and ours, we want to make certain
44*cd60bc56SAndroid Build Coastguard Workerthat everyone understands that there is no warranty for this free
45*cd60bc56SAndroid Build Coastguard Workersoftware.  If the software is modified by someone else and passed on, we
46*cd60bc56SAndroid Build Coastguard Workerwant its recipients to know that what they have is not the original, so
47*cd60bc56SAndroid Build Coastguard Workerthat any problems introduced by others will not reflect on the original
48*cd60bc56SAndroid Build Coastguard Workerauthors' reputations.
49*cd60bc56SAndroid Build Coastguard Worker
50*cd60bc56SAndroid Build Coastguard Worker  Finally, any free program is threatened constantly by software
51*cd60bc56SAndroid Build Coastguard Workerpatents.  We wish to avoid the danger that redistributors of a free
52*cd60bc56SAndroid Build Coastguard Workerprogram will individually obtain patent licenses, in effect making the
53*cd60bc56SAndroid Build Coastguard Workerprogram proprietary.  To prevent this, we have made it clear that any
54*cd60bc56SAndroid Build Coastguard Workerpatent must be licensed for everyone's free use or not licensed at all.
55*cd60bc56SAndroid Build Coastguard Worker
56*cd60bc56SAndroid Build Coastguard Worker  The precise terms and conditions for copying, distribution and
57*cd60bc56SAndroid Build Coastguard Workermodification follow.
58*cd60bc56SAndroid Build Coastguard Worker
59*cd60bc56SAndroid Build Coastguard Worker                    GNU GENERAL PUBLIC LICENSE
60*cd60bc56SAndroid Build Coastguard Worker   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61*cd60bc56SAndroid Build Coastguard Worker
62*cd60bc56SAndroid Build Coastguard Worker  0. This License applies to any program or other work which contains
63*cd60bc56SAndroid Build Coastguard Workera notice placed by the copyright holder saying it may be distributed
64*cd60bc56SAndroid Build Coastguard Workerunder the terms of this General Public License.  The "Program", below,
65*cd60bc56SAndroid Build Coastguard Workerrefers to any such program or work, and a "work based on the Program"
66*cd60bc56SAndroid Build Coastguard Workermeans either the Program or any derivative work under copyright law:
67*cd60bc56SAndroid Build Coastguard Workerthat is to say, a work containing the Program or a portion of it,
68*cd60bc56SAndroid Build Coastguard Workereither verbatim or with modifications and/or translated into another
69*cd60bc56SAndroid Build Coastguard Workerlanguage.  (Hereinafter, translation is included without limitation in
70*cd60bc56SAndroid Build Coastguard Workerthe term "modification".)  Each licensee is addressed as "you".
71*cd60bc56SAndroid Build Coastguard Worker
72*cd60bc56SAndroid Build Coastguard WorkerActivities other than copying, distribution and modification are not
73*cd60bc56SAndroid Build Coastguard Workercovered by this License; they are outside its scope.  The act of
74*cd60bc56SAndroid Build Coastguard Workerrunning the Program is not restricted, and the output from the Program
75*cd60bc56SAndroid Build Coastguard Workeris covered only if its contents constitute a work based on the
76*cd60bc56SAndroid Build Coastguard WorkerProgram (independent of having been made by running the Program).
77*cd60bc56SAndroid Build Coastguard WorkerWhether that is true depends on what the Program does.
78*cd60bc56SAndroid Build Coastguard Worker
79*cd60bc56SAndroid Build Coastguard Worker  1. You may copy and distribute verbatim copies of the Program's
80*cd60bc56SAndroid Build Coastguard Workersource code as you receive it, in any medium, provided that you
81*cd60bc56SAndroid Build Coastguard Workerconspicuously and appropriately publish on each copy an appropriate
82*cd60bc56SAndroid Build Coastguard Workercopyright notice and disclaimer of warranty; keep intact all the
83*cd60bc56SAndroid Build Coastguard Workernotices that refer to this License and to the absence of any warranty;
84*cd60bc56SAndroid Build Coastguard Workerand give any other recipients of the Program a copy of this License
85*cd60bc56SAndroid Build Coastguard Workeralong with the Program.
86*cd60bc56SAndroid Build Coastguard Worker
87*cd60bc56SAndroid Build Coastguard WorkerYou may charge a fee for the physical act of transferring a copy, and
88*cd60bc56SAndroid Build Coastguard Workeryou may at your option offer warranty protection in exchange for a fee.
89*cd60bc56SAndroid Build Coastguard Worker
90*cd60bc56SAndroid Build Coastguard Worker  2. You may modify your copy or copies of the Program or any portion
91*cd60bc56SAndroid Build Coastguard Workerof it, thus forming a work based on the Program, and copy and
92*cd60bc56SAndroid Build Coastguard Workerdistribute such modifications or work under the terms of Section 1
93*cd60bc56SAndroid Build Coastguard Workerabove, provided that you also meet all of these conditions:
94*cd60bc56SAndroid Build Coastguard Worker
95*cd60bc56SAndroid Build Coastguard Worker    a) You must cause the modified files to carry prominent notices
96*cd60bc56SAndroid Build Coastguard Worker    stating that you changed the files and the date of any change.
97*cd60bc56SAndroid Build Coastguard Worker
98*cd60bc56SAndroid Build Coastguard Worker    b) You must cause any work that you distribute or publish, that in
99*cd60bc56SAndroid Build Coastguard Worker    whole or in part contains or is derived from the Program or any
100*cd60bc56SAndroid Build Coastguard Worker    part thereof, to be licensed as a whole at no charge to all third
101*cd60bc56SAndroid Build Coastguard Worker    parties under the terms of this License.
102*cd60bc56SAndroid Build Coastguard Worker
103*cd60bc56SAndroid Build Coastguard Worker    c) If the modified program normally reads commands interactively
104*cd60bc56SAndroid Build Coastguard Worker    when run, you must cause it, when started running for such
105*cd60bc56SAndroid Build Coastguard Worker    interactive use in the most ordinary way, to print or display an
106*cd60bc56SAndroid Build Coastguard Worker    announcement including an appropriate copyright notice and a
107*cd60bc56SAndroid Build Coastguard Worker    notice that there is no warranty (or else, saying that you provide
108*cd60bc56SAndroid Build Coastguard Worker    a warranty) and that users may redistribute the program under
109*cd60bc56SAndroid Build Coastguard Worker    these conditions, and telling the user how to view a copy of this
110*cd60bc56SAndroid Build Coastguard Worker    License.  (Exception: if the Program itself is interactive but
111*cd60bc56SAndroid Build Coastguard Worker    does not normally print such an announcement, your work based on
112*cd60bc56SAndroid Build Coastguard Worker    the Program is not required to print an announcement.)
113*cd60bc56SAndroid Build Coastguard Worker
114*cd60bc56SAndroid Build Coastguard WorkerThese requirements apply to the modified work as a whole.  If
115*cd60bc56SAndroid Build Coastguard Workeridentifiable sections of that work are not derived from the Program,
116*cd60bc56SAndroid Build Coastguard Workerand can be reasonably considered independent and separate works in
117*cd60bc56SAndroid Build Coastguard Workerthemselves, then this License, and its terms, do not apply to those
118*cd60bc56SAndroid Build Coastguard Workersections when you distribute them as separate works.  But when you
119*cd60bc56SAndroid Build Coastguard Workerdistribute the same sections as part of a whole which is a work based
120*cd60bc56SAndroid Build Coastguard Workeron the Program, the distribution of the whole must be on the terms of
121*cd60bc56SAndroid Build Coastguard Workerthis License, whose permissions for other licensees extend to the
122*cd60bc56SAndroid Build Coastguard Workerentire whole, and thus to each and every part regardless of who wrote it.
123*cd60bc56SAndroid Build Coastguard Worker
124*cd60bc56SAndroid Build Coastguard WorkerThus, it is not the intent of this section to claim rights or contest
125*cd60bc56SAndroid Build Coastguard Workeryour rights to work written entirely by you; rather, the intent is to
126*cd60bc56SAndroid Build Coastguard Workerexercise the right to control the distribution of derivative or
127*cd60bc56SAndroid Build Coastguard Workercollective works based on the Program.
128*cd60bc56SAndroid Build Coastguard Worker
129*cd60bc56SAndroid Build Coastguard WorkerIn addition, mere aggregation of another work not based on the Program
130*cd60bc56SAndroid Build Coastguard Workerwith the Program (or with a work based on the Program) on a volume of
131*cd60bc56SAndroid Build Coastguard Workera storage or distribution medium does not bring the other work under
132*cd60bc56SAndroid Build Coastguard Workerthe scope of this License.
133*cd60bc56SAndroid Build Coastguard Worker
134*cd60bc56SAndroid Build Coastguard Worker  3. You may copy and distribute the Program (or a work based on it,
135*cd60bc56SAndroid Build Coastguard Workerunder Section 2) in object code or executable form under the terms of
136*cd60bc56SAndroid Build Coastguard WorkerSections 1 and 2 above provided that you also do one of the following:
137*cd60bc56SAndroid Build Coastguard Worker
138*cd60bc56SAndroid Build Coastguard Worker    a) Accompany it with the complete corresponding machine-readable
139*cd60bc56SAndroid Build Coastguard Worker    source code, which must be distributed under the terms of Sections
140*cd60bc56SAndroid Build Coastguard Worker    1 and 2 above on a medium customarily used for software interchange; or,
141*cd60bc56SAndroid Build Coastguard Worker
142*cd60bc56SAndroid Build Coastguard Worker    b) Accompany it with a written offer, valid for at least three
143*cd60bc56SAndroid Build Coastguard Worker    years, to give any third party, for a charge no more than your
144*cd60bc56SAndroid Build Coastguard Worker    cost of physically performing source distribution, a complete
145*cd60bc56SAndroid Build Coastguard Worker    machine-readable copy of the corresponding source code, to be
146*cd60bc56SAndroid Build Coastguard Worker    distributed under the terms of Sections 1 and 2 above on a medium
147*cd60bc56SAndroid Build Coastguard Worker    customarily used for software interchange; or,
148*cd60bc56SAndroid Build Coastguard Worker
149*cd60bc56SAndroid Build Coastguard Worker    c) Accompany it with the information you received as to the offer
150*cd60bc56SAndroid Build Coastguard Worker    to distribute corresponding source code.  (This alternative is
151*cd60bc56SAndroid Build Coastguard Worker    allowed only for noncommercial distribution and only if you
152*cd60bc56SAndroid Build Coastguard Worker    received the program in object code or executable form with such
153*cd60bc56SAndroid Build Coastguard Worker    an offer, in accord with Subsection b above.)
154*cd60bc56SAndroid Build Coastguard Worker
155*cd60bc56SAndroid Build Coastguard WorkerThe source code for a work means the preferred form of the work for
156*cd60bc56SAndroid Build Coastguard Workermaking modifications to it.  For an executable work, complete source
157*cd60bc56SAndroid Build Coastguard Workercode means all the source code for all modules it contains, plus any
158*cd60bc56SAndroid Build Coastguard Workerassociated interface definition files, plus the scripts used to
159*cd60bc56SAndroid Build Coastguard Workercontrol compilation and installation of the executable.  However, as a
160*cd60bc56SAndroid Build Coastguard Workerspecial exception, the source code distributed need not include
161*cd60bc56SAndroid Build Coastguard Workeranything that is normally distributed (in either source or binary
162*cd60bc56SAndroid Build Coastguard Workerform) with the major components (compiler, kernel, and so on) of the
163*cd60bc56SAndroid Build Coastguard Workeroperating system on which the executable runs, unless that component
164*cd60bc56SAndroid Build Coastguard Workeritself accompanies the executable.
165*cd60bc56SAndroid Build Coastguard Worker
166*cd60bc56SAndroid Build Coastguard WorkerIf distribution of executable or object code is made by offering
167*cd60bc56SAndroid Build Coastguard Workeraccess to copy from a designated place, then offering equivalent
168*cd60bc56SAndroid Build Coastguard Workeraccess to copy the source code from the same place counts as
169*cd60bc56SAndroid Build Coastguard Workerdistribution of the source code, even though third parties are not
170*cd60bc56SAndroid Build Coastguard Workercompelled to copy the source along with the object code.
171*cd60bc56SAndroid Build Coastguard Worker
172*cd60bc56SAndroid Build Coastguard Worker  4. You may not copy, modify, sublicense, or distribute the Program
173*cd60bc56SAndroid Build Coastguard Workerexcept as expressly provided under this License.  Any attempt
174*cd60bc56SAndroid Build Coastguard Workerotherwise to copy, modify, sublicense or distribute the Program is
175*cd60bc56SAndroid Build Coastguard Workervoid, and will automatically terminate your rights under this License.
176*cd60bc56SAndroid Build Coastguard WorkerHowever, parties who have received copies, or rights, from you under
177*cd60bc56SAndroid Build Coastguard Workerthis License will not have their licenses terminated so long as such
178*cd60bc56SAndroid Build Coastguard Workerparties remain in full compliance.
179*cd60bc56SAndroid Build Coastguard Worker
180*cd60bc56SAndroid Build Coastguard Worker  5. You are not required to accept this License, since you have not
181*cd60bc56SAndroid Build Coastguard Workersigned it.  However, nothing else grants you permission to modify or
182*cd60bc56SAndroid Build Coastguard Workerdistribute the Program or its derivative works.  These actions are
183*cd60bc56SAndroid Build Coastguard Workerprohibited by law if you do not accept this License.  Therefore, by
184*cd60bc56SAndroid Build Coastguard Workermodifying or distributing the Program (or any work based on the
185*cd60bc56SAndroid Build Coastguard WorkerProgram), you indicate your acceptance of this License to do so, and
186*cd60bc56SAndroid Build Coastguard Workerall its terms and conditions for copying, distributing or modifying
187*cd60bc56SAndroid Build Coastguard Workerthe Program or works based on it.
188*cd60bc56SAndroid Build Coastguard Worker
189*cd60bc56SAndroid Build Coastguard Worker  6. Each time you redistribute the Program (or any work based on the
190*cd60bc56SAndroid Build Coastguard WorkerProgram), the recipient automatically receives a license from the
191*cd60bc56SAndroid Build Coastguard Workeroriginal licensor to copy, distribute or modify the Program subject to
192*cd60bc56SAndroid Build Coastguard Workerthese terms and conditions.  You may not impose any further
193*cd60bc56SAndroid Build Coastguard Workerrestrictions on the recipients' exercise of the rights granted herein.
194*cd60bc56SAndroid Build Coastguard WorkerYou are not responsible for enforcing compliance by third parties to
195*cd60bc56SAndroid Build Coastguard Workerthis License.
196*cd60bc56SAndroid Build Coastguard Worker
197*cd60bc56SAndroid Build Coastguard Worker  7. If, as a consequence of a court judgment or allegation of patent
198*cd60bc56SAndroid Build Coastguard Workerinfringement or for any other reason (not limited to patent issues),
199*cd60bc56SAndroid Build Coastguard Workerconditions are imposed on you (whether by court order, agreement or
200*cd60bc56SAndroid Build Coastguard Workerotherwise) that contradict the conditions of this License, they do not
201*cd60bc56SAndroid Build Coastguard Workerexcuse you from the conditions of this License.  If you cannot
202*cd60bc56SAndroid Build Coastguard Workerdistribute so as to satisfy simultaneously your obligations under this
203*cd60bc56SAndroid Build Coastguard WorkerLicense and any other pertinent obligations, then as a consequence you
204*cd60bc56SAndroid Build Coastguard Workermay not distribute the Program at all.  For example, if a patent
205*cd60bc56SAndroid Build Coastguard Workerlicense would not permit royalty-free redistribution of the Program by
206*cd60bc56SAndroid Build Coastguard Workerall those who receive copies directly or indirectly through you, then
207*cd60bc56SAndroid Build Coastguard Workerthe only way you could satisfy both it and this License would be to
208*cd60bc56SAndroid Build Coastguard Workerrefrain entirely from distribution of the Program.
209*cd60bc56SAndroid Build Coastguard Worker
210*cd60bc56SAndroid Build Coastguard WorkerIf any portion of this section is held invalid or unenforceable under
211*cd60bc56SAndroid Build Coastguard Workerany particular circumstance, the balance of the section is intended to
212*cd60bc56SAndroid Build Coastguard Workerapply and the section as a whole is intended to apply in other
213*cd60bc56SAndroid Build Coastguard Workercircumstances.
214*cd60bc56SAndroid Build Coastguard Worker
215*cd60bc56SAndroid Build Coastguard WorkerIt is not the purpose of this section to induce you to infringe any
216*cd60bc56SAndroid Build Coastguard Workerpatents or other property right claims or to contest validity of any
217*cd60bc56SAndroid Build Coastguard Workersuch claims; this section has the sole purpose of protecting the
218*cd60bc56SAndroid Build Coastguard Workerintegrity of the free software distribution system, which is
219*cd60bc56SAndroid Build Coastguard Workerimplemented by public license practices.  Many people have made
220*cd60bc56SAndroid Build Coastguard Workergenerous contributions to the wide range of software distributed
221*cd60bc56SAndroid Build Coastguard Workerthrough that system in reliance on consistent application of that
222*cd60bc56SAndroid Build Coastguard Workersystem; it is up to the author/donor to decide if he or she is willing
223*cd60bc56SAndroid Build Coastguard Workerto distribute software through any other system and a licensee cannot
224*cd60bc56SAndroid Build Coastguard Workerimpose that choice.
225*cd60bc56SAndroid Build Coastguard Worker
226*cd60bc56SAndroid Build Coastguard WorkerThis section is intended to make thoroughly clear what is believed to
227*cd60bc56SAndroid Build Coastguard Workerbe a consequence of the rest of this License.
228*cd60bc56SAndroid Build Coastguard Worker
229*cd60bc56SAndroid Build Coastguard Worker  8. If the distribution and/or use of the Program is restricted in
230*cd60bc56SAndroid Build Coastguard Workercertain countries either by patents or by copyrighted interfaces, the
231*cd60bc56SAndroid Build Coastguard Workeroriginal copyright holder who places the Program under this License
232*cd60bc56SAndroid Build Coastguard Workermay add an explicit geographical distribution limitation excluding
233*cd60bc56SAndroid Build Coastguard Workerthose countries, so that distribution is permitted only in or among
234*cd60bc56SAndroid Build Coastguard Workercountries not thus excluded.  In such case, this License incorporates
235*cd60bc56SAndroid Build Coastguard Workerthe limitation as if written in the body of this License.
236*cd60bc56SAndroid Build Coastguard Worker
237*cd60bc56SAndroid Build Coastguard Worker  9. The Free Software Foundation may publish revised and/or new versions
238*cd60bc56SAndroid Build Coastguard Workerof the General Public License from time to time.  Such new versions will
239*cd60bc56SAndroid Build Coastguard Workerbe similar in spirit to the present version, but may differ in detail to
240*cd60bc56SAndroid Build Coastguard Workeraddress new problems or concerns.
241*cd60bc56SAndroid Build Coastguard Worker
242*cd60bc56SAndroid Build Coastguard WorkerEach version is given a distinguishing version number.  If the Program
243*cd60bc56SAndroid Build Coastguard Workerspecifies a version number of this License which applies to it and "any
244*cd60bc56SAndroid Build Coastguard Workerlater version", you have the option of following the terms and conditions
245*cd60bc56SAndroid Build Coastguard Workereither of that version or of any later version published by the Free
246*cd60bc56SAndroid Build Coastguard WorkerSoftware Foundation.  If the Program does not specify a version number of
247*cd60bc56SAndroid Build Coastguard Workerthis License, you may choose any version ever published by the Free Software
248*cd60bc56SAndroid Build Coastguard WorkerFoundation.
249*cd60bc56SAndroid Build Coastguard Worker
250*cd60bc56SAndroid Build Coastguard Worker  10. If you wish to incorporate parts of the Program into other free
251*cd60bc56SAndroid Build Coastguard Workerprograms whose distribution conditions are different, write to the author
252*cd60bc56SAndroid Build Coastguard Workerto ask for permission.  For software which is copyrighted by the Free
253*cd60bc56SAndroid Build Coastguard WorkerSoftware Foundation, write to the Free Software Foundation; we sometimes
254*cd60bc56SAndroid Build Coastguard Workermake exceptions for this.  Our decision will be guided by the two goals
255*cd60bc56SAndroid Build Coastguard Workerof preserving the free status of all derivatives of our free software and
256*cd60bc56SAndroid Build Coastguard Workerof promoting the sharing and reuse of software generally.
257*cd60bc56SAndroid Build Coastguard Worker
258*cd60bc56SAndroid Build Coastguard Worker                            NO WARRANTY
259*cd60bc56SAndroid Build Coastguard Worker
260*cd60bc56SAndroid Build Coastguard Worker  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261*cd60bc56SAndroid Build Coastguard WorkerFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262*cd60bc56SAndroid Build Coastguard WorkerOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263*cd60bc56SAndroid Build Coastguard WorkerPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264*cd60bc56SAndroid Build Coastguard WorkerOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265*cd60bc56SAndroid Build Coastguard WorkerMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266*cd60bc56SAndroid Build Coastguard WorkerTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267*cd60bc56SAndroid Build Coastguard WorkerPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268*cd60bc56SAndroid Build Coastguard WorkerREPAIR OR CORRECTION.
269*cd60bc56SAndroid Build Coastguard Worker
270*cd60bc56SAndroid Build Coastguard Worker  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271*cd60bc56SAndroid Build Coastguard WorkerWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272*cd60bc56SAndroid Build Coastguard WorkerREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273*cd60bc56SAndroid Build Coastguard WorkerINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274*cd60bc56SAndroid Build Coastguard WorkerOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275*cd60bc56SAndroid Build Coastguard WorkerTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276*cd60bc56SAndroid Build Coastguard WorkerYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277*cd60bc56SAndroid Build Coastguard WorkerPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278*cd60bc56SAndroid Build Coastguard WorkerPOSSIBILITY OF SUCH DAMAGES.
279*cd60bc56SAndroid Build Coastguard Worker
280*cd60bc56SAndroid Build Coastguard Worker                     END OF TERMS AND CONDITIONS
281*cd60bc56SAndroid Build Coastguard Worker
282*cd60bc56SAndroid Build Coastguard Worker            How to Apply These Terms to Your New Programs
283*cd60bc56SAndroid Build Coastguard Worker
284*cd60bc56SAndroid Build Coastguard Worker  If you develop a new program, and you want it to be of the greatest
285*cd60bc56SAndroid Build Coastguard Workerpossible use to the public, the best way to achieve this is to make it
286*cd60bc56SAndroid Build Coastguard Workerfree software which everyone can redistribute and change under these terms.
287*cd60bc56SAndroid Build Coastguard Worker
288*cd60bc56SAndroid Build Coastguard Worker  To do so, attach the following notices to the program.  It is safest
289*cd60bc56SAndroid Build Coastguard Workerto attach them to the start of each source file to most effectively
290*cd60bc56SAndroid Build Coastguard Workerconvey the exclusion of warranty; and each file should have at least
291*cd60bc56SAndroid Build Coastguard Workerthe "copyright" line and a pointer to where the full notice is found.
292*cd60bc56SAndroid Build Coastguard Worker
293*cd60bc56SAndroid Build Coastguard Worker    <one line to give the program's name and a brief idea of what it does.>
294*cd60bc56SAndroid Build Coastguard Worker    Copyright (C) <year>  <name of author>
295*cd60bc56SAndroid Build Coastguard Worker
296*cd60bc56SAndroid Build Coastguard Worker    This program is free software; you can redistribute it and/or modify
297*cd60bc56SAndroid Build Coastguard Worker    it under the terms of the GNU General Public License as published by
298*cd60bc56SAndroid Build Coastguard Worker    the Free Software Foundation; either version 2 of the License, or
299*cd60bc56SAndroid Build Coastguard Worker    (at your option) any later version.
300*cd60bc56SAndroid Build Coastguard Worker
301*cd60bc56SAndroid Build Coastguard Worker    This program is distributed in the hope that it will be useful,
302*cd60bc56SAndroid Build Coastguard Worker    but WITHOUT ANY WARRANTY; without even the implied warranty of
303*cd60bc56SAndroid Build Coastguard Worker    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304*cd60bc56SAndroid Build Coastguard Worker    GNU General Public License for more details.
305*cd60bc56SAndroid Build Coastguard Worker
306*cd60bc56SAndroid Build Coastguard Worker    You should have received a copy of the GNU General Public License along
307*cd60bc56SAndroid Build Coastguard Worker    with this program; if not, write to the Free Software Foundation, Inc.,
308*cd60bc56SAndroid Build Coastguard Worker    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309*cd60bc56SAndroid Build Coastguard Worker
310*cd60bc56SAndroid Build Coastguard WorkerAlso add information on how to contact you by electronic and paper mail.
311*cd60bc56SAndroid Build Coastguard Worker
312*cd60bc56SAndroid Build Coastguard WorkerIf the program is interactive, make it output a short notice like this
313*cd60bc56SAndroid Build Coastguard Workerwhen it starts in an interactive mode:
314*cd60bc56SAndroid Build Coastguard Worker
315*cd60bc56SAndroid Build Coastguard Worker    Gnomovision version 69, Copyright (C) year name of author
316*cd60bc56SAndroid Build Coastguard Worker    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317*cd60bc56SAndroid Build Coastguard Worker    This is free software, and you are welcome to redistribute it
318*cd60bc56SAndroid Build Coastguard Worker    under certain conditions; type `show c' for details.
319*cd60bc56SAndroid Build Coastguard Worker
320*cd60bc56SAndroid Build Coastguard WorkerThe hypothetical commands `show w' and `show c' should show the appropriate
321*cd60bc56SAndroid Build Coastguard Workerparts of the General Public License.  Of course, the commands you use may
322*cd60bc56SAndroid Build Coastguard Workerbe called something other than `show w' and `show c'; they could even be
323*cd60bc56SAndroid Build Coastguard Workermouse-clicks or menu items--whatever suits your program.
324*cd60bc56SAndroid Build Coastguard Worker
325*cd60bc56SAndroid Build Coastguard WorkerYou should also get your employer (if you work as a programmer) or your
326*cd60bc56SAndroid Build Coastguard Workerschool, if any, to sign a "copyright disclaimer" for the program, if
327*cd60bc56SAndroid Build Coastguard Workernecessary.  Here is a sample; alter the names:
328*cd60bc56SAndroid Build Coastguard Worker
329*cd60bc56SAndroid Build Coastguard Worker  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330*cd60bc56SAndroid Build Coastguard Worker  `Gnomovision' (which makes passes at compilers) written by James Hacker.
331*cd60bc56SAndroid Build Coastguard Worker
332*cd60bc56SAndroid Build Coastguard Worker  <signature of Ty Coon>, 1 April 1989
333*cd60bc56SAndroid Build Coastguard Worker  Ty Coon, President of Vice
334*cd60bc56SAndroid Build Coastguard Worker
335*cd60bc56SAndroid Build Coastguard WorkerThis General Public License does not permit incorporating your program into
336*cd60bc56SAndroid Build Coastguard Workerproprietary programs.  If your program is a subroutine library, you may
337*cd60bc56SAndroid Build Coastguard Workerconsider it more useful to permit linking proprietary applications with the
338*cd60bc56SAndroid Build Coastguard Workerlibrary.  If this is what you want to do, use the GNU Lesser General
339*cd60bc56SAndroid Build Coastguard WorkerPublic License instead of this License.
340