/* * version.h - header file defining the version number * * Copyright (C) 1995-2003 Gero Kuhlmann * * 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 * 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., 675 Mass Ave, Cambridge, MA 02139, USA. * * $Id: version.h.in,v 1.7 2003/03/09 00:43:08 gkminix Exp $ */ /* * Define program version. * * All lines starting with a # are ignored by GAS. Therefore this file can * be included into C and assembler source files. If getting included into * assembler source files only those lines are evaluated which do not begin * with a #. If included into C source files, the __ASSEMBLY__ ifdef excludes * all assembler statements. */ #ifndef __ASSEMBLY__ /* * Code for C source files */ #define VERSION "Version @NBVERSION@ (@PACKAGE_NAME@)" #define COPYRIGHT "Copyright (C) @COPYRIGHT@" #define VER_MAJOR @VER_MAJOR@ #define VER_MINOR @VER_MINOR@ #else /* __ASSEMBLY_ */ /* * Code for assembler source files * * Note that this requires the assembler code to be preprocessed by GASP */ VERSION .assignc "Version @NBVERSION@ (@PACKAGE_NAME@)" COPYRIGHT .assignc "Copyright (C) @COPYRIGHT@" VER_MAJOR .equ @VER_MAJOR@ VER_MINOR .equ @VER_MINOR@ #endif /* __ASSEMBLY__ */