diff options
author | Joseph Tate <jtate@php.net> | 2002-04-11 16:31:22 +0000 |
---|---|---|
committer | Joseph Tate <jtate@php.net> | 2002-04-11 16:31:22 +0000 |
commit | 504b9beae60a45e1b1e6466e97a6bd246dfc74f6 (patch) | |
tree | 3e9ef46507bbeb45f376c27802e569740c57e043 /win32/php4ts_cli.rc2 | |
parent | ccbf1b84ee8975fe3ee6de62baf954554b7ba1a1 (diff) | |
download | php-git-504b9beae60a45e1b1e6466e97a6bd246dfc74f6.tar.gz |
Added versioning to dll and exe files created under windows.
#Note that these do not require modification when the version number changes.
#Utilizes the new partitioned version number defines in php_version.h
@ Added version info to the dll and exe files created under Windows. (jtate)
Diffstat (limited to 'win32/php4ts_cli.rc2')
-rw-r--r-- | win32/php4ts_cli.rc2 | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/win32/php4ts_cli.rc2 b/win32/php4ts_cli.rc2 new file mode 100644 index 0000000000..e781e4f885 --- /dev/null +++ b/win32/php4ts_cli.rc2 @@ -0,0 +1,61 @@ +// +// php4dllts.RC2 - resources Microsoft Visual C++ does not edit directly +// + +#ifdef APSTUDIO_INVOKED + #error this file is not editable by Microsoft Visual C++ +#endif //APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// Add manually edited resources here... +#include "../main/php_version.h" + +#define XSTRVER4(maj, min, rel, build) #maj "." #min "." #rel "." #build +#define XSTRVER3(maj, min, rel) #maj "." #min "." #rel +#define STRVER4(maj, min, rel, build) XSTRVER4(maj, min, rel, build) +#define STRVER3(maj, min, rel) XSTRVER3(maj, min, rel) + +#ifndef _MAC +//Version +VS_VERSION_INFO VERSIONINFO + FILEVERSION PHP_MAJOR_VERSION,PHP_MINOR_VERSION,PHP_RELEASE_VERSION,PHP_RELEASE_VERSION + PRODUCTVERSION PHP_MAJOR_VERSION,PHP_MINOR_VERSION,PHP_RELEASE_VERSION,0 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS VS_FF_DEBUG +#else + FILEFLAGS 0x0L +#endif + FILEOS VOS__WINDOWS32 + FILETYPE VFT_APP + FILESUBTYPE VFT2_UNKNOWN +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "Comments", "\0" + VALUE "CompanyName", "The PHP Group\0" + VALUE "FileDescription", "PHP Script Interpreter\0" + VALUE "FileVersion", STRVER4(PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION, PHP_RELEASE_VERSION) + VALUE "InternalName", "php-cli\0" + VALUE "LegalCopyright", "Copyright © 2002 The PHP Group\0" + VALUE "LegalTrademarks", "php\0" + VALUE "OriginalFilename", "php.exe\0" + VALUE "PrivateBuild", "\0" + VALUE "ProductName", "PHP Thread Safe Command Line Interface\0" + VALUE "ProductVersion", STRVER3(PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION) + VALUE "SpecialBuild", PHP_EXTRA_VERSION "\0" + VALUE "URL", "http://www.php.net" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END + +#endif // !_MAC + +///////////////////////////////////////////////////////////////////////////// |