| 1 | /* |
| 2 | the DASM macro assembler (aka small systems cross assembler) |
| 3 | |
| 4 | Copyright (c) 1988-2002 by Matthew Dillon. |
| 5 | Copyright (c) 1995 by Olaf "Rhialto" Seibert. |
| 6 | Copyright (c) 2003-2008 by Andrew Davie. |
| 7 | Copyright (c) 2008 by Peter H. Froehlich. |
| 8 | |
| 9 | This program is free software; you can redistribute it and/or modify |
| 10 | it under the terms of the GNU General Public License as published by |
| 11 | the Free Software Foundation; either version 2 of the License, or |
| 12 | (at your option) any later version. |
| 13 | |
| 14 | This program is distributed in the hope that it will be useful, |
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | GNU General Public License for more details. |
| 18 | |
| 19 | You should have received a copy of the GNU General Public License along |
| 20 | with this program; if not, write to the Free Software Foundation, Inc., |
| 21 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 22 | */ |
| 23 | |
| 24 | #ifndef _DASM_VERSION_H |
| 25 | #define _DASM_VERSION_Hcxx . . $ `src/version.h:25:9`! |
| 26 | |
| 27 | /** |
| 28 | * @file |
| 29 | */ |
| 30 | |
| 31 | /** |
| 32 | * @brief Macro to provide current DASM release as a string. |
| 33 | */ |
| 34 | #define DASM_RELEASEcxx . . $ `src/version.h:34:9`! "2.20.14.1" |
| 35 | |
| 36 | /** |
| 37 | * @brief Macro to provide current DASM headline, including |
| 38 | * release, as a string; printed first in usage messages. |
| 39 | */ |
| 40 | #define DASM_IDcxx . . $ `src/version.h:40:9`! "DASM " DASM_RELEASEcxx . . $ `src/version.h:34:9`! |
| 41 | |
| 42 | /** |
| 43 | * @brief Macro to print standard DASM copyright, in case we |
| 44 | * go back to printing this part on every run again... |
| 45 | * |
| 46 | * @todo There are several pieces of code out there that have |
| 47 | * 1987 as the first copyright year by Matthew Dillon; almost |
| 48 | * all his later stuff starts at 1988, but ftohex.c is still |
| 49 | * at 1987 even in his 2.16 release. We should settle this... |
| 50 | */ |
| 51 | #define DASM_PRINT_COPYRIGHTcxx . . $ `src/version.h:51:9`! \ |
| 52 | (void) puts("Copyright (c) 1988-2020 by the DASM team."); |
| 53 | |
| 54 | /** |
| 55 | * @brief Macro to print standard DASM legalese, including |
| 56 | * copyright, also for usage messages. |
| 57 | */ |
| 58 | #define DASM_PRINT_LEGALcxx . . $ `src/version.h:58:9`! \ |
| 59 | DASM_PRINT_COPYRIGHT \ |
| 60 | (void) puts("License GPLv2+: GNU GPL version 2 or later (see file LICENSE)."); \ |
| 61 | (void) puts("DASM is free software: you are free to change and redistribute it."); \ |
| 62 | (void) puts("There is ABSOLUTELY NO WARRANTY, to the extent permitted by law."); \ |
| 63 | |
| 64 | /** |
| 65 | * @brief Macro to print bug report message, once again for |
| 66 | * usage messages. |
| 67 | */ |
| 68 | #define DASM_PRINT_BUGScxx . . $ `src/version.h:68:9`! \ |
| 69 | (void) puts("Report bugs on https://github.com/dasm-assembler/dasm please!"); |
| 70 | |
| 71 | #endif /* _DASM_VERSION_H */ |
| 72 | |
| 73 | /* vim: set tabstop=4 softtabstop=4 expandtab shiftwidth=4 autoindent: */ |