win-pvdrivers

view common/include/ejbpv_version.h @ 1099:27bd2a5a4704

License change from GPL to BSD
author James Harper <james.harper@bendigoit.com.au>
date Thu Mar 13 13:38:31 2014 +1100 (2014-03-13)
parents common/include/gplpv_version.h@04fc4aca982c
children
line source
1 /*
2 PV Drivers for Windows Xen HVM Domains
4 Copyright (c) 2014, James Harper
5 All rights reserved.
7 Redistribution and use in source and binary forms, with or without
8 modification, are permitted provided that the following conditions are met:
9 * Redistributions of source code must retain the above copyright
10 notice, this list of conditions and the following disclaimer.
11 * Redistributions in binary form must reproduce the above copyright
12 notice, this list of conditions and the following disclaimer in the
13 documentation and/or other materials provided with the distribution.
14 * Neither the name of James Harper nor the
15 names of its contributors may be used to endorse or promote products
16 derived from this software without specific prior written permission.
18 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21 DISCLAIMED. IN NO EVENT SHALL JAMES HARPER BE LIABLE FOR ANY
22 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */
30 #ifndef EJBPV_VERSION_H
31 #define EJBPV_VERSION_H
33 #define EXPAND(x) STRINGIFY(x)
34 #define STRINGIFY(x) #x
36 #define VER_FILETYPE VFT_DRV
37 #define VER_FILESUBTYPE VFT2_DRV_SYSTEM
38 #ifdef DEBUG
39 #define VER_FILEDESCRIPTION_STR EJBPV_DRIVER_DESCRIPTION
40 #else
41 #define VER_FILEDESCRIPTION_STR EJBPV_DRIVER_DESCRIPTION " (Checked Build)"
42 #endif
43 #define VER_INTERNALNAME_STR EJBPV_DRIVER_FILENAME
44 #define VER_ORIGINALFILENAME_STR EJBPV_DRIVER_FILENAME
46 #ifdef VERSION_MAJOR
47 #ifdef BUILD_NUMBER
48 #define VER_FILEVERSION VERSION_MAJOR,VERSION_MINOR,REVISION,BUILD_NUMBER
49 #define VER_FILEVERSION_STR "EJBPV " EXPAND(VERSION_MAJOR) "." EXPAND(VERSION_MINOR) "." EXPAND(REVISION) "." EXPAND(BUILD_NUMBER)
50 #else
51 #define VER_FILEVERSION VERSION_MAJOR,VERSION_MINOR,REVISION,0
52 #define VER_FILEVERSION_STR "EJBPV " EXPAND(VERSION_MAJOR) "." EXPAND(VERSION_MINOR) "." EXPAND(REVISION)
53 #endif
54 #else
55 #define VER_FILEVERSION 0,0,0,0
56 #define VER_FILEVERSION_STR "EJBPV Unversioned"
57 #endif
59 #undef VER_PRODUCTVERSION
60 #define VER_PRODUCTVERSION VER_FILEVERSION
61 #undef VER_PRODUCTVERSION_STR
62 #define VER_PRODUCTVERSION_STR VER_FILEVERSION_STR
63 #define VER_LEGALCOPYRIGHT_STR "Copyright (C) 2014 James Harper"
65 #ifdef VER_COMPANYNAME_STR
66 #undef VER_COMPANYNAME_STR
67 #define VER_COMPANYNAME_STR "James Harper"
68 #endif
69 #undef VER_PRODUCTNAME_STR
70 #define VER_PRODUCTNAME_STR "PV Drivers for Windows"
72 #endif