84
84
#define ENCODE_DATE(year, month, day) ((year) * ((DATE_MONTH_MAX + 1) * (DATE_DAY_MAX + 1)) + (month) * (DATE_DAY_MAX + 1) + (day))
85
85
#if !defined(VMX86_DEVEL) && defined(BUILD_EXPIRE)
86
86
# if defined(VMX86_SERVER)
87
# define HARD_EXPIRE ENCODE_DATE(2008, 07, 31)
87
# define HARD_EXPIRE ENCODE_DATE(2009, 1, 31)
88
88
# elif defined(VMX86_WGS)
89
# define HARD_EXPIRE ENCODE_DATE(2008, 07, 31)
89
# define HARD_EXPIRE ENCODE_DATE(2009, 1, 31)
90
90
# elif defined(VMX86_DESKTOP)
91
# define HARD_EXPIRE ENCODE_DATE(2008, 07, 31)
91
# define HARD_EXPIRE ENCODE_DATE(2009, 1, 31)
92
92
# elif defined(VMX86_P2V)
93
# define HARD_EXPIRE ENCODE_DATE(2008, 07, 31)
93
# define HARD_EXPIRE ENCODE_DATE(2009, 1, 31)
94
94
# elif defined(VMX86_V2V)
95
# define HARD_EXPIRE ENCODE_DATE(2008, 07, 31)
95
# define HARD_EXPIRE ENCODE_DATE(2009, 1, 31)
96
96
# elif defined(VMX86_SYSIMAGE)
97
# define HARD_EXPIRE ENCODE_DATE(2008, 07, 31)
97
# define HARD_EXPIRE ENCODE_DATE(2009, 1, 31)
98
98
# elif defined(VMX86_VCB)
99
# define HARD_EXPIRE ENCODE_DATE(2008, 07, 31)
99
# define HARD_EXPIRE ENCODE_DATE(2009, 1, 31)
100
100
# elif defined(VMX86_VPX)
101
# define HARD_EXPIRE ENCODE_DATE(2008, 07, 31)
101
# define HARD_EXPIRE ENCODE_DATE(2009, 1, 31)
102
102
# elif defined(VMX86_WBC)
103
# define HARD_EXPIRE ENCODE_DATE(2008, 07, 31)
103
# define HARD_EXPIRE ENCODE_DATE(2009, 1, 31)
104
104
# elif defined(VMX86_SDK)
105
# define HARD_EXPIRE ENCODE_DATE(2008, 07, 31)
105
# define HARD_EXPIRE ENCODE_DATE(2009, 1, 31)
161
161
* Manage version numbers for each product here.
163
* NOTE: BE AWARE that Makefiles and build scripts depend
163
* NOTE: BE AWARE that Scons/Makefiles and build scripts depend
164
164
* on these defines.
166
* In particular, only the first quoted token after the
167
* macro name will be used for the macro value by the build
168
* system. Also, if VERSION_MAJOR, VERSION_MINOR, and
169
* VERSION_MAINT macros are defined, they override the
170
* VERSION macro in the build system.
177
183
* - A change that deprecates or obsoletes any existing interfaces
178
184
* requires a major version bump.
180
#define API_SCRIPTING_VERSION "e.x.p"
186
#define API_SCRIPTING_VERSION "4.1.0"
187
#define API_VMDB_VERSION "4.1.0"
182
#define API_VMDB_VERSION "e.x.p"
183
#define ESX_VERSION "e.x.p"
190
* When updating the ESX_VERSION* and ESX_RELEASE* macros, you will also
193
* > bora/install/server/weasel/packages.xml
194
* > bora/support/gobuild/targets/server.py
195
* > console-os26/SOURCES/kernel-2.6.spec
197
* Rules for updating the ESX_RELEASE_* macros:
199
* Set UPDATE to 0 for all experimental/prerelease/and initial major and minor
200
* releases. Increment update for each update release.
202
* Set PATCH to 0 for all experimental builds. Increment it for each build
203
* that will be delivered externally.
205
* THEORETICAL EXAMPLES:
207
* 4.0.0-0.0: experimental version
214
* 4.0.0-1.7: update 1
217
#define ESX_VERSION_MAJOR "4"
218
#define ESX_VERSION_MINOR "1"
219
#define ESX_VERSION_MAINT "0"
220
#define ESX_VERSION ESX_VERSION_MAJOR "." ESX_VERSION_MINOR "." \
222
#define ESX_VERSION_THIRD_PARTY ESX_VERSION_MAJOR ESX_VERSION_MINOR \
224
#define ESX_RELEASE_UPDATE "0" /* 0 = Pre-release/GA, 1 = Update 1 */
225
#define ESX_RELEASE_PATCH "0" /* 0 = experimental */
226
#define ESX_RELEASE ESX_RELEASE_UPDATE "." ESX_RELEASE_PATCH
184
227
#define GSX_VERSION "e.x.p"
185
228
#define VMSERVER_VERSION "e.x.p"
186
229
#define WORKSTATION_VERSION "e.x.p"
187
230
#define WORKSTATION_ENTERPRISE_VERSION "e.x.p"
188
231
#define ACE_MANAGEMENT_SERVER_VERSION "e.x.p"
189
#define MUI_VERSION "e.x.p"
190
#define CONSOLE_VERSION "e.x.p"
232
#define MUI_VERSION "4.1.0"
233
#define CONSOLE_VERSION "4.1.0"
191
234
#define P2V_VERSION "e.x.p"
192
235
#define P2V_FILE_VERSION 3,0,0,0
193
236
#define PLAYER_VERSION "e.x.p"
202
245
#define VCB_FILE_VERSION 4,0,0,0
203
246
#define VPX_VERSION "e.x.p"
204
247
#define WBC_VERSION "e.x.p"
205
#define SDK_VERSION "e.x.p"
248
#define SDK_VERSION "4.1.0"
206
249
#define FOUNDRY_VERSION "e.x.p"
207
#define FOUNDRY_FILE_VERSION 1,5,0,PRODUCT_BUILD_NUMBER_NUMERIC
250
#define FOUNDRY_FILE_VERSION 1,6,2,PRODUCT_BUILD_NUMBER_NUMERIC
208
251
#define VMLS_VERSION "e.x.p"
209
252
#define VLICENSE_VERSION "e.x.p"
210
253
#define DDK_VERSION "e.x.p"