]> sigrok.org Git - libsigrok.git/blob - version.h.in
sr: moved sigrok.h so libsigrok/libsigrok.h
[libsigrok.git] / version.h.in
1 /*
2  * This file is part of the sigrok project.
3  *
4  * Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
5  *
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.
10  *
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.
15  *
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/>.
18  */
19
20 #ifndef LIBSIGROK_VERSION_H
21 #define LIBSIGROK_VERSION_H
22
23 /*
24  * Package version macros (can be used for conditional compilation).
25  */
26
27 /** The libsigrok package 'major' version number. */
28 #define SR_PACKAGE_VERSION_MAJOR @SR_PACKAGE_VERSION_MAJOR@
29
30 /** The libsigrok package 'minor' version number. */
31 #define SR_PACKAGE_VERSION_MINOR @SR_PACKAGE_VERSION_MINOR@
32
33 /** The libsigrok package 'micro' version number. */
34 #define SR_PACKAGE_VERSION_MICRO @SR_PACKAGE_VERSION_MICRO@
35
36 /** The libsigrok package version ("major.minor.micro") as string. */
37 #define SR_PACKAGE_VERSION_STRING "@SR_PACKAGE_VERSION@"
38
39 /*
40  * Library/libtool version macros (can be used for conditional compilation).
41  */
42
43 /** The libsigrok libtool 'current' version number. */
44 #define SR_LIB_VERSION_CURRENT @SR_LIB_VERSION_CURRENT@
45
46 /** The libsigrok libtool 'revision' version number. */
47 #define SR_LIB_VERSION_REVISION @SR_LIB_VERSION_REVISION@
48
49 /** The libsigrok libtool 'age' version number. */
50 #define SR_LIB_VERSION_AGE @SR_LIB_VERSION_AGE@
51
52 /** The libsigrok libtool version ("current:revision:age") as string. */
53 #define SR_LIB_VERSION_STRING "@SR_LIB_VERSION@"
54
55 #endif
56