annotate PC/python_nt.rc @ 13163:a09e8635534d legacy-trunk

Don't try to guess the name of a .def file -- if one is supplied, use it, otherwise just generate an '/export:' option.
author Greg Ward <gward@python.net>
date Thu, 29 Jun 2000 23:09:20 +0000
parents fa3dc21d0e08
children ff9c79bbc3ee
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
13157
fa3dc21d0e08 Bump version to 2.0b1. Change copyright to BeOpen, CNRI, SMC.
Guido van Rossum <guido@python.org>
parents: 12128
diff changeset
11 #define MS_DLL_ID "2.0"
6353
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
13157
fa3dc21d0e08 Bump version to 2.0b1. Change copyright to BeOpen, CNRI, SMC.
Guido van Rossum <guido@python.org>
parents: 12128
diff changeset
16 #define PYTHON_DLL_NAME "Python20.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
12128
b5fcb5396999 Seems there was a version string here that still looked like 1.5.2.
Guido van Rossum <guido@python.org>
parents: 12091
diff changeset
31 FILEVERSION 1,6,0,0
b5fcb5396999 Seems there was a version string here that still looked like 1.5.2.
Guido van Rossum <guido@python.org>
parents: 12091
diff changeset
32 PRODUCTVERSION 1,6,0,0
4123
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
13157
fa3dc21d0e08 Bump version to 2.0b1. Change copyright to BeOpen, CNRI, SMC.
Guido van Rossum <guido@python.org>
parents: 12128
diff changeset
47 VALUE "CompanyName", "BeOpen.com\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"
13157
fa3dc21d0e08 Bump version to 2.0b1. Change copyright to BeOpen, CNRI, SMC.
Guido van Rossum <guido@python.org>
parents: 12128
diff changeset
51 VALUE "LegalCopyright", "Copyright (c) 2000 BeOpen.com. Copyright (c) 1995-2000 CNRI. Copyright (c) 1990-1995 SMC.\0"
4123
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 /////////////////////////////////////////////////////////////////////////////