template.rc 2.0 KB

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