| 1 | /* version.h |
| 2 | $Id: version.h,v 1.1 1997/10/12 17:27:12 elf Exp $ |
| 3 | |
| 4 | written by Marc Singer |
| 5 | 29 September 1996 |
| 6 | |
| 7 | This file is part of the project Buici. See the file README for |
| 8 | more information. |
| 9 | |
| 10 | Copyright (C) 1997 Marc Singer |
| 11 | |
| 12 | This program is free software; you can redistribute it and/or |
| 13 | modify it under the terms of the GNU General Public License as |
| 14 | published by the Free Software Foundation; either version 2 of the |
| 15 | License, or (at your option) any later version. |
| 16 | |
| 17 | This program is distributed in the hope that it will be useful, but |
| 18 | WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 20 | General Public License for more details. |
| 21 | |
| 22 | You should have received a copy of the GNU General Public License |
| 23 | in a file called COPYING along with this program; if not, write to |
| 24 | the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA |
| 25 | 02139, USA. |
| 26 | |
| 27 | ----------- |
| 28 | DESCRIPTION |
| 29 | ----------- |
| 30 | |
| 31 | This file declares C statics for the current version number. |
| 32 | |
| 33 | */ |
| 34 | |
| 35 | #if defined (DECLARE_VERSION) |
| 36 | |
| 37 | /* _version.h contains a single #define for SZ_VERSION. It is created |
| 38 | automatically from .version_{major,minor,patch} files in the build |
| 39 | process. The define takes this form. |
| 40 | |
| 41 | #define SZ_VERSION "1.2.3" |
| 42 | */ |
| 43 | |
| 44 | # include "_version.h" |
| 45 | # define SZ_COPYRIGHT "Copyright (C) 1997,2007 by Marc Singer" |
| 46 | |
| 47 | const char* g_szVersion = SZ_VERSION; |
| 48 | const char* g_szCopyright = SZ_COPYRIGHT; |
| 49 | |
| 50 | #else |
| 51 | |
| 52 | extern const char* g_szVersion; |
| 53 | extern const char* g_szCopyright; |
| 54 | |
| 55 | #endif |