1 /***********************************************************************
2 * Copyright (c) 2010, Secure Endpoints Inc.
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
9 * - Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
12 * - Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in
14 * the documentation and/or other materials provided with the
17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
20 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
21 * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
22 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
28 * OF THE POSSIBILITY OF SUCH DAMAGE.
30 **********************************************************************/
33 * This version script is not meant to be used as-is. It requires the
34 * following parameters that must be supplied using preprocessor
37 * RC_FILE_TYPE (Set to either VFT_DLL or VFT_APP)
38 * RC_FILE_DESC_0409 (File description (English))
39 * RC_FILE_ORIG_0409 (Original file name (English))
41 * The following macros are optional:
43 * RC_FILE_SUBTYPE (File subtype. See MSDN.)
44 * RC_FILEVER_C (Comma separated file version, if different from
46 * RC_FILE_COMMENT_0409 (File comment (English))
52 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
53 #pragma code_page(1252)
56 #define P_PRIVATE VS_FF_PRIVATEBUILD
62 #define P_SPECIAL VS_FF_SPECIALBUILD
68 #define P_PRE VS_FF_PRERELEASE
74 #define P_DEBUG VS_FF_DEBUG
79 /* If some per-file values aren't specified, we use the application
80 values as a substitute */
83 #define RC_FILEVER_C RC_PRODVER_C
84 #define RC_FILE_VER_0409 RC_PRODUCT_VER_0409
87 #ifndef RC_FILE_INTERNAL_0409
88 #define RC_FILE_INTERNAL_0409 RC_FILE_ORIG_0409
91 #ifndef RC_FILE_PRODUCT_NAME_0409
92 #define RC_FILE_PRODUCT_NAME_0409 RC_PRODUCT_NAME_0409
95 #ifndef RC_FILE_PRODUCT_VER_0409
96 #define RC_FILE_PRODUCT_VER_0409 RC_PRODUCT_VER_0409
99 #ifndef RC_FILE_COMPANY_0409
100 #define RC_FILE_COMPANY_0409 RC_COMPANY_0409
103 #ifndef RC_FILE_COPYRIGHT_0409
104 #define RC_FILE_COPYRIGHT_0409 RC_COPYRIGHT_0409
108 FILEVERSION RC_FILEVER_C
109 PRODUCTVERSION RC_PRODVER_C
110 FILEFLAGSMASK (VS_FF_DEBUG|VS_FF_PRERELEASE|VS_FF_PRIVATEBUILD|VS_FF_SPECIALBUILD)
111 FILEFLAGS (P_DEBUG|P_PRE|P_PRIVATE|P_SPECIAL)
113 FILETYPE RC_FILE_TYPE
114 #ifdef RC_FILE_SUBTYPE
115 FILESUBTYPE RC_FILE_SUBTYPE
118 BLOCK "StringFileInfo"
122 VALUE "ProductName", RC_FILE_PRODUCT_NAME_0409
123 VALUE "ProductVersion", RC_FILE_PRODUCT_VER_0409
124 VALUE "CompanyName", RC_FILE_COMPANY_0409
125 VALUE "LegalCopyright", RC_FILE_COPYRIGHT_0409
127 #ifdef RC_FILE_COMMENT_0409
128 VALUE "Comments", RC_FILE_COMMENT_0409
130 VALUE "FileDescription", RC_FILE_DESC_0409
131 VALUE "FileVersion", RC_FILE_VER_0409
132 VALUE "InternalName", RC_FILE_INTERNAL_0409
133 VALUE "OriginalFilename", RC_FILE_ORIG_0409
135 VALUE "PrivateBuild", VER_PRIVATE
138 VALUE "SpecialBuild", VER_SPECIAL
145 VALUE "Translation", 0x0409 /* US English */, 1252 /* Multilingual */