win-pvdrivers

changeset 668:cfee9cb572cc

rc version info
author James Harper <james.harper@bendigoit.com.au>
date Wed Sep 23 17:05:21 2009 +1000 (2009-09-23)
parents bcf3995665d3
children 0351906626c2
files xennet/xennet.rc xenscsi/xenscsi.rc xenvbd/xenvbd.rc
line diff
     1.1 --- a/xennet/xennet.rc	Wed Sep 23 17:04:43 2009 +1000
     1.2 +++ b/xennet/xennet.rc	Wed Sep 23 17:05:21 2009 +1000
     1.3 @@ -1,6 +1,6 @@
     1.4  #include <windows.h>
     1.5 -
     1.6  #include <ntverp.h>
     1.7 +#include "gplpv_version.h"
     1.8  
     1.9  #define VER_FILETYPE                VFT_DRV
    1.10  #define VER_FILESUBTYPE             VFT2_DRV_SYSTEM
    1.11 @@ -12,17 +12,6 @@
    1.12  #define VER_INTERNALNAME_STR        "xennet.sys"
    1.13  #define VER_ORIGINALFILENAME_STR    "xennet.sys"
    1.14  
    1.15 -#define EXPAND(x) STRINGIFY(x)
    1.16 -#define STRINGIFY(x) #x
    1.17 -
    1.18 -#ifdef BUILD_NUMBER
    1.19 -  #define VER_FILEVERSION             0,10,0,BUILD_NUMBER
    1.20 -  #define VER_FILEVERSION_STR         "GPLPV 0.10.0." EXPAND(BUILD_NUMBER)
    1.21 -#else
    1.22 -  #define VER_FILEVERSION             0,0,0,0
    1.23 -  #define VER_FILEVERSION_STR         "GPLPV Unversioned"
    1.24 -#endif
    1.25 -
    1.26  #undef VER_PRODUCTVERSION
    1.27  #define VER_PRODUCTVERSION          VER_FILEVERSION
    1.28  #undef VER_PRODUCTVERSION_STR
     2.1 --- a/xenscsi/xenscsi.rc	Wed Sep 23 17:04:43 2009 +1000
     2.2 +++ b/xenscsi/xenscsi.rc	Wed Sep 23 17:05:21 2009 +1000
     2.3 @@ -1,6 +1,6 @@
     2.4  #include <windows.h>
     2.5 -
     2.6  #include <ntverp.h>
     2.7 +#include "gplpv_version.h"
     2.8  
     2.9  #define VER_FILETYPE                VFT_DRV
    2.10  #define VER_FILESUBTYPE             VFT2_DRV_SYSTEM
    2.11 @@ -12,17 +12,6 @@
    2.12  #define VER_INTERNALNAME_STR        "xenscsi.sys"
    2.13  #define VER_ORIGINALFILENAME_STR    "xenscsi.sys"
    2.14  
    2.15 -#define EXPAND(x) STRINGIFY(x)
    2.16 -#define STRINGIFY(x) #x
    2.17 -
    2.18 -#ifdef BUILD_NUMBER
    2.19 -  #define VER_FILEVERSION             0,10,0,BUILD_NUMBER
    2.20 -  #define VER_FILEVERSION_STR         "GPLPV 0.10.0." EXPAND(BUILD_NUMBER)
    2.21 -#else
    2.22 -  #define VER_FILEVERSION             0,0,0,0
    2.23 -  #define VER_FILEVERSION_STR         "GPLPV Unversioned"
    2.24 -#endif
    2.25 -
    2.26  #undef VER_PRODUCTVERSION
    2.27  #define VER_PRODUCTVERSION          VER_FILEVERSION
    2.28  #undef VER_PRODUCTVERSION_STR
     3.1 --- a/xenvbd/xenvbd.rc	Wed Sep 23 17:04:43 2009 +1000
     3.2 +++ b/xenvbd/xenvbd.rc	Wed Sep 23 17:05:21 2009 +1000
     3.3 @@ -1,6 +1,6 @@
     3.4  #include <windows.h>
     3.5 -
     3.6  #include <ntverp.h>
     3.7 +#include "gplpv_version.h"
     3.8  
     3.9  #define VER_FILETYPE                VFT_DRV
    3.10  #define VER_FILESUBTYPE             VFT2_DRV_SYSTEM
    3.11 @@ -12,17 +12,6 @@
    3.12  #define VER_INTERNALNAME_STR        "xenvbd.sys"
    3.13  #define VER_ORIGINALFILENAME_STR    "xenvbd.sys"
    3.14  
    3.15 -#define EXPAND(x) STRINGIFY(x)
    3.16 -#define STRINGIFY(x) #x
    3.17 -
    3.18 -#ifdef BUILD_NUMBER
    3.19 -  #define VER_FILEVERSION             0,10,0,BUILD_NUMBER
    3.20 -  #define VER_FILEVERSION_STR         "GPLPV 0.10.0." EXPAND(BUILD_NUMBER)
    3.21 -#else
    3.22 -  #define VER_FILEVERSION             0,0,0,0
    3.23 -  #define VER_FILEVERSION_STR         "GPLPV Unversioned"
    3.24 -#endif
    3.25 -
    3.26  #undef VER_PRODUCTVERSION
    3.27  #define VER_PRODUCTVERSION          VER_FILEVERSION
    3.28  #undef VER_PRODUCTVERSION_STR