Changeset 26093 in vbox
- Timestamp:
- Jan 29, 2010 9:12:27 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r26091 r26093 3857 3857 # 3858 3858 VBOX_BAD_CHAR_SET = ,;:/\$(SP)$(TAB)$(HASH)=![]@%&''()*""<>?^{}|~ 3859 VBOX_VERSION_STAMP = $(PATH_OUT)/version-stamp-$(translate $(VBOX_VERSION_STRING)-$(VBOX_C_YEAR)-$(VBOX_VENDOR)-$(VBOX_PRODUCT S),$(VBOX_BAD_CHAR_SET),,_)3859 VBOX_VERSION_STAMP = $(PATH_OUT)/version-stamp-$(translate $(VBOX_VERSION_STRING)-$(VBOX_C_YEAR)-$(VBOX_VENDOR)-$(VBOX_PRODUCT),$(VBOX_BAD_CHAR_SET),,_) 3860 3860 VBOX_VERSION_HEADER = $(PATH_OUT)/version-generated.h 3861 3861 VBOX_VERSION_MK = $(PATH_OUT)/version-generated.mk … … 3878 3878 $(QUIET)$(APPEND) [email protected] '#define VBOX_VERSION_BUILD $(VBOX_VERSION_BUILD)' 3879 3879 $(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)"'3883 3880 $(QUIET)$(APPEND) [email protected] '' 3884 3881 $(QUIET)$(APPEND) [email protected] '#endif' … … 3896 3893 $(QUIET)$(APPEND) [email protected] '' 3897 3894 $(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 3899 VBOX_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)"' 3898 3911 $(QUIET)$(APPEND) [email protected] '' 3899 3912 $(QUIET)$(APPEND) [email protected] '#endif' … … 3942 3955 # the tree. This eliminates the need for manual dependencies on it. 3943 3956 ## @todo there gotta be a better way of doing this. 3944 Makefile.kmk: | $(VBOX_VERSION_HEADER) $(VBOX_VERSION_MK) $(VBOX_P ACKAGE_HEADER)3957 Makefile.kmk: | $(VBOX_VERSION_HEADER) $(VBOX_VERSION_MK) $(VBOX_PRODUCT_HEADER) $(VBOX_PACKAGE_HEADER) 3945 3958 endif 3946 3959 -
trunk/include/VBox/version.h
r26090 r26093 30 30 #ifndef ___VBox_version_h 31 31 #define ___VBox_version_h 32 33 /** Product info */ 34 #include <product-generated.h> 32 35 33 36 #ifndef RC_INVOKED … … 70 73 #endif /* !RC_INVOKED */ 71 74 72 /** Vendor name */73 #ifndef VBOX_VENDOR74 # define VBOX_VENDOR "Sun Microsystems, Inc."75 #endif76 77 /** Product name */78 #ifndef VBOX_PRODUCT79 # define VBOX_PRODUCT "Sun VirtualBox"80 #endif81 82 75 /** @name Prefined strings for Windows resource files 83 76 *
Note:
See TracChangeset
for help on using the changeset viewer.