2 * This file is part of the libsigrokdecode project.
4 * Copyright (C) 2010 Uwe Hermann <uwe@hermann-uwe.de>
5 * Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef LIBSIGROKDECODE_VERSION_H
22 #define LIBSIGROKDECODE_VERSION_H
27 * Version number definitions and macros.
31 * @ingroup grp_versions
37 * Package version macros (can be used for conditional compilation).
40 /** The libsigrokdecode package 'major' version number. */
41 #define SRD_PACKAGE_VERSION_MAJOR @SRD_PACKAGE_VERSION_MAJOR@
43 /** The libsigrokdecode package 'minor' version number. */
44 #define SRD_PACKAGE_VERSION_MINOR @SRD_PACKAGE_VERSION_MINOR@
46 /** The libsigrokdecode package 'micro' version number. */
47 #define SRD_PACKAGE_VERSION_MICRO @SRD_PACKAGE_VERSION_MICRO@
49 /** The libsigrokdecode package version ("major.minor.micro") as string. */
50 #define SRD_PACKAGE_VERSION_STRING "@SRD_PACKAGE_VERSION@"
53 * Library/libtool version macros (can be used for conditional compilation).
56 /** The libsigrokdecode libtool 'current' version number. */
57 #define SRD_LIB_VERSION_CURRENT @SRD_LIB_VERSION_CURRENT@
59 /** The libsigrokdecode libtool 'revision' version number. */
60 #define SRD_LIB_VERSION_REVISION @SRD_LIB_VERSION_REVISION@
62 /** The libsigrokdecode libtool 'age' version number. */
63 #define SRD_LIB_VERSION_AGE @SRD_LIB_VERSION_AGE@
65 /** The libsigrokdecode libtool version ("current:revision:age") as string. */
66 #define SRD_LIB_VERSION_STRING "@SRD_LIB_VERSION@"