dlls: Remove unneeded include directives in resource files.
[wine] / include / wine / wine_common_ver.rc
1 /*
2  * Copyright 2001 Dmitry Timoshkov
3  * Copyright 2004 Ivan Leo Puoti
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18  */
19
20 #include "winresrc.h"
21
22 /*
23 Assign WINE_FILEVERSION and WINE_FILEVERSION_STR high enough number
24 to make sure that programs, relying on the version numbers, will
25 never complain.
26 */
27
28 #ifndef WINE_FILEVERSION_MAJOR
29 #define WINE_FILEVERSION_MAJOR 10
30 #endif
31
32 #ifndef WINE_FILEVERSION_MINOR
33 #define WINE_FILEVERSION_MINOR 0
34 #endif
35
36 #ifndef WINE_FILEVERSION_BUILD
37 #define WINE_FILEVERSION_BUILD 0
38 #endif
39
40 #ifndef WINE_FILEVERSION_PLATFORMID
41 #define WINE_FILEVERSION_PLATFORMID 0
42 #endif
43
44 #ifndef WINE_FILEVERSION
45 #define WINE_FILEVERSION WINE_FILEVERSION_MAJOR,WINE_FILEVERSION_MINOR,\
46                          WINE_FILEVERSION_BUILD,WINE_FILEVERSION_PLATFORMID
47 #endif
48
49 #define WINE_VER_STRINGIZE2(x) #x
50 #define WINE_VER_STRINGIZE(x) WINE_VER_STRINGIZE2(x)
51
52 #ifndef WINE_FILEVERSION_STR
53 #define WINE_FILEVERSION_STR WINE_VER_STRINGIZE(WINE_FILEVERSION_MAJOR.WINE_FILEVERSION_MINOR.WINE_FILEVERSION_BUILD.WINE_FILEVERSION_PLATFORMID)
54 #endif
55
56 #ifndef WINE_FILEDESCRIPTION_STR
57 #define WINE_FILEDESCRIPTION_STR "Wine core dll"
58 #endif
59
60 #ifndef WINE_FILENAME
61 #define WINE_FILENAME ""
62 #endif
63
64 #ifndef WINE_FILENAME_STR
65 #define WINE_FILENAME_STR ""
66 #endif
67
68 #ifndef WINE_FILETYPE
69 #define WINE_FILETYPE VFT_DLL
70 #endif
71
72 #ifndef WINE_FILESUBTYPE
73 #define WINE_FILESUBTYPE VFT2_UNKNOWN
74 #endif
75
76 #ifndef WINE_PRODUCTVERSION
77 #define WINE_PRODUCTVERSION 1,0,0,0
78 #endif
79
80 #ifndef WINE_PRODUCTVERSION_STR
81 #define WINE_PRODUCTVERSION_STR "1.0"
82 #endif
83
84 #ifndef WINE_PRODUCTNAME_STR
85 #define WINE_PRODUCTNAME_STR "Wine"
86 #endif
87
88 #ifndef WINE_EXTRAVALUES
89 #define WINE_EXTRAVALUES
90 #endif
91
92 VS_VERSION_INFO VERSIONINFO
93 FILEVERSION    WINE_FILEVERSION
94 PRODUCTVERSION WINE_PRODUCTVERSION
95 FILEFLAGSMASK  63
96 FILEFLAGS      0
97 FILEOS         VOS_UNKNOWN
98 FILETYPE       WINE_FILETYPE
99 FILESUBTYPE    WINE_FILESUBTYPE
100 {
101     BLOCK "StringFileInfo"
102     {
103         BLOCK "040904E4" /* LANG_ENGLISH/SUBLANG_DEFAULT, CP 1252 */
104         {
105             VALUE "CompanyName", "Microsoft Corporation"  /* GameGuard depends on this */
106             VALUE "FileDescription", WINE_FILEDESCRIPTION_STR
107             VALUE "FileVersion", WINE_FILEVERSION_STR
108             VALUE "InternalName", WINE_FILENAME
109             VALUE "LegalCopyright", "Copyright (c) 1993-2011 the Wine project authors (see the file AUTHORS for a complete list)"
110             VALUE "OriginalFilename", WINE_FILENAME_STR
111             VALUE "ProductName", WINE_PRODUCTNAME_STR
112             VALUE "ProductVersion", WINE_PRODUCTVERSION_STR
113             WINE_EXTRAVALUES
114         }
115     }
116     BLOCK "VarFileInfo"
117     {
118         VALUE "Translation", 0x0409, 0x04E4 /* LANG_ENGLISH/SUBLANG_DEFAULT, CP 1252 */
119     }
120 }