~n-muench/ubuntu/oneiric/open-vm-tools/open-vm-tools.fix-836277

« back to all changes in this revision

Viewing changes to lib/include/vm_product.h

  • Committer: Bazaar Package Importer
  • Author(s): Devid Antonio Filoni
  • Date: 2008-08-15 21:21:40 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080815212140-05fhxj8wroosysmj
Tags: 2008.08.08-109361-1ubuntu1
* Merge from Debian unstable (LP: #258393), remaining Ubuntu change:
  - add ubuntu_toolchain_FTBFS.dpatch patch, fix FTBFS
* Update ubuntu_toolchain_FTBFS.dpatch patch for the new version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
/*
60
60
 * Brief names are used when the VMware prefix is not wanted.
61
61
 */
62
 
#define PRODUCT_SCALABLE_SERVER_BRIEF_NAME "ESX Server"
 
62
#define PRODUCT_SCALABLE_SERVER_BRIEF_NAME "ESX"
63
63
#define PRODUCT_WGS_BRIEF_NAME "Server"
64
64
#define PRODUCT_GSX_BRIEF_NAME "GSX Server"
65
65
#define PRODUCT_WORKSTATION_BRIEF_NAME "Workstation"
96
96
#define PRODUCT_VMLS_SHORT_NAME "VMLS"
97
97
#define PRODUCT_VMLS_NAME MAKE_NAME("License Server")
98
98
 
99
 
#define PRODUCT_LICENSE_SHORT_NAME "LICENSE"
100
 
#define PRODUCT_LICENSE_NAME MAKE_NAME("License Infrastructure")
 
99
#define PRODUCT_VLICENSE_SHORT_NAME "VLICENSE"
 
100
#define PRODUCT_VLICENSE_NAME MAKE_NAME("License Infrastructure")
101
101
 
102
102
#define PRODUCT_P2V_SHORT_NAME "P2V"
103
103
#define PRODUCT_P2V_NAME MAKE_NAME("P2V Assistant")
134
134
 
135
135
// XXX VMvisor is the underlying technology for possibly several products,
136
136
// XXX not the product. Fix when names are decided.
137
 
#define PRODUCT_VMVISOR_NAME MAKE_NAME("VMvisor")
 
137
// #define PRODUCT_VMVISOR_NAME MAKE_NAME("VMvisor")
 
138
// XXX Only one product for now so just hardcode it.
 
139
#define PRODUCT_VMVISOR_NAME MAKE_NAME(PRODUCT_SCALABLE_SERVER_BRIEF_NAME "i")
138
140
 
139
141
/*
140
142
 * VMware Remote Console (VMRC) version definitions
229
231
      || defined(VMX86_SYSIMAGE) \
230
232
      || defined(VMX86_VCB)      \
231
233
      || defined(VMX86_VMLS)     \
232
 
      || defined(VMX86_LICENSE)  \
 
234
      || defined(VMX86_VLICENSE) \
233
235
      || defined(VMX86_P2V)      \
234
236
      || defined(VMX86_DDK))
235
237
#   if defined(_WIN32)
290
292
# define PRODUCT_SHORT_NAME PRODUCT_VCB_NAME
291
293
#elif defined(VMX86_VMLS)
292
294
# define PRODUCT_SHORT_NAME PRODUCT_VMLS_NAME
293
 
#elif defined(VMX86_LICENSE)
294
 
# define PRODUCT_SHORT_NAME PRODUCT_LICENSE_NAME
 
295
#elif defined(VMX86_VLICENSE)
 
296
# define PRODUCT_SHORT_NAME PRODUCT_VLICENSE_NAME
295
297
#elif defined(VMX86_DDK)
296
298
# define PRODUCT_SHORT_NAME PRODUCT_DDK_NAME
297
299
#endif
342
344
#      define PRODUCT_OS "Linux"
343
345
#   endif
344
346
 
 
347
/*
 
348
 * Note: changing PRODUCT_NAME_FOR_LICENSE and PRODUCT_LICENSE_VERSION
 
349
 * or macros it cleverly depends on (such as PRODUCT_NAME) requires a
 
350
 * coordinated dormant license file change. Otherwise licensing for
 
351
 * that product may break because the Licensecheck API is being passed
 
352
 * a parameter that no longer match the content of the dormant license
 
353
 * file.
 
354
 */
345
355
#   if defined(VMX86_SERVER)
346
 
#      define PRODUCT_NAME_FOR_LICENSE PRODUCT_NAME
 
356
#      define PRODUCT_NAME_FOR_LICENSE "VMware ESX Server"
347
357
#      define PRODUCT_SMP_NAME_FOR_LICENSE PRODUCT_ESX_SMP_NAME
348
358
#   elif defined(VMX86_DESKTOP)
349
359
#      define PRODUCT_NAME_FOR_LICENSE PRODUCT_NAME " for " PRODUCT_OS
490
500
#  define PRODUCT_NAME_PLATFORM         PRODUCT_NAME " for FreeBSD"
491
501
#elif defined(sun)
492
502
#  define PRODUCT_NAME_PLATFORM         PRODUCT_NAME " for Solaris"
 
503
#elif defined(__APPLE__)
 
504
#  define PRODUCT_NAME_PLATFORM         PRODUCT_NAME " for Mac OS X"
493
505
#else
494
506
#  ifdef VMX86_TOOLS
495
507
#    error "Define a product string for this platform."
502
514
 * Since there is no separate product defined for Ace Mgmt Server
503
515
 * (i.e. PRODUCT=xxx when running makefile), we can not used the
504
516
 * generic PRODUCT_NAME_STRING_FOR_LICENSE definition.
505
 
 * As a result, the specific ACE_MGMT_SERVER_PRODUCT_NAME_FOR_LICENSE 
 
517
 * As a result, the specific ACE_MGMT_SERVER_PRODUCT_NAME_FOR_LICENSE
506
518
 * is used instead.
507
 
 * A similar reason is used also for the PRODUCT_VERSION_STRING_FOR_LICENSE 
 
519
 * A similar reason is used also for the PRODUCT_VERSION_STRING_FOR_LICENSE
508
520
 * definition in the vm_version.h
509
521
 */
510
522