- Updated years range in copyright note.
[reactos.git] / reactos / include / reactos / version.rc
1 /* $Id$
2 *
3 * Inspired by Wine file include/wine_common_ver.rc
4 * Copyright 2001 Dmitry Timoshkov
5 *
6 * Most version components are set to reasonable defaults here.
7 * If you're including this for a .DLL, #define REACTOS_VERSION_DLL before the #include.
8 * Other things to #define:
9 * REACTOS_STR_FILE_DESCRIPTION
10 * REACTOS_STR_INTERNAL_NAME
11 * REACTOS_STR_ORIGINAL_FILENAME
12 *
13 */
14
15 #include "winver.h"
16 #include "version.h"
17 #include "buildno.h"
18
19 /* Set defaults for everything, unless overridden */
20 #ifndef REACTOS_FILEVERSION
21 #ifdef REACTOS_VERSION_DLL
22 #define REACTOS_FILEVERSION REACTOS_DLL_VERSION_MAJOR,KERNEL_VERSION_MINOR,KERNEL_VERSION_PATCH_LEVEL,0
23 #else
24 #define REACTOS_FILEVERSION KERNEL_VERSION_MAJOR,KERNEL_VERSION_MINOR,KERNEL_VERSION_PATCH_LEVEL,0
25 #endif /* REACTOS_VERSION_DLL */
26 #endif /* REACTOS_FILEVERSION */
27
28 #ifndef REACTOS_PRODUCTVERSION
29 #define REACTOS_PRODUCTVERSION KERNEL_VERSION_MAJOR,KERNEL_VERSION_MINOR,KERNEL_VERSION_PATCH_LEVEL,0
30 #endif /* REACTOS_PRODUCTVERSION */
31
32 #ifndef REACTOS_FILEFLAGSMASK
33 #define REACTOS_FILEFLAGSMASK 0x3fL
34 #endif /* REACTOS_FILEFLAGSMASK */
35
36 #ifndef REACTOS_FILEFLAGS
37 #ifdef _DEBUG
38 #define REACTOS_FILEFLAGS VS_FF_DEBUG
39 #else
40 #define REACTOS_FILEFLAGS 0x0L
41 #endif /* _DEBUG */
42 #endif /* REACTOS_FILEFLAGS */
43
44 #ifndef REACTOS_FILEOS
45 #define REACTOS_FILEOS VOS_NT_WINDOWS32
46 #endif /* REACTOS_FILEOS */
47
48 #ifndef REACTOS_FILETYPE
49 #ifdef REACTOS_VERSION_DLL
50 #define REACTOS_FILETYPE VFT_DLL
51 #else
52 #define REACTOS_FILETYPE VFT_APP
53 #endif /* REACTOS_VERSION_DLL */
54 #endif /* REACTOS_FILETYPE */
55
56 #ifndef REACTOS_FILESUBTYPE
57 #define REACTOS_FILESUBTYPE VFT2_UNKNOWN
58 #endif /* REACTOS_FILESUBTYPE */
59
60 #ifndef REACTOS_STR_COMPANY_NAME
61 #define REACTOS_STR_COMPANY_NAME "ReactOS Development Team\0"
62 #endif /* REACTOS_STR_COMPANY_NAME */
63
64 #ifndef REACTOS_STR_FILE_DESCRIPTION
65 #define REACTOS_STR_FILE_DESCRIPTION "ReactOS core dll\0"
66 #endif /* REACTOS_STR_FILE_DESCRIPTION */
67
68 #ifndef REACTOS_STR_FILE_VERSION
69 #ifdef REACTOS_VERSION_DLL
70 #define REACTOS_STR_FILE_VERSION REACTOS_DLL_VERSION_RC
71 #else
72 #define REACTOS_STR_FILE_VERSION KERNEL_VERSION_RC
73 #endif /* REACTOS_VERSION_DLL */
74 #endif /* REACTOS_STR_FILE_VERSION */
75
76 #ifndef REACTOS_STR_INTERNAL_NAME
77 #define REACTOS_STR_INTERNAL_NAME "\0"
78 #endif /* REACTOS_STR_INTERNAL_NAME */
79
80 #ifndef REACTOS_STR_LEGAL_COPYRIGHT
81 #define REACTOS_STR_LEGAL_COPYRIGHT "Copyright 1998-2005 ReactOS Team\0"
82 #endif /* REACTOS_STR_LEGAL_COPYRIGHT */
83
84 #ifndef REACTOS_STR_ORIGINAL_FILENAME
85 #define REACTOS_STR_ORIGINAL_FILENAME "\0"
86 #endif /* REACTOS_STR_ORIGINAL_FILENAME */
87
88 #ifndef REACTOS_STR_PRODUCT_NAME
89 #define REACTOS_STR_PRODUCT_NAME "ReactOS Operating System\0"
90 #endif /* REACTOS_STR_PRODUCT_NAME */
91
92 #ifndef REACTOS_STR_PRODUCT_VERSION
93 #define REACTOS_STR_PRODUCT_VERSION KERNEL_VERSION_RC
94 #endif /* REACTOS_STR_PRODUCT_VERSION */
95
96 /* The version resource itself */
97 VS_VERSION_INFO VERSIONINFO
98 FILEVERSION REACTOS_FILEVERSION
99 PRODUCTVERSION REACTOS_PRODUCTVERSION
100 FILEFLAGSMASK REACTOS_FILEFLAGSMASK
101 FILEFLAGS REACTOS_FILEFLAGS
102 FILEOS REACTOS_FILEOS
103 FILETYPE REACTOS_FILETYPE
104 FILESUBTYPE REACTOS_FILESUBTYPE
105 BEGIN
106 BLOCK "StringFileInfo"
107 BEGIN
108 BLOCK "040904b0"
109 BEGIN
110 VALUE "CompanyName", REACTOS_STR_COMPANY_NAME
111 VALUE "FileDescription", REACTOS_STR_FILE_DESCRIPTION
112 VALUE "FileVersion", REACTOS_STR_FILE_VERSION
113 VALUE "InternalName", REACTOS_STR_INTERNAL_NAME
114 #ifdef REACTOS_ORIGINAL_COPYRIGHT
115 VALUE "OriginalCopyright", REACTOS_STR_ORIGINAL_COPYRIGHT
116 #endif /* REACTOS_ORIGINAL_COPYRIGHT */
117 VALUE "LegalCopyright", REACTOS_STR_LEGAL_COPYRIGHT
118 VALUE "OriginalFilename", REACTOS_STR_ORIGINAL_FILENAME
119 VALUE "ProductName", REACTOS_STR_PRODUCT_NAME
120 VALUE "ProductVersion", REACTOS_STR_PRODUCT_VERSION
121 #ifdef REACTOS_OLESELFREGISTER
122 VALUE "OLESelfRegister", ""
123 #endif /* REACTOS_OLESELFREGISTER */
124 END
125 END
126 BLOCK "VarFileInfo"
127 BEGIN
128 VALUE "Translation", 0x409, 1200
129 END
130 END