nsprpub/lib/ds/plds.rc

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

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

mercurial