andre@3: /* This Source Code Form is subject to the terms of the Mozilla Public andre@3: * License, v. 2.0. If a copy of the MPL was not distributed with this andre@3: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ andre@3: andre@3: #include "../softkver.h" andre@3: #include andre@3: andre@3: #define MY_LIBNAME "nssdbm" andre@3: #define MY_FILEDESCRIPTION "Legacy Database Driver" andre@3: andre@3: #define STRINGIZE(x) #x andre@3: #define STRINGIZE2(x) STRINGIZE(x) andre@3: #define SOFTOKEN_VMAJOR_STR STRINGIZE2(SOFTOKEN_VMAJOR) andre@3: andre@3: #ifdef _DEBUG andre@3: #define MY_DEBUG_STR " (debug)" andre@3: #define MY_FILEFLAGS_1 VS_FF_DEBUG andre@3: #else andre@3: #define MY_DEBUG_STR "" andre@3: #define MY_FILEFLAGS_1 0x0L andre@3: #endif andre@3: #if SOFTOKEN_BETA andre@3: #define MY_FILEFLAGS_2 MY_FILEFLAGS_1|VS_FF_PRERELEASE andre@3: #else andre@3: #define MY_FILEFLAGS_2 MY_FILEFLAGS_1 andre@3: #endif andre@3: andre@3: #ifdef WINNT andre@3: #define MY_FILEOS VOS_NT_WINDOWS32 andre@3: #else andre@3: #define MY_FILEOS VOS__WINDOWS32 andre@3: #endif andre@3: andre@3: #define MY_INTERNAL_NAME MY_LIBNAME SOFTOKEN_VMAJOR_STR andre@3: andre@3: ///////////////////////////////////////////////////////////////////////////// andre@3: // andre@3: // Version-information resource andre@3: // andre@3: andre@3: VS_VERSION_INFO VERSIONINFO andre@3: FILEVERSION SOFTOKEN_VMAJOR,SOFTOKEN_VMINOR,SOFTOKEN_VPATCH,SOFTOKEN_VBUILD andre@3: PRODUCTVERSION SOFTOKEN_VMAJOR,SOFTOKEN_VMINOR,SOFTOKEN_VPATCH,SOFTOKEN_VBUILD andre@3: FILEFLAGSMASK VS_FFI_FILEFLAGSMASK andre@3: FILEFLAGS MY_FILEFLAGS_2 andre@3: FILEOS MY_FILEOS andre@3: FILETYPE VFT_DLL andre@3: FILESUBTYPE 0x0L // not used andre@3: andre@3: BEGIN andre@3: BLOCK "StringFileInfo" andre@3: BEGIN andre@3: BLOCK "040904B0" // Lang=US English, CharSet=Unicode andre@3: BEGIN andre@3: VALUE "CompanyName", "Mozilla Foundation\0" andre@3: VALUE "FileDescription", MY_FILEDESCRIPTION MY_DEBUG_STR "\0" andre@3: VALUE "FileVersion", SOFTOKEN_VERSION "\0" andre@3: VALUE "InternalName", MY_INTERNAL_NAME "\0" andre@3: VALUE "OriginalFilename", MY_INTERNAL_NAME ".dll\0" andre@3: VALUE "ProductName", "Network Security Services\0" andre@3: VALUE "ProductVersion", SOFTOKEN_VERSION "\0" andre@3: END andre@3: END andre@3: BLOCK "VarFileInfo" andre@3: BEGIN andre@3: VALUE "Translation", 0x409, 1200 andre@3: END andre@3: END