Commit da5b925c authored by ROOL's avatar ROOL :robot:
Browse files

* Added version number string (created from SrcCommit info) and version number...

* Added version number string (created from SrcCommit info) and version number method (remotedb_version).

 * VersionNum file also gets copied to Export directory, so it's easy to
   see what version you've got compiled.


Version 0.03. Tagged as 'remotedb-0_03'
parent 5e43d60b
......@@ -48,8 +48,8 @@ INETLIB = TCPIPLibs:o.inetlib
DEBUGLIB = <Lib$Dir>.debug
CFLAGS = -c -depend !Depend -Wap -zps0 ${INCLUDES} -fah -Fn ${DFLAGS}
CFLAGSZM = -c -depend !Depend -Wap -zps0 ${INCLUDES} -fah -Fn ${DFLAGS} -zM
CFLAGS = -c -depend !Depend -Wap -zps0 ${INCLUDES} ${THROWBACK} -fah -Fn ${DFLAGS}
CFLAGSZM = -c -depend !Depend -Wap -zps0 ${INCLUDES} ${THROWBACK} -fah -Fn ${DFLAGS} -zM
CPFLAGS = ~cfr~v
WFLAGS = ~c~v
......@@ -128,6 +128,7 @@ export_libs: ${COMPONENT} ${COMPONENTZM} ${LCOMPONENT} ${LCOMPONENTZM} local_dir
${CP} ${COMPONENTZM} ${DEBUGLIB}.o.${COMPONENTZM} ${CPFLAGS}
${CP} ${LCOMPONENT} ${DEBUGLIB}.o.${LCOMPONENT} ${CPFLAGS}
${CP} ${LCOMPONENTZM} ${DEBUGLIB}.o.${LCOMPONENTZM} ${CPFLAGS}
${CP} VersionNum ${DEBUGLIB}.VersionNum ${CPFLAGS}
#
......
/* (0.02)
/* (0.03)
*
* This file is automatically maintained by srccommit, do not edit manually.
*
*/
#define Module_MajorVersion_CMHG 0.02
#define Module_MajorVersion_CMHG 0.03
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 05 Nov 1998
#define Module_MajorVersion "0.02"
#define Module_Version 2
#define Module_MajorVersion "0.03"
#define Module_Version 3
#define Module_MinorVersion ""
#define Module_Date "05 Nov 1998"
......@@ -37,6 +37,12 @@
#define REMOTE_DEBUG
#include "remote.h"
#include "VersionNum"
/* Gives the version number an extra space if there's no minor version number
but I can't figure how to get the preprocessor to fix this */
static const char REMOTE_DEBUG_VERSION[] = Module_MajorVersion " " Module_MinorVersion;
#define REMOTE_DEBUG_MAX_LINE (10*1024)
static int poll=1;
......@@ -361,4 +367,8 @@ remote_debug_close(debug_session *sess)
}
const char *remotedb_version (void)
{
return REMOTE_DEBUG_VERSION;
}
......@@ -27,8 +27,6 @@
#include <stdarg.h>
#define REMOTE_DEBUG_VERSION "0.03"
#ifdef REMOTE_DEBUG
/*
......@@ -85,6 +83,8 @@ void remote_debug_close(debug_session *sess);
*/
int debug_poll(debug_session *sess);
const char *remotedb_version (void);
#else
#define remote_debug_open(x,y)
......@@ -92,6 +92,7 @@ int debug_poll(debug_session *sess);
#define debug_vprintf(s,f,l)
#define debug_print_line(s,d)
#define remote_debug_close(x)
#define remotedb_version()
#endif /* REMOTE_DEBUG */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment