/usr/include/gmt/gmt_version.h is in libgmt-dev 5.4.3+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | /*
* $Id: gmt_version.h.in 19521 2017-12-27 22:38:24Z pwessel $
*
* Copyright (c) 1991-2018 by P. Wessel, W. H. F. Smith, R. Scharroo,
* F. Wobbe, and J. Luis
*
* See LICENSE.TXT file for copying and redistribution conditions.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; version 3 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 Lesser General Public License for more details.
*
* Contact info: gmt.soest.hawaii.edu
*/
#pragma once
#ifndef GMT_VERSION_H_
#define GMT_VERSION_H_
/* for manpages only */
#define MANDATE "03 January 2018"
#define GMT_MAJOR_VERSION 5
#define GMT_MINOR_VERSION 4
#define GMT_RELEASE_VERSION 3
#define GMT_VERSION_YEAR 2018
#define GMT_SOURCE_CODE_CONTROL_VERSION_STRING "19528"
#ifdef GMT_SOURCE_CODE_CONTROL_VERSION_STRING
# define GMT_STRING "5.4.3 (r19528)"
#else /* if HAVE_SVN_VERSION or if unversioned */
# define GMT_STRING "5.4.3"
#endif
#ifdef __x86_64__
# define GMT_VER_64 " [64-bit]"
#else
# if defined WIN32 && SIZEOF_VOID_P == 8
# define GMT_VER_64 " [64-bit]"
# else
# define GMT_VER_64 ""
# endif
#endif
#ifdef _OPENMP /* Open MP Parallelization is on */
# define GMT_MP " [MP]"
#else
# define GMT_MP ""
#endif
#ifndef GMT_MANPAGE
# define GMT_VERSION GMT_version()
#ifdef _WIN32
static _inline char *GMT_version () {
#else
static inline char *GMT_version () {
#endif
/* final string returned by GMT_version() */
static char version[] = GMT_STRING GMT_VER_64 GMT_MP;
return version;
}
#endif /* !GMT_MANPAGE */
#endif /* !GMT_VERSION_H_ */
/* vim: set ft=c: */
|