Debian Codegraph @

pTk/mTk/win/rc/wish.rc

raw
1 // RCS: @(#) $Id: wish.rc,v 1.8 2002/06/18 00:34:45 davygrvy Exp $
2 //
3 // Version Resource Script
4 //
5
6 #include <windows.h>
7 #include <tk.h>
8
9 //
10 // build-up the name suffix that defines the type of build this is.
11 //
12 #ifdef TCL_THREADS
13 #define SUFFIX_THREADS "t"
14 #else
15 #define SUFFIX_THREADS ""
16 #endif
17
18 #ifdef STATIC_BUILD
19 #define SUFFIX_STATIC "s"
20 #else
21 #define SUFFIX_STATIC ""
22 #endif
23
24 #ifdef DEBUG
25 #define SUFFIX_DEBUG "d"
26 #else
27 #define SUFFIX_DEBUG ""
28 #endif
29
30 #define SUFFIX SUFFIX_THREADS SUFFIX_STATIC SUFFIX_DEBUG
31
32
33 VS_VERSION_INFO VERSIONINFO
34 FILEVERSION TK_MAJOR_VERSION,TK_MINOR_VERSION,TK_RELEASE_LEVEL,TK_RELEASE_SERIAL
35 PRODUCTVERSION TK_MAJOR_VERSION,TK_MINOR_VERSION,TK_RELEASE_LEVEL,TK_RELEASE_SERIAL
36 FILEFLAGSMASK 0x3fL
37 #ifdef DEBUG
38 FILEFLAGS VS_FF_DEBUG
39 #else
40 FILEFLAGS 0x0L
41 #endif
42 FILEOS VOS__WINDOWS32
43 FILETYPE VFT_APP
44 FILESUBTYPE 0x0L
45 BEGIN
46 BLOCK "StringFileInfo"
47 BEGIN
48 BLOCK "040904b0"
49 BEGIN
50 VALUE "FileDescription", "Wish Application\0"
51 VALUE "OriginalFilename", "wish" STRINGIFY(JOIN(TK_MAJOR_VERSION,TK_MINOR_VERSION)) SUFFIX ".exe\0"
52 VALUE "CompanyName", "ActiveState Corporation\0"
53 VALUE "FileVersion", TK_PATCH_LEVEL
54 VALUE "LegalCopyright", "Copyright \251 2000 by ActiveState Corporation, et al\0"
55 VALUE "ProductName", "Tk " TK_VERSION " for Windows\0"
56 VALUE "ProductVersion", TK_PATCH_LEVEL
57 END
58 END
59 BLOCK "VarFileInfo"
60 BEGIN
61 VALUE "Translation", 0x409, 1200
62 END
63 END
64
65 //
66 // Icon
67 //
68 // The icon whose name or resource ID is lexigraphically first, is used
69 // as the application's icon.
70 //
71
72 app ICON DISCARDABLE "wish.ico"
73
74 #ifdef STATIC_BUILD
75 #include "tk_base.rc"
76 #endif
77
78 //
79 // This enables themed scrollbars in XP by trying to use comctl32 v6.
80 //
81
82 #ifndef RT_MANIFEST
83 #define RT_MANIFEST 24
84 #endif
85 #ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID
86 #define CREATEPROCESS_MANIFEST_RESOURCE_ID 1
87 #endif
88 CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "wish.exe.manifest"
89