annotate PC/python_nt.rc @ 6719:faebc1940432 legacy-trunk

Understand -Xlinker option.
author Guido van Rossum <guido@python.org>
date Tue, 02 Dec 1997 20:38:11 +0000
parents 666accd66878
children 7099de83b191
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4123
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
1 // Resource script for Python core DLL.
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
2 // Currently only holds version information.
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
3 //
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
4 #include "ver.h"
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
5 #include "winver.h"
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
6
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
7 #define MS_WINDOWS
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
8 #include "modsupport.h"
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
9 #include "patchlevel.h"
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
10
6353
666accd66878 Bump version and store DLL version in a string variable (for branding).
Guido van Rossum <guido@python.org>
parents: 4127
diff changeset
11 #define MS_DLL_ID "1.5.0"
666accd66878 Bump version and store DLL version in a string variable (for branding).
Guido van Rossum <guido@python.org>
parents: 4127
diff changeset
12
4123
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
13 #define PYTHON_VERSION MS_DLL_ID "." PYTHON_API_STRING "\0"
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
14
4127
a7a9d83505c4 Use MS_DLL_ID and similar changes
Guido van Rossum <guido@python.org>
parents: 4123
diff changeset
15 #ifndef PYTHON_DLL_NAME
6353
666accd66878 Bump version and store DLL version in a string variable (for branding).
Guido van Rossum <guido@python.org>
parents: 4127
diff changeset
16 #define PYTHON_DLL_NAME "Python15.dll"
4127
a7a9d83505c4 Use MS_DLL_ID and similar changes
Guido van Rossum <guido@python.org>
parents: 4123
diff changeset
17 #endif
a7a9d83505c4 Use MS_DLL_ID and similar changes
Guido van Rossum <guido@python.org>
parents: 4123
diff changeset
18
6353
666accd66878 Bump version and store DLL version in a string variable (for branding).
Guido van Rossum <guido@python.org>
parents: 4127
diff changeset
19 // String Tables
666accd66878 Bump version and store DLL version in a string variable (for branding).
Guido van Rossum <guido@python.org>
parents: 4127
diff changeset
20 STRINGTABLE DISCARDABLE
666accd66878 Bump version and store DLL version in a string variable (for branding).
Guido van Rossum <guido@python.org>
parents: 4127
diff changeset
21 BEGIN
666accd66878 Bump version and store DLL version in a string variable (for branding).
Guido van Rossum <guido@python.org>
parents: 4127
diff changeset
22 1000, MS_DLL_ID
666accd66878 Bump version and store DLL version in a string variable (for branding).
Guido van Rossum <guido@python.org>
parents: 4127
diff changeset
23 END
666accd66878 Bump version and store DLL version in a string variable (for branding).
Guido van Rossum <guido@python.org>
parents: 4127
diff changeset
24
4123
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
25 /////////////////////////////////////////////////////////////////////////////
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
26 //
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
27 // Version
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
28 //
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
29
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
30 VS_VERSION_INFO VERSIONINFO
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
31 FILEVERSION 1,0,0,1
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
32 PRODUCTVERSION 1,0,0,1
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
33 FILEFLAGSMASK 0x3fL
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
34 #ifdef _DEBUG
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
35 FILEFLAGS 0x1L
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
36 #else
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
37 FILEFLAGS 0x0L
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
38 #endif
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
39 FILEOS 0x40004L
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
40 FILETYPE 0x1L
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
41 FILESUBTYPE 0x0L
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
42 BEGIN
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
43 BLOCK "StringFileInfo"
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
44 BEGIN
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
45 BLOCK "000004b0"
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
46 BEGIN
4127
a7a9d83505c4 Use MS_DLL_ID and similar changes
Guido van Rossum <guido@python.org>
parents: 4123
diff changeset
47 VALUE "CompanyName", "Corporation for National Research Initatives\0"
4123
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
48 VALUE "FileDescription", "Python Core\0"
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
49 VALUE "FileVersion", PYTHON_VERSION
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
50 VALUE "InternalName", "Python DLL\0"
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
51 VALUE "LegalCopyright", "Copyright © 1991-1996 Stichting Mathematisch Centrum, Amsterdam\0"
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
52 VALUE "OriginalFilename", PYTHON_DLL_NAME "\0"
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
53 VALUE "ProductName", "Python\0"
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
54 VALUE "ProductVersion", PYTHON_VERSION
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
55 END
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
56 END
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
57 BLOCK "VarFileInfo"
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
58 BEGIN
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
59 VALUE "Translation", 0x0, 1200
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
60 END
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
61 END
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
62
71b43d4b7cd0 Added dllbase_nt.txt and python_nt.rc;
Guido van Rossum <guido@python.org>
parents:
diff changeset
63 /////////////////////////////////////////////////////////////////////////////