pullup from 1.2-beta4
[krb5.git] / src / windows / version.rc
1 #include <windows.h>
2 #include <ver.h>
3
4 /*
5  * BEGIN COMMON VERSION INFO for GSS and Kerberos version resources
6  */
7
8 #define PRE_RELEASE
9
10 #ifdef PRE_RELEASE
11 #define BETA_STR  " beta"
12 #define BETA_FLAG VS_FF_PRERELEASE
13 #else
14 #define BETA_STR  ""
15 #define BETA_FLAG 0
16 #endif
17
18 #if !defined(_WIN32)
19 #define Targ_OS VOS__WINDOWS16
20 #else
21 #define Targ_OS VOS__WINDOWS32
22 #endif
23
24 /* we're going to stamp all the DLLs with the same version number */
25
26 #define K5_PRODUCT_VERSION_STRING "1.2" BETA_STR "\0"
27 #define K5_PRODUCT_VERSION        1, 2, 0, 0
28
29 #define K5_COPYRIGHT "Copyright (C) 1997-2000 by the Massachusetts Institute of Technology\0"
30 #define K5_COMPANY_NAME "Massachusetts Institute of Technology.\0"
31
32 /* 
33  * END COMMON VERSION INFO
34  */
35
36
37 /*
38  * BEGIN SPECIFIC VERSION INFO for GSS and Kerberos version resources
39  */
40
41 #ifdef CE_LIB
42 #define K5_DESCRIPTION "COM_ERR - Common Error Handler for MIT Kerberos v5 / GSS distribution\0"
43 #define K5_INTERNAL_NAME "comerr\0"
44 #define K5_FILETYPE     VFT_DLL
45 #if !defined(_WIN32)
46 #define K5_ORIGINAL_NAME "comerr16.dll\0"
47 #else
48 #define K5_ORIGINAL_NAME "comerr32.dll\0"
49 #endif
50 #endif /* comerr */
51
52 #ifdef PROF_LIB
53 #define K5_DESCRIPTION "PROFILE - Profile Library MIT Kerberos v5 / GSS distribution\0"
54 #define K5_INTERNAL_NAME "profile\0"
55 #define K5_FILETYPE     VFT_DLL
56 #if !defined(_WIN32)
57 #define K5_ORIGINAL_NAME "xpprof16.dll\0"
58 #else
59 #define K5_ORIGINAL_NAME "xpprof32.dll\0"
60 #endif
61 #endif /* profile */
62
63 #ifdef KRB5_LIB
64 #define K5_DESCRIPTION "Kerberos v5 - MIT GSS / Kerberos v5 distribution\0"
65 #define K5_INTERNAL_NAME "krb5\0"
66 #define K5_FILETYPE     VFT_DLL
67 #if !defined(_WIN32)
68 #define K5_ORIGINAL_NAME "krb5_16.dll\0"
69 #else
70 #define K5_ORIGINAL_NAME "krb5_32.dll\0"
71 #endif
72 #endif /* KRB5 */
73
74 #ifdef GSSAPI_LIB
75 #define K5_DESCRIPTION "GSSAPI - GSS API implementation for Kerberos 5 mechanism\0"
76 #define K5_INTERNAL_NAME "gssapi\0"
77 #define K5_FILETYPE     VFT_DLL
78 #if !defined(_WIN32)
79 #define K5_ORIGINAL_NAME "gssapi.dll\0"
80 #else
81 #define K5_ORIGINAL_NAME "gssapi32.dll\0"
82 #endif
83 #endif /* GSSAPI */
84
85 #ifdef KRB4_LIB
86 #define K5_DESCRIPTION "Kerberos v4 - MIT GSS / Kerberos v4 and v5 distribution\0"
87 #define K5_INTERNAL_NAME "krb4\0"
88 #define K5_FILETYPE     VFT_DLL
89 #if !defined(_WIN32)
90 #define K5_ORIGINAL_NAME "krb4_16.dll\0"
91 #else
92 #define K5_ORIGINAL_NAME "krb4_32.dll\0"
93 #endif
94 #endif /* KRB4 */
95
96 #ifdef SAPKRB_LIB
97 #define K5_DESCRIPTION "Kerberos v5 - MIT GSS / Kerberos v5 distribution (for SAP)\0"
98 #define K5_INTERNAL_NAME "sapkrb5\0"
99 #define K5_FILETYPE     VFT_DLL
100 #if !defined(_WIN32)
101 #define K5_ORIGINAL_NAME "sapkrb16.dll\0"
102 #else
103 #define K5_ORIGINAL_NAME "sapkrb32.dll\0"
104 #endif
105 #endif /* SAPKRB */
106
107 #ifdef SAPGSS_LIB
108 #define K5_DESCRIPTION "GSSAPI - GSS API implementation for Kerberos 5 mechanism(for SAP)\0"
109 #define K5_INTERNAL_NAME "sapgss\0"
110 #define K5_FILETYPE     VFT_DLL
111 #if !defined(_WIN32)
112 #define K5_ORIGINAL_NAME "sapgss16.dll\0"
113 #else
114 #define K5_ORIGINAL_NAME "sapgss32.dll\0"
115 #endif
116 #endif /* SAPGSS */
117
118 #ifdef KRB5_APP
119 #define K5_DESCRIPTION "KRB5 Ticket Manager - MIT GSS / Kerberos v5 distribution\0"
120 #define K5_FILETYPE     VFT_APP
121 #define K5_INTERNAL_NAME "KRB5\0"
122 #define K5_ORIGINAL_NAME "krb5.exe\0"
123 #endif /* KRB5_APP */
124
125 #ifdef GSS_APP
126 #define K5_DESCRIPTION "GSS - GSS Sample Application for MIT Kerberos v5 / GSS distribution\0"
127 #define K5_FILETYPE     VFT_APP
128 #define K5_INTERNAL_NAME "GSS\0"
129 #define K5_ORIGINAL_NAME "gss.exe\0"
130 #endif
131
132 #ifdef TELNET_APP
133 #define K5_DESCRIPTION "Telnet - Telnet Application for MIT Kerberos v5 / GSS distribution\0"
134 #define K5_FILETYPE     VFT_APP
135 #define K5_INTERNAL_NAME "TELNET\0"
136 #define K5_ORIGINAL_NAME "telnet.exe\0"
137 #endif
138
139 /* 
140  * END SPECIFIC VERSION INFO
141  */
142
143 VS_VERSION_INFO VERSIONINFO
144 FILEVERSION     K5_PRODUCT_VERSION
145 PRODUCTVERSION  K5_PRODUCT_VERSION
146 FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
147 FILEFLAGS       (VS_FF_DEBUG | VS_FF_PRIVATEBUILD | BETA_FLAG)
148 FILEOS          Targ_OS
149 FILETYPE        K5_FILETYPE
150 BEGIN
151     BLOCK "VarFileInfo"
152     BEGIN
153         VALUE "Translation", 0x0409, 1252
154     END
155
156     BLOCK "StringFileInfo"
157     BEGIN
158         BLOCK "040904E4"
159         BEGIN
160             VALUE "CompanyName",        K5_COMPANY_NAME
161             VALUE "FileDescription",    K5_DESCRIPTION
162             VALUE "FileVersion",        K5_PRODUCT_VERSION_STRING
163             VALUE "InternalName",       K5_INTERNAL_NAME
164             VALUE "LegalTrademarks",    "\0"
165             VALUE "OriginalFilename",   K5_ORIGINAL_NAME
166             VALUE "ProductName",        K5_ORIGINAL_NAME
167             VALUE "ProductVersion",     K5_PRODUCT_VERSION_STRING
168
169             VALUE "LegalCopyright",     K5_COPYRIGHT
170         END
171     END
172 END