template.rc 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /* This is a template RC file.
  2. * Do not edit with MSVC */
  3. #ifdef APSTUDIO_INVOKED
  4. # error Do not edit with MSVC
  5. #endif
  6. #include "winresrc.h"
  7. #include "main/php_version.h"
  8. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  9. #pragma code_page(1252)
  10. #ifndef THANKS_GUYS
  11. # define THANKS_GUYS ""
  12. #endif
  13. #ifdef WANT_LOGO
  14. 0 ICON win32\build\php.ico
  15. #endif
  16. #ifndef INTERNAL_NAME /* e.g. 'PHAR extension', 'CGI SAPI' */
  17. # ifdef FILE_DESCRIPTION
  18. #define INTERNAL_NAME FILE_DESCRIPTION /* e.g. 'PHP Script Interpreter', 'GD imaging' */
  19. # else
  20. #define INTERNAL_NAME FILE_NAME /* e.g. 'php7ts.dll', 'php_bz2.dll' */
  21. # endif
  22. #endif
  23. #ifndef URL
  24. #define URL "http://www.php.net/"
  25. #endif
  26. #ifndef EXT_VERSION
  27. #define EXT_VERSION PHP_VERSION
  28. #endif
  29. #ifndef EXT_FILE_VERSION
  30. #define EXT_FILE_VERSION PHP_MAJOR_VERSION,PHP_MINOR_VERSION,PHP_RELEASE_VERSION
  31. #endif
  32. VS_VERSION_INFO VERSIONINFO
  33. FILEVERSION EXT_FILE_VERSION
  34. PRODUCTVERSION PHP_MAJOR_VERSION,PHP_MINOR_VERSION,PHP_RELEASE_VERSION
  35. FILEFLAGSMASK 0x3fL
  36. #ifdef _DEBUG
  37. FILEFLAGS (VS_FF_DEBUG|VS_FF_SPECIALBUILD)
  38. #else
  39. FILEFLAGS 0x0L
  40. #endif
  41. FILEOS VOS__WINDOWS32
  42. FILETYPE VFT_DLL
  43. FILESUBTYPE VFT2_UNKNOWN
  44. BEGIN
  45. BLOCK "StringFileInfo"
  46. BEGIN
  47. BLOCK "040904b0"
  48. BEGIN
  49. VALUE "Comments", THANKS_GUYS
  50. VALUE "CompanyName", "The PHP Group"
  51. #ifdef _DEBUG
  52. VALUE "FileDescription", FILE_DESCRIPTION " (DEBUG)"
  53. #else
  54. VALUE "FileDescription", FILE_DESCRIPTION
  55. #endif
  56. VALUE "FileVersion", EXT_VERSION
  57. VALUE "InternalName", INTERNAL_NAME
  58. VALUE "LegalCopyright", "Copyright © The PHP Group"
  59. VALUE "LegalTrademarks", "PHP"
  60. VALUE "OriginalFilename", FILE_NAME
  61. VALUE "ProductName", "PHP"
  62. VALUE "ProductVersion", PHP_VERSION
  63. #ifdef _DEBUG
  64. VALUE "SpecialBuild", "Debug build"
  65. #endif
  66. VALUE "URL", URL
  67. END
  68. END
  69. BLOCK "VarFileInfo"
  70. BEGIN
  71. VALUE "Translation", 0x409, 1200
  72. END
  73. END
  74. #ifdef MC_INCLUDE
  75. #include MC_INCLUDE
  76. #endif