3 * LICENSE: GPL - See COPYING in the top level directory
\r
4 * FILE: include/psdk/common.ver
\r
5 * PURPOSE: Common Version File.
\r
6 * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
\r
12 #ifndef VER_LEGALCOPYRIGHT_YEARS
\r
13 #define VER_LEGALCOPYRIGHT_YEARS "2007"
\r
19 #ifndef VER_LEGALCOPYRIGHT_STR
\r
20 #if defined(RC_INVOKED) && !defined(WIN16)
\r
21 #define VER_LEGALCOPYRIGHT_STR L"\251 ReactOS Foundation. All rights reserved."
\r
23 #define VER_LEGALCOPYRIGHT_STR "Copyright (c) ReactOS Foundation. All rights reserved."
\r
28 // Product Name String
\r
30 #ifndef VER_PRODUCTNAME_STR
\r
32 #define VER_PRODUCTNAME_STR L"ReactOS\256 Operating System"
\r
34 #define VER_PRODUCTNAME_STR "ReactOS (R) Operating System"
\r
39 // The File Version is the same as the Product Version
\r
41 #ifndef VER_FILEVERSION
\r
42 #define VER_FILEVERSION VER_PRODUCTVERSION
\r
44 #ifndef VER_FILEVERSION_STR
\r
45 #define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
\r
49 // If no Original Name was given, use the Internal NAme
\r
51 #ifndef VER_ORIGINALFILENAME_STR
\r
52 #define VER_ORIGINALFILENAME_STR VER_INTERNALNAME_STR
\r
56 // Allow tagging a Build by Machine/Date
\r
58 #if defined(__BUILDMACHINE__)
\r
59 #if defined(__BUILDDATE__)
\r
60 #define B2(x,y) " (" #x "." #y ")"
\r
61 #define B1(x,y) B2(x, y)
\r
62 #define BUILD_MACHINE_TAG B1(__BUILDMACHINE__, __BUILDDATE__)
\r
64 #define B2(x) " built by: " #x
\r
66 #define BUILD_MACHINE_TAG B1(__BUILDMACHINE__)
\r
68 #if defined(__BUILDMACHINE_LEN__)
\r
69 #if __BUILDMACHINE_LEN__ >= 25
\r
70 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG
\r
71 #elif __BUILDMACHINE_LEN__ == 24
\r
72 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
73 #elif __BUILDMACHINE_LEN__ == 23
\r
74 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
75 #elif __BUILDMACHINE_LEN__ == 22
\r
76 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
77 #elif __BUILDMACHINE_LEN__ == 21
\r
78 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
79 #elif __BUILDMACHINE_LEN__ == 20
\r
80 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
81 #elif __BUILDMACHINE_LEN__ == 19
\r
82 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
83 #elif __BUILDMACHINE_LEN__ == 18
\r
84 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
85 #elif __BUILDMACHINE_LEN__ == 17
\r
86 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
87 #elif __BUILDMACHINE_LEN__ == 16
\r
88 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
89 #elif __BUILDMACHINE_LEN__ == 15
\r
90 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
91 #elif __BUILDMACHINE_LEN__ == 14
\r
92 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
93 #elif __BUILDMACHINE_LEN__ == 13
\r
94 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
95 #elif __BUILDMACHINE_LEN__ == 12
\r
96 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
97 #elif __BUILDMACHINE_LEN__ == 11
\r
98 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
99 #elif __BUILDMACHINE_LEN__ == 10
\r
100 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
101 #elif __BUILDMACHINE_LEN__ == 9
\r
102 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
103 #elif __BUILDMACHINE_LEN__ == 8
\r
104 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
105 #elif __BUILDMACHINE_LEN__ == 7
\r
106 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
107 #elif __BUILDMACHINE_LEN__ == 6
\r
108 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
109 #elif __BUILDMACHINE_LEN__ == 5
\r
110 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
111 #elif __BUILDMACHINE_LEN__ == 4
\r
112 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
113 #elif __BUILDMACHINE_LEN__ == 3
\r
114 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
115 #elif __BUILDMACHINE_LEN__ == 2
\r
116 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
117 #elif __BUILDMACHINE_LEN__ == 1
\r
118 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG " "
\r
120 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG
\r
123 #define BUILD_MACHINE_TAG_PADDED BUILD_MACHINE_TAG
\r
126 #define BUILD_MACHINE_TAG
\r
127 #define BUILD_MACHINE_TAG_PADDED
\r
131 // Set default neutral Unicode Language ID
\r
133 #ifndef VER_VERSION_UNICODE_LANG
\r
134 #define VER_VERSION_UNICODE_LANG "000004B0"
\r
138 // Set default netural ANSI Language ID
\r
140 #ifndef VER_VERSION_ANSI_LANG
\r
141 #define VER_VERSION_ANSI_LANG "000004E4"
\r
145 // Set default netural translation ID
\r
147 #ifndef VER_VERSION_TRANSLATION
\r
148 #define VER_VERSION_TRANSLATION 0x0000, 0x04B0
\r
152 // Make sure the Resource Compiler called us.
\r
153 // If so, then build the actual version resource.
\r
157 VS_VERSION_INFO VERSIONINFO
\r
158 FILEVERSION VER_FILEVERSION
\r
159 PRODUCTVERSION VER_PRODUCTVERSION
\r
160 FILEFLAGSMASK VER_FILEFLAGSMASK
\r
161 FILEFLAGS VER_FILEFLAGS
\r
163 FILETYPE VER_FILETYPE
\r
164 FILESUBTYPE VER_FILESUBTYPE
\r
166 BLOCK "StringFileInfo"
\r
168 BLOCK VER_VERSION_UNICODE_LANG
\r
170 VALUE "CompanyName", VER_COMPANYNAME_STR
\r
171 VALUE "FileDescription", VER_FILEDESCRIPTION_STR
\r
172 VALUE "FileVersion", VER_FILEVERSION_STR BUILD_MACHINE_TAG_PADDED
\r
173 VALUE "InternalName", VER_INTERNALNAME_STR
\r
174 VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
\r
175 VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR
\r
176 VALUE "ProductName", VER_PRODUCTNAME_STR
\r
177 VALUE "ProductVersion", VER_PRODUCTVERSION_STR
\r
178 #ifdef VER_OLESELFREGISTER
\r
179 VALUE "OleSelfRegister", "\0"
\r
184 BLOCK VER_VERSION_ANSI_LANG
\r
186 VALUE "CompanyName", VER_COMPANYNAME_STR
\r
187 VALUE "FileDescription", VER_FILEDESCRIPTION_STR EXPORT_TAG
\r
188 VALUE "FileVersion", VER_FILEVERSION_STR
\r
189 VALUE "InternalName", VER_INTERNALNAME_STR
\r
190 VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
\r
191 VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR
\r
192 VALUE "ProductName", VER_PRODUCTNAME_STR
\r
193 VALUE "ProductVersion", VER_PRODUCTVERSION_STR
\r
194 #ifdef VER_OLESELFREGISTER
\r
195 VALUE "OleSelfRegister", "\0"
\r
201 BLOCK "VarFileInfo"
\r
203 VALUE "Translation", VER_VERSION_TRANSLATION
\r