Adam Tkac | fded078 | 2008-03-22 11:20:54 +0000 | [diff] [blame^] | 1 | vncmkdepend |
| 2 | =========== |
| 3 | |
| 4 | This code is taken from the X11R6 makedepend sources. All I have done is: |
| 5 | |
| 6 | * Remove all predefined symbols, include directories and other |
| 7 | platform-specific behaviour. Its behaviour should be the same on all |
| 8 | platforms. All symbols and include directories must be explicitly given on |
| 9 | the command line with -D and -I flags. |
| 10 | * Fix processing of numbers in #if expressions. |
| 11 | * Fix processing of -D flag. |
| 12 | * Fix C++ comment handling. |
| 13 | * Improve #error warnings. |
| 14 | * Change the output so that processing <name>.<suffix> produces <name>.d |
| 15 | |
| 16 | The copyright on the code is: |
| 17 | |
| 18 | Copyright (c) 1993, 1994 X Consortium |
| 19 | |
| 20 | Permission is hereby granted, free of charge, to any person obtaining a copy |
| 21 | of this software and associated documentation files (the "Software"), to deal |
| 22 | in the Software without restriction, including without limitation the rights |
| 23 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 24 | copies of the Software, and to permit persons to whom the Software is |
| 25 | furnished to do so, subject to the following conditions: |
| 26 | |
| 27 | The above copyright notice and this permission notice shall be included in |
| 28 | all copies or substantial portions of the Software. |
| 29 | |
| 30 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 31 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 32 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 33 | X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN |
| 34 | AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 35 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 36 | |
| 37 | Except as contained in this notice, the name of the X Consortium shall not be |
| 38 | used in advertising or otherwise to promote the sale, use or other dealings |
| 39 | in this Software without prior written authorization from the X Consortium. |