2 * This file is part of the sigrok project.
4 * Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef LIBSIGROK_VERSION_H
21 #define LIBSIGROK_VERSION_H
24 * Package version macros (can be used for conditional compilation).
27 /** The libsigrok package 'major' version number. */
28 #define SR_PACKAGE_VERSION_MAJOR @SR_PACKAGE_VERSION_MAJOR@
30 /** The libsigrok package 'minor' version number. */
31 #define SR_PACKAGE_VERSION_MINOR @SR_PACKAGE_VERSION_MINOR@
33 /** The libsigrok package 'micro' version number. */
34 #define SR_PACKAGE_VERSION_MICRO @SR_PACKAGE_VERSION_MICRO@
36 /** The libsigrok package version ("major.minor.micro") as string. */
37 #define SR_PACKAGE_VERSION_STRING "@SR_PACKAGE_VERSION@"
40 * Library/libtool version macros (can be used for conditional compilation).
43 /** The libsigrok libtool 'current' version number. */
44 #define SR_LIB_VERSION_CURRENT @SR_LIB_VERSION_CURRENT@
46 /** The libsigrok libtool 'revision' version number. */
47 #define SR_LIB_VERSION_REVISION @SR_LIB_VERSION_REVISION@
49 /** The libsigrok libtool 'age' version number. */
50 #define SR_LIB_VERSION_AGE @SR_LIB_VERSION_AGE@
52 /** The libsigrok libtool version ("current:revision:age") as string. */
53 #define SR_LIB_VERSION_STRING "@SR_LIB_VERSION@"