blob: d0440913cb9ca6cfa616422dac582c26c47d1841 [file] [log] [blame]
Bert Vermeulen45c59c82012-07-05 00:55:07 +02001/*
Uwe Hermann50985c22013-04-23 22:24:30 +02002 * This file is part of the libsigrok project.
Bert Vermeulen45c59c82012-07-05 00:55:07 +02003 *
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
Uwe Hermannc27e5f12013-04-06 19:25:03 +020023/**
24 * @file
25 *
26 * Version number definitions and macros.
27 */
28
29/**
30 * @ingroup grp_versions
31 *
32 * @{
33 */
34
Bert Vermeulen45c59c82012-07-05 00:55:07 +020035/*
36 * Package version macros (can be used for conditional compilation).
37 */
38
39/** The libsigrok package 'major' version number. */
40#define SR_PACKAGE_VERSION_MAJOR @SR_PACKAGE_VERSION_MAJOR@
41
42/** The libsigrok package 'minor' version number. */
43#define SR_PACKAGE_VERSION_MINOR @SR_PACKAGE_VERSION_MINOR@
44
45/** The libsigrok package 'micro' version number. */
46#define SR_PACKAGE_VERSION_MICRO @SR_PACKAGE_VERSION_MICRO@
47
48/** The libsigrok package version ("major.minor.micro") as string. */
49#define SR_PACKAGE_VERSION_STRING "@SR_PACKAGE_VERSION@"
50
51/*
52 * Library/libtool version macros (can be used for conditional compilation).
53 */
54
55/** The libsigrok libtool 'current' version number. */
56#define SR_LIB_VERSION_CURRENT @SR_LIB_VERSION_CURRENT@
57
58/** The libsigrok libtool 'revision' version number. */
59#define SR_LIB_VERSION_REVISION @SR_LIB_VERSION_REVISION@
60
61/** The libsigrok libtool 'age' version number. */
62#define SR_LIB_VERSION_AGE @SR_LIB_VERSION_AGE@
63
64/** The libsigrok libtool version ("current:revision:age") as string. */
65#define SR_LIB_VERSION_STRING "@SR_LIB_VERSION@"
66
Uwe Hermannc27e5f12013-04-06 19:25:03 +020067/** @} */
Bert Vermeulen45c59c82012-07-05 00:55:07 +020068
Uwe Hermannc27e5f12013-04-06 19:25:03 +020069#endif