1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
---|
2 | /* ***** BEGIN LICENSE BLOCK *****
|
---|
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
---|
4 | *
|
---|
5 | * The contents of this file are subject to the Mozilla Public License Version
|
---|
6 | * 1.1 (the "License"); you may not use this file except in compliance with
|
---|
7 | * the License. You may obtain a copy of the License at
|
---|
8 | * http://www.mozilla.org/MPL/
|
---|
9 | *
|
---|
10 | * Software distributed under the License is distributed on an "AS IS" basis,
|
---|
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
---|
12 | * for the specific language governing rights and limitations under the
|
---|
13 | * License.
|
---|
14 | *
|
---|
15 | * The Original Code is the Netscape Portable Runtime (NSPR).
|
---|
16 | *
|
---|
17 | * The Initial Developer of the Original Code is
|
---|
18 | * Netscape Communications Corporation.
|
---|
19 | * Portions created by the Initial Developer are Copyright (C) 1999-2000
|
---|
20 | * the Initial Developer. All Rights Reserved.
|
---|
21 | *
|
---|
22 | * Contributor(s):
|
---|
23 | *
|
---|
24 | * Alternatively, the contents of this file may be used under the terms of
|
---|
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or
|
---|
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
---|
27 | * in which case the provisions of the GPL or the LGPL are applicable instead
|
---|
28 | * of those above. If you wish to allow use of your version of this file only
|
---|
29 | * under the terms of either the GPL or the LGPL, and not to allow others to
|
---|
30 | * use your version of this file under the terms of the MPL, indicate your
|
---|
31 | * decision by deleting the provisions above and replace them with the notice
|
---|
32 | * and other provisions required by the GPL or the LGPL. If you do not delete
|
---|
33 | * the provisions above, a recipient may use your version of this file under
|
---|
34 | * the terms of any one of the MPL, the GPL or the LGPL.
|
---|
35 | *
|
---|
36 | * ***** END LICENSE BLOCK ***** */
|
---|
37 |
|
---|
38 | #include "prinit.h"
|
---|
39 | #include <winver.h>
|
---|
40 |
|
---|
41 | #define MY_LIBNAME "prstrms"
|
---|
42 | #define MY_FILEDESCRIPTION "PRSTRMS Library"
|
---|
43 |
|
---|
44 | #define STRINGIZE(x) #x
|
---|
45 | #define STRINGIZE2(x) STRINGIZE(x)
|
---|
46 | #define PR_VMAJOR_STR STRINGIZE2(PR_VMAJOR)
|
---|
47 |
|
---|
48 | #ifdef _DEBUG
|
---|
49 | #define MY_DEBUG_STR " (debug)"
|
---|
50 | #define MY_FILEFLAGS_1 VS_FF_DEBUG
|
---|
51 | #else
|
---|
52 | #define MY_DEBUG_STR ""
|
---|
53 | #define MY_FILEFLAGS_1 0x0L
|
---|
54 | #endif
|
---|
55 | #if PR_BETA
|
---|
56 | #define MY_FILEFLAGS_2 MY_FILEFLAGS_1|VS_FF_PRERELEASE
|
---|
57 | #else
|
---|
58 | #define MY_FILEFLAGS_2 MY_FILEFLAGS_1
|
---|
59 | #endif
|
---|
60 |
|
---|
61 | #ifdef WINNT
|
---|
62 | #define MY_FILEOS VOS_NT_WINDOWS32
|
---|
63 | #define MY_INTERNAL_NAME "lib" MY_LIBNAME PR_VMAJOR_STR
|
---|
64 | #else
|
---|
65 | #define MY_FILEOS VOS__WINDOWS32
|
---|
66 | #define MY_INTERNAL_NAME MY_LIBNAME PR_VMAJOR_STR
|
---|
67 | #endif
|
---|
68 |
|
---|
69 | /////////////////////////////////////////////////////////////////////////////
|
---|
70 | //
|
---|
71 | // Version-information resource
|
---|
72 | //
|
---|
73 |
|
---|
74 | VS_VERSION_INFO VERSIONINFO
|
---|
75 | FILEVERSION PR_VMAJOR,PR_VMINOR,PR_VPATCH,0
|
---|
76 | PRODUCTVERSION PR_VMAJOR,PR_VMINOR,PR_VPATCH,0
|
---|
77 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
---|
78 | FILEFLAGS MY_FILEFLAGS_2
|
---|
79 | FILEOS MY_FILEOS
|
---|
80 | FILETYPE VFT_DLL
|
---|
81 | FILESUBTYPE 0x0L // not used
|
---|
82 |
|
---|
83 | BEGIN
|
---|
84 | BLOCK "StringFileInfo"
|
---|
85 | BEGIN
|
---|
86 | BLOCK "040904B0" // Lang=US English, CharSet=Unicode
|
---|
87 | BEGIN
|
---|
88 | VALUE "CompanyName", "Netscape Communications Corporation\0"
|
---|
89 | VALUE "FileDescription", MY_FILEDESCRIPTION MY_DEBUG_STR "\0"
|
---|
90 | VALUE "FileVersion", PR_VERSION "\0"
|
---|
91 | VALUE "InternalName", MY_INTERNAL_NAME "\0"
|
---|
92 | VALUE "LegalCopyright", "Copyright \251 1996-2000 Netscape Communications Corporation\0"
|
---|
93 | VALUE "OriginalFilename", MY_INTERNAL_NAME ".dll\0"
|
---|
94 | VALUE "ProductName", "Netscape Portable Runtime\0"
|
---|
95 | VALUE "ProductVersion", PR_VERSION "\0"
|
---|
96 | END
|
---|
97 | END
|
---|
98 | BLOCK "VarFileInfo"
|
---|
99 | BEGIN
|
---|
100 | VALUE "Translation", 0x409, 1200
|
---|
101 | END
|
---|
102 | END
|
---|