summaryrefslogtreecommitdiffstats
path: root/contrib/mingw
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/mingw')
-rw-r--r--contrib/mingw/.cvsignore1
-rw-r--r--contrib/mingw/AUTHORS1
-rw-r--r--contrib/mingw/COPYING343
-rw-r--r--contrib/mingw/ChangeLog48
-rw-r--r--contrib/mingw/README18
-rwxr-xr-xcontrib/mingw/build-exes.sh228
-rwxr-xr-xcontrib/mingw/build-rpms.sh389
-rwxr-xr-xcontrib/mingw/build.sh103
-rw-r--r--contrib/mingw/rtems-license.rtf181
-rw-r--r--contrib/mingw/rtems-tools.nsi276
-rw-r--r--contrib/mingw/rtems.ini59
-rw-r--r--contrib/mingw/rtems_logo.bmpbin143022 -> 0 bytes
-rw-r--r--contrib/mingw/targets1
13 files changed, 0 insertions, 1648 deletions
diff --git a/contrib/mingw/.cvsignore b/contrib/mingw/.cvsignore
deleted file mode 100644
index cd66cc4f48..0000000000
--- a/contrib/mingw/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-build*.txt
diff --git a/contrib/mingw/AUTHORS b/contrib/mingw/AUTHORS
deleted file mode 100644
index 728e41ddc2..0000000000
--- a/contrib/mingw/AUTHORS
+++ /dev/null
@@ -1 +0,0 @@
-Chris Johns <chrisj@rtems.org>
diff --git a/contrib/mingw/COPYING b/contrib/mingw/COPYING
deleted file mode 100644
index 650242d671..0000000000
--- a/contrib/mingw/COPYING
+++ /dev/null
@@ -1,343 +0,0 @@
-#
-# $RTEMS$
-#
-
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users. This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it. (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.) You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
- To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have. You must make sure that they, too, receive or can get the
-source code. And you must show them these terms so they know their
-rights.
-
- We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
- Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software. If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
- Finally, any free program is threatened constantly by software
-patents. We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary. To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- GNU GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License. The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language. (Hereinafter, translation is included without limitation in
-the term "modification".) Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
- 1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
- 2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) You must cause the modified files to carry prominent notices
- stating that you changed the files and the date of any change.
-
- b) You must cause any work that you distribute or publish, that in
- whole or in part contains or is derived from the Program or any
- part thereof, to be licensed as a whole at no charge to all third
- parties under the terms of this License.
-
- c) If the modified program normally reads commands interactively
- when run, you must cause it, when started running for such
- interactive use in the most ordinary way, to print or display an
- announcement including an appropriate copyright notice and a
- notice that there is no warranty (or else, saying that you provide
- a warranty) and that users may redistribute the program under
- these conditions, and telling the user how to view a copy of this
- License. (Exception: if the Program itself is interactive but
- does not normally print such an announcement, your work based on
- the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
- a) Accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of Sections
- 1 and 2 above on a medium customarily used for software interchange; or,
-
- b) Accompany it with a written offer, valid for at least three
- years, to give any third party, for a charge no more than your
- cost of physically performing source distribution, a complete
- machine-readable copy of the corresponding source code, to be
- distributed under the terms of Sections 1 and 2 above on a medium
- customarily used for software interchange; or,
-
- c) Accompany it with the information you received as to the offer
- to distribute corresponding source code. (This alternative is
- allowed only for noncommercial distribution and only if you
- received the program in object code or executable form with such
- an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it. For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable. However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License. Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
- 5. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Program or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
- 6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
- 7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all. For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded. In such case, this License incorporates
-the limitation as if written in the body of this License.
-
- 9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation. If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
- 10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission. For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this. Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
- NO WARRANTY
-
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- Appendix: How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
- <one line to give the program's name and a brief idea of what it does.>
- Copyright (C) 19yy <name of author>
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
- Gnomovision version 69, Copyright (C) 19yy name of author
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary. Here is a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
- <signature of Ty Coon>, 1 April 1989
- Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs. If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Library General
-Public License instead of this License.
diff --git a/contrib/mingw/ChangeLog b/contrib/mingw/ChangeLog
deleted file mode 100644
index fd7d4b75e7..0000000000
--- a/contrib/mingw/ChangeLog
+++ /dev/null
@@ -1,48 +0,0 @@
-2006-08-07 Chris Johns <chrisj@rtems.org>
-
- * build.sh: Log the script command lines.
-
- * build-rpms.sh:
- Updated to handle a different build processor to a i686.
-
- * build-exes.sh:
- Removed the tool version as Ralf has removed it from the
- rpms.
-
-2006-08-05 Chris Johns <chrisj@rtems.org>
-
- * build-exes.sh: Update the release tag.
-
-2006-08-04 Chris Johns <chrisj@rtems.org>
-
- * build-exes.sh: Updated to support the new installer.
-
- * build-rpms.sh:
- Updated to use common rather than base. More rpmbuild work
- arounds.
-
- * build.sh: Fix the return code when used with tee.
-
- * rtems.ini: Updated hello screen.
-
- * rtems-tools.nsi: Generate the batch files when
- installing.
-
- * AUTHORS, README: Convert to DOS format.
-
-2006-07-22 Chris Johns <chrisj@rtems.org>
-
- * COPYING, build.sh, rtems-license.rtf:
- Changes to the installer and an extra script to build all.
-
-2006-07-21 Chris Johns <chrisj@rtems.org>
-
- * build-rpms.sh: Add the build-rpms.sh here until moved to crossrpms.
-
- * AUTHORS, ChangeLog, README: Add the support files.
-
-2006-07-21 Chris Johns <chrisj@rtems.org>
-
- * build-exes.sh, rtems-tools.nsi, rtems.ini, rtems_logo.bmp:
- Add NSIS installer support for MinGW.
-
diff --git a/contrib/mingw/README b/contrib/mingw/README
deleted file mode 100644
index a15cca42f2..0000000000
--- a/contrib/mingw/README
+++ /dev/null
@@ -1,18 +0,0 @@
-
- Copyright (C) 2006 Chris Johns, Sydney, Australia <chrisj@rtems.org>
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-
-
diff --git a/contrib/mingw/build-exes.sh b/contrib/mingw/build-exes.sh
deleted file mode 100755
index 7c8fd398c3..0000000000
--- a/contrib/mingw/build-exes.sh
+++ /dev/null
@@ -1,228 +0,0 @@
-#! /bin/sh
-#
-# $Id$
-#
-# RTEMS Build Executable Installers script.
-#
-# This script takes the RPM files built using the crossrpms/build-rpms.sh
-# script.
-#
-
-source=$(dirname $0)
-
-terminate()
-{
- echo "error: $*" >&2
- exit 1
-}
-
-check()
-{
- if [ $? -ne 0 ]; then
- terminate
- fi
-}
-
-version=4.7
-tool_build=3
-
-target_list=$(cat $source/targets)
-
-mingw32_cpu_list="i686"
-
-rpm_topdir=$(rpm --eval "%{_topdir}")
-
-common_label="common"
-local_rpm_database=yes
-targets=$target_list
-run_prefix=
-relocation=
-
-if [ "$source" = "." ]; then
- source=$(pwd)
-fi
-
-while [ $# -gt 0 ];
-do
- case $1 in
- -d)
- set -x
- ;;
- -l)
- shift
- rpm_prefix=$1-
- rpm_prefix_arg="--enable-rpmprefix=$rpm_label"
- ;;
- -n)
- run_prefix="echo "
- ;;
- -p)
- shift
- prefix=$1
- ;;
- -R)
- local_rpm_database=no
- ;;
- -r)
- shift
- relocation=$1
- ;;
- -t)
- shift
- targets=$1
- ;;
- -v)
- shift
- version=$1
- ;;
- --help)
- echo "$0 -??"
- exit 2
- ;;
- *)
- terminate "error: invalid option (try --help): $1"
- ;;
- esac
- shift
-done
-
-cd=${run_prefix}cd
-cp=${run_prefix}cp
-make=${run_prefix}make
-makensis=${run_prefix}makensis
-mkdir=${run_prefix}mkdir
-rm=${run_prefix}rm
-rpmbuild=${run_prefix}rpmbuild
-rpm=${run_prefix}rpm
-
-if [ -z "$relocation" ]; then
- terminate "error: a relocation path needs to be specified"
-fi
-
-if [ $local_rpm_database = yes ]; then
- rpm_database="--dbpath $prefix/var/lib/rpm"
-else
- rpm_database=
-fi
-
-get_rpm_list()
-{
- if [ -d $rpm_topdir/mingw32/RPMS/$1 ]; then
- echo $(ls $rpm_topdir/mingw32/RPMS/$1/*.rpm | grep -v "debuginfo" | grep $2)
- fi
-}
-
-#
-# Handle each type of host processor.
-#
-for p in $mingw32_cpu_list
-do
- common_rpms="$(get_rpm_list noarch auto) $(get_rpm_list $p $common_label)"
- check "getting the autotools and common RPM list"
-
- rpm_options="--ignoreos --force --nodeps --noorder "
-
- for t in $targets
- do
- rpms=$(get_rpm_list $p $t)
- check "getting the RPM list"
- if [ -n "$rpms" ]; then
- echo "Clean the relocation directory"
- $rm -rf $relocation
- check "removing the relocation directory: $relocation"
-
- for r in $common_rpms $rpms
- do
- echo "rpm $rpm_database --relocate $prefix=$relocation $rpm_options -i $r"
- $rpm $rpm_database --relocate $prefix=$relocation $rpm_options -i $r
- check "installing rpm: $r"
- done
-
- files=$(find $relocation -type f | sed -e "s/^$(echo ${relocation} | sed 's/\//\\\//g')//" -e "s/^\///" | sort)
-
- echo "$files" > $relocation/files.txt
-
- check "find the file list"
-
- of=$relocation/rtems-files.nsi
-
- echo "!macro RTEMS_INSTALL_FILES" > $of
- echo " !ifndef EMPTY_INSTALLER" >> $of
-
- install_dir=
-
- for f in $files
- do
- d=$(dirname $f)
- if [ "$install_dir" != "$d" ]; then
- id=$(echo $d | sed -e 's/\//\\/g' -e 's/\/$//')
- echo " SetOutPath \"\$INSTDIR\\$id\"" >> $of
- install_dir=$d
- fi
- echo " File \"$relocation/$f\"" >> $of
- done
-
- echo " !endif" >> $of
- echo "!macroend" >> $of
-
- echo "!macro RTEMS_DELETE_FILES" >> $of
- echo " !ifndef EMPTY_INSTALLER" >> $of
-
- remove_dirs=
- remove_dir=
-
- for f in $files
- do
- d=$(dirname $f)
- if [ "$remove_dir" != "$d" ]; then
- remove_dirs="$remove_dirs $d"
- remove_dir=$d
- fi
- rf=$(echo $f | sed -e 's/\//\\/g' -e 's/\/$//')
- echo " Delete \"\$INSTDIR\\$rf\"" >> $of
- done
-
- remove_dirs=$(for r in $remove_dirs; do echo $r; done | sort -r -u)
-
- for d in $remove_dirs
- do
- if [ "$d" = "." ]; then
- d=
- fi
- rd=$(echo $d | sed -e 's/\//\\/g' -e 's/\/$//')
- echo " RMDir \"\$INSTDIR\\$rd\"" >> $of
- done
-
- echo " !endif" >> $of
- echo "!macroend" >> $of
-
- rtems_binary=$rpm_topdir/mingw32/exe/$p
- echo "mkdir -p $rtems_binary"
- $mkdir -p $rtems_binary
- check "make the RTEMS binary install point: $rtems_binary"
-
- of=$relocation/rtems.nsi
- echo "!define RTEMS_TARGET \"$t\"" > $of
- echo "!define RTEMS_VERSION \"$version\"" >> $of
- echo "!define RTEMS_BUILD_VERSION \"$tool_build\"" >> $of
- echo "!define RTEMS_PREFIX \"rtems-tools\"" >> $of
- echo "!define RTEMS_SOURCE \"$source\"" >> $of
- echo "!define RTEMS_RELOCATION \"$relocation\"" >> $of
- echo "!define RTEMS_LOGO \"$source/rtems_logo.bmp\"" >> $of
- echo "!define RTEMS_BINARY \"$rtems_binary\"" >> $of
- echo "!define RTEMS_LICENSE_FILE \"$source/rtems-license.rtf\"" >> $of
- echo "!define TOOL_PREFIX \"$prefix\"" >> $of
- echo "!include \"$relocation/rtems-files.nsi\"" >> $of
- echo "!include \"$source/rtems-tools.nsi\"" >> $of
-
- echo "cp $source/rtems.ini $relocation/rtems.ini"
- $cp $source/rtems.ini $relocation/rtems.ini
- check "coping the dialog definition file: $relocation/rtems.ini"
-
- echo "makensis $of"
- $makensis $of
- check "making the installer: $of"
-
- fi
- done
-done
diff --git a/contrib/mingw/build-rpms.sh b/contrib/mingw/build-rpms.sh
deleted file mode 100755
index 451358d864..0000000000
--- a/contrib/mingw/build-rpms.sh
+++ /dev/null
@@ -1,389 +0,0 @@
-#! /bin/sh
-#
-# $Id$
-#
-# RTEMS Build RPM script.
-#
-# This script builds the RTEMS tools into RPM packages on a Linux Fedora host,
-# and supports Canadian cross builds to other hosts. It is light sugar around
-# the fine work of Ralf Corsepius thats actuallt builds the RPM files.
-#
-# We build all the targets for a given host.
-#
-# Note: This file should be placed in crossrpms.
-#
-
-source=$(dirname $0)
-
-terminate()
-{
- echo "error: $*" >&2
- exit 1
-}
-
-check()
-{
- if [ $? -ne 0 ]; then
- terminate
- fi
-}
-
-processor=$(uname -p)
-
-version=4.7
-
-base_tool_list="binutils gcc"
-
-target_list=$(cat $source/targets)
-host_list="cygwin freebsd5.2 freebsd6.0 freebsd6.1 mingw32"
-
-rtems_tool_list="autoconf automake $base_tool_list"
-linux_tool_list="autoconf automake $base_tool_list"
-cygwin_tool_list="w32api libs autoconf automake $base_tool_list"
-freebsd_tool_list="libs autoconf automake $base_tool_list"
-mingw32_tool_list="w32api libs autoconf automake $base_tool_list"
-
-cygwin_cc_name="pc"
-freebsd_cc_name="pc"
-mingw32_cc_name="pc"
-
-linux_cpu_list="$processor"
-cygwin_cpu_list="i686"
-freebsd_cpu_list="i586"
-mingw32_cpu_list="i686"
-
-rpm_topdir=$(rpm --eval "%{_topdir}")
-
-prefix=/opt/rtems-$version
-hosts=$host_list
-build=$processor-linux-gnu
-infos=
-targets=$target_list
-run_prefix=
-rpm_prefix=custom-
-rpm_prefix_arg=
-local_rpm_database=yes
-clean=yes
-
-while [ $# -gt 0 ];
-do
- case $1 in
- -c)
- clean=no
- ;;
- -d)
- set -x
- ;;
- -h)
- shift
- hosts=$1
- ;;
- -i)
- infos="--enable-infos"
- ;;
- -l)
- shift
- rpm_prefix=$1-
- rpm_prefix_arg="--enable-rpmprefix=$rpm_label"
- ;;
- -n)
- run_prefix="echo "
- ;;
- -p)
- shift
- prefix=$1
- ;;
- -R)
- local_rpm_database=no
- ;;
- -s)
- shift
- source=$1
- ;;
- -t)
- shift
- targets=$1
- ;;
- -v)
- shift
- version=$1
- ;;
- --help)
- echo "$0 -cdinr -o <output> -h <hosts>" \
- "-l <rpm prefix> -p <prefix> -s <source> -t <targets> -v <version>"
- exit 2
- ;;
- *)
- terminate "error: invalid option (try --help): $1"
- ;;
- esac
- shift
-done
-
-for t in $targets;
-do
- if [ -z "$(echo $target_list | grep $t)" ]; then
- terminate "error: invalid target: $t"
- fi
-done
-
-cd=${run_prefix}cd
-configure=${run_prefix}${source}/configure
-cp=${run_prefix}cp
-make=${run_prefix}make
-mkdir=${run_prefix}mkdir
-rm=${run_prefix}rm
-rpmbuild=${run_prefix}rpmbuild
-rpm=${run_prefix}rpm
-
-if [ $local_rpm_database = yes ]; then
- rpm_database="--dbpath $prefix/var/lib/rpm"
-else
- rpm_database=
-fi
-
-echo " Source: $source"
-echo " Prefix: $prefix"
-echo " Hosts: $hosts"
-echo "Targets: $targets"
-
-if [ ! -f $source/configure ]; then
- terminate "$source/configure not found under: $source"
-fi
-
-if [ x$prefix != x ]; then
- if [ -e $prefix ]; then
- if [ ! -d $prefix ]; then
- terminate "$prefix is not a directory"
- fi
- else
- echo "Creating $(pwd)"
- $mkdir -p $prefix
- check "making the prefix directory: $prefix"
- fi
-fi
-
-$cd $prefix
-check "cannot change to the prefix directory: $prefix"
-
-if [ $clean = yes ]; then
- echo "Cleaning: $(pwd)"
- $rm -rf *
-fi
-
-#
-# Using a local RPM database means we do not need to be root to
-# perform the build.
-#
-if [ $local_rpm_database = yes ]; then
- echo "Creating private RPM database: $(pwd)/var/lib/rpm"
- if [ ! -d /var/lib/rpm ]; then
- terminate "no RPM database found on this host"
- exit 1
- fi
- if [ ! -d var/lib ]; then
- $mkdir -p var/lib
- check "making the local RPM database directory: var/lib"
- fi
- if [ $clean = yes -o ! -e var/lib/rpmPackages ]; then
- echo "Coping RPM database to a local RPM database"
- $cp -r /var/lib/rpm var/lib/rpm
- check "coping the RPM database to the local database"
- fi
-fi
-
-#
-# Set the path to the new directory.
-#
-export PATH=$prefix/bin:$PATH
-
-#
-# Install the RPM.
-#
-
-rpm_installer()
-{
- local rpm_common=
- local rpm_libs=
- local rpm_tools=
- local r
-
- local rpm_database=$1
- shift
- local rpm_arch=$1
- shift
- local rpm_path=$1
- shift
-
- #
- # Get the names of the rpm files that have been built. This means we
- # do not have maintain version info.
- #
- rpm_names=$(rpmbuild $rpm_database $* --nobuild 2> /dev/null | \
- grep -v "debuginfo" | grep "Process" | sed 's/Process.*\: //')
- #
- # If we have a base place that one first then libs then the tools.
- #
- for r in $rpm_names
- do
- if [ $(echo $r | sed 's/.*common.*/yes/') = yes ]; then
- rpm_common="$rpm_common $r"
- elif [ $(echo $r | sed 's/.*lib.*/yes/') = yes ]; then
- rpm_libs="$rpm_libs $r"
- elif [ $(echo $r | sed 's/.*sys\-root.*/yes/') = yes ]; then
- rpm_libs="$rpm_libs $r"
- else
- rpm_tools="$rpm_tools $r"
- fi
- done
-
- for r in $rpm_common $rpm_libs $rpm_tools
- do
- echo "rpm $rpm_database --force" \
- "-i $rpm_path/$rpm_arch/$r.$rpm_arch.rpm"
- $rpm $rpm_database --force -i $rpm_path/$rpm_arch/$r.$rpm_arch.rpm
- check "installing the $r.$rpm_arch.rpm rpm failed"
- done
-}
-
-#
-# Select the type of arch we have.
-#
-
-rpm_arch()
-{
- if [ $(echo $1 | sed 's/.*api.*/yes/') = yes ]; then
- echo "noarch"
- elif [ $(echo $1 | sed 's/.*lib.*/yes/') = yes ]; then
- echo "noarch"
- elif [ $(echo $1 | sed 's/.*auto.*/yes/') = yes ]; then
- echo "noarch"
- else
- echo $2
- fi
-}
-
-#
-# We always build tools for the build host. We need them to
-# build the libraries for the target processor.
-#
-hosts="linux $hosts"
-
-echo "Configuring target: all"
-echo "configure --prefix=$prefix $rpm_prefix_arg " \
- " --target=all $infos"
-$configure --prefix=$prefix $rpm_prefix_arg \
- --target=all \
- $infos
-check "configuring the crossrpms failed"
-echo "make"
-$make
-check "building the rpm spec files failed"
-echo "make -C autotools"
-$make -C autotools
-check "building the rpm spec files failed"
-
-for h in $hosts;
-do
- #
- # Need to translate the build host to an RTEMS host. Create a
- # target host (th) and specs directory (sd) variable to handle
- # the use of RTEMS.
- #
- if [ $h = "linux" ]; then
- th="linux-gnu"
- sd=rtems$version
- canadian_cross=no
- else
- th=$h
- sd=$h
- canadian_cross=yes
- fi
-
- #
- # Associate the host to its tool list to get the packages to build.
- #
- tl=${h}_tool_list
- pl=${h}_cpu_list
-
- echo "Native Host Tools: ${!tl} for ${!pl}"
- echo "Canadian Cross: $canadian_cross ($t $h)"
-
- for p in ${!pl}
- do
- pth="$p-pc-$th"
-
- if [ $canadian_cross = yes ]; then
- echo "make -C $sd/$p"
- $make -C $sd/$p
- check "building the rpm spec files failed: $sd/$p"
-
- for s in ${!tl}
- do
- case $s in
- autoconf|automake)
- # Hack around the prefix in the spec files for autotools.
- ba="-ba $prefix/autotools/$rpm_prefix$s-rtems.spec"
- ;;
- *)
- ba="-ba $prefix/$sd/$p/$rpm_prefix$pth-$s.spec"
- esac
-
- rpmbuild_cmd="$ba --target=$build"
-
- echo "rpmbuild --define '_defaultdocdir $prefix/share/doc' $rpm_database $rpmbuild_cmd"
- $rpmbuild --define "_defaultdocdir $prefix/share/doc" $rpm_database $rpmbuild_cmd
- check "building the $sd/$p/$rpm_prefix$pth-$s rpm failed"
-
- rpm_installer "$rpm_database" \
- $(rpm_arch $rpm_prefix$pth-$s $processor) \
- $rpm_topdir/linux/RPMS \
- $rpmbuild_cmd
- done
- fi
- done
-
- for t in $targets;
- do
- for s in ${rtems_tool_list}
- do
- case $s in
- autoconf|automake)
- # Hack around the prefix in the spec files for autotools.
- ba="-ba $prefix/autotools/$rpm_prefix$s-rtems.spec"
- ;;
- *)
- ba="-ba $prefix/rtems$version/$t/$rpm_prefix$t-rtems$version-$s.spec"
- esac
-
- rpmbuild_cmd="$ba --target=$pth"
-
- if [ $canadian_cross = yes ]; then
- ccl=${h}_cc_name
- echo "rpmbuild --define '_build $processor-redhat-linux' " \
- "--define '_host $pth' " \
- "--define '_defaultdocdir $prefix/share/doc' " \
- "$rpm_database $rpmbuild_cmd "
- $rpmbuild --define "_build $processor-redhat-linux" \
- --define "_host $pth" \
- --define "_defaultdocdir $prefix/share/doc" \
- --define "__cc $p-${!ccl}-$h-gcc" \
- $rpm_database $rpmbuild_cmd
- check "building host cross target: $rpm_prefix$t-rtems$version-$s"
- else
- echo "rpmbuild --define '_defaultdocdir $prefix/share/doc' "\
- "$rpm_database $rpmbuild_cmd"
- $rpmbuild --define "_defaultdocdir $prefix/share/doc" \
- $rpm_database $rpmbuild_cmd
- check "building host cross target: $rpm_prefix$t-rtems$version-$s"
- fi
-
- if [ $canadian_cross != yes ]; then
- rpm_installer "$rpm_database" \
- $(rpm_arch $rpm_prefix$t-rtems$version-$s $p) \
- $rpm_topdir/$h/RPMS \
- $rpmbuild_cmd
- fi
- done
- done
-done
diff --git a/contrib/mingw/build.sh b/contrib/mingw/build.sh
deleted file mode 100755
index 999ca72805..0000000000
--- a/contrib/mingw/build.sh
+++ /dev/null
@@ -1,103 +0,0 @@
-#! /bin/sh
-#
-# $Id$
-#
-# RTEMS Build script.
-#
-# This script builds the RPM files then the Windows executables.
-#
-# Note: This file should be placed in crossrpms.
-#
-
-command_line="$0 $*"
-
-terminate()
-{
- echo "error: $*" >&2
- exit 1
- echo "after"
-}
-
-check()
-{
- if [ $? -ne 0 ]; then
- terminate $*
- fi
-}
-
-debug=
-hosts=
-prefix=
-no_run=
-relocate=
-source=
-targets=
-version=
-log=build.txt
-
-while [ $# -gt 0 ];
-do
- case $1 in
- -d)
- set -x
- debug="-d"
- ;;
- -h)
- shift
- hosts="-h $1"
- ;;
- -l)
- shift
- log=$1
- ;;
- -n)
- no_run="-n"
- ;;
- -p)
- shift
- prefix="-p $1"
- ;;
- -r)
- shift
- relocation="-r $1"
- ;;
- -s)
- shift
- source="-s $1"
- ;;
- -t)
- shift
- targets="-t $1"
- ;;
- -v)
- shift
- version="-v $1"
- ;;
- --help)
- echo "$0 -dn -h <hosts> -p <prefix> -s <source> -t <targets> -v <version>"
- exit 2
- ;;
- *)
- terminate "error: invalid option (try --help): $1"
- ;;
- esac
- shift
-done
-
-echo "$command_line" > $log
-
-scripts=$(dirname $0)
-
-echo "$scripts/build-rpms.sh -i $debug $no_run $prefix $source $targets $hosts $version" >> $log
-$scripts/build-rpms.sh -i $debug $no_run $prefix $source $targets $hosts $version 2>&1 | tee -a $log
-if [ ${PIPESTATUS[0]} -ne 0 ]; then
- terminate "Making the RPM files."
-fi
-
-echo "$scripts/build-exes.sh $debug $no_run $prefix $targets $relocation" >> $log
-$scripts/build-exes.sh $debug $no_run $prefix $targets $relocation 2>&1 | tee -a $log
-if [ ${PIPESTATUS[0]} -ne 0 ]; then
- terminate "Making the executable files."
-fi
-
-exit 0
diff --git a/contrib/mingw/rtems-license.rtf b/contrib/mingw/rtems-license.rtf
deleted file mode 100644
index 41f53e888d..0000000000
--- a/contrib/mingw/rtems-license.rtf
+++ /dev/null
@@ -1,181 +0,0 @@
-{\rtf1\ansi\deff0\adeflang1025
-{\fonttbl{\f0\froman\fprq2\fcharset0 Nimbus Roman No9 L;}{\f1\froman\fprq2\fcharset0 Nimbus Roman No9 L;}{\f2\fswiss\fprq2\fcharset0 Bitstream Vera Sans;}{\f3\fnil\fprq2\fcharset0 Bitstream Vera Sans;}{\f4\fnil\fprq2\fcharset0 Luxi Sans;}{\f5\fnil\fprq0\fcharset0 Luxi Sans;}}
-{\colortbl;\red0\green0\blue0;\red128\green128\blue128;}
-{\stylesheet{\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081\snext1 Normal;}
-{\s2\sb240\sa120\keepn\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs28\lang255\ltrch\dbch\af4\langfe255\hich\f2\fs28\lang3081\loch\f2\fs28\lang3081\sbasedon1\snext3 Heading;}
-{\s3\sa120\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081\sbasedon1\snext3 Body Text;}
-{\s4\sa120\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af5\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081\sbasedon3\snext4 List;}
-{\s5\sb120\sa120\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af5\afs24\lang255\ai\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\i\loch\f0\fs24\lang3081\i\sbasedon1\snext5 caption;}
-{\s6\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af5\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081\sbasedon1\snext6 Index;}
-{\*\cs8\cf0\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 Numbering Symbols;}
-}{\*\listtable{\list\listtemplateid1
-{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'00.;}{\levelnumbers\'01;}\fi-360\li120}
-{\listlevel\levelnfc0\leveljc0\levelstartat0\levelfollow0{\leveltext \'02\'01.;}{\levelnumbers\'01;}\fi-283\li566}
-{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'02.;}{\levelnumbers\'01;}\fi-360\li1560}
-{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'03.;}{\levelnumbers\'01;}\fi-360\li2280}
-{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'04.;}{\levelnumbers\'01;}\fi-360\li3000}
-{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'05.;}{\levelnumbers\'01;}\fi-360\li3720}
-{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'06.;}{\levelnumbers\'01;}\fi-360\li4440}
-{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'07.;}{\levelnumbers\'01;}\fi-360\li5160}
-{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'08.;}{\levelnumbers\'01;}\fi-360\li5880}
-{\*\soutlvl{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'09.;}{\levelnumbers\'01;}\fi-360\li6600}}\listid1}
-{\list\listtemplateid2
-{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'00.;}{\levelnumbers\'01;}\fi-283\li566}
-{\listlevel\levelnfc4\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'01);}{\levelnumbers\'01;}\fi-360\li1080}
-{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'02.;}{\levelnumbers\'01;}\fi-360\li1440}
-{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'03.;}{\levelnumbers\'01;}\fi-360\li1800}
-{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'04.;}{\levelnumbers\'01;}\fi-360\li2160}
-{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'05.;}{\levelnumbers\'01;}\fi-360\li2520}
-{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'06.;}{\levelnumbers\'01;}\fi-360\li2880}
-{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'07.;}{\levelnumbers\'01;}\fi-360\li3240}
-{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'08.;}{\levelnumbers\'01;}\fi-360\li3600}
-{\*\soutlvl{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'02\'09.;}{\levelnumbers\'01;}\fi-360\li3960}}\listid2}
-}{\listoverridetable{\listoverride\listid1\listoverridecount0\ls0}{\listoverride\listid2\listoverridecount0\ls1}}
-
-{\info{\creatim\yr2006\mo7\dy21\hr16\min18}{\revtim\yr1601\mo1\dy1\hr0\min0}{\printim\yr1601\mo1\dy1\hr0\min0}{\comment StarWriter}{\vern6800}}\deftab709
-{\*\pgdsctbl
-{\pgdsc0\pgdscuse195\pgwsxn11905\pghsxn16837\marglsxn1134\margrsxn3886\margtsxn1134\margbsxn1134\pgdscnxt0 Standard;}}
-\paperh16837\paperw11905\margl1134\margr3886\margt1134\margb1134\sectd\sbknone\pgwsxn11905\pghsxn16837\marglsxn1134\margrsxn3886\margtsxn1134\margbsxn1134\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc
-\pard\plain \ltrpar\s1\cf0\qc{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ab\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\b\loch\f0\fs21\lang3081\b {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b GNU GENERAL PUBLIC LICENSE}
-\par \pard\plain \ltrpar\s1\cf0\qc{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 Version 2, June 1991}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\li585\ri-30\lin585\rin-30\fi0\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 Copyright (C) 1989, 1991 Free Software Foundation, Inc.\line 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA\line Everyone is permitted to copy and distribute verbatim copies\line of this license document, but changing it is not allowed.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0\qc{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ab\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\b\loch\f0\fs21\lang3081\b {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b Preamble}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all
-its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public Licens
-e instead.) You can apply it to your programs, too.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive sou
-rce code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you m
-odify it.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms s
-o they know their rights.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they hav
-e is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made
-it clear that any patent must be licensed for everyone's free use or not licensed at all.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 The precise terms and conditions for copying, distribution and modification follow.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0\qc{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ab\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\b\loch\f0\fs21\lang3081\b {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b GNU GENERAL PUBLIC LICENSE\line TERMS AND CONDITIONS FOR COPYING,\line DISTRIBUTION AND MODIFICATION}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\fs21\fs21\qj 0.\tab}\ilvl1 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li566\ri0\lin566\rin0\fi-283\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work bas
-ed on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translat
-ion is included without limitation in the term "modification".) Each licensee is addressed as "you".\line \line Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program
- is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\fs21\fs21\qj 1.\tab}\ilvl0 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li566\ri0\lin566\rin0\fi-283\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all th
-e notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.\line \line You may charge a fee for the physical act of transferring a copy, and you may at your opti
-on offer warranty protection in exchange for a fee.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\fs21\fs21\qj 2.\tab}\ilvl0 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li566\ri0\lin566\rin0\fi-283\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:\line }
-\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360\sa113\fs21\fs21\fs21\qj a)\tab}\ilvl1 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li1080\ri0\lin1080\rin0\fi-360\sa113\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.}
-\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360\sa113\fs21\fs21\fs21\qj b)\tab}\ilvl1 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li1080\ri0\lin1080\rin0\fi-360\sa113\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.}
-\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360\fs21\fs21\fs21\qj c)\tab}\ilvl1 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li1080\ri0\lin1080\rin0\fi-360\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice th
-at there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does no
-t normally print such an announcement, your work based on the Program is not required to print an announcement.)}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\fs21\fs21\qj \tab}\ilvl0 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply
- to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for oth
-er licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.\line \line Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the r
-ight to control the distribution of derivative or collective works based on the Program.\line \line In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution
- medium does not bring the other work under the scope of this License.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\fs21\fs21\qj 3.\tab}\ilvl0 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li566\ri0\lin566\rin0\fi-283\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:\line }
-\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360\sa113\fs21\fs21\fs21\qj a)\tab}\ilvl1 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li1080\ri0\lin1080\rin0\fi-360\sa113\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,}
-\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360\sa113\fs21\fs21\fs21\qj b)\tab}\ilvl1 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li1080\ri0\lin1080\rin0\fi-360\sa113\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distribut
-ed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,}
-\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360\fs21\fs21\fs21\qj c)\tab}\ilvl1 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li1080\ri0\lin1080\rin0\fi-360\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an of
-fer, in accord with Subsection b above.)\line }
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\fs21\fs21\qj \tab}\ilvl0 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the sc
-ripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler
-, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.\line \line If distribution of executable or object code is made by offering access to copy from a designated place, then offering equi
-valent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.\line }
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\fs21\fs21\qj 4.\tab}\ilvl0 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li566\ri0\lin566\rin0\fi-283\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this L
-icense. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.\line }
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\fs21\fs21\qj 5.\tab}\ilvl0 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li566\ri0\lin566\rin0\fi-283\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. The
-refore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.\line }
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\fs21\fs21\qj 6.\tab}\ilvl0 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li566\ri0\lin566\rin0\fi-283\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any fu
-rther restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.\line }
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\fs21\fs21\qj 7.\tab}\ilvl0 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li566\ri0\lin566\rin0\fi-283\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this Lice
-nse, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at
-all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely
- from distribution of the Program.\line \line If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.\line \line
-It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, wh
-ich is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he o
-r she is willing to distribute software through any other system and a licensee cannot impose that choice.\line \line This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.\line }
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\fs21\fs21\qj 8.\tab}\ilvl0 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li566\ri0\lin566\rin0\fi-283\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitatio
-n excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.\line }
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\fs21\fs21\qj 9.\tab}\ilvl0 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li566\ri0\lin566\rin0\fi-283\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.\line \line Each v
-ersion is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later versio
-n published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.\line }
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\fs21\fs21\qj 10.\tab}\ilvl0 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li566\ri0\lin566\rin0\fi-283\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software
-Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.\line }
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\b\fs21\b\fs21\b\qc \tab}\ilvl0 \ltrpar\s1\cf0\qc{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ab\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\b\loch\f0\fs21\lang3081\b {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b NO WARRANTY}
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\fs21\fs21 \tab}\ilvl0 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\fs21\fs21\qj 11.\tab}\ilvl0 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li566\ri0\lin566\rin0\fi-283\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANT
-Y OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PR
-OVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\line }
-\par \pard\plain {\listtext\pard\plain \li566\ri0\lin566\rin0\fi-283\fs21\fs21\fs21\qj 12.\tab}\ilvl0 \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls1\li566\ri0\lin566\rin0\fi-283\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL
-OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER P
-ROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0\qc{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ab\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\b\loch\f0\fs21\lang3081\b {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b END OF TERMS AND CONDITIONS}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 Appendix: How to Apply These Terms to Your New Programs}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081
-\par \pard\plain \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the
-full notice is found. }
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 <one line to give the program's name and a brief idea of what it does.>}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 Copyright (C) 19yy <name of author>}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 This program is free software; you can redistribute it and/or modify}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 it under the terms of the GNU General Public License as published by}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 the Free Software Foundation; either version 2 of the License, or}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 (at your option) any later version.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 This program is distributed in the hope that it will be useful,}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 but WITHOUT ANY WARRANTY; without even the implied warranty of}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 GNU General Public License for more details.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 You should have received a copy of the GNU General Public License}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 along with this program; if not, write to the Free Software}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 Also add information on how to contact you by electronic and paper mail.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 If the program is interactive, make it output a short notice like this when it starts in an interactive mode:}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 Gnomovision version 69, Copyright (C) 19yy name of author}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 Gnomovision comes with ABSOLUTELY NO WARRANTY; }
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 for details type `show w'.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 This is free software, and you are welcome to redistribute it}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 under certain conditions; type `show c' for details.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081
-\par \pard\plain \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whate
-ver suits your program.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 Yoyodyne, Inc., hereby disclaims all copyright interest in the program}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 `Gnomovision' (which makes passes at compilers) written by James Hacker.}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 <signature of Ty Coon>, 1 April 1989}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 Ty Coon, President of Vice}
-\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang3081\loch\f0\fs24\lang3081
-\par \pard\plain \ltrpar\s1\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs21\lang255\ltrch\dbch\af3\langfe255\hich\f0\fs21\lang3081\loch\f0\fs21\lang3081 {\rtlch \ltrch\loch\f0\fs21\lang3081\i0\b0 This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you wa
-nt to do, use the GNU Library General Public License instead of this License.}
-\par } \ No newline at end of file
diff --git a/contrib/mingw/rtems-tools.nsi b/contrib/mingw/rtems-tools.nsi
deleted file mode 100644
index 3558a3b380..0000000000
--- a/contrib/mingw/rtems-tools.nsi
+++ /dev/null
@@ -1,276 +0,0 @@
-;
-; $Id$
-;
-; RTEMS Tools Installer.
-;
-; Copyright Chris Johns (chrisj@rtems.org)
-;
-
-;!define EMPTY_INSTALLER
-
-!define PRODUCT_NAME "RTEMS Tools"
-!define PRODUCT_VERSION ${RTEMS_VERSION}
-!define PRODUCT_PUBLISHER "RTEM Project Team"
-!define PRODUCT_WEB_SITE "http://www.rtems.org/"
-
-; MUI 1.66 compatible ------
-!include "MUI.nsh"
-
-; MUI Settings
-!define MUI_ABORTWARNING
-!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\win-install.ico"
-!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\win-uninstall.ico"
-
-!define MUI_HEADERIMAGE
-!define MUI_HEADERIMAGE_BITMAP "${RTEMS_LOGO}"
-
-!define MUI_COMPONENTSPAGE_SMALLDESC
-
-; Welcome page
-!insertmacro MUI_PAGE_WELCOME
-; Details of what will happen.
-Page custom RTEMSMessage
-; License page
-;!define MUI_LICENSEPAGE_CHECKBOX
-!insertmacro MUI_PAGE_LICENSE "${RTEMS_LICENSE_FILE}"
-; Components page
-!insertmacro MUI_PAGE_COMPONENTS
-; Directory page
-!insertmacro MUI_PAGE_DIRECTORY
-; Instfiles page
-!insertmacro MUI_PAGE_INSTFILES
-; Finish page
-!insertmacro MUI_PAGE_FINISH
-
-; Uninstaller pages
-!insertmacro MUI_UNPAGE_INSTFILES
-
-; Language files
-!insertmacro MUI_LANGUAGE "English"
-
-; Reserve files
-!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
-
-; MUI end ------
-
-ReserveFile "rtems.ini"
-!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
-
-Name "${PRODUCT_NAME} ${PRODUCT_VERSION} (${RTEMS_TARGET})"
-OutFile "${RTEMS_BINARY}/rtems${PRODUCT_VERSION}-${RTEMS_TARGET}-${RTEMS_BUILD_VERSION}.exe"
-InstallDir "C:\rtems\${RTEMS_TARGET}"
-ShowInstDetails show
-ShowUnInstDetails show
-BrandingText "RTEMS ${RTEMS_TARGET} Tools v${PRODUCT_VERSION}"
-AllowRootDirInstall false
-AutoCloseWindow false
-CRCCheck force
-
-Section "RTEMS ${RTEMS_TARGET} Tools" SecTools
- SetOutPath "$INSTDIR"
- File "${RTEMS_SOURCE}/AUTHORS"
- File "${RTEMS_SOURCE}/COPYING"
- File "${RTEMS_SOURCE}/README"
- !insertmacro RTEMS_INSTALL_FILES
-SectionEnd
-
-!macro FILE_WRITE_LINE Handle Text
- FileWrite ${Handle} `${Text}`
- FileWriteByte ${Handle} "13"
- FileWriteByte ${Handle} "10"
-!macroend
-
-Function .onInit
- ;Extract InstallOptions INI files
- !insertmacro MUI_INSTALLOPTIONS_EXTRACT "rtems.ini"
-FunctionEnd
-
-Function RTEMSMessage
-
- !insertmacro MUI_HEADER_TEXT \
- "RTEMS Tools (${RTEMS_TARGET})" \
- "A tool set for the RTEMS operating system."
-
- ;Display the Install Options dialog
-
- Push $R0
- Push $R1
- Push $R2
-
- InstallOptions::initDialog /NOUNLOAD "$PLUGINSDIR\rtems.ini"
- Pop $R0
-
- GetDlgItem $R1 $R0 1200 ;1200 + Field number - 1
- ;$R1 contains the HWND of the first field
- CreateFont $R2 "Tahoma" "8" "300"
- SendMessage $R1 ${WM_SETFONT} $R2 0
-
- GetDlgItem $R1 $R0 1201 ;1200 + Field number - 1
- ;$R1 contains the HWND of the first field
- CreateFont $R2 "Tahoma" "12" "700"
- SendMessage $R1 ${WM_SETFONT} $R2 0
-
- GetDlgItem $R1 $R0 1202 ;1200 + Field number - 1
- ;$R1 contains the HWND of the first field
- CreateFont $R2 "Tahoma" "8" "300"
- SendMessage $R1 ${WM_SETFONT} $R2 0
-
- GetDlgItem $R1 $R0 1203 ;1200 + Field number - 1
- ;$R1 contains the HWND of the first field
- CreateFont $R2 "Tahoma" "8" "300"
- SendMessage $R1 ${WM_SETFONT} $R2 0
-
- GetDlgItem $R1 $R0 1204 ;1200 + Field number - 1
- ;$R1 contains the HWND of the first field
- CreateFont $R2 "Tahoma" "8" "300"
- SendMessage $R1 ${WM_SETFONT} $R2 0
-
- GetDlgItem $R1 $R0 1205 ;1200 + Field number - 1
- ;$R1 contains the HWND of the first field
- CreateFont $R2 "Tahoma" "8" "300"
- SendMessage $R1 ${WM_SETFONT} $R2 0
-
- GetDlgItem $R1 $R0 1206 ;1200 + Field number - 1
- ;$R1 contains the HWND of the first field
- CreateFont $R2 "Tahoma" "8" "300"
- SendMessage $R1 ${WM_SETFONT} $R2 0
-
- InstallOptions::show
- Pop $R0
-
- Pop $R2
- Pop $R1
- Pop $R0
-
-FunctionEnd
-
-; Push $filenamestring (e.g. 'c:\this\and\that\filename.htm')
-; Push '\\'
-; Pop $R0
-; Call StrSlash
-; Pop $R0
-; ;Now $R0 contains 'c:/this/and/that/filename.htm'
-Function StrSlash
- Exch $R0
- Push $R1
- Push $R2
- StrCpy $R1 0
-loop:
- IntOp $R1 $R1 - 1
- StrCpy $R2 $R0 1 $R1
- StrCmp $R2 "" done
- StrCmp $R2 "\" 0 loop
- StrCpy $R2 $R0 $R1
- Push $R1
- IntOp $R1 $R1 + 1
- StrCpy $R1 $R0 "" $R1
- StrCpy $R0 "$R2/$R1"
- Pop $R1
- IntOp $R1 $R1 - 1
- Goto loop
-done:
- Pop $R2
- Pop $R1
- Exch $R0
-FunctionEnd
-
-Section -BatchFiles
- FileOpen $9 $INSTDIR\rtems.bat w
- !insertmacro FILE_WRITE_LINE $9 "@echo off"
- !insertmacro FILE_WRITE_LINE $9 "rem RTEMS batch file: ${RTEMS_TARGET} (${RTEMS_VERSION})"
- !insertmacro FILE_WRITE_LINE $9 "set PATH=$INSTDIR\bin;c:\mingw\bin;c:\msys\1.0\bin;%PATH%"
- !insertmacro FILE_WRITE_LINE $9 "set PROMPT=RTEMS(${RTEMS_TARGET}) $$P$$G"
- !insertmacro FILE_WRITE_LINE $9 "If $\"x%OS%x$\" == $\"xWindows_NTx$\" Goto WinNT_Title"
- !insertmacro FILE_WRITE_LINE $9 "doskey > Nul"
- !insertmacro FILE_WRITE_LINE $9 "goto Finished"
- !insertmacro FILE_WRITE_LINE $9 ":WinNT_Title"
- !insertmacro FILE_WRITE_LINE $9 "Title RTEMS(${RTEMS_TARGET})"
- !insertmacro FILE_WRITE_LINE $9 ":Finished"
- FileClose $9
-
- FileOpen $9 $INSTDIR\rtems-cmd.bat w
- !insertmacro FILE_WRITE_LINE $9 "@echo off"
- !insertmacro FILE_WRITE_LINE $9 "rem RTEMS batch file: ${RTEMS_TARGET} (${RTEMS_VERSION})"
- !insertmacro FILE_WRITE_LINE $9 "If $\"x%OS%x$\" == $\"xWindows_NTx$\" Goto WinNT"
- !insertmacro FILE_WRITE_LINE $9 "start command.com /e:4096 /k $INSTDIR\rtems.bat %1 %2 %3 %4"
- !insertmacro FILE_WRITE_LINE $9 "exit"
- !insertmacro FILE_WRITE_LINE $9 ":WinNT"
- !insertmacro FILE_WRITE_LINE $9 "start cmd.exe /k $INSTDIR\rtems.bat %1 %2 %3 %4"
- !insertmacro FILE_WRITE_LINE $9 "exit"
- FileClose $9
-
- FileOpen $9 $INSTDIR\sh-run.bat w
- !insertmacro FILE_WRITE_LINE $9 "@echo off"
- !insertmacro FILE_WRITE_LINE $9 "rem We can only handle 9 parameters. More is too hard."
- !insertmacro FILE_WRITE_LINE $9 "call $INSTDIR\rtems.bat"
- !insertmacro FILE_WRITE_LINE $9 "%1 %2 %3 %4 %5 %6 %7 %8 %9"
- FileClose $9
-
- FileOpen $9 $INSTDIR\vs-make.sh w
- !insertmacro FILE_WRITE_LINE $9 "#! /bin/sh"
- !insertmacro FILE_WRITE_LINE $9 "if [ ! -d $$1 ]; then"
- !insertmacro FILE_WRITE_LINE $9 " echo $\"error: no build directory found$\""
- !insertmacro FILE_WRITE_LINE $9 " exit 1"
- !insertmacro FILE_WRITE_LINE $9 "fi"
- !insertmacro FILE_WRITE_LINE $9 "cd $$1"
- !insertmacro FILE_WRITE_LINE $9 "shift"
- !insertmacro FILE_WRITE_LINE $9 "make $$* 2>&1 | sed -e 's/c:\([0-9]*\):/c(\1):/' \\"
- !insertmacro FILE_WRITE_LINE $9 " -e 's/h:\([0-9]*\):/h(\1):/' \\"
- !insertmacro FILE_WRITE_LINE $9 " -e 's/S:\([0-9]*\):/S(\1):/' \\"
- !insertmacro FILE_WRITE_LINE $9 " -e 's/s:\([0-9]*\):/s(\1):/'"
- FileClose $9
-SectionEnd
-
-Section -MSYSLinks
- FindFirst $8 $1 c:\msys\1.0\etc\fstab
- StrCmp $1 "" MSYSLinksdone
- Push $INSTDIR
- Call StrSlash
- Pop $R0
- DetailPrint "Setting MSYS fstab: $R0 -> ${TOOL_PREFIX}"
- FileOpen $9 "c:\msys\1.0\etc\fstab" a
- FileSeek $9 0 END
- FileWrite $9 $R0
- FileWriteByte $9 "32"
- FileWrite $9 ${TOOL_PREFIX}
- FileWriteByte $9 "10"
- FileClose $9
- MSYSLinksdone:
- FindClose $8
-SectionEnd
-
-Section -Post
- WriteUninstaller "$INSTDIR\rtems-${RTEMS_TARGET}-uninst.exe"
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" \
- "DisplayName" "$(^Name)"
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" \
- "UninstallString" "$INSTDIR\uninst.exe"
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" \
- "DisplayVersion" "${PRODUCT_VERSION}"
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" \
- "URLInfoAbout" "${PRODUCT_WEB_SITE}"
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" \
- "Publisher" "${PRODUCT_PUBLISHER}"
-SectionEnd
-
-Function un.onInit
- MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 \
- "Are you sure you want to uninstall RTEMS Tools?" IDYES +2
- Abort
-FunctionEnd
-
-Section Uninstall
- Delete $INSTDIR\rtems-${RTEMS_TARGET}-uninst.exe
- DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
- DetailPrint "Delete the install directory"
- Delete "$INSTDIR\AUTHORS"
- Delete "$INSTDIR\COPYING"
- Delete "$INSTDIR\README"
- Delete "$INSTDIR\rtems.bat"
- Delete "$INSTDIR\rtems-cmd.bat"
- Delete "$INSTDIR\sh-run.bat"
- Delete "$INSTDIR\vs-make.sh"
- !insertmacro RTEMS_DELETE_FILES
- DetailPrint "All done."
- SetAutoClose true
-SectionEnd
diff --git a/contrib/mingw/rtems.ini b/contrib/mingw/rtems.ini
deleted file mode 100644
index 6a55ecfc55..0000000000
--- a/contrib/mingw/rtems.ini
+++ /dev/null
@@ -1,59 +0,0 @@
-;
-; $Id$
-; Ini file generated by the HM NIS Edit IO designer.
-;
-[Settings]
-NumFields=6
-
-[Field 1]
-Type=Label
-Text=RTEMS Tools for Windows is a set of MinGW tools suitable for compiling RTEMS and RTEMS applications. You should install download and install the MinGW runtime and if you wish to build RTEMS or need autoconf or automake support the MSYS packages as well. You can find the MinGW and MSYS installers on the MinGW web site.\r\n\r\nFurther information and the source code with patches can be located via the link below.
-Left=0
-Right=292
-Top=25
-Bottom=87
-
-[Field 2]
-Type=Label
-Text=RTEMS Tools for Windows
-Left=75
-Right=297
-Top=0
-Bottom=12
-
-[Field 3]
-Type=Link
-Text=Source Code with patches
-State=ftp://www.rtems.org/pub/rtems/SOURCES
-Left=150
-Right=275
-Top=91
-Bottom=99
-
-[Field 4]
-Type=Link
-Text=RTEMS MinGW Wiki Page
-State=http://www.rtems.org/wiki/index.php/MinGW_Tools_for_Windows
-Left=6
-Right=92
-Top=101
-Bottom=109
-
-[Field 5]
-Type=Link
-Text=RTEMS Home Page
-State=http://www.rtems.org/
-Left=6
-Right=122
-Top=89
-Bottom=99
-
-[Field 6]
-Type=Link
-Text=MinGW Project Home Page
-State=http://www.mingw.org/
-Left=150
-Right=275
-Top=102
-Bottom=110
-
diff --git a/contrib/mingw/rtems_logo.bmp b/contrib/mingw/rtems_logo.bmp
deleted file mode 100644
index ee5cd3dbda..0000000000
--- a/contrib/mingw/rtems_logo.bmp
+++ /dev/null
Binary files differ
diff --git a/contrib/mingw/targets b/contrib/mingw/targets
deleted file mode 100644
index bde2e3f743..0000000000
--- a/contrib/mingw/targets
+++ /dev/null
@@ -1 +0,0 @@
-arm h8300 i386 m68k mips powerpc sh sparc