xref: /PHP-5.6/win32/build/template.rc (revision 49493a2d)
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
8#include "winresrc.h"
9#include "main/php_version.h"
10
11LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
12#pragma code_page(1252)
13
14#ifndef THANKS_GUYS
15# define THANKS_GUYS ""
16#endif
17
18#ifdef WANT_LOGO
190 ICON win32\build\php.ico
20#endif
21
22#ifndef INTERNAL_NAME /* e.g. 'PHAR extension', 'CGI SAPI' */
23# ifdef FILE_DESCRIPTION
24#define INTERNAL_NAME FILE_DESCRIPTION /* e.g. 'PHP Script Interpreter', 'GD imaging' */
25# else
26#define INTERNAL_NAME FILE_NAME /* e.g. 'php5ts.dll', 'php_bz2.dll' */
27# endif
28#endif
29
30#ifndef URL
31#define URL "http://www.php.net/"
32#endif
33
34#ifndef EXT_VERSION
35#define EXT_VERSION PHP_VERSION
36#endif
37
38#ifndef EXT_FILE_VERSION
39#define EXT_FILE_VERSION PHP_MAJOR_VERSION,PHP_MINOR_VERSION,PHP_RELEASE_VERSION
40#endif
41
42VS_VERSION_INFO VERSIONINFO
43 FILEVERSION EXT_FILE_VERSION
44 PRODUCTVERSION PHP_MAJOR_VERSION,PHP_MINOR_VERSION,PHP_RELEASE_VERSION
45 FILEFLAGSMASK 0x3fL
46#ifdef _DEBUG
47 FILEFLAGS (VS_FF_DEBUG|VS_FF_SPECIALBUILD)
48#else
49 FILEFLAGS 0x0L
50#endif
51 FILEOS VOS__WINDOWS32
52 FILETYPE VFT_DLL
53 FILESUBTYPE VFT2_UNKNOWN
54BEGIN
55    BLOCK "StringFileInfo"
56    BEGIN
57        BLOCK "040904b0"
58        BEGIN
59            VALUE "Comments", THANKS_GUYS
60            VALUE "CompanyName", "The PHP Group"
61#ifdef _DEBUG
62            VALUE "FileDescription", FILE_DESCRIPTION " (DEBUG)"
63#else
64            VALUE "FileDescription", FILE_DESCRIPTION
65#endif
66            VALUE "FileVersion", EXT_VERSION
67            VALUE "InternalName", INTERNAL_NAME
68            VALUE "LegalCopyright", "Copyright � 1997-2016 The PHP Group"
69            VALUE "LegalTrademarks", "PHP"
70            VALUE "OriginalFilename", FILE_NAME
71            VALUE "ProductName", "PHP"
72            VALUE "ProductVersion", PHP_VERSION
73#ifdef _DEBUG
74            VALUE "SpecialBuild", "Debug build"
75#endif
76            VALUE "URL", URL
77        END
78    END
79    BLOCK "VarFileInfo"
80    BEGIN
81        VALUE "Translation", 0x409, 1200
82    END
83END
84
85#ifdef MC_INCLUDE
86#include MC_INCLUDE
87#endif
88