xref: /utopia/UTPA2-700.0.x/projects/tools/mipsisa32-elf/EL_mips32r2_msoft-float/GPL.txt (revision 53ee8cc121a030b8d368113ac3e966b4705770ef)
1*53ee8cc1Swenshuai.xi		    GNU GENERAL PUBLIC LICENSE
2*53ee8cc1Swenshuai.xi		       Version 2, June 1991
3*53ee8cc1Swenshuai.xi
4*53ee8cc1Swenshuai.xi Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5*53ee8cc1Swenshuai.xi     51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
6*53ee8cc1Swenshuai.xi Everyone is permitted to copy and distribute verbatim copies
7*53ee8cc1Swenshuai.xi of this license document, but changing it is not allowed.
8*53ee8cc1Swenshuai.xi
9*53ee8cc1Swenshuai.xi			    Preamble
10*53ee8cc1Swenshuai.xi
11*53ee8cc1Swenshuai.xi  The licenses for most software are designed to take away your
12*53ee8cc1Swenshuai.xifreedom to share and change it.  By contrast, the GNU General Public
13*53ee8cc1Swenshuai.xiLicense is intended to guarantee your freedom to share and change free
14*53ee8cc1Swenshuai.xisoftware--to make sure the software is free for all its users.  This
15*53ee8cc1Swenshuai.xiGeneral Public License applies to most of the Free Software
16*53ee8cc1Swenshuai.xiFoundation's software and to any other program whose authors commit to
17*53ee8cc1Swenshuai.xiusing it.  (Some other Free Software Foundation software is covered by
18*53ee8cc1Swenshuai.xithe GNU Library General Public License instead.)  You can apply it to
19*53ee8cc1Swenshuai.xiyour programs, too.
20*53ee8cc1Swenshuai.xi
21*53ee8cc1Swenshuai.xi  When we speak of free software, we are referring to freedom, not
22*53ee8cc1Swenshuai.xiprice.  Our General Public Licenses are designed to make sure that you
23*53ee8cc1Swenshuai.xihave the freedom to distribute copies of free software (and charge for
24*53ee8cc1Swenshuai.xithis service if you wish), that you receive source code or can get it
25*53ee8cc1Swenshuai.xiif you want it, that you can change the software or use pieces of it
26*53ee8cc1Swenshuai.xiin new free programs; and that you know you can do these things.
27*53ee8cc1Swenshuai.xi
28*53ee8cc1Swenshuai.xi  To protect your rights, we need to make restrictions that forbid
29*53ee8cc1Swenshuai.xianyone to deny you these rights or to ask you to surrender the rights.
30*53ee8cc1Swenshuai.xiThese restrictions translate to certain responsibilities for you if you
31*53ee8cc1Swenshuai.xidistribute copies of the software, or if you modify it.
32*53ee8cc1Swenshuai.xi
33*53ee8cc1Swenshuai.xi  For example, if you distribute copies of such a program, whether
34*53ee8cc1Swenshuai.xigratis or for a fee, you must give the recipients all the rights that
35*53ee8cc1Swenshuai.xiyou have.  You must make sure that they, too, receive or can get the
36*53ee8cc1Swenshuai.xisource code.  And you must show them these terms so they know their
37*53ee8cc1Swenshuai.xirights.
38*53ee8cc1Swenshuai.xi
39*53ee8cc1Swenshuai.xi  We protect your rights with two steps: (1) copyright the software, and
40*53ee8cc1Swenshuai.xi(2) offer you this license which gives you legal permission to copy,
41*53ee8cc1Swenshuai.xidistribute and/or modify the software.
42*53ee8cc1Swenshuai.xi
43*53ee8cc1Swenshuai.xi  Also, for each author's protection and ours, we want to make certain
44*53ee8cc1Swenshuai.xithat everyone understands that there is no warranty for this free
45*53ee8cc1Swenshuai.xisoftware.  If the software is modified by someone else and passed on, we
46*53ee8cc1Swenshuai.xiwant its recipients to know that what they have is not the original, so
47*53ee8cc1Swenshuai.xithat any problems introduced by others will not reflect on the original
48*53ee8cc1Swenshuai.xiauthors' reputations.
49*53ee8cc1Swenshuai.xi
50*53ee8cc1Swenshuai.xi  Finally, any free program is threatened constantly by software
51*53ee8cc1Swenshuai.xipatents.  We wish to avoid the danger that redistributors of a free
52*53ee8cc1Swenshuai.xiprogram will individually obtain patent licenses, in effect making the
53*53ee8cc1Swenshuai.xiprogram proprietary.  To prevent this, we have made it clear that any
54*53ee8cc1Swenshuai.xipatent must be licensed for everyone's free use or not licensed at all.
55*53ee8cc1Swenshuai.xi
56*53ee8cc1Swenshuai.xi  The precise terms and conditions for copying, distribution and
57*53ee8cc1Swenshuai.ximodification follow.
58*53ee8cc1Swenshuai.xi
59*53ee8cc1Swenshuai.xi		    GNU GENERAL PUBLIC LICENSE
60*53ee8cc1Swenshuai.xi   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61*53ee8cc1Swenshuai.xi
62*53ee8cc1Swenshuai.xi  0. This License applies to any program or other work which contains
63*53ee8cc1Swenshuai.xia notice placed by the copyright holder saying it may be distributed
64*53ee8cc1Swenshuai.xiunder the terms of this General Public License.  The "Program", below,
65*53ee8cc1Swenshuai.xirefers to any such program or work, and a "work based on the Program"
66*53ee8cc1Swenshuai.ximeans either the Program or any derivative work under copyright law:
67*53ee8cc1Swenshuai.xithat is to say, a work containing the Program or a portion of it,
68*53ee8cc1Swenshuai.xieither verbatim or with modifications and/or translated into another
69*53ee8cc1Swenshuai.xilanguage.  (Hereinafter, translation is included without limitation in
70*53ee8cc1Swenshuai.xithe term "modification".)  Each licensee is addressed as "you".
71*53ee8cc1Swenshuai.xi
72*53ee8cc1Swenshuai.xiActivities other than copying, distribution and modification are not
73*53ee8cc1Swenshuai.xicovered by this License; they are outside its scope.  The act of
74*53ee8cc1Swenshuai.xirunning the Program is not restricted, and the output from the Program
75*53ee8cc1Swenshuai.xiis covered only if its contents constitute a work based on the
76*53ee8cc1Swenshuai.xiProgram (independent of having been made by running the Program).
77*53ee8cc1Swenshuai.xiWhether that is true depends on what the Program does.
78*53ee8cc1Swenshuai.xi
79*53ee8cc1Swenshuai.xi  1. You may copy and distribute verbatim copies of the Program's
80*53ee8cc1Swenshuai.xisource code as you receive it, in any medium, provided that you
81*53ee8cc1Swenshuai.xiconspicuously and appropriately publish on each copy an appropriate
82*53ee8cc1Swenshuai.xicopyright notice and disclaimer of warranty; keep intact all the
83*53ee8cc1Swenshuai.xinotices that refer to this License and to the absence of any warranty;
84*53ee8cc1Swenshuai.xiand give any other recipients of the Program a copy of this License
85*53ee8cc1Swenshuai.xialong with the Program.
86*53ee8cc1Swenshuai.xi
87*53ee8cc1Swenshuai.xiYou may charge a fee for the physical act of transferring a copy, and
88*53ee8cc1Swenshuai.xiyou may at your option offer warranty protection in exchange for a fee.
89*53ee8cc1Swenshuai.xi
90*53ee8cc1Swenshuai.xi  2. You may modify your copy or copies of the Program or any portion
91*53ee8cc1Swenshuai.xiof it, thus forming a work based on the Program, and copy and
92*53ee8cc1Swenshuai.xidistribute such modifications or work under the terms of Section 1
93*53ee8cc1Swenshuai.xiabove, provided that you also meet all of these conditions:
94*53ee8cc1Swenshuai.xi
95*53ee8cc1Swenshuai.xi    a) You must cause the modified files to carry prominent notices
96*53ee8cc1Swenshuai.xi    stating that you changed the files and the date of any change.
97*53ee8cc1Swenshuai.xi
98*53ee8cc1Swenshuai.xi    b) You must cause any work that you distribute or publish, that in
99*53ee8cc1Swenshuai.xi    whole or in part contains or is derived from the Program or any
100*53ee8cc1Swenshuai.xi    part thereof, to be licensed as a whole at no charge to all third
101*53ee8cc1Swenshuai.xi    parties under the terms of this License.
102*53ee8cc1Swenshuai.xi
103*53ee8cc1Swenshuai.xi    c) If the modified program normally reads commands interactively
104*53ee8cc1Swenshuai.xi    when run, you must cause it, when started running for such
105*53ee8cc1Swenshuai.xi    interactive use in the most ordinary way, to print or display an
106*53ee8cc1Swenshuai.xi    announcement including an appropriate copyright notice and a
107*53ee8cc1Swenshuai.xi    notice that there is no warranty (or else, saying that you provide
108*53ee8cc1Swenshuai.xi    a warranty) and that users may redistribute the program under
109*53ee8cc1Swenshuai.xi    these conditions, and telling the user how to view a copy of this
110*53ee8cc1Swenshuai.xi    License.  (Exception: if the Program itself is interactive but
111*53ee8cc1Swenshuai.xi    does not normally print such an announcement, your work based on
112*53ee8cc1Swenshuai.xi    the Program is not required to print an announcement.)
113*53ee8cc1Swenshuai.xi
114*53ee8cc1Swenshuai.xiThese requirements apply to the modified work as a whole.  If
115*53ee8cc1Swenshuai.xiidentifiable sections of that work are not derived from the Program,
116*53ee8cc1Swenshuai.xiand can be reasonably considered independent and separate works in
117*53ee8cc1Swenshuai.xithemselves, then this License, and its terms, do not apply to those
118*53ee8cc1Swenshuai.xisections when you distribute them as separate works.  But when you
119*53ee8cc1Swenshuai.xidistribute the same sections as part of a whole which is a work based
120*53ee8cc1Swenshuai.xion the Program, the distribution of the whole must be on the terms of
121*53ee8cc1Swenshuai.xithis License, whose permissions for other licensees extend to the
122*53ee8cc1Swenshuai.xientire whole, and thus to each and every part regardless of who wrote it.
123*53ee8cc1Swenshuai.xi
124*53ee8cc1Swenshuai.xiThus, it is not the intent of this section to claim rights or contest
125*53ee8cc1Swenshuai.xiyour rights to work written entirely by you; rather, the intent is to
126*53ee8cc1Swenshuai.xiexercise the right to control the distribution of derivative or
127*53ee8cc1Swenshuai.xicollective works based on the Program.
128*53ee8cc1Swenshuai.xi
129*53ee8cc1Swenshuai.xiIn addition, mere aggregation of another work not based on the Program
130*53ee8cc1Swenshuai.xiwith the Program (or with a work based on the Program) on a volume of
131*53ee8cc1Swenshuai.xia storage or distribution medium does not bring the other work under
132*53ee8cc1Swenshuai.xithe scope of this License.
133*53ee8cc1Swenshuai.xi
134*53ee8cc1Swenshuai.xi  3. You may copy and distribute the Program (or a work based on it,
135*53ee8cc1Swenshuai.xiunder Section 2) in object code or executable form under the terms of
136*53ee8cc1Swenshuai.xiSections 1 and 2 above provided that you also do one of the following:
137*53ee8cc1Swenshuai.xi
138*53ee8cc1Swenshuai.xi    a) Accompany it with the complete corresponding machine-readable
139*53ee8cc1Swenshuai.xi    source code, which must be distributed under the terms of Sections
140*53ee8cc1Swenshuai.xi    1 and 2 above on a medium customarily used for software interchange; or,
141*53ee8cc1Swenshuai.xi
142*53ee8cc1Swenshuai.xi    b) Accompany it with a written offer, valid for at least three
143*53ee8cc1Swenshuai.xi    years, to give any third party, for a charge no more than your
144*53ee8cc1Swenshuai.xi    cost of physically performing source distribution, a complete
145*53ee8cc1Swenshuai.xi    machine-readable copy of the corresponding source code, to be
146*53ee8cc1Swenshuai.xi    distributed under the terms of Sections 1 and 2 above on a medium
147*53ee8cc1Swenshuai.xi    customarily used for software interchange; or,
148*53ee8cc1Swenshuai.xi
149*53ee8cc1Swenshuai.xi    c) Accompany it with the information you received as to the offer
150*53ee8cc1Swenshuai.xi    to distribute corresponding source code.  (This alternative is
151*53ee8cc1Swenshuai.xi    allowed only for noncommercial distribution and only if you
152*53ee8cc1Swenshuai.xi    received the program in object code or executable form with such
153*53ee8cc1Swenshuai.xi    an offer, in accord with Subsection b above.)
154*53ee8cc1Swenshuai.xi
155*53ee8cc1Swenshuai.xiThe source code for a work means the preferred form of the work for
156*53ee8cc1Swenshuai.ximaking modifications to it.  For an executable work, complete source
157*53ee8cc1Swenshuai.xicode means all the source code for all modules it contains, plus any
158*53ee8cc1Swenshuai.xiassociated interface definition files, plus the scripts used to
159*53ee8cc1Swenshuai.xicontrol compilation and installation of the executable.  However, as a
160*53ee8cc1Swenshuai.xispecial exception, the source code distributed need not include
161*53ee8cc1Swenshuai.xianything that is normally distributed (in either source or binary
162*53ee8cc1Swenshuai.xiform) with the major components (compiler, kernel, and so on) of the
163*53ee8cc1Swenshuai.xioperating system on which the executable runs, unless that component
164*53ee8cc1Swenshuai.xiitself accompanies the executable.
165*53ee8cc1Swenshuai.xi
166*53ee8cc1Swenshuai.xiIf distribution of executable or object code is made by offering
167*53ee8cc1Swenshuai.xiaccess to copy from a designated place, then offering equivalent
168*53ee8cc1Swenshuai.xiaccess to copy the source code from the same place counts as
169*53ee8cc1Swenshuai.xidistribution of the source code, even though third parties are not
170*53ee8cc1Swenshuai.xicompelled to copy the source along with the object code.
171*53ee8cc1Swenshuai.xi
172*53ee8cc1Swenshuai.xi  4. You may not copy, modify, sublicense, or distribute the Program
173*53ee8cc1Swenshuai.xiexcept as expressly provided under this License.  Any attempt
174*53ee8cc1Swenshuai.xiotherwise to copy, modify, sublicense or distribute the Program is
175*53ee8cc1Swenshuai.xivoid, and will automatically terminate your rights under this License.
176*53ee8cc1Swenshuai.xiHowever, parties who have received copies, or rights, from you under
177*53ee8cc1Swenshuai.xithis License will not have their licenses terminated so long as such
178*53ee8cc1Swenshuai.xiparties remain in full compliance.
179*53ee8cc1Swenshuai.xi
180*53ee8cc1Swenshuai.xi  5. You are not required to accept this License, since you have not
181*53ee8cc1Swenshuai.xisigned it.  However, nothing else grants you permission to modify or
182*53ee8cc1Swenshuai.xidistribute the Program or its derivative works.  These actions are
183*53ee8cc1Swenshuai.xiprohibited by law if you do not accept this License.  Therefore, by
184*53ee8cc1Swenshuai.ximodifying or distributing the Program (or any work based on the
185*53ee8cc1Swenshuai.xiProgram), you indicate your acceptance of this License to do so, and
186*53ee8cc1Swenshuai.xiall its terms and conditions for copying, distributing or modifying
187*53ee8cc1Swenshuai.xithe Program or works based on it.
188*53ee8cc1Swenshuai.xi
189*53ee8cc1Swenshuai.xi  6. Each time you redistribute the Program (or any work based on the
190*53ee8cc1Swenshuai.xiProgram), the recipient automatically receives a license from the
191*53ee8cc1Swenshuai.xioriginal licensor to copy, distribute or modify the Program subject to
192*53ee8cc1Swenshuai.xithese terms and conditions.  You may not impose any further
193*53ee8cc1Swenshuai.xirestrictions on the recipients' exercise of the rights granted herein.
194*53ee8cc1Swenshuai.xiYou are not responsible for enforcing compliance by third parties to
195*53ee8cc1Swenshuai.xithis License.
196*53ee8cc1Swenshuai.xi
197*53ee8cc1Swenshuai.xi  7. If, as a consequence of a court judgment or allegation of patent
198*53ee8cc1Swenshuai.xiinfringement or for any other reason (not limited to patent issues),
199*53ee8cc1Swenshuai.xiconditions are imposed on you (whether by court order, agreement or
200*53ee8cc1Swenshuai.xiotherwise) that contradict the conditions of this License, they do not
201*53ee8cc1Swenshuai.xiexcuse you from the conditions of this License.  If you cannot
202*53ee8cc1Swenshuai.xidistribute so as to satisfy simultaneously your obligations under this
203*53ee8cc1Swenshuai.xiLicense and any other pertinent obligations, then as a consequence you
204*53ee8cc1Swenshuai.ximay not distribute the Program at all.  For example, if a patent
205*53ee8cc1Swenshuai.xilicense would not permit royalty-free redistribution of the Program by
206*53ee8cc1Swenshuai.xiall those who receive copies directly or indirectly through you, then
207*53ee8cc1Swenshuai.xithe only way you could satisfy both it and this License would be to
208*53ee8cc1Swenshuai.xirefrain entirely from distribution of the Program.
209*53ee8cc1Swenshuai.xi
210*53ee8cc1Swenshuai.xiIf any portion of this section is held invalid or unenforceable under
211*53ee8cc1Swenshuai.xiany particular circumstance, the balance of the section is intended to
212*53ee8cc1Swenshuai.xiapply and the section as a whole is intended to apply in other
213*53ee8cc1Swenshuai.xicircumstances.
214*53ee8cc1Swenshuai.xi
215*53ee8cc1Swenshuai.xiIt is not the purpose of this section to induce you to infringe any
216*53ee8cc1Swenshuai.xipatents or other property right claims or to contest validity of any
217*53ee8cc1Swenshuai.xisuch claims; this section has the sole purpose of protecting the
218*53ee8cc1Swenshuai.xiintegrity of the free software distribution system, which is
219*53ee8cc1Swenshuai.xiimplemented by public license practices.  Many people have made
220*53ee8cc1Swenshuai.xigenerous contributions to the wide range of software distributed
221*53ee8cc1Swenshuai.xithrough that system in reliance on consistent application of that
222*53ee8cc1Swenshuai.xisystem; it is up to the author/donor to decide if he or she is willing
223*53ee8cc1Swenshuai.xito distribute software through any other system and a licensee cannot
224*53ee8cc1Swenshuai.xiimpose that choice.
225*53ee8cc1Swenshuai.xi
226*53ee8cc1Swenshuai.xiThis section is intended to make thoroughly clear what is believed to
227*53ee8cc1Swenshuai.xibe a consequence of the rest of this License.
228*53ee8cc1Swenshuai.xi
229*53ee8cc1Swenshuai.xi  8. If the distribution and/or use of the Program is restricted in
230*53ee8cc1Swenshuai.xicertain countries either by patents or by copyrighted interfaces, the
231*53ee8cc1Swenshuai.xioriginal copyright holder who places the Program under this License
232*53ee8cc1Swenshuai.ximay add an explicit geographical distribution limitation excluding
233*53ee8cc1Swenshuai.xithose countries, so that distribution is permitted only in or among
234*53ee8cc1Swenshuai.xicountries not thus excluded.  In such case, this License incorporates
235*53ee8cc1Swenshuai.xithe limitation as if written in the body of this License.
236*53ee8cc1Swenshuai.xi
237*53ee8cc1Swenshuai.xi  9. The Free Software Foundation may publish revised and/or new versions
238*53ee8cc1Swenshuai.xiof the General Public License from time to time.  Such new versions will
239*53ee8cc1Swenshuai.xibe similar in spirit to the present version, but may differ in detail to
240*53ee8cc1Swenshuai.xiaddress new problems or concerns.
241*53ee8cc1Swenshuai.xi
242*53ee8cc1Swenshuai.xiEach version is given a distinguishing version number.  If the Program
243*53ee8cc1Swenshuai.xispecifies a version number of this License which applies to it and "any
244*53ee8cc1Swenshuai.xilater version", you have the option of following the terms and conditions
245*53ee8cc1Swenshuai.xieither of that version or of any later version published by the Free
246*53ee8cc1Swenshuai.xiSoftware Foundation.  If the Program does not specify a version number of
247*53ee8cc1Swenshuai.xithis License, you may choose any version ever published by the Free Software
248*53ee8cc1Swenshuai.xiFoundation.
249*53ee8cc1Swenshuai.xi
250*53ee8cc1Swenshuai.xi  10. If you wish to incorporate parts of the Program into other free
251*53ee8cc1Swenshuai.xiprograms whose distribution conditions are different, write to the author
252*53ee8cc1Swenshuai.xito ask for permission.  For software which is copyrighted by the Free
253*53ee8cc1Swenshuai.xiSoftware Foundation, write to the Free Software Foundation; we sometimes
254*53ee8cc1Swenshuai.ximake exceptions for this.  Our decision will be guided by the two goals
255*53ee8cc1Swenshuai.xiof preserving the free status of all derivatives of our free software and
256*53ee8cc1Swenshuai.xiof promoting the sharing and reuse of software generally.
257*53ee8cc1Swenshuai.xi
258*53ee8cc1Swenshuai.xi			    NO WARRANTY
259*53ee8cc1Swenshuai.xi
260*53ee8cc1Swenshuai.xi  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261*53ee8cc1Swenshuai.xiFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262*53ee8cc1Swenshuai.xiOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263*53ee8cc1Swenshuai.xiPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264*53ee8cc1Swenshuai.xiOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265*53ee8cc1Swenshuai.xiMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266*53ee8cc1Swenshuai.xiTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267*53ee8cc1Swenshuai.xiPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268*53ee8cc1Swenshuai.xiREPAIR OR CORRECTION.
269*53ee8cc1Swenshuai.xi
270*53ee8cc1Swenshuai.xi  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271*53ee8cc1Swenshuai.xiWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272*53ee8cc1Swenshuai.xiREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273*53ee8cc1Swenshuai.xiINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274*53ee8cc1Swenshuai.xiOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275*53ee8cc1Swenshuai.xiTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276*53ee8cc1Swenshuai.xiYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277*53ee8cc1Swenshuai.xiPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278*53ee8cc1Swenshuai.xiPOSSIBILITY OF SUCH DAMAGES.
279*53ee8cc1Swenshuai.xi
280*53ee8cc1Swenshuai.xi		     END OF TERMS AND CONDITIONS
281*53ee8cc1Swenshuai.xi
282*53ee8cc1Swenshuai.xi	    How to Apply These Terms to Your New Programs
283*53ee8cc1Swenshuai.xi
284*53ee8cc1Swenshuai.xi  If you develop a new program, and you want it to be of the greatest
285*53ee8cc1Swenshuai.xipossible use to the public, the best way to achieve this is to make it
286*53ee8cc1Swenshuai.xifree software which everyone can redistribute and change under these terms.
287*53ee8cc1Swenshuai.xi
288*53ee8cc1Swenshuai.xi  To do so, attach the following notices to the program.  It is safest
289*53ee8cc1Swenshuai.xito attach them to the start of each source file to most effectively
290*53ee8cc1Swenshuai.xiconvey the exclusion of warranty; and each file should have at least
291*53ee8cc1Swenshuai.xithe "copyright" line and a pointer to where the full notice is found.
292*53ee8cc1Swenshuai.xi
293*53ee8cc1Swenshuai.xi    <one line to give the program's name and a brief idea of what it does.>
294*53ee8cc1Swenshuai.xi    Copyright (C) <year>  <name of author>
295*53ee8cc1Swenshuai.xi
296*53ee8cc1Swenshuai.xi    This program is free software; you can redistribute it and/or modify
297*53ee8cc1Swenshuai.xi    it under the terms of the GNU General Public License as published by
298*53ee8cc1Swenshuai.xi    the Free Software Foundation; either version 2 of the License, or
299*53ee8cc1Swenshuai.xi    (at your option) any later version.
300*53ee8cc1Swenshuai.xi
301*53ee8cc1Swenshuai.xi    This program is distributed in the hope that it will be useful,
302*53ee8cc1Swenshuai.xi    but WITHOUT ANY WARRANTY; without even the implied warranty of
303*53ee8cc1Swenshuai.xi    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304*53ee8cc1Swenshuai.xi    GNU General Public License for more details.
305*53ee8cc1Swenshuai.xi
306*53ee8cc1Swenshuai.xi    You should have received a copy of the GNU General Public License
307*53ee8cc1Swenshuai.xi    along with this program; if not, write to the Free Software
308*53ee8cc1Swenshuai.xi    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
309*53ee8cc1Swenshuai.xi
310*53ee8cc1Swenshuai.xi
311*53ee8cc1Swenshuai.xiAlso add information on how to contact you by electronic and paper mail.
312*53ee8cc1Swenshuai.xi
313*53ee8cc1Swenshuai.xiIf the program is interactive, make it output a short notice like this
314*53ee8cc1Swenshuai.xiwhen it starts in an interactive mode:
315*53ee8cc1Swenshuai.xi
316*53ee8cc1Swenshuai.xi    Gnomovision version 69, Copyright (C) year  name of author
317*53ee8cc1Swenshuai.xi    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318*53ee8cc1Swenshuai.xi    This is free software, and you are welcome to redistribute it
319*53ee8cc1Swenshuai.xi    under certain conditions; type `show c' for details.
320*53ee8cc1Swenshuai.xi
321*53ee8cc1Swenshuai.xiThe hypothetical commands `show w' and `show c' should show the appropriate
322*53ee8cc1Swenshuai.xiparts of the General Public License.  Of course, the commands you use may
323*53ee8cc1Swenshuai.xibe called something other than `show w' and `show c'; they could even be
324*53ee8cc1Swenshuai.ximouse-clicks or menu items--whatever suits your program.
325*53ee8cc1Swenshuai.xi
326*53ee8cc1Swenshuai.xiYou should also get your employer (if you work as a programmer) or your
327*53ee8cc1Swenshuai.xischool, if any, to sign a "copyright disclaimer" for the program, if
328*53ee8cc1Swenshuai.xinecessary.  Here is a sample; alter the names:
329*53ee8cc1Swenshuai.xi
330*53ee8cc1Swenshuai.xi  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
331*53ee8cc1Swenshuai.xi  `Gnomovision' (which makes passes at compilers) written by James Hacker.
332*53ee8cc1Swenshuai.xi
333*53ee8cc1Swenshuai.xi  <signature of Ty Coon>, 1 April 1989
334*53ee8cc1Swenshuai.xi  Ty Coon, President of Vice
335*53ee8cc1Swenshuai.xi
336*53ee8cc1Swenshuai.xiThis General Public License does not permit incorporating your program into
337*53ee8cc1Swenshuai.xiproprietary programs.  If your program is a subroutine library, you may
338*53ee8cc1Swenshuai.xiconsider it more useful to permit linking proprietary applications with the
339*53ee8cc1Swenshuai.xilibrary.  If this is what you want to do, use the GNU Library General
340*53ee8cc1Swenshuai.xiPublic License instead of this License.
341*53ee8cc1Swenshuai.xi
342