OSDN Git Service

Change OpenSSL context mode flags.
[ffftp/ffftp.git] / contrib / putty / WINDOWS / VERSION.RC2
1 /*\r
2  * Standard Windows version information.\r
3  * (For inclusion in other .rc files with appropriate macro definitions.)\r
4  * FIXME: This file is called '.rc2' rather than '.rc' to avoid MSVC trying\r
5  * to compile it on its own when using the project files. Nicer solutions\r
6  * welcome.\r
7  */\r
8 \r
9 /*\r
10  * Binary versions in Windows are major.minor.build.revision. Each\r
11  * component is 16-bit.\r
12  * Here we have:\r
13  *   major.minor\r
14  *     PuTTY version number (e.g. 0.58). (We've made a policy decision\r
15  *     that these will be numeric from now on.)\r
16  *     Present in releases and snapshots (for the sake of monotonicity\r
17  *     in version numbers).\r
18  *   build\r
19  *     In releases, always 0.\r
20  *     In snapshots, nearest Subversion revision. (It shouldn't be\r
21  *     assumed that only one binary will have a given build number, of\r
22  *     course.)\r
23  *   revision\r
24  *     Reserved; always 0.\r
25  *\r
26  * Examples of these version numbers:\r
27  *   Release:  0.58.0.0     (but 0.58 didn't have a VERSIONINFO resource)\r
28  *   Snapshot: 0.58.6356.0  (between 0.58 and the next release)\r
29  *   Local:    0.0.0.0\r
30  */\r
31 \r
32 /*\r
33  * Mechanics of version naming/numbering.\r
34  * (This is a ripoff of ../version.c.)\r
35  */\r
36 \r
37 #define STR1(x) #x\r
38 #define STR(x) STR1(x)\r
39 \r
40 /* We keep this around even for snapshots, for monotonicity of version\r
41  * numbering. It needs to be kept up to date. NB _comma_-separated. */\r
42 #define BASE_VERSION 0,62\r
43 \r
44 #if defined SNAPSHOT\r
45 \r
46 /* Make SVN_REV mandatory for snapshots, to avoid issuing binary\r
47  * version numbers that look like full releases. */\r
48 #ifndef SVN_REV\r
49 #error SVN_REV not defined/nonzero for snapshot build\r
50 #endif\r
51 \r
52 #define VERSION_TEXT "Development snapshot " STR(SNAPSHOT) ":r" STR(SVN_REV)\r
53 #ifdef MODIFIED\r
54 #define BINARY_VERSION 0,0,0,0\r
55 #else\r
56 #define BINARY_VERSION BASE_VERSION,SVN_REV,0\r
57 #endif\r
58 \r
59 #elif defined RELEASE\r
60 \r
61 #define VERSION_TEXT "Release " STR(RELEASE)\r
62 #define BINARY_VERSION BASE_VERSION,0,0\r
63 \r
64 #elif defined PRERELEASE\r
65 \r
66 #define VERSION_TEXT "Pre-release " STR(PRERELEASE) ":r" STR(SVN_REV);\r
67 #define BINARY_VERSION BASE_VERSION,SVN_REV,0\r
68 \r
69 #elif defined SVN_REV\r
70 \r
71 #define VERSION_TEXT "Custom build r" STR(SVN_REV)\r
72 #ifdef MODIFIED\r
73 #define BINARY_VERSION 0,0,0,0\r
74 #else\r
75 #define BINARY_VERSION BASE_VERSION,SVN_REV,0\r
76 #endif\r
77 \r
78 #else\r
79 \r
80 /* We can't reliably get the same date and time as version.c, so\r
81  * we won't bother trying. */\r
82 #define VERSION_TEXT "Unidentified build"\r
83 #define BINARY_VERSION 0,0,0,0\r
84 \r
85 #endif\r
86 \r
87 /*\r
88  * The actual VERSIONINFO resource.\r
89  */\r
90 VS_VERSION_INFO VERSIONINFO\r
91 /* (None of this "fixed" info appears to be trivially user-visible on\r
92  * Win98SE. The binary version does show up on Win2K.) */\r
93 FILEVERSION     BINARY_VERSION\r
94 PRODUCTVERSION  BINARY_VERSION  /* version of whole suite */\r
95 FILEFLAGSMASK   VS_FF_DEBUG | VS_FF_PRERELEASE | VS_FF_PRIVATEBUILD\r
96 FILEFLAGS       0x0L\r
97 #if defined DEBUG\r
98                 | VS_FF_DEBUG\r
99 #endif\r
100 #if defined SNAPSHOT\r
101                 | VS_FF_PRERELEASE\r
102 #elif !defined RELEASE\r
103                 | VS_FF_PRIVATEBUILD\r
104 #endif\r
105 FILEOS          VOS__WINDOWS32\r
106 FILETYPE        VFT_APP\r
107 FILESUBTYPE     0x0L /* n/a for VFT_APP */\r
108 BEGIN\r
109     /* (On Win98SE and Win2K, we can see most of this on the Version tab\r
110      * in the file properties in Explorer.) */\r
111     BLOCK "StringFileInfo"\r
112     BEGIN\r
113         /* "lang-charset" LLLLCCCC = (UK English, Unicode) */\r
114         BLOCK "080904B0"\r
115         BEGIN\r
116             VALUE "CompanyName",        "Simon Tatham"  /* required :/ */\r
117             VALUE "ProductName",        "PuTTY suite"\r
118             VALUE "FileDescription",    APPDESC\r
119             VALUE "InternalName",       APPNAME\r
120             VALUE "OriginalFilename",   APPNAME\r
121             VALUE "FileVersion",        VERSION_TEXT\r
122             VALUE "ProductVersion",     VERSION_TEXT\r
123             VALUE "LegalCopyright",     "Copyright \251 1997-2011 Simon Tatham."\r
124 #if (!defined SNAPSHOT) && (!defined RELEASE)\r
125             /* Only if VS_FF_PRIVATEBUILD. */\r
126             VALUE "PrivateBuild",       VERSION_TEXT /* NBI */\r
127 #endif\r
128         END\r
129     END\r
130     BLOCK "VarFileInfo"\r
131     BEGIN\r
132         /* Once again -- same meanings -- apparently necessary */\r
133         VALUE "Translation", 0x809, 1200\r
134     END\r
135 END\r
136 \r
137 #undef VERSION_TEXT\r
138 #undef BASE_VERSION\r
139 #undef BINARY_VERSION\r