]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/ocaml/contrib/LICENSE
Inital import
[l4.git] / l4 / pkg / ocaml / contrib / LICENSE
1 In the following, "the Library" refers to all files marked "Copyright
2 INRIA" in the following directories and their sub-directories:
3
4   asmrun, byterun, camlp4, config, otherlibs, stdlib, win32caml
5
6 and "the Compiler" refers to all files marked "Copyright INRIA" in the
7 following directories and their sub-directories:
8
9   asmcomp, boot, bytecomp, debugger, driver, lex, ocamldoc, parsing,
10   tools, toplevel, typing, utils, yacc
11
12 The Compiler is distributed under the terms of the Q Public License
13 version 1.0 with a change to choice of law (included below).
14
15 The Library is distributed under the terms of the GNU Library General
16 Public License version 2 (included below).
17
18 As a special exception to the Q Public Licence, you may develop
19 application programs, reusable components and other software items
20 that link with the original or modified versions of the Compiler
21 and are not made available to the general public, without any of the
22 additional requirements listed in clause 6c of the Q Public licence.
23
24 As a special exception to the GNU Library General Public License, you
25 may link, statically or dynamically, a "work that uses the Library"
26 with a publicly distributed version of the Library to produce an
27 executable file containing portions of the Library, and distribute
28 that executable file under terms of your choice, without any of the
29 additional requirements listed in clause 6 of the GNU Library General
30 Public License.  By "a publicly distributed version of the Library",
31 we mean either the unmodified Library as distributed by INRIA, or a
32 modified version of the Library that is distributed under the
33 conditions defined in clause 2 of the GNU Library General Public
34 License.  This exception does not however invalidate any other reasons
35 why the executable file might be covered by the GNU Library General
36 Public License.
37
38 ----------------------------------------------------------------------
39
40                    THE Q PUBLIC LICENSE version 1.0
41
42               Copyright (C) 1999 Troll Tech AS, Norway.
43                   Everyone is permitted to copy and
44                   distribute this license document.
45
46 The intent of this license is to establish freedom to share and change
47 the software regulated by this license under the open source model.
48
49 This license applies to any software containing a notice placed by the
50 copyright holder saying that it may be distributed under the terms of
51 the Q Public License version 1.0. Such software is herein referred to
52 as the Software. This license covers modification and distribution of
53 the Software, use of third-party application programs based on the
54 Software, and development of free software which uses the Software.
55
56                             Granted Rights
57
58 1. You are granted the non-exclusive rights set forth in this license
59 provided you agree to and comply with any and all conditions in this
60 license. Whole or partial distribution of the Software, or software
61 items that link with the Software, in any form signifies acceptance of
62 this license.
63
64 2. You may copy and distribute the Software in unmodified form
65 provided that the entire package, including - but not restricted to -
66 copyright, trademark notices and disclaimers, as released by the
67 initial developer of the Software, is distributed.
68
69 3. You may make modifications to the Software and distribute your
70 modifications, in a form that is separate from the Software, such as
71 patches. The following restrictions apply to modifications:
72
73       a. Modifications must not alter or remove any copyright notices
74       in the Software.
75
76       b. When modifications to the Software are released under this
77       license, a non-exclusive royalty-free right is granted to the
78       initial developer of the Software to distribute your
79       modification in future versions of the Software provided such
80       versions remain available under these terms in addition to any
81       other license(s) of the initial developer.
82
83 4. You may distribute machine-executable forms of the Software or
84 machine-executable forms of modified versions of the Software,
85 provided that you meet these restrictions:
86
87       a. You must include this license document in the distribution.
88
89       b. You must ensure that all recipients of the machine-executable
90       forms are also able to receive the complete machine-readable
91       source code to the distributed Software, including all
92       modifications, without any charge beyond the costs of data
93       transfer, and place prominent notices in the distribution
94       explaining this.
95
96       c. You must ensure that all modifications included in the
97       machine-executable forms are available under the terms of this
98       license.
99
100 5. You may use the original or modified versions of the Software to
101 compile, link and run application programs legally developed by you or
102 by others.
103
104 6. You may develop application programs, reusable components and other
105 software items that link with the original or modified versions of the
106 Software. These items, when distributed, are subject to the following
107 requirements:
108
109       a. You must ensure that all recipients of machine-executable
110       forms of these items are also able to receive and use the
111       complete machine-readable source code to the items without any
112       charge beyond the costs of data transfer.
113
114       b. You must explicitly license all recipients of your items to
115       use and re-distribute original and modified versions of the
116       items in both machine-executable and source code forms. The
117       recipients must be able to do so without any charges whatsoever,
118       and they must be able to re-distribute to anyone they choose.
119
120       c. If the items are not available to the general public, and the
121       initial developer of the Software requests a copy of the items,
122       then you must supply one.
123
124                        Limitations of Liability
125
126 In no event shall the initial developers or copyright holders be
127 liable for any damages whatsoever, including - but not restricted to -
128 lost revenue or profits or other direct, indirect, special, incidental
129 or consequential damages, even if they have been advised of the
130 possibility of such damages, except to the extent invariable law, if
131 any, provides otherwise.
132
133                              No Warranty
134
135 The Software and this license document are provided AS IS with NO
136 WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN,
137 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
138
139                             Choice of Law
140
141 This license is governed by the Laws of France.
142
143 ----------------------------------------------------------------------
144
145                   GNU LIBRARY GENERAL PUBLIC LICENSE
146                        Version 2, June 1991
147
148  Copyright (C) 1991 Free Software Foundation, Inc.
149  59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
150  Everyone is permitted to copy and distribute verbatim copies
151  of this license document, but changing it is not allowed.
152
153 [This is the first released version of the library GPL.  It is
154  numbered 2 because it goes with version 2 of the ordinary GPL.]
155
156                             Preamble
157
158   The licenses for most software are designed to take away your
159 freedom to share and change it.  By contrast, the GNU General Public
160 Licenses are intended to guarantee your freedom to share and change
161 free software--to make sure the software is free for all its users.
162
163   This license, the Library General Public License, applies to some
164 specially designated Free Software Foundation software, and to any
165 other libraries whose authors decide to use it.  You can use it for
166 your libraries, too.
167
168   When we speak of free software, we are referring to freedom, not
169 price.  Our General Public Licenses are designed to make sure that you
170 have the freedom to distribute copies of free software (and charge for
171 this service if you wish), that you receive source code or can get it
172 if you want it, that you can change the software or use pieces of it
173 in new free programs; and that you know you can do these things.
174
175   To protect your rights, we need to make restrictions that forbid
176 anyone to deny you these rights or to ask you to surrender the rights.
177 These restrictions translate to certain responsibilities for you if
178 you distribute copies of the library, or if you modify it.
179
180   For example, if you distribute copies of the library, whether gratis
181 or for a fee, you must give the recipients all the rights that we gave
182 you.  You must make sure that they, too, receive or can get the source
183 code.  If you link a program with the library, you must provide
184 complete object files to the recipients so that they can relink them
185 with the library, after making changes to the library and recompiling
186 it.  And you must show them these terms so they know their rights.
187
188   Our method of protecting your rights has two steps: (1) copyright
189 the library, and (2) offer you this license which gives you legal
190 permission to copy, distribute and/or modify the library.
191
192   Also, for each distributor's protection, we want to make certain
193 that everyone understands that there is no warranty for this free
194 library.  If the library is modified by someone else and passed on, we
195 want its recipients to know that what they have is not the original
196 version, so that any problems introduced by others will not reflect on
197 the original authors' reputations.
198 \f
199   Finally, any free program is threatened constantly by software
200 patents.  We wish to avoid the danger that companies distributing free
201 software will individually obtain patent licenses, thus in effect
202 transforming the program into proprietary software.  To prevent this,
203 we have made it clear that any patent must be licensed for everyone's
204 free use or not licensed at all.
205
206   Most GNU software, including some libraries, is covered by the ordinary
207 GNU General Public License, which was designed for utility programs.  This
208 license, the GNU Library General Public License, applies to certain
209 designated libraries.  This license is quite different from the ordinary
210 one; be sure to read it in full, and don't assume that anything in it is
211 the same as in the ordinary license.
212
213   The reason we have a separate public license for some libraries is that
214 they blur the distinction we usually make between modifying or adding to a
215 program and simply using it.  Linking a program with a library, without
216 changing the library, is in some sense simply using the library, and is
217 analogous to running a utility program or application program.  However, in
218 a textual and legal sense, the linked executable is a combined work, a
219 derivative of the original library, and the ordinary General Public License
220 treats it as such.
221
222   Because of this blurred distinction, using the ordinary General
223 Public License for libraries did not effectively promote software
224 sharing, because most developers did not use the libraries.  We
225 concluded that weaker conditions might promote sharing better.
226
227   However, unrestricted linking of non-free programs would deprive the
228 users of those programs of all benefit from the free status of the
229 libraries themselves.  This Library General Public License is intended to
230 permit developers of non-free programs to use free libraries, while
231 preserving your freedom as a user of such programs to change the free
232 libraries that are incorporated in them.  (We have not seen how to achieve
233 this as regards changes in header files, but we have achieved it as regards
234 changes in the actual functions of the Library.)  The hope is that this
235 will lead to faster development of free libraries.
236
237   The precise terms and conditions for copying, distribution and
238 modification follow.  Pay close attention to the difference between a
239 "work based on the library" and a "work that uses the library".  The
240 former contains code derived from the library, while the latter only
241 works together with the library.
242
243   Note that it is possible for a library to be covered by the ordinary
244 General Public License rather than by this special one.
245 \f
246                   GNU LIBRARY GENERAL PUBLIC LICENSE
247    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
248
249   0. This License Agreement applies to any software library which
250 contains a notice placed by the copyright holder or other authorized
251 party saying it may be distributed under the terms of this Library
252 General Public License (also called "this License").  Each licensee is
253 addressed as "you".
254
255   A "library" means a collection of software functions and/or data
256 prepared so as to be conveniently linked with application programs
257 (which use some of those functions and data) to form executables.
258
259   The "Library", below, refers to any such software library or work
260 which has been distributed under these terms.  A "work based on the
261 Library" means either the Library or any derivative work under
262 copyright law: that is to say, a work containing the Library or a
263 portion of it, either verbatim or with modifications and/or translated
264 straightforwardly into another language.  (Hereinafter, translation is
265 included without limitation in the term "modification".)
266
267   "Source code" for a work means the preferred form of the work for
268 making modifications to it.  For a library, complete source code means
269 all the source code for all modules it contains, plus any associated
270 interface definition files, plus the scripts used to control compilation
271 and installation of the library.
272
273   Activities other than copying, distribution and modification are not
274 covered by this License; they are outside its scope.  The act of
275 running a program using the Library is not restricted, and output from
276 such a program is covered only if its contents constitute a work based
277 on the Library (independent of the use of the Library in a tool for
278 writing it).  Whether that is true depends on what the Library does
279 and what the program that uses the Library does.
280
281   1. You may copy and distribute verbatim copies of the Library's
282 complete source code as you receive it, in any medium, provided that
283 you conspicuously and appropriately publish on each copy an
284 appropriate copyright notice and disclaimer of warranty; keep intact
285 all the notices that refer to this License and to the absence of any
286 warranty; and distribute a copy of this License along with the
287 Library.
288
289   You may charge a fee for the physical act of transferring a copy,
290 and you may at your option offer warranty protection in exchange for a
291 fee.
292 \f
293   2. You may modify your copy or copies of the Library or any portion
294 of it, thus forming a work based on the Library, and copy and
295 distribute such modifications or work under the terms of Section 1
296 above, provided that you also meet all of these conditions:
297
298     a) The modified work must itself be a software library.
299
300     b) You must cause the files modified to carry prominent notices
301     stating that you changed the files and the date of any change.
302
303     c) You must cause the whole of the work to be licensed at no
304     charge to all third parties under the terms of this License.
305
306     d) If a facility in the modified Library refers to a function or a
307     table of data to be supplied by an application program that uses
308     the facility, other than as an argument passed when the facility
309     is invoked, then you must make a good faith effort to ensure that,
310     in the event an application does not supply such function or
311     table, the facility still operates, and performs whatever part of
312     its purpose remains meaningful.
313
314     (For example, a function in a library to compute square roots has
315     a purpose that is entirely well-defined independent of the
316     application.  Therefore, Subsection 2d requires that any
317     application-supplied function or table used by this function must
318     be optional: if the application does not supply it, the square
319     root function must still compute square roots.)
320
321 These requirements apply to the modified work as a whole.  If
322 identifiable sections of that work are not derived from the Library,
323 and can be reasonably considered independent and separate works in
324 themselves, then this License, and its terms, do not apply to those
325 sections when you distribute them as separate works.  But when you
326 distribute the same sections as part of a whole which is a work based
327 on the Library, the distribution of the whole must be on the terms of
328 this License, whose permissions for other licensees extend to the
329 entire whole, and thus to each and every part regardless of who wrote
330 it.
331
332 Thus, it is not the intent of this section to claim rights or contest
333 your rights to work written entirely by you; rather, the intent is to
334 exercise the right to control the distribution of derivative or
335 collective works based on the Library.
336
337 In addition, mere aggregation of another work not based on the Library
338 with the Library (or with a work based on the Library) on a volume of
339 a storage or distribution medium does not bring the other work under
340 the scope of this License.
341
342   3. You may opt to apply the terms of the ordinary GNU General Public
343 License instead of this License to a given copy of the Library.  To do
344 this, you must alter all the notices that refer to this License, so
345 that they refer to the ordinary GNU General Public License, version 2,
346 instead of to this License.  (If a newer version than version 2 of the
347 ordinary GNU General Public License has appeared, then you can specify
348 that version instead if you wish.)  Do not make any other change in
349 these notices.
350 \f
351   Once this change is made in a given copy, it is irreversible for
352 that copy, so the ordinary GNU General Public License applies to all
353 subsequent copies and derivative works made from that copy.
354
355   This option is useful when you wish to copy part of the code of
356 the Library into a program that is not a library.
357
358   4. You may copy and distribute the Library (or a portion or
359 derivative of it, under Section 2) in object code or executable form
360 under the terms of Sections 1 and 2 above provided that you accompany
361 it with the complete corresponding machine-readable source code, which
362 must be distributed under the terms of Sections 1 and 2 above on a
363 medium customarily used for software interchange.
364
365   If distribution of object code is made by offering access to copy
366 from a designated place, then offering equivalent access to copy the
367 source code from the same place satisfies the requirement to
368 distribute the source code, even though third parties are not
369 compelled to copy the source along with the object code.
370
371   5. A program that contains no derivative of any portion of the
372 Library, but is designed to work with the Library by being compiled or
373 linked with it, is called a "work that uses the Library".  Such a
374 work, in isolation, is not a derivative work of the Library, and
375 therefore falls outside the scope of this License.
376
377   However, linking a "work that uses the Library" with the Library
378 creates an executable that is a derivative of the Library (because it
379 contains portions of the Library), rather than a "work that uses the
380 library".  The executable is therefore covered by this License.
381 Section 6 states terms for distribution of such executables.
382
383   When a "work that uses the Library" uses material from a header file
384 that is part of the Library, the object code for the work may be a
385 derivative work of the Library even though the source code is not.
386 Whether this is true is especially significant if the work can be
387 linked without the Library, or if the work is itself a library.  The
388 threshold for this to be true is not precisely defined by law.
389
390   If such an object file uses only numerical parameters, data
391 structure layouts and accessors, and small macros and small inline
392 functions (ten lines or less in length), then the use of the object
393 file is unrestricted, regardless of whether it is legally a derivative
394 work.  (Executables containing this object code plus portions of the
395 Library will still fall under Section 6.)
396
397   Otherwise, if the work is a derivative of the Library, you may
398 distribute the object code for the work under the terms of Section 6.
399 Any executables containing that work also fall under Section 6,
400 whether or not they are linked directly with the Library itself.
401 \f
402   6. As an exception to the Sections above, you may also compile or
403 link a "work that uses the Library" with the Library to produce a
404 work containing portions of the Library, and distribute that work
405 under terms of your choice, provided that the terms permit
406 modification of the work for the customer's own use and reverse
407 engineering for debugging such modifications.
408
409   You must give prominent notice with each copy of the work that the
410 Library is used in it and that the Library and its use are covered by
411 this License.  You must supply a copy of this License.  If the work
412 during execution displays copyright notices, you must include the
413 copyright notice for the Library among them, as well as a reference
414 directing the user to the copy of this License.  Also, you must do one
415 of these things:
416
417     a) Accompany the work with the complete corresponding
418     machine-readable source code for the Library including whatever
419     changes were used in the work (which must be distributed under
420     Sections 1 and 2 above); and, if the work is an executable linked
421     with the Library, with the complete machine-readable "work that
422     uses the Library", as object code and/or source code, so that the
423     user can modify the Library and then relink to produce a modified
424     executable containing the modified Library.  (It is understood
425     that the user who changes the contents of definitions files in the
426     Library will not necessarily be able to recompile the application
427     to use the modified definitions.)
428
429     b) Accompany the work with a written offer, valid for at
430     least three years, to give the same user the materials
431     specified in Subsection 6a, above, for a charge no more
432     than the cost of performing this distribution.
433
434     c) If distribution of the work is made by offering access to copy
435     from a designated place, offer equivalent access to copy the above
436     specified materials from the same place.
437
438     d) Verify that the user has already received a copy of these
439     materials or that you have already sent this user a copy.
440
441   For an executable, the required form of the "work that uses the
442 Library" must include any data and utility programs needed for
443 reproducing the executable from it.  However, as a special exception,
444 the source code distributed need not include anything that is normally
445 distributed (in either source or binary form) with the major
446 components (compiler, kernel, and so on) of the operating system on
447 which the executable runs, unless that component itself accompanies
448 the executable.
449
450   It may happen that this requirement contradicts the license
451 restrictions of other proprietary libraries that do not normally
452 accompany the operating system.  Such a contradiction means you cannot
453 use both them and the Library together in an executable that you
454 distribute.
455 \f
456   7. You may place library facilities that are a work based on the
457 Library side-by-side in a single library together with other library
458 facilities not covered by this License, and distribute such a combined
459 library, provided that the separate distribution of the work based on
460 the Library and of the other library facilities is otherwise
461 permitted, and provided that you do these two things:
462
463     a) Accompany the combined library with a copy of the same work
464     based on the Library, uncombined with any other library
465     facilities.  This must be distributed under the terms of the
466     Sections above.
467
468     b) Give prominent notice with the combined library of the fact
469     that part of it is a work based on the Library, and explaining
470     where to find the accompanying uncombined form of the same work.
471
472   8. You may not copy, modify, sublicense, link with, or distribute
473 the Library except as expressly provided under this License.  Any
474 attempt otherwise to copy, modify, sublicense, link with, or
475 distribute the Library is void, and will automatically terminate your
476 rights under this License.  However, parties who have received copies,
477 or rights, from you under this License will not have their licenses
478 terminated so long as such parties remain in full compliance.
479
480   9. You are not required to accept this License, since you have not
481 signed it.  However, nothing else grants you permission to modify or
482 distribute the Library or its derivative works.  These actions are
483 prohibited by law if you do not accept this License.  Therefore, by
484 modifying or distributing the Library (or any work based on the
485 Library), you indicate your acceptance of this License to do so, and
486 all its terms and conditions for copying, distributing or modifying
487 the Library or works based on it.
488
489   10. Each time you redistribute the Library (or any work based on the
490 Library), the recipient automatically receives a license from the
491 original licensor to copy, distribute, link with or modify the Library
492 subject to these terms and conditions.  You may not impose any further
493 restrictions on the recipients' exercise of the rights granted herein.
494 You are not responsible for enforcing compliance by third parties to
495 this License.
496 \f
497   11. If, as a consequence of a court judgment or allegation of patent
498 infringement or for any other reason (not limited to patent issues),
499 conditions are imposed on you (whether by court order, agreement or
500 otherwise) that contradict the conditions of this License, they do not
501 excuse you from the conditions of this License.  If you cannot
502 distribute so as to satisfy simultaneously your obligations under this
503 License and any other pertinent obligations, then as a consequence you
504 may not distribute the Library at all.  For example, if a patent
505 license would not permit royalty-free redistribution of the Library by
506 all those who receive copies directly or indirectly through you, then
507 the only way you could satisfy both it and this License would be to
508 refrain entirely from distribution of the Library.
509
510 If any portion of this section is held invalid or unenforceable under any
511 particular circumstance, the balance of the section is intended to apply,
512 and the section as a whole is intended to apply in other circumstances.
513
514 It is not the purpose of this section to induce you to infringe any
515 patents or other property right claims or to contest validity of any
516 such claims; this section has the sole purpose of protecting the
517 integrity of the free software distribution system which is
518 implemented by public license practices.  Many people have made
519 generous contributions to the wide range of software distributed
520 through that system in reliance on consistent application of that
521 system; it is up to the author/donor to decide if he or she is willing
522 to distribute software through any other system and a licensee cannot
523 impose that choice.
524
525 This section is intended to make thoroughly clear what is believed to
526 be a consequence of the rest of this License.
527
528   12. If the distribution and/or use of the Library is restricted in
529 certain countries either by patents or by copyrighted interfaces, the
530 original copyright holder who places the Library under this License may add
531 an explicit geographical distribution limitation excluding those countries,
532 so that distribution is permitted only in or among countries not thus
533 excluded.  In such case, this License incorporates the limitation as if
534 written in the body of this License.
535
536   13. The Free Software Foundation may publish revised and/or new
537 versions of the Library General Public License from time to time.
538 Such new versions will be similar in spirit to the present version,
539 but may differ in detail to address new problems or concerns.
540
541 Each version is given a distinguishing version number.  If the Library
542 specifies a version number of this License which applies to it and
543 "any later version", you have the option of following the terms and
544 conditions either of that version or of any later version published by
545 the Free Software Foundation.  If the Library does not specify a
546 license version number, you may choose any version ever published by
547 the Free Software Foundation.
548 \f
549   14. If you wish to incorporate parts of the Library into other free
550 programs whose distribution conditions are incompatible with these,
551 write to the author to ask for permission.  For software which is
552 copyrighted by the Free Software Foundation, write to the Free
553 Software Foundation; we sometimes make exceptions for this.  Our
554 decision will be guided by the two goals of preserving the free status
555 of all derivatives of our free software and of promoting the sharing
556 and reuse of software generally.
557
558                             NO WARRANTY
559
560   15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
561 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
562 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
563 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
564 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
565 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
566 PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
567 LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
568 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
569
570   16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
571 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
572 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
573 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
574 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
575 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
576 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
577 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
578 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
579 DAMAGES.
580
581                      END OF TERMS AND CONDITIONS
582 \f
583      Appendix: How to Apply These Terms to Your New Libraries
584
585   If you develop a new library, and you want it to be of the greatest
586 possible use to the public, we recommend making it free software that
587 everyone can redistribute and change.  You can do so by permitting
588 redistribution under these terms (or, alternatively, under the terms of the
589 ordinary General Public License).
590
591   To apply these terms, attach the following notices to the library.  It is
592 safest to attach them to the start of each source file to most effectively
593 convey the exclusion of warranty; and each file should have at least the
594 "copyright" line and a pointer to where the full notice is found.
595
596     <one line to give the library's name and a brief idea of what it does.>
597     Copyright (C) <year>  <name of author>
598
599     This library is free software; you can redistribute it and/or
600     modify it under the terms of the GNU Library General Public
601     License as published by the Free Software Foundation; either
602     version 2 of the License, or (at your option) any later version.
603
604     This library is distributed in the hope that it will be useful,
605     but WITHOUT ANY WARRANTY; without even the implied warranty of
606     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
607     Library General Public License for more details.
608
609     You should have received a copy of the GNU Library General Public
610     License along with this library; if not, write to the Free
611     Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
612     MA 02111-1307, USA
613
614 Also add information on how to contact you by electronic and paper mail.
615
616 You should also get your employer (if you work as a programmer) or your
617 school, if any, to sign a "copyright disclaimer" for the library, if
618 necessary.  Here is a sample; alter the names:
619
620   Yoyodyne, Inc., hereby disclaims all copyright interest in the
621   library `Frob' (a library for tweaking knobs) written by James Random Hacker.
622
623   <signature of Ty Coon>, 1 April 1990
624   Ty Coon, President of Vice
625
626 That's all there is to it!