1# wingetopt 2 3getopt library for Windows compilers 4 5 6This library was created to allow compilation linux-based software on Windows. 7http://en.wikipedia.org/wiki/Getopt 8 9The sources were taken from MinGW-runtime project. 10 11#### AUTHORS: 12 13* Todd C. Miller <Todd.Miller@courtesan.com> 14* The NetBSD Foundation, Inc. 15 16#### LICENSE 17 18 Copyright (c) 2002 Todd C. Miller <Todd.Miller@courtesan.com> 19 20 Permission to use, copy, modify, and distribute this software for any 21 purpose with or without fee is hereby granted, provided that the above 22 copyright notice and this permission notice appear in all copies. 23 24 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 25 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 26 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 27 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 28 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 29 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 30 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 31 32 Sponsored in part by the Defense Advanced Research Projects 33 Agency (DARPA) and Air Force Research Laboratory, Air Force 34 Materiel Command, USAF, under agreement number F39502-99-1-0512. 35 36*** 37 38 Copyright (c) 2000 The NetBSD Foundation, Inc. 39 All rights reserved. 40 41 This code is derived from software contributed to The NetBSD Foundation 42 by Dieter Baron and Thomas Klausner. 43 44 Redistribution and use in source and binary forms, with or without 45 modification, are permitted provided that the following conditions 46 are met: 47 1. Redistributions of source code must retain the above copyright 48 notice, this list of conditions and the following disclaimer. 49 2. Redistributions in binary form must reproduce the above copyright 50 notice, this list of conditions and the following disclaimer in the 51 documentation and/or other materials provided with the distribution. 52 53 THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 54 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 55 TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 56 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 57 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 58 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 59 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 60 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 61 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 62 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 63 POSSIBILITY OF SUCH DAMAGE. 64