security/nss/lib/softoken/softokn.rc

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 #include "softkver.h"
michael@0 6 #include <winver.h>
michael@0 7
michael@0 8 #define MY_LIBNAME "softokn"
michael@0 9 #define MY_FILEDESCRIPTION "NSS PKCS #11 Library"
michael@0 10
michael@0 11 #define STRINGIZE(x) #x
michael@0 12 #define STRINGIZE2(x) STRINGIZE(x)
michael@0 13 #define SOFTOKEN_VMAJOR_STR STRINGIZE2(SOFTOKEN_VMAJOR)
michael@0 14
michael@0 15 #ifdef _DEBUG
michael@0 16 #define MY_DEBUG_STR " (debug)"
michael@0 17 #define MY_FILEFLAGS_1 VS_FF_DEBUG
michael@0 18 #else
michael@0 19 #define MY_DEBUG_STR ""
michael@0 20 #define MY_FILEFLAGS_1 0x0L
michael@0 21 #endif
michael@0 22 #if SOFTOKEN_BETA
michael@0 23 #define MY_FILEFLAGS_2 MY_FILEFLAGS_1|VS_FF_PRERELEASE
michael@0 24 #else
michael@0 25 #define MY_FILEFLAGS_2 MY_FILEFLAGS_1
michael@0 26 #endif
michael@0 27
michael@0 28 #ifdef WINNT
michael@0 29 #define MY_FILEOS VOS_NT_WINDOWS32
michael@0 30 #else
michael@0 31 #define MY_FILEOS VOS__WINDOWS32
michael@0 32 #endif
michael@0 33
michael@0 34 #define MY_INTERNAL_NAME MY_LIBNAME SOFTOKEN_VMAJOR_STR
michael@0 35
michael@0 36 /////////////////////////////////////////////////////////////////////////////
michael@0 37 //
michael@0 38 // Version-information resource
michael@0 39 //
michael@0 40
michael@0 41 VS_VERSION_INFO VERSIONINFO
michael@0 42 FILEVERSION SOFTOKEN_VMAJOR,SOFTOKEN_VMINOR,SOFTOKEN_VPATCH,SOFTOKEN_VBUILD
michael@0 43 PRODUCTVERSION SOFTOKEN_VMAJOR,SOFTOKEN_VMINOR,SOFTOKEN_VPATCH,SOFTOKEN_VBUILD
michael@0 44 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
michael@0 45 FILEFLAGS MY_FILEFLAGS_2
michael@0 46 FILEOS MY_FILEOS
michael@0 47 FILETYPE VFT_DLL
michael@0 48 FILESUBTYPE 0x0L // not used
michael@0 49
michael@0 50 BEGIN
michael@0 51 BLOCK "StringFileInfo"
michael@0 52 BEGIN
michael@0 53 BLOCK "040904B0" // Lang=US English, CharSet=Unicode
michael@0 54 BEGIN
michael@0 55 VALUE "CompanyName", "Mozilla Foundation\0"
michael@0 56 VALUE "FileDescription", MY_FILEDESCRIPTION MY_DEBUG_STR "\0"
michael@0 57 VALUE "FileVersion", SOFTOKEN_VERSION "\0"
michael@0 58 VALUE "InternalName", MY_INTERNAL_NAME "\0"
michael@0 59 VALUE "OriginalFilename", MY_INTERNAL_NAME ".dll\0"
michael@0 60 VALUE "ProductName", "Network Security Services\0"
michael@0 61 VALUE "ProductVersion", SOFTOKEN_VERSION "\0"
michael@0 62 END
michael@0 63 END
michael@0 64 BLOCK "VarFileInfo"
michael@0 65 BEGIN
michael@0 66 VALUE "Translation", 0x409, 1200
michael@0 67 END
michael@0 68 END

mercurial