Windows: Enable weak crypto by default
[heimdal.git] / windows / version.rc
blob59d197869f167dfc41823003ab6bd2402a80e64b
1 /***********************************************************************
2  * Copyright (c) 2010, Secure Endpoints Inc.
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * - Redistributions of source code must retain the above copyright
10  *   notice, this list of conditions and the following disclaimer.
11  *
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
15  *   distribution.
16  *
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.
29  *
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
35  * macros:
36  *
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))
40  *
41  * The following macros are optional:
42  *
43  * RC_FILE_SUBTYPE      (File subtype. See MSDN.)
44  * RC_FILEVER_C         (Comma separated file version, if different from
45  *                       product version)
46  * RC_FILE_COMMENT_0409 (File comment (English))
47  */
49 #include<windows.h>
50 #include<config.h>
52 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
53 #pragma code_page(1252)
55 #ifdef VER_PRIVATE
56 #define P_PRIVATE VS_FF_PRIVATEBUILD
57 #else
58 #define P_PRIVATE 0
59 #endif
61 #ifdef VER_SPECIAL
62 #define P_SPECIAL VS_FF_SPECIALBUILD
63 #else
64 #define P_SPECIAL 0
65 #endif
67 #ifdef VER_PRERELEASE
68 #define P_PRE VS_FF_PRERELEASE
69 #else
70 #define P_PRE 0
71 #endif
73 #ifdef VER_DEBUG
74 #define P_DEBUG VS_FF_DEBUG
75 #else
76 #define P_DEBUG 0
77 #endif
79 /* If some per-file values aren't specified, we use the application
80 values as a substitute */
82 #ifndef RC_FILEVER_C
83 #define RC_FILEVER_C RC_PRODVER_C
84 #define RC_FILE_VER_0409 RC_PRODUCT_VER_0409
85 #endif
87 #ifndef RC_FILE_INTERNAL_0409
88 #define RC_FILE_INTERNAL_0409 RC_FILE_ORIG_0409
89 #endif
91 1 VERSIONINFO
92     FILEVERSION RC_FILEVER_C
93     PRODUCTVERSION RC_PRODVER_C
94     FILEFLAGSMASK (VS_FF_DEBUG|VS_FF_PRERELEASE|VS_FF_PRIVATEBUILD|VS_FF_SPECIALBUILD)
95     FILEFLAGS (P_DEBUG|P_PRE|P_PRIVATE|P_SPECIAL)
96     FILEOS VOS_NT
97     FILETYPE RC_FILE_TYPE
98 #ifdef RC_FILE_SUBTYPE
99     FILESUBTYPE RC_FILE_SUBTYPE
100 #endif
101     BEGIN
102        BLOCK "StringFileInfo"
103        BEGIN
104            BLOCK "040904E4"
105            BEGIN
106                VALUE "ProductName", RC_PRODUCT_NAME_0409
107                VALUE "ProductVersion", RC_PRODUCT_VER_0409
108                VALUE "CompanyName", RC_COMPANY_0409
109                VALUE "LegalCopyright", RC_COPYRIGHT_0409
111 #ifdef RC_FILE_COMMENT_0409
112                VALUE "Comments", RC_FILE_COMMENT_0409
113 #endif
114                VALUE "FileDescription", RC_FILE_DESC_0409
115                VALUE "FileVersion", RC_FILE_VER_0409
116                VALUE "InternalName", RC_FILE_INTERNAL_0409
117                VALUE "OriginalFilename", RC_FILE_ORIG_0409
118 #ifdef VER_PRIVATE
119                VALUE "PrivateBuild", VER_PRIVATE
120 #endif
121 #ifdef VER_SPECIAL
122                VALUE "SpecialBuild", VER_SPECIAL
123 #endif
124            END
125        END
127        BLOCK "VarFileInfo"
128        BEGIN
129            VALUE "Translation", 0x0409  /* US English */, 1252 /* Multilingual */
130        END
131     END