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