VirtualBox

Changeset 26093 in vbox


Ignore:
Timestamp:
Jan 29, 2010 9:12:27 AM (15 years ago)
Author:
vboxsync
Message:

Branding: right fix for r57057

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r26091 r26093  
    38573857#
    38583858VBOX_BAD_CHAR_SET   = ,;:/\$(SP)$(TAB)$(HASH)=![]@%&''()*""<>?^{}|~
    3859 VBOX_VERSION_STAMP  = $(PATH_OUT)/version-stamp-$(translate $(VBOX_VERSION_STRING)-$(VBOX_C_YEAR)-$(VBOX_VENDOR)-$(VBOX_PRODUCTS),$(VBOX_BAD_CHAR_SET),,_)
     3859VBOX_VERSION_STAMP  = $(PATH_OUT)/version-stamp-$(translate $(VBOX_VERSION_STRING)-$(VBOX_C_YEAR)-$(VBOX_VENDOR)-$(VBOX_PRODUCT),$(VBOX_BAD_CHAR_SET),,_)
    38603860VBOX_VERSION_HEADER = $(PATH_OUT)/version-generated.h
    38613861VBOX_VERSION_MK     = $(PATH_OUT)/version-generated.mk
     
    38783878        $(QUIET)$(APPEND) [email protected] '#define VBOX_VERSION_BUILD $(VBOX_VERSION_BUILD)'
    38793879        $(QUIET)$(APPEND) [email protected] '#define VBOX_VERSION_STRING "$(VBOX_VERSION_STRING)"'
    3880         $(QUIET)$(APPEND) [email protected] '#define VBOX_VENDOR "$(VBOX_VENDOR)"'
    3881         $(QUIET)$(APPEND) [email protected] '#define VBOX_PRODUCT "$(VBOX_PRODUCT)"'
    3882         $(QUIET)$(APPEND) [email protected] '#define VBOX_C_YEAR "$(VBOX_C_YEAR)"'
    38833880        $(QUIET)$(APPEND) [email protected] ''
    38843881        $(QUIET)$(APPEND) [email protected] '#endif'
     
    38963893        $(QUIET)$(APPEND) [email protected] ''
    38973894        $(QUIET)$(APPEND) [email protected] '#define VBOX_PACKAGE_STRING "$(VBOX_PACKAGE_STRING)"'
     3895        $(QUIET)$(APPEND) [email protected] ''
     3896        $(QUIET)$(APPEND) [email protected] '#endif'
     3897        $(QUIET)$(MV) -f [email protected] $@
     3898
     3899VBOX_PRODUCT_HEADER = $(PATH_OUT)/product-generated.h
     3900
     3901$(VBOX_PRODUCT_HEADER): $(VBOX_VERSION_STAMP)
     3902        $(call MSG_GENERATE,,$@)
     3903        $(QUIET)$(MKDIR) -p $(@D)
     3904        $(QUIET)$(RM) -f $@ [email protected]
     3905        $(QUIET)$(APPEND) [email protected] '#ifndef ___product_generated_h___'
     3906        $(QUIET)$(APPEND) [email protected] '#define ___product_generated_h___'
     3907        $(QUIET)$(APPEND) [email protected] ''
     3908        $(QUIET)$(APPEND) [email protected] '#define VBOX_VENDOR "$(VBOX_VENDOR)"'
     3909        $(QUIET)$(APPEND) [email protected] '#define VBOX_PRODUCT "$(VBOX_PRODUCT)"'
     3910        $(QUIET)$(APPEND) [email protected] '#define VBOX_C_YEAR "$(VBOX_C_YEAR)"'
    38983911        $(QUIET)$(APPEND) [email protected] ''
    38993912        $(QUIET)$(APPEND) [email protected] '#endif'
     
    39423955# the tree. This eliminates the need for manual dependencies on it.
    39433956## @todo there gotta be a better way of doing this.
    3944 Makefile.kmk: | $(VBOX_VERSION_HEADER) $(VBOX_VERSION_MK) $(VBOX_PACKAGE_HEADER)
     3957Makefile.kmk: | $(VBOX_VERSION_HEADER) $(VBOX_VERSION_MK) $(VBOX_PRODUCT_HEADER) $(VBOX_PACKAGE_HEADER)
    39453958endif
    39463959
  • trunk/include/VBox/version.h

    r26090 r26093  
    3030#ifndef ___VBox_version_h
    3131#define ___VBox_version_h
     32
     33/** Product info */
     34#include <product-generated.h>
    3235
    3336#ifndef RC_INVOKED
     
    7073#endif /* !RC_INVOKED */
    7174
    72 /** Vendor name */
    73 #ifndef VBOX_VENDOR
    74 # define VBOX_VENDOR                     "Sun Microsystems, Inc."
    75 #endif
    76 
    77 /** Product name */
    78 #ifndef VBOX_PRODUCT
    79 # define VBOX_PRODUCT                    "Sun VirtualBox"
    80 #endif
    81 
    8275/** @name Prefined strings for Windows resource files
    8376 *
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette