modernc.org/ccgo/v3@v3.16.14/lib/testdata/CompCert-3.6/LICENSE (about)

     1  All files in this distribution are part of the CompCert verified compiler.
     2  
     3  The CompCert verified compiler is Copyright by Institut National de
     4  Recherche en Informatique et en Automatique (INRIA) and
     5  AbsInt Angewandte Informatik GmbH.
     6  
     7  The CompCert verified compiler is distributed under the terms of the
     8  INRIA Non-Commercial License Agreement given below or under the terms
     9  of a Software Usage Agreement of AbsInt Angewandte Informatik GmbH.
    10  The latter is a separate contract document.
    11  
    12  The INRIA Non-Commercial License Agreement is a non-free license that
    13  grants you the right to use the CompCert verified compiler for
    14  educational, research or evaluation purposes only, but prohibits
    15  any commercial use.
    16  
    17  For commercial use you need a Software Usage Agreement from
    18  AbsInt Angewandte Informatik GmbH.
    19  
    20  The following files in this distribution are dual-licensed both under
    21  the INRIA Non-Commercial License Agreement and under the Free Software
    22  Foundation GNU General Public License, either version 2 or (at your
    23  option) any later version:
    24  
    25    all files in the lib/ directory
    26  
    27    all files in the common/ directory
    28  
    29    cfrontend/C2C.ml
    30    cfrontend/Clight.v
    31    cfrontend/ClightBigstep.v
    32    cfrontend/Cop.v
    33    cfrontend/CPragmas.ml
    34    cfrontend/Csem.v
    35    cfrontend/Cstrategy.v
    36    cfrontend/Csyntax.v
    37    cfrontend/Ctypes.v
    38    cfrontend/Ctyping.v
    39    cfrontend/PrintClight.ml
    40    cfrontend/PrintCsyntax.ml
    41  
    42    backend/Cminor.v
    43    backend/PrintCminor.ml
    44  
    45    all files in the cparser/ directory
    46  
    47    all files in the exportclight/ directory
    48  
    49    the Archi.v, CBuiltins.ml, and extractionMachdep.v files
    50    in directories arm, powerpc, riscV, x86, x86_32, x86_64
    51  
    52    extraction/extraction.v
    53  
    54    configure
    55    Makefile
    56    Makefile.extr
    57    Makefile.menhir
    58  
    59  A copy of the GNU General Public License version 2 is included below.
    60  The choice between the two licenses for the files listed above is left
    61  to the user.  If you opt for the GNU General Public License, these
    62  files are free software and can be used both in commercial and
    63  non-commercial contexts, subject to the terms of the GNU General
    64  Public License.
    65  
    66  The files contained in the flocq/ directory and its subdirectories are
    67  taken from the Flocq project, http://flocq.gforge.inria.fr/. The files
    68  contained in the MenhirLib directory are taken from the Menhir
    69  project, http://gallium.inria.fr/~fpottier/menhir/. The files from the
    70  Flocq project and the files in the MenhirLib directory are Copyright
    71  2010-2019 INRIA and distributed under the terms of the GNU Lesser
    72  General Public Licence, either version 3 of the licence, or (at your
    73  option) any later version. A copy of the GNU Lesser General Public
    74  Licence version 3 is included below.
    75  
    76  The files contained in the runtime/ directory and its subdirectories
    77  are Copyright 2013-2017 INRIA and distributed under the terms of the BSD
    78  3-clause license, included below.
    79  
    80  ----------------------------------------------------------------------
    81  
    82  INRIA Non-Commercial License Agreement for the CompCert verified compiler
    83  
    84  1. Background: Institut National de Recherche en Informatique et en
    85     Automatique (the "Provider") developed the CompCert verified
    86     compiler (the "Software") and seeks to distribute the Software for
    87     public use and benefit.
    88  
    89  2. Grant: The Provider hereby grants to you a revocable, nonexclusive,
    90     nontransferable, royalty-free and worldwide license (the "License")
    91     to use the Software solely for educational, research, or evaluation
    92     purposes, in accordance with Paragraph 3 below and subject to the
    93     terms and conditions of this License Agreement (the
    94     "Agreement"). The License entitles you to use the Software to
    95     conduct research or education and to create Derivative Works solely
    96     for academic, non-commercial research endeavors of the Licensee (A
    97     "Derivative Work" is a work that is a modification of, enhancement
    98     to, derived from, or based upon the Software).
    99  
   100  3. Limitations on Use: The License is limited to noncommercial
   101     use. Noncommercial use relates only to educational, research,
   102     personal or evaluation purposes. Any other use is commercial use.
   103     You may not use the Software in connection with any activities
   104     which purpose is to procure a commercial gain to you or others.
   105  
   106  4. Limitations on Distribution: If you distribute the Software or any
   107     derivative works of the Software, you will distribute them under
   108     the same terms and conditions as in this License, and you will not
   109     grant other rights to the Software or derivative works that are
   110     different from those provided by this License.
   111  
   112  5. Ownership: The Software and the accompanying documentation are
   113     licensed, not sold, to you. The Software is a proprietary product
   114     of the Provider and is protected under French copyright law and
   115     international treaty revisions. The Provider retains all rights not
   116     specifically granted to you hereunder, including ownership of the
   117     Software and all copyrights, trade secrets, or other intellectual
   118     property rights in the Software and any accompanying information.
   119  
   120  6. Publication Credit: You agree to acknowledge the INRIA CompCert
   121     research project with appropriate citations in any publication or
   122     presentation containing research results obtained in whole or in
   123     part through the use of the Software.
   124  
   125  7. Term of License: The License is effective upon receipt by you of
   126     the Software and shall continue until terminated. The License will
   127     terminate immediately without notice by the Provider if you fail to
   128     comply with the terms and conditions of this Agreement. Upon
   129     termination of this License, you shall immediately discontinue all
   130     use of the Software provided hereunder, and return to the Provider
   131     or destroy the original and all copies of all such Software. All of
   132     your obligations under this Agreement shall survive the termination
   133     of the License.
   134  
   135  8. Warranty: THE PROVIDER MAKES NO REPRESENTATIONS ABOUT THE
   136     SUITABILITY, USE, OR PERFORMANCE OF THIS SOFTWARE OR ABOUT ANY
   137     CONTENT OR INFORMATION MADE ACCESSIBLE BY THE SOFTWARE, FOR ANY
   138     PURPOSE. THE SOFTWARE IS PROVIDED "AS IS," WITHOUT EXPRESS OR
   139     IMPLIED WARRANTIES INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED
   140     WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
   141     NONINFRINGEMENT WITH RESPECT TO THE SOFTWARE. THE PROVIDER IS NOT
   142     OBLIGATED TO SUPPORT OR ISSUE UPDATES TO THE SOFTWARE.
   143  
   144  9. Limitation on Liability: This Software is provided free of charge
   145     and, accordingly, the Provider shall not be liable under any theory
   146     for any damages suffered by you or any user of the Software. UNDER
   147     NO CIRCUMSTANCES SHALL PROVIDER BE LIABLE TO YOU OR ANY OTHER
   148     PERSON FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR
   149     CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
   150     LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER
   151     FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER ECONOMIC LOSS OR
   152     COMMERCIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THIS
   153     SOFTWARE, EVEN IF PROVIDER SHALL HAVE BEEN INFORMED OF THE
   154     POSSIBILITY OF SUCH DAMAGES, OR FOR ANY THIRD-PARTY CLAIMS.
   155  
   156  10. Disputes: The Parties agree to attempt to settle amicably any
   157     controversy or claim arising under this Agreement or a breach of
   158     this Agreement. Thereafter, both parties agree that all disputes
   159     between them arising out of or relating to this Agreement, shall
   160     be submitted to non-binding mediation unless the parties mutually
   161     agree otherwise. All parties agree to exercise their best effort
   162     in good faith to resolve all disputes in mediation. This Agreement
   163     shall be governed and construed in accordance with the laws of
   164     France.
   165  
   166  11. Entire Agreement: This Agreement contains the entire agreement
   167     between the parties with respect to the subject matter hereof, and
   168     it shall not be modified or amended except by an instrument in
   169     writing signed by both parties hereto.
   170  
   171  ----------------------------------------------------------------------
   172  
   173                        GNU GENERAL PUBLIC LICENSE
   174                           Version 2, June 1991
   175  
   176   Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
   177   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
   178   Everyone is permitted to copy and distribute verbatim copies
   179   of this license document, but changing it is not allowed.
   180  
   181  			    Preamble
   182  
   183    The licenses for most software are designed to take away your
   184  freedom to share and change it.  By contrast, the GNU General Public
   185  License is intended to guarantee your freedom to share and change free
   186  software--to make sure the software is free for all its users.  This
   187  General Public License applies to most of the Free Software
   188  Foundation's software and to any other program whose authors commit to
   189  using it.  (Some other Free Software Foundation software is covered by
   190  the GNU Lesser General Public License instead.)  You can apply it to
   191  your programs, too.
   192  
   193    When we speak of free software, we are referring to freedom, not
   194  price.  Our General Public Licenses are designed to make sure that you
   195  have the freedom to distribute copies of free software (and charge for
   196  this service if you wish), that you receive source code or can get it
   197  if you want it, that you can change the software or use pieces of it
   198  in new free programs; and that you know you can do these things.
   199  
   200    To protect your rights, we need to make restrictions that forbid
   201  anyone to deny you these rights or to ask you to surrender the rights.
   202  These restrictions translate to certain responsibilities for you if you
   203  distribute copies of the software, or if you modify it.
   204  
   205    For example, if you distribute copies of such a program, whether
   206  gratis or for a fee, you must give the recipients all the rights that
   207  you have.  You must make sure that they, too, receive or can get the
   208  source code.  And you must show them these terms so they know their
   209  rights.
   210  
   211    We protect your rights with two steps: (1) copyright the software, and
   212  (2) offer you this license which gives you legal permission to copy,
   213  distribute and/or modify the software.
   214  
   215    Also, for each author's protection and ours, we want to make certain
   216  that everyone understands that there is no warranty for this free
   217  software.  If the software is modified by someone else and passed on, we
   218  want its recipients to know that what they have is not the original, so
   219  that any problems introduced by others will not reflect on the original
   220  authors' reputations.
   221  
   222    Finally, any free program is threatened constantly by software
   223  patents.  We wish to avoid the danger that redistributors of a free
   224  program will individually obtain patent licenses, in effect making the
   225  program proprietary.  To prevent this, we have made it clear that any
   226  patent must be licensed for everyone's free use or not licensed at all.
   227  
   228    The precise terms and conditions for copying, distribution and
   229  modification follow.
   230  
   231  		    GNU GENERAL PUBLIC LICENSE
   232     TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
   233  
   234    0. This License applies to any program or other work which contains
   235  a notice placed by the copyright holder saying it may be distributed
   236  under the terms of this General Public License.  The "Program", below,
   237  refers to any such program or work, and a "work based on the Program"
   238  means either the Program or any derivative work under copyright law:
   239  that is to say, a work containing the Program or a portion of it,
   240  either verbatim or with modifications and/or translated into another
   241  language.  (Hereinafter, translation is included without limitation in
   242  the term "modification".)  Each licensee is addressed as "you".
   243  
   244  Activities other than copying, distribution and modification are not
   245  covered by this License; they are outside its scope.  The act of
   246  running the Program is not restricted, and the output from the Program
   247  is covered only if its contents constitute a work based on the
   248  Program (independent of having been made by running the Program).
   249  Whether that is true depends on what the Program does.
   250  
   251    1. You may copy and distribute verbatim copies of the Program's
   252  source code as you receive it, in any medium, provided that you
   253  conspicuously and appropriately publish on each copy an appropriate
   254  copyright notice and disclaimer of warranty; keep intact all the
   255  notices that refer to this License and to the absence of any warranty;
   256  and give any other recipients of the Program a copy of this License
   257  along with the Program.
   258  
   259  You may charge a fee for the physical act of transferring a copy, and
   260  you may at your option offer warranty protection in exchange for a fee.
   261  
   262    2. You may modify your copy or copies of the Program or any portion
   263  of it, thus forming a work based on the Program, and copy and
   264  distribute such modifications or work under the terms of Section 1
   265  above, provided that you also meet all of these conditions:
   266  
   267      a) You must cause the modified files to carry prominent notices
   268      stating that you changed the files and the date of any change.
   269  
   270      b) You must cause any work that you distribute or publish, that in
   271      whole or in part contains or is derived from the Program or any
   272      part thereof, to be licensed as a whole at no charge to all third
   273      parties under the terms of this License.
   274  
   275      c) If the modified program normally reads commands interactively
   276      when run, you must cause it, when started running for such
   277      interactive use in the most ordinary way, to print or display an
   278      announcement including an appropriate copyright notice and a
   279      notice that there is no warranty (or else, saying that you provide
   280      a warranty) and that users may redistribute the program under
   281      these conditions, and telling the user how to view a copy of this
   282      License.  (Exception: if the Program itself is interactive but
   283      does not normally print such an announcement, your work based on
   284      the Program is not required to print an announcement.)
   285  
   286  These requirements apply to the modified work as a whole.  If
   287  identifiable sections of that work are not derived from the Program,
   288  and can be reasonably considered independent and separate works in
   289  themselves, then this License, and its terms, do not apply to those
   290  sections when you distribute them as separate works.  But when you
   291  distribute the same sections as part of a whole which is a work based
   292  on the Program, the distribution of the whole must be on the terms of
   293  this License, whose permissions for other licensees extend to the
   294  entire whole, and thus to each and every part regardless of who wrote it.
   295  
   296  Thus, it is not the intent of this section to claim rights or contest
   297  your rights to work written entirely by you; rather, the intent is to
   298  exercise the right to control the distribution of derivative or
   299  collective works based on the Program.
   300  
   301  In addition, mere aggregation of another work not based on the Program
   302  with the Program (or with a work based on the Program) on a volume of
   303  a storage or distribution medium does not bring the other work under
   304  the scope of this License.
   305  
   306    3. You may copy and distribute the Program (or a work based on it,
   307  under Section 2) in object code or executable form under the terms of
   308  Sections 1 and 2 above provided that you also do one of the following:
   309  
   310      a) Accompany it with the complete corresponding machine-readable
   311      source code, which must be distributed under the terms of Sections
   312      1 and 2 above on a medium customarily used for software interchange; or,
   313  
   314      b) Accompany it with a written offer, valid for at least three
   315      years, to give any third party, for a charge no more than your
   316      cost of physically performing source distribution, a complete
   317      machine-readable copy of the corresponding source code, to be
   318      distributed under the terms of Sections 1 and 2 above on a medium
   319      customarily used for software interchange; or,
   320  
   321      c) Accompany it with the information you received as to the offer
   322      to distribute corresponding source code.  (This alternative is
   323      allowed only for noncommercial distribution and only if you
   324      received the program in object code or executable form with such
   325      an offer, in accord with Subsection b above.)
   326  
   327  The source code for a work means the preferred form of the work for
   328  making modifications to it.  For an executable work, complete source
   329  code means all the source code for all modules it contains, plus any
   330  associated interface definition files, plus the scripts used to
   331  control compilation and installation of the executable.  However, as a
   332  special exception, the source code distributed need not include
   333  anything that is normally distributed (in either source or binary
   334  form) with the major components (compiler, kernel, and so on) of the
   335  operating system on which the executable runs, unless that component
   336  itself accompanies the executable.
   337  
   338  If distribution of executable or object code is made by offering
   339  access to copy from a designated place, then offering equivalent
   340  access to copy the source code from the same place counts as
   341  distribution of the source code, even though third parties are not
   342  compelled to copy the source along with the object code.
   343  
   344    4. You may not copy, modify, sublicense, or distribute the Program
   345  except as expressly provided under this License.  Any attempt
   346  otherwise to copy, modify, sublicense or distribute the Program is
   347  void, and will automatically terminate your rights under this License.
   348  However, parties who have received copies, or rights, from you under
   349  this License will not have their licenses terminated so long as such
   350  parties remain in full compliance.
   351  
   352    5. You are not required to accept this License, since you have not
   353  signed it.  However, nothing else grants you permission to modify or
   354  distribute the Program or its derivative works.  These actions are
   355  prohibited by law if you do not accept this License.  Therefore, by
   356  modifying or distributing the Program (or any work based on the
   357  Program), you indicate your acceptance of this License to do so, and
   358  all its terms and conditions for copying, distributing or modifying
   359  the Program or works based on it.
   360  
   361    6. Each time you redistribute the Program (or any work based on the
   362  Program), the recipient automatically receives a license from the
   363  original licensor to copy, distribute or modify the Program subject to
   364  these terms and conditions.  You may not impose any further
   365  restrictions on the recipients' exercise of the rights granted herein.
   366  You are not responsible for enforcing compliance by third parties to
   367  this License.
   368  
   369    7. If, as a consequence of a court judgment or allegation of patent
   370  infringement or for any other reason (not limited to patent issues),
   371  conditions are imposed on you (whether by court order, agreement or
   372  otherwise) that contradict the conditions of this License, they do not
   373  excuse you from the conditions of this License.  If you cannot
   374  distribute so as to satisfy simultaneously your obligations under this
   375  License and any other pertinent obligations, then as a consequence you
   376  may not distribute the Program at all.  For example, if a patent
   377  license would not permit royalty-free redistribution of the Program by
   378  all those who receive copies directly or indirectly through you, then
   379  the only way you could satisfy both it and this License would be to
   380  refrain entirely from distribution of the Program.
   381  
   382  If any portion of this section is held invalid or unenforceable under
   383  any particular circumstance, the balance of the section is intended to
   384  apply and the section as a whole is intended to apply in other
   385  circumstances.
   386  
   387  It is not the purpose of this section to induce you to infringe any
   388  patents or other property right claims or to contest validity of any
   389  such claims; this section has the sole purpose of protecting the
   390  integrity of the free software distribution system, which is
   391  implemented by public license practices.  Many people have made
   392  generous contributions to the wide range of software distributed
   393  through that system in reliance on consistent application of that
   394  system; it is up to the author/donor to decide if he or she is willing
   395  to distribute software through any other system and a licensee cannot
   396  impose that choice.
   397  
   398  This section is intended to make thoroughly clear what is believed to
   399  be a consequence of the rest of this License.
   400  
   401    8. If the distribution and/or use of the Program is restricted in
   402  certain countries either by patents or by copyrighted interfaces, the
   403  original copyright holder who places the Program under this License
   404  may add an explicit geographical distribution limitation excluding
   405  those countries, so that distribution is permitted only in or among
   406  countries not thus excluded.  In such case, this License incorporates
   407  the limitation as if written in the body of this License.
   408  
   409    9. The Free Software Foundation may publish revised and/or new versions
   410  of the General Public License from time to time.  Such new versions will
   411  be similar in spirit to the present version, but may differ in detail to
   412  address new problems or concerns.
   413  
   414  Each version is given a distinguishing version number.  If the Program
   415  specifies a version number of this License which applies to it and "any
   416  later version", you have the option of following the terms and conditions
   417  either of that version or of any later version published by the Free
   418  Software Foundation.  If the Program does not specify a version number of
   419  this License, you may choose any version ever published by the Free Software
   420  Foundation.
   421  
   422    10. If you wish to incorporate parts of the Program into other free
   423  programs whose distribution conditions are different, write to the author
   424  to ask for permission.  For software which is copyrighted by the Free
   425  Software Foundation, write to the Free Software Foundation; we sometimes
   426  make exceptions for this.  Our decision will be guided by the two goals
   427  of preserving the free status of all derivatives of our free software and
   428  of promoting the sharing and reuse of software generally.
   429  
   430  			    NO WARRANTY
   431  
   432    11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
   433  FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
   434  OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
   435  PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
   436  OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
   437  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
   438  TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
   439  PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
   440  REPAIR OR CORRECTION.
   441  
   442    12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
   443  WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
   444  REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
   445  INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
   446  OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
   447  TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
   448  YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
   449  PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
   450  POSSIBILITY OF SUCH DAMAGES.
   451  
   452  		     END OF TERMS AND CONDITIONS
   453  
   454  	    How to Apply These Terms to Your New Programs
   455  
   456    If you develop a new program, and you want it to be of the greatest
   457  possible use to the public, the best way to achieve this is to make it
   458  free software which everyone can redistribute and change under these terms.
   459  
   460    To do so, attach the following notices to the program.  It is safest
   461  to attach them to the start of each source file to most effectively
   462  convey the exclusion of warranty; and each file should have at least
   463  the "copyright" line and a pointer to where the full notice is found.
   464  
   465      <one line to give the program's name and a brief idea of what it does.>
   466      Copyright (C) <year>  <name of author>
   467  
   468      This program is free software; you can redistribute it and/or modify
   469      it under the terms of the GNU General Public License as published by
   470      the Free Software Foundation; either version 2 of the License, or
   471      (at your option) any later version.
   472  
   473      This program is distributed in the hope that it will be useful,
   474      but WITHOUT ANY WARRANTY; without even the implied warranty of
   475      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   476      GNU General Public License for more details.
   477  
   478      You should have received a copy of the GNU General Public License along
   479      with this program; if not, write to the Free Software Foundation, Inc.,
   480      51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
   481  
   482  Also add information on how to contact you by electronic and paper mail.
   483  
   484  If the program is interactive, make it output a short notice like this
   485  when it starts in an interactive mode:
   486  
   487      Gnomovision version 69, Copyright (C) year name of author
   488      Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
   489      This is free software, and you are welcome to redistribute it
   490      under certain conditions; type `show c' for details.
   491  
   492  The hypothetical commands `show w' and `show c' should show the appropriate
   493  parts of the General Public License.  Of course, the commands you use may
   494  be called something other than `show w' and `show c'; they could even be
   495  mouse-clicks or menu items--whatever suits your program.
   496  
   497  You should also get your employer (if you work as a programmer) or your
   498  school, if any, to sign a "copyright disclaimer" for the program, if
   499  necessary.  Here is a sample; alter the names:
   500  
   501    Yoyodyne, Inc., hereby disclaims all copyright interest in the program
   502    `Gnomovision' (which makes passes at compilers) written by James Hacker.
   503  
   504    <signature of Ty Coon>, 1 April 1989
   505    Ty Coon, President of Vice
   506  
   507  This General Public License does not permit incorporating your program into
   508  proprietary programs.  If your program is a subroutine library, you may
   509  consider it more useful to permit linking proprietary applications with the
   510  library.  If this is what you want to do, use the GNU Lesser General
   511  Public License instead of this License.
   512  
   513  ----------------------------------------------------------------------
   514  
   515                    GNU LESSER GENERAL PUBLIC LICENSE
   516                         Version 3, 29 June 2007
   517  
   518   Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
   519   Everyone is permitted to copy and distribute verbatim copies
   520   of this license document, but changing it is not allowed.
   521  
   522  
   523    This version of the GNU Lesser General Public License incorporates
   524  the terms and conditions of version 3 of the GNU General Public
   525  License, supplemented by the additional permissions listed below.
   526  
   527    0. Additional Definitions.
   528  
   529    As used herein, "this License" refers to version 3 of the GNU Lesser
   530  General Public License, and the "GNU GPL" refers to version 3 of the GNU
   531  General Public License.
   532  
   533    "The Library" refers to a covered work governed by this License,
   534  other than an Application or a Combined Work as defined below.
   535  
   536    An "Application" is any work that makes use of an interface provided
   537  by the Library, but which is not otherwise based on the Library.
   538  Defining a subclass of a class defined by the Library is deemed a mode
   539  of using an interface provided by the Library.
   540  
   541    A "Combined Work" is a work produced by combining or linking an
   542  Application with the Library.  The particular version of the Library
   543  with which the Combined Work was made is also called the "Linked
   544  Version".
   545  
   546    The "Minimal Corresponding Source" for a Combined Work means the
   547  Corresponding Source for the Combined Work, excluding any source code
   548  for portions of the Combined Work that, considered in isolation, are
   549  based on the Application, and not on the Linked Version.
   550  
   551    The "Corresponding Application Code" for a Combined Work means the
   552  object code and/or source code for the Application, including any data
   553  and utility programs needed for reproducing the Combined Work from the
   554  Application, but excluding the System Libraries of the Combined Work.
   555  
   556    1. Exception to Section 3 of the GNU GPL.
   557  
   558    You may convey a covered work under sections 3 and 4 of this License
   559  without being bound by section 3 of the GNU GPL.
   560  
   561    2. Conveying Modified Versions.
   562  
   563    If you modify a copy of the Library, and, in your modifications, a
   564  facility refers to a function or data to be supplied by an Application
   565  that uses the facility (other than as an argument passed when the
   566  facility is invoked), then you may convey a copy of the modified
   567  version:
   568  
   569     a) under this License, provided that you make a good faith effort to
   570     ensure that, in the event an Application does not supply the
   571     function or data, the facility still operates, and performs
   572     whatever part of its purpose remains meaningful, or
   573  
   574     b) under the GNU GPL, with none of the additional permissions of
   575     this License applicable to that copy.
   576  
   577    3. Object Code Incorporating Material from Library Header Files.
   578  
   579    The object code form of an Application may incorporate material from
   580  a header file that is part of the Library.  You may convey such object
   581  code under terms of your choice, provided that, if the incorporated
   582  material is not limited to numerical parameters, data structure
   583  layouts and accessors, or small macros, inline functions and templates
   584  (ten or fewer lines in length), you do both of the following:
   585  
   586     a) Give prominent notice with each copy of the object code that the
   587     Library is used in it and that the Library and its use are
   588     covered by this License.
   589  
   590     b) Accompany the object code with a copy of the GNU GPL and this license
   591     document.
   592  
   593    4. Combined Works.
   594  
   595    You may convey a Combined Work under terms of your choice that,
   596  taken together, effectively do not restrict modification of the
   597  portions of the Library contained in the Combined Work and reverse
   598  engineering for debugging such modifications, if you also do each of
   599  the following:
   600  
   601     a) Give prominent notice with each copy of the Combined Work that
   602     the Library is used in it and that the Library and its use are
   603     covered by this License.
   604  
   605     b) Accompany the Combined Work with a copy of the GNU GPL and this license
   606     document.
   607  
   608     c) For a Combined Work that displays copyright notices during
   609     execution, include the copyright notice for the Library among
   610     these notices, as well as a reference directing the user to the
   611     copies of the GNU GPL and this license document.
   612  
   613     d) Do one of the following:
   614  
   615         0) Convey the Minimal Corresponding Source under the terms of this
   616         License, and the Corresponding Application Code in a form
   617         suitable for, and under terms that permit, the user to
   618         recombine or relink the Application with a modified version of
   619         the Linked Version to produce a modified Combined Work, in the
   620         manner specified by section 6 of the GNU GPL for conveying
   621         Corresponding Source.
   622  
   623         1) Use a suitable shared library mechanism for linking with the
   624         Library.  A suitable mechanism is one that (a) uses at run time
   625         a copy of the Library already present on the user's computer
   626         system, and (b) will operate properly with a modified version
   627         of the Library that is interface-compatible with the Linked
   628         Version.
   629  
   630     e) Provide Installation Information, but only if you would otherwise
   631     be required to provide such information under section 6 of the
   632     GNU GPL, and only to the extent that such information is
   633     necessary to install and execute a modified version of the
   634     Combined Work produced by recombining or relinking the
   635     Application with a modified version of the Linked Version. (If
   636     you use option 4d0, the Installation Information must accompany
   637     the Minimal Corresponding Source and Corresponding Application
   638     Code. If you use option 4d1, you must provide the Installation
   639     Information in the manner specified by section 6 of the GNU GPL
   640     for conveying Corresponding Source.)
   641  
   642    5. Combined Libraries.
   643  
   644    You may place library facilities that are a work based on the
   645  Library side by side in a single library together with other library
   646  facilities that are not Applications and are not covered by this
   647  License, and convey such a combined library under terms of your
   648  choice, if you do both of the following:
   649  
   650     a) Accompany the combined library with a copy of the same work based
   651     on the Library, uncombined with any other library facilities,
   652     conveyed under the terms of this License.
   653  
   654     b) Give prominent notice with the combined library that part of it
   655     is a work based on the Library, and explaining where to find the
   656     accompanying uncombined form of the same work.
   657  
   658    6. Revised Versions of the GNU Lesser General Public License.
   659  
   660    The Free Software Foundation may publish revised and/or new versions
   661  of the GNU Lesser General Public License from time to time. Such new
   662  versions will be similar in spirit to the present version, but may
   663  differ in detail to address new problems or concerns.
   664  
   665    Each version is given a distinguishing version number. If the
   666  Library as you received it specifies that a certain numbered version
   667  of the GNU Lesser General Public License "or any later version"
   668  applies to it, you have the option of following the terms and
   669  conditions either of that published version or of any later version
   670  published by the Free Software Foundation. If the Library as you
   671  received it does not specify a version number of the GNU Lesser
   672  General Public License, you may choose any version of the GNU Lesser
   673  General Public License ever published by the Free Software Foundation.
   674  
   675    If the Library as you received it specifies that a proxy can decide
   676  whether future versions of the GNU Lesser General Public License shall
   677  apply, that proxy's public statement of acceptance of any version is
   678  permanent authorization for you to choose that version for the
   679  Library.
   680  
   681  ----------------------------------------------------------------------
   682  
   683                       BSD License
   684  
   685  Redistribution and use in source and binary forms, with or without
   686  modification, are permitted provided that the following conditions are met:
   687      * Redistributions of source code must retain the above copyright
   688        notice, this list of conditions and the following disclaimer.
   689      * Redistributions in binary form must reproduce the above copyright
   690        notice, this list of conditions and the following disclaimer in the
   691        documentation and/or other materials provided with the distribution.
   692      * Neither the name of the <organization> nor the
   693        names of its contributors may be used to endorse or promote products
   694        derived from this software without specific prior written permission.
   695  
   696  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
   697  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
   698  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
   699  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT
   700  HOLDER> BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
   701  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
   702  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
   703  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
   704  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
   705  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
   706  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.