Changeset 55789 in vbox
- Timestamp:
- May 9, 2015 11:19:51 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r55788 r55789 2970 2970 2971 2971 ## 2972 # Macro for setting DLL/SO/DYLIB version information and description. 2973 # 2974 # The macro must be invoked using evalcall2 after the whole target has 2975 # been declared. 2972 # Internal macro. 2976 2973 # 2977 2974 # @param 1 The target name. 2978 2975 # @param 2 The description 2979 2976 # @param 3 Optional icon file. 2980 # @param 4 Optional file name. Uses $1 + default suffix by default. 2981 define VBOX_SET_VER_INFO_DLL 2977 # @param 4 The template base name. 2978 # @param 5 Additional RC options. 2979 # 2980 # @remarks ASSUMES RCFLAGS isn't a simple variable (var := value). 2981 define VBOX_SET_VER_INFO_INTERNAL 2982 2982 ifeq ($(KBUILD_TARGET),win) 2983 $(1)_SOURCES.win += $(PATH_ROOT)/src/VBox/Resources/win/TemplateDll.rc 2984 $(1)_RCFLAGS += /nologo /dIN_FILE_BASENAME="\"$(1)\"" /dIN_FILE_DESCRIPTION="\"$(2)\"" \ 2985 $(if $(3), /dIN_ICON_FILE="\"$(subst \\,/,$(strip $(3)))\"") $(if $(4), /dIN_FILE_NAME="\"$(4)\"") 2983 $(1)_SOURCES.win += $(PATH_ROOT)/src/VBox/Resources/win/$(4) 2984 $(1)_RCFLAGS += /nologo /dIN_INTERNAL_NAME="\"$(1)\"" /dIN_FILE_DESCRIPTION="\"$(2)\"" \ 2985 /dIN_ORIGINAL_NAME="\"$$(notdir $$($(1)_1_INST_TARGET))\"" \ 2986 $(if $(3), /dIN_ICON_FILE="\"$(subst \\,/,$(strip $(3)))\"") $(5) 2987 $$$$($(1)_0_OUTDIR)/src/VBox/Resources/win/$(basename $(4)).res: \ 2988 $(PATH_ROOT)/include/VBox/version.h $$$$(VBOX_VERSION_HEADER) 2986 2989 endif 2987 2990 endef 2988 2991 2989 2992 ## 2990 # Macro for setting EXEversion information and description.2993 # Macro for setting DLL/SO/DYLIB version information and description. 2991 2994 # 2992 2995 # The macro must be invoked using evalcall2 after the whole target has … … 2996 2999 # @param 2 The description 2997 3000 # @param 3 Optional icon file. 2998 # @param 4 Optional file name. Uses $1 + default suffix by default. 2999 define VBOX_SET_VER_INFO_EXE 3000 ifeq ($(KBUILD_TARGET),win) 3001 $(1)_SOURCES.win += $(PATH_ROOT)/src/VBox/Resources/win/TemplateExe.rc 3002 $(1)_RCFLAGS += /nologo /dIN_FILE_BASENAME="\"$(1)\"" /dIN_FILE_DESCRIPTION="\"$(2)\"" \ 3003 $(if $(3), /dIN_ICON_FILE="\"$(subst \\,/,$(strip $(3)))\"") $(if $(4), /dIN_FILE_NAME="\"$(4)\"") 3004 endif 3005 endef 3001 VBOX_SET_VER_INFO_DLL = $(evalcall2 VBOX_SET_VER_INFO_INTERNAL,$1,$2,$3,TemplateDll.rc,) 3006 3002 3007 3003 ## 3008 # Macro for setting driver version information and description. 3009 # 3010 # The macro must be invoked using evalcall2 after the whole target has 3011 # been declared. 3004 # Macro for setting EXE version information and description. 3005 # 3006 # The macro must be invoked using call after the whole target has been declared. 3012 3007 # 3013 3008 # @param 1 The target name. 3014 3009 # @param 2 The description 3015 3010 # @param 3 Optional icon file. 3016 # @param 4 Optional file name. Uses $1 + default suffix by default. 3017 # @param 5 Optional VFT2_DRV_xxx define for windows. Uses VFT2_UNKNOWN by default. 3018 define VBOX_SET_VER_INFO_DRV 3019 ifeq ($(KBUILD_TARGET),win) 3020 $(1)_SOURCES.win += $(PATH_ROOT)/src/VBox/Resources/win/TemplateDrv.rc 3021 $(1)_RCFLAGS += /nologo /dIN_FILE_BASENAME="\"$(1)\"" /dIN_FILE_DESCRIPTION="\"$(2)\"" \ 3022 $(if $(3), /dIN_ICON_FILE="\"$(subst \\,/,$(strip $(3)))\"") $(if $(4), /dIN_FILE_NAME="\"$(4)\"") 3023 $(if $(5), /dIN_FILE_SUBTYPE=$(5)) 3024 endif 3025 endef 3011 VBOX_SET_VER_INFO_EXE = $(evalcall2 VBOX_SET_VER_INFO_INTERNAL,$1,$2,$3,TemplateExe.rc,) 3026 3012 3027 3013 ## 3028 # Macro for setting the version information and description for a ring-0 module. 3029 # 3030 # The macro must be invoked using evalcall2 after the whole target has 3031 # been declared. 3014 # Macro for setting driver version information and description. 3015 # 3016 # The macro must be invoked using call after the whole target has been declared. 3032 3017 # 3033 3018 # @param 1 The target name. 3034 3019 # @param 2 The description 3035 3020 # @param 3 Optional icon file. 3036 # @param 4 Optional file name. Uses $1 + default suffix by default. 3037 define VBOX_SET_VER_INFO_R0 3038 ifeq ($(KBUILD_TARGET),win) 3039 $(1)_SOURCES.win += $(PATH_ROOT)/src/VBox/Resources/win/TemplateR0.rc 3040 $(1)_RCFLAGS += /nologo /dIN_FILE_BASENAME="\"$(1)\"" /dIN_FILE_DESCRIPTION="\"$(2)\"" \ 3041 $(if $(3), /dIN_ICON_FILE="\"$(subst \\,/,$(strip $(3)))\"") $(if $(4), /dIN_FILE_NAME="\"$(4)\"") 3042 endif 3043 endef 3021 # @param 4 Optional VFT2_DRV_xxx define for windows. Uses VFT2_UNKNOWN by default. 3022 VBOX_SET_VER_INFO_DRV = $(evalcall2 VBOX_SET_VER_INFO_INTERNAL,$1,$2,$3,TemplateDrv.rc,$(if $(4), /dIN_FILE_SUBTYPE=$(4))) 3044 3023 3045 3024 ## 3046 # Macro for setting the version information and description for a raw-mode context module. 3047 # 3048 # The macro must be invoked using evalcall2 after the whole target has 3049 # been declared. 3025 # Macro for setting the version information and description for a ring-0 module. 3026 # 3027 # The macro must be invoked using call after the whole target has been declared. 3050 3028 # 3051 3029 # @param 1 The target name. 3052 3030 # @param 2 The description 3053 3031 # @param 3 Optional icon file. 3054 # @param 4 Optional file name. Uses $1 + default suffix by default. 3055 define VBOX_SET_VER_INFO_RC 3056 ifeq ($(KBUILD_TARGET),win) 3057 $(1)_SOURCES.win += $(PATH_ROOT)/src/VBox/Resources/win/TemplateR0.rc 3058 $(1)_RCFLAGS += /nologo /dIN_FILE_BASENAME="\"$(1)\"" /dIN_FILE_DESCRIPTION="\"$(2)\"" \ 3059 $(if $(3), /dIN_ICON_FILE="\"$(subst \\,/,$(strip $(3)))\"") $(if $(4), /dIN_FILE_NAME="\"$(4)\"") 3060 endif 3061 endef 3032 VBOX_SET_VER_INFO_R0 = $(evalcall2 VBOX_SET_VER_INFO_INTERNAL,$1,$2,$3,TemplateR0.rc,) 3033 3034 ## 3035 # Macro for setting the version information and description for a raw-mode context module. 3036 # 3037 # The macro must be invoked using call after the whole target has been declared. 3038 # 3039 # @param 1 The target name. 3040 # @param 2 The description 3041 # @param 3 Optional icon file. 3042 VBOX_SET_VER_INFO_RC = $(evalcall2 VBOX_SET_VER_INFO_INTERNAL,$1,$2,$3,TemplateRc.rc,) 3062 3043 3063 3044 … … 4991 4972 TEMPLATE_VBoxR3ExtPackPuel_EXTENDS = VBoxR3ExtPack 4992 4973 TEMPLATE_VBoxR3ExtPackPuel_INST = $(INST_EXTPACK_PUEL)$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/ 4974 TEMPLATE_VBoxR3ExtPackPuel_DEFS = $(TEMPLATE_VBoxR3ExtPack_DEFS) VBOX_IN_PUEL_EXTPACK 4993 4975 4994 4976 TEMPLATE_VBoxR0ExtPackPuel = For the ring-0 context modules in the PUEL extension pack. 4995 4977 TEMPLATE_VBoxR0ExtPackPuel_EXTENDS = VBoxR0ExtPack 4996 4978 TEMPLATE_VBoxR0ExtPackPuel_INST = $(INST_EXTPACK_PUEL)$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/ 4979 TEMPLATE_VBoxR0ExtPackPuel_DEFS = $(TEMPLATE_VBoxR0ExtPack_DEFS) VBOX_IN_PUEL_EXTPACK 4997 4980 4998 4981 TEMPLATE_VBoxRcExtPackPuel = For the raw-mode context modules in the PUEL extension pack. 4999 4982 TEMPLATE_VBoxRcExtPackPuel_EXTENDS = VBoxRcExtPack 5000 4983 TEMPLATE_VBoxRcExtPackPuel_INST = $(INST_EXTPACK_PUEL)$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/ 4984 TEMPLATE_VBoxRcExtPackPuel_DEFS = $(TEMPLATE_VBoxRcExtPack_DEFS) VBOX_IN_PUEL_EXTPACK 5001 4985 5002 4986 TEMPLATE_VBoxInsExtPackPuel = For the install targets of an extension pack. -
trunk/include/VBox/version.h
r55785 r55789 100 100 #define VBOX_RC_COMPANY_NAME VBOX_VENDOR 101 101 #define VBOX_RC_LEGAL_COPYRIGHT "Copyright (C) 2009-" VBOX_C_YEAR " Oracle Corporation\0" 102 #define VBOX_RC_PRODUCT_NAME_STR VBOX_PRODUCT "\0" 103 #define VBOX_RC_PRODUCT_NAME_GA_STR VBOX_PRODUCT " Guest Additions\0" 102 #define VBOX_RC_PRODUCT_NAME VBOX_PRODUCT 103 #define VBOX_RC_PRODUCT_NAME_GA VBOX_PRODUCT " Guest Additions" 104 #define VBOX_RC_PRODUCT_NAME_PUEL_EXTPACK VBOX_PRODUCT " Extension Pack" 105 #define VBOX_RC_PRODUCT_NAME_STR VBOX_RC_PRODUCT_NAME "\0" 106 #define VBOX_RC_PRODUCT_NAME_GA_STR VBOX_RC_PRODUCT_NAME_GA "\0" 107 #define VBOX_RC_PRODUCT_NAME_PUEL_EXTPACK_STR VBOX_RC_PRODUCT_NAME_PUEL_EXTPACK "\0" 104 108 #define VBOX_RC_PRODUCT_VERSION VBOX_VERSION_MAJOR , VBOX_VERSION_MINOR , VBOX_VERSION_BUILD , VBOX_SVN_REV_MOD_5K 105 109 #define VBOX_RC_FILE_VERSION VBOX_VERSION_MAJOR , VBOX_VERSION_MINOR , VBOX_VERSION_BUILD , VBOX_SVN_REV_MOD_5K … … 116 120 #define VBOX_RC_TYPE_DRV VFT_DRV 117 121 /* Flags and extra strings depending on the build type and who's building. */ 118 #if defined(DEBUG) || defined( VBOX_WITH_STATISTICS) || defined(LOG_ENABLED)122 #if defined(DEBUG) || defined(LOG_ENABLED) || defined(RT_STRICT) || defined(VBOX_STRICT) || defined(VBOX_WITH_STATISTICS) 119 123 # define VBOX_RC_FILE_FLAGS_DEBUG VS_FF_DEBUG 120 124 #else -
trunk/src/VBox/Frontends/VBoxSDL/Makefile.kmk
r55788 r55789 20 20 if !defined(VBOX_WITH_HARDENING) || "$(KBUILD_TARGET)" != "darwin" # No hardened VBoxSDL on darwin. 21 21 22 # 23 # Targets. 24 # 22 25 23 ifdef VBOX_WITH_HARDENING 24 # 25 # Hardened VBoxSDL 26 # 26 27 PROGRAMS += VBoxSDLHardened 27 DLLS += VBoxSDL 28 else 29 PROGRAMS += VBoxSDL 28 VBoxSDLHardened_TEMPLATE = VBOXR3HARDENEDEXE 29 VBoxSDLHardened_SOURCES = VBoxSDLHardened.cpp 30 VBoxSDLHardened_NAME = VBoxSDL 31 $(call VBOX_SET_VER_INFO_EXE,VBoxSDLHardened,VirtualBox Pure SDL Frontend,$(VBOX_WINDOWS_ICON_FILE)) # Version info / description. 30 32 endif 31 PROGRAMS += tstSDL32 33 34 #35 # Hardened VBoxSDL36 #37 VBoxSDLHardened_TEMPLATE = VBOXR3HARDENEDEXE38 VBoxSDLHardened_SOURCES = VBoxSDLHardened.cpp39 VBoxSDLHardened_SOURCES.win = $(VBoxSDL_0_OUTDIR)/VBoxSDL-icon.rc40 VBoxSDLHardened_NAME = VBoxSDL41 $(evalcall2 VBOX_SET_VER_INFO_EXE,VBoxSDLHardened,VirtualBox Pure SDL Frontend,$(VBOX_WINDOWS_ICON_FILE)) # Version info / description.42 33 43 34 … … 45 36 # VBoxSDL 46 37 # 38 ifdef VBOX_WITH_HARDENING 39 DLLS += VBoxSDL 40 else 41 PROGRAMS += VBoxSDL 42 endif 47 43 VBoxSDL_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXMAINCLIENTDLL,VBOXMAINCLIENTEXE) 48 44 VBoxSDL_SDKS = LIBSDL … … 107 103 108 104 ifdef VBOX_WITH_HARDENING 109 $( evalcall2VBOX_SET_VER_INFO_DLL,VBoxSDL,VirtualBox Pure SDL Frontend,$(VBOX_WINDOWS_ICON_FILE)) # Version info / description.105 $(call VBOX_SET_VER_INFO_DLL,VBoxSDL,VirtualBox Pure SDL Frontend,$(VBOX_WINDOWS_ICON_FILE)) # Version info / description. 110 106 else 111 $( evalcall2VBOX_SET_VER_INFO_EXE,VBoxSDL,VirtualBox Pure SDL Frontend,$(VBOX_WINDOWS_ICON_FILE)) # Version info / description.107 $(call VBOX_SET_VER_INFO_EXE,VBoxSDL,VirtualBox Pure SDL Frontend,$(VBOX_WINDOWS_ICON_FILE)) # Version info / description. 112 108 endif 113 109 … … 116 112 # tstSDL 117 113 # 114 PROGRAMS += tstSDL 118 115 tstSDL_TEMPLATE = VBOXR3NPEXE 119 116 tstSDL_SDKS = LIBSDL -
trunk/src/VBox/Resources/win/TemplateDll.rc
r55788 r55789 30 30 *******************************************************************************/ 31 31 /* Validate input and deal with optional input. */ 32 /** @def IN_FILE_DESCRIPTION 33 * The file description string. 34 */ 32 35 #ifndef IN_FILE_DESCRIPTION 33 36 # error "Must define the IN_FILE_DESCRIPTION string!" 34 37 #endif 35 #ifndef IN_FILE_BASENAME 36 # error "Must define the IN_FILE_BASENAME string!" 38 /** @def IN_INTERNAL_NAME 39 * The internal name string, optional (requires IN_FILE_BASENAME then). 40 */ 41 #ifndef IN_INTERNAL_NAME 42 # ifndef IN_FILE_BASENAME 43 # error "Must define the IN_FILE_BASENAME or the IN_INTERNAL_NAME string!" 44 # endif 45 # define IN_INTERNAL_NAME IN_FILE_BASENAME 37 46 #endif 38 #ifndef IN_FILE_NAME /* optional */ 39 # define IN_FILE_NAME IN_FILE_BASENAME ".dll" 47 /** @def IN_ORIGINAL_NAME 48 * The original name string, optional (requires IN_FILE_BASENAME then). 49 */ 50 #ifndef IN_ORIGINAL_NAME 51 # ifndef IN_FILE_BASENAME 52 # error "Must define the IN_FILE_BASENAME or the IN_ORIGINAL_NAME string!" 53 # endif 54 # define IN_ORIGINAL_NAME IN_FILE_BASENAME " .dll" 55 #endif 56 /** @def IN_PRODUCT_NAME 57 * The product name string, optional. 58 */ 59 #ifndef IN_PRODUCT_NAME 60 # ifdef IN_GUEST 61 # define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME_GA 62 # elif defined(VBOX_IN_PUEL_EXTPACK) 63 # define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME_PUEL_EXTPACK 64 # else 65 # define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME 66 # endif 40 67 #endif 41 68 … … 67 94 BLOCK "040904b0" /* Lang=US English, CodePage=utf-16 */ 68 95 BEGIN 69 VALUE "FileDescription", IN_FILE_DESCRIPTION 70 VALUE "InternalName", IN_ FILE_BASENAME "\0"71 VALUE "OriginalFilename", IN_ FILE_NAME "\0"72 VALUE "CompanyName", VBOX_RC_COMPANY_NAME 96 VALUE "FileDescription", IN_FILE_DESCRIPTION "\0" 97 VALUE "InternalName", IN_INTERNAL_NAME "\0" 98 VALUE "OriginalFilename", IN_ORIGINAL_NAME "\0" 99 VALUE "CompanyName", VBOX_RC_COMPANY_NAME "\0" 73 100 VALUE "FileVersion", VBOX_RC_FILE_VERSION_STR 74 101 VALUE "LegalCopyright", VBOX_RC_LEGAL_COPYRIGHT 75 #ifndef IN_GUEST 76 VALUE "ProductName", VBOX_RC_PRODUCT_NAME_STR 77 #else 78 VALUE "ProductName", VBOX_RC_PRODUCT_NAME_GA_STR 79 #endif 102 VALUE "ProductName", IN_PRODUCT_NAME 80 103 VALUE "ProductVersion", VBOX_RC_PRODUCT_VERSION_STR 81 104 VBOX_RC_MORE_STRINGS -
trunk/src/VBox/Resources/win/TemplateDrv.rc
r55788 r55789 30 30 *******************************************************************************/ 31 31 /* Validate input and deal with optional input. */ 32 /** @def IN_FILE_DESCRIPTION 33 * The file description string. 34 */ 32 35 #ifndef IN_FILE_DESCRIPTION 33 36 # error "Must define the IN_FILE_DESCRIPTION string!" 34 37 #endif 35 #ifndef IN_FILE_BASENAME 36 # error "Must define the IN_FILE_BASENAME string!" 38 /** @def IN_INTERNAL_NAME 39 * The internal name string, optional (requires IN_FILE_BASENAME then). 40 */ 41 #ifndef IN_INTERNAL_NAME 42 # ifndef IN_FILE_BASENAME 43 # error "Must define the IN_FILE_BASENAME or the IN_INTERNAL_NAME string!" 44 # endif 45 # define IN_INTERNAL_NAME IN_FILE_BASENAME 37 46 #endif 38 #ifndef IN_FILE_NAME /* optional */ 39 # define IN_FILE_NAME IN_FILE_BASENAME ".sys" 47 /** @def IN_ORIGINAL_NAME 48 * The original name string, optional (requires IN_FILE_BASENAME then). 49 */ 50 #ifndef IN_ORIGINAL_NAME 51 # ifndef IN_FILE_BASENAME 52 # error "Must define the IN_FILE_BASENAME or the IN_ORIGINAL_NAME string!" 53 # endif 54 # define IN_ORIGINAL_NAME IN_FILE_BASENAME " .dll" 55 #endif 56 /** @def IN_PRODUCT_NAME 57 * The product name string, optional. 58 */ 59 #ifndef IN_PRODUCT_NAME 60 # ifdef IN_GUEST 61 # define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME_GA 62 # elif defined(VBOX_IN_PUEL_EXTPACK) 63 # define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME_PUEL_EXTPACK 64 # else 65 # define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME 66 # endif 40 67 #endif 41 68 #ifndef IN_FILE_SUBTYPE /* optional */ … … 70 97 BLOCK "040904b0" /* Lang=US English, CodePage=utf-16 */ 71 98 BEGIN 72 VALUE "FileDescription", IN_FILE_DESCRIPTION 73 VALUE "InternalName", IN_ FILE_BASENAME "\0"74 VALUE "OriginalFilename", IN_ FILE_NAME "\0"75 VALUE "CompanyName", VBOX_RC_COMPANY_NAME 99 VALUE "FileDescription", IN_FILE_DESCRIPTION "\0" 100 VALUE "InternalName", IN_INTERNAL_NAME "\0" 101 VALUE "OriginalFilename", IN_ORIGINAL_NAME "\0" 102 VALUE "CompanyName", VBOX_RC_COMPANY_NAME "\0" 76 103 VALUE "FileVersion", VBOX_RC_FILE_VERSION_STR 77 104 VALUE "LegalCopyright", VBOX_RC_LEGAL_COPYRIGHT 78 #ifndef IN_GUEST 79 VALUE "ProductName", VBOX_RC_PRODUCT_NAME_STR 80 #else 81 VALUE "ProductName", VBOX_RC_PRODUCT_NAME_GA_STR 82 #endif 105 VALUE "ProductName", IN_PRODUCT_NAME 83 106 VALUE "ProductVersion", VBOX_RC_PRODUCT_VERSION_STR 84 107 VBOX_RC_MORE_STRINGS -
trunk/src/VBox/Resources/win/TemplateExe.rc
r55788 r55789 30 30 *******************************************************************************/ 31 31 /* Validate input and deal with optional input. */ 32 /** @def IN_FILE_DESCRIPTION 33 * The file description string. 34 */ 32 35 #ifndef IN_FILE_DESCRIPTION 33 36 # error "Must define the IN_FILE_DESCRIPTION string!" 34 37 #endif 35 #ifndef IN_FILE_BASENAME 36 # error "Must define the IN_FILE_BASENAME string!" 38 /** @def IN_INTERNAL_NAME 39 * The internal name string, optional (requires IN_FILE_BASENAME then). 40 */ 41 #ifndef IN_INTERNAL_NAME 42 # ifndef IN_FILE_BASENAME 43 # error "Must define the IN_FILE_BASENAME or the IN_INTERNAL_NAME string!" 44 # endif 45 # define IN_INTERNAL_NAME IN_FILE_BASENAME 37 46 #endif 38 #ifndef IN_FILE_NAME /* optional */ 39 # define IN_FILE_NAME IN_FILE_BASENAME ".exe" 47 /** @def IN_ORIGINAL_NAME 48 * The original name string, optional (requires IN_FILE_BASENAME then). 49 */ 50 #ifndef IN_ORIGINAL_NAME 51 # ifndef IN_FILE_BASENAME 52 # error "Must define the IN_FILE_BASENAME or the IN_ORIGINAL_NAME string!" 53 # endif 54 # define IN_ORIGINAL_NAME IN_FILE_BASENAME " .dll" 55 #endif 56 /** @def IN_PRODUCT_NAME 57 * The product name string, optional. 58 */ 59 #ifndef IN_PRODUCT_NAME 60 # ifdef IN_GUEST 61 # define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME_GA 62 # elif defined(VBOX_IN_PUEL_EXTPACK) 63 # define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME_PUEL_EXTPACK 64 # else 65 # define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME 66 # endif 40 67 #endif 41 68 … … 67 94 BLOCK "040904b0" /* Lang=US English, CodePage=utf-16 */ 68 95 BEGIN 69 VALUE "FileDescription", IN_FILE_DESCRIPTION 70 VALUE "InternalName", IN_ FILE_BASENAME "\0"71 VALUE "OriginalFilename", IN_ FILE_NAME "\0"72 VALUE "CompanyName", VBOX_RC_COMPANY_NAME 96 VALUE "FileDescription", IN_FILE_DESCRIPTION "\0" 97 VALUE "InternalName", IN_INTERNAL_NAME "\0" 98 VALUE "OriginalFilename", IN_ORIGINAL_NAME "\0" 99 VALUE "CompanyName", VBOX_RC_COMPANY_NAME "\0" 73 100 VALUE "FileVersion", VBOX_RC_FILE_VERSION_STR 74 101 VALUE "LegalCopyright", VBOX_RC_LEGAL_COPYRIGHT 75 #ifndef IN_GUEST 76 VALUE "ProductName", VBOX_RC_PRODUCT_NAME_STR 77 #else 78 VALUE "ProductName", VBOX_RC_PRODUCT_NAME_GA_STR 79 #endif 102 VALUE "ProductName", IN_PRODUCT_NAME 80 103 VALUE "ProductVersion", VBOX_RC_PRODUCT_VERSION_STR 81 104 VBOX_RC_MORE_STRINGS -
trunk/src/VBox/Resources/win/TemplateR0.rc
r55788 r55789 30 30 *******************************************************************************/ 31 31 /* Validate input and deal with optional input. */ 32 /** @def IN_FILE_DESCRIPTION 33 * The file description string. 34 */ 32 35 #ifndef IN_FILE_DESCRIPTION 33 36 # error "Must define the IN_FILE_DESCRIPTION string!" 34 37 #endif 35 #ifndef IN_FILE_BASENAME 36 # error "Must define the IN_FILE_BASENAME string!" 38 /** @def IN_INTERNAL_NAME 39 * The internal name string, optional (requires IN_FILE_BASENAME then). 40 */ 41 #ifndef IN_INTERNAL_NAME 42 # ifndef IN_FILE_BASENAME 43 # error "Must define the IN_FILE_BASENAME or the IN_INTERNAL_NAME string!" 44 # endif 45 # define IN_INTERNAL_NAME IN_FILE_BASENAME 37 46 #endif 38 #ifndef IN_FILE_NAME /* optional */ 39 # define IN_FILE_NAME IN_FILE_BASENAME ".r0" 47 /** @def IN_ORIGINAL_NAME 48 * The original name string, optional (requires IN_FILE_BASENAME then). 49 */ 50 #ifndef IN_ORIGINAL_NAME 51 # ifndef IN_FILE_BASENAME 52 # error "Must define the IN_FILE_BASENAME or the IN_ORIGINAL_NAME string!" 53 # endif 54 # define IN_ORIGINAL_NAME IN_FILE_BASENAME " .dll" 55 #endif 56 /** @def IN_PRODUCT_NAME 57 * The product name string, optional. 58 */ 59 #ifndef IN_PRODUCT_NAME 60 # ifdef VBOX_IN_PUEL_EXTPACK 61 # define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME_PUEL_EXTPACK 62 # else 63 # define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME 64 # endif 40 65 #endif 41 66 #ifdef IN_GUEST … … 70 95 BLOCK "040904b0" /* Lang=US English, CodePage=utf-16 */ 71 96 BEGIN 72 VALUE "FileDescription", IN_FILE_DESCRIPTION 73 VALUE "InternalName", IN_ FILE_BASENAME "\0"74 VALUE "OriginalFilename", IN_ FILE_NAME "\0"75 VALUE "CompanyName", VBOX_RC_COMPANY_NAME 97 VALUE "FileDescription", IN_FILE_DESCRIPTION "\0" 98 VALUE "InternalName", IN_INTERNAL_NAME "\0" 99 VALUE "OriginalFilename", IN_ORIGINAL_NAME "\0" 100 VALUE "CompanyName", VBOX_RC_COMPANY_NAME "\0" 76 101 VALUE "FileVersion", VBOX_RC_FILE_VERSION_STR 77 102 VALUE "LegalCopyright", VBOX_RC_LEGAL_COPYRIGHT 78 VALUE "ProductName", VBOX_RC_PRODUCT_NAME_STR103 VALUE "ProductName", IN_PRODUCT_NAME 79 104 VALUE "ProductVersion", VBOX_RC_PRODUCT_VERSION_STR 80 105 VBOX_RC_MORE_STRINGS -
trunk/src/VBox/Resources/win/TemplateRC.rc
r55788 r55789 30 30 *******************************************************************************/ 31 31 /* Validate input and deal with optional input. */ 32 /** @def IN_FILE_DESCRIPTION 33 * The file description string. 34 */ 32 35 #ifndef IN_FILE_DESCRIPTION 33 36 # error "Must define the IN_FILE_DESCRIPTION string!" 34 37 #endif 35 #ifndef IN_FILE_BASENAME 36 # error "Must define the IN_FILE_BASENAME string!" 38 /** @def IN_INTERNAL_NAME 39 * The internal name string, optional (requires IN_FILE_BASENAME then). 40 */ 41 #ifndef IN_INTERNAL_NAME 42 # ifndef IN_FILE_BASENAME 43 # error "Must define the IN_FILE_BASENAME or the IN_INTERNAL_NAME string!" 44 # endif 45 # define IN_INTERNAL_NAME IN_FILE_BASENAME 37 46 #endif 38 #ifndef IN_FILE_NAME /* optional */ 39 # define IN_FILE_NAME IN_FILE_BASENAME ".rc" 47 /** @def IN_ORIGINAL_NAME 48 * The original name string, optional (requires IN_FILE_BASENAME then). 49 */ 50 #ifndef IN_ORIGINAL_NAME 51 # ifndef IN_FILE_BASENAME 52 # error "Must define the IN_FILE_BASENAME or the IN_ORIGINAL_NAME string!" 53 # endif 54 # define IN_ORIGINAL_NAME IN_FILE_BASENAME " .dll" 55 #endif 56 /** @def IN_PRODUCT_NAME 57 * The product name string, optional. 58 */ 59 #ifndef IN_PRODUCT_NAME 60 # ifdef VBOX_IN_PUEL_EXTPACK 61 # define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME_PUEL_EXTPACK 62 # else 63 # define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME 64 # endif 40 65 #endif 41 66 #ifdef IN_GUEST … … 70 95 BLOCK "040904b0" /* Lang=US English, CodePage=utf-16 */ 71 96 BEGIN 72 VALUE "FileDescription", IN_FILE_DESCRIPTION 73 VALUE "InternalName", IN_ FILE_BASENAME "\0"74 VALUE "OriginalFilename", IN_ FILE_NAME "\0"75 VALUE "CompanyName", VBOX_RC_COMPANY_NAME 97 VALUE "FileDescription", IN_FILE_DESCRIPTION "\0" 98 VALUE "InternalName", IN_INTERNAL_NAME "\0" 99 VALUE "OriginalFilename", IN_ORIGINAL_NAME "\0" 100 VALUE "CompanyName", VBOX_RC_COMPANY_NAME "\0" 76 101 VALUE "FileVersion", VBOX_RC_FILE_VERSION_STR 77 102 VALUE "LegalCopyright", VBOX_RC_LEGAL_COPYRIGHT 78 VALUE "ProductName", VBOX_RC_PRODUCT_NAME_STR103 VALUE "ProductName", IN_PRODUCT_NAME 79 104 VALUE "ProductVersion", VBOX_RC_PRODUCT_VERSION_STR 80 105 VBOX_RC_MORE_STRINGS -
trunk/src/VBox/VMM/Makefile.kmk
r55788 r55789 310 310 #endif 311 311 312 $( evalcall2VBOX_SET_VER_INFO_DLL,VBoxVMM,VirtualBox VMM) # Version info / description.312 $(call VBOX_SET_VER_INFO_DLL,VBoxVMM,VirtualBox VMM) # Version info / description. 313 313 314 314 … … 519 519 VMMRC/VMMRCDeps.cpp_CXXFLAGS.win = -Oi- -TC ## @todo rename VMMRCDeps.cpp to .c 520 520 521 $( evalcall2VBOX_SET_VER_INFO_RC,VMMRC,VirtualBox VMM - raw-mode context parts) # Version info / description.521 $(call VBOX_SET_VER_INFO_RC,VMMRC,VirtualBox VMM - raw-mode context parts) # Version info / description. 522 522 endif # VBOX_WITH_RAW_MODE && !VBOX_ONLY_EXTPACKS 523 523 … … 644 644 endif 645 645 646 $( evalcall2VBOX_SET_VER_INFO_R0,VMMR0,VirtualBox VMM - ring-0 context parts) # Version info / description.646 $(call VBOX_SET_VER_INFO_R0,VMMR0,VirtualBox VMM - ring-0 context parts) # Version info / description. 647 647 endif # !VBOX_ONLY_EXTPACKS 648 648
Note:
See TracChangeset
for help on using the changeset viewer.