0f4436121a
2004/07/19 06:30:51 jmeng 1.5.172.5: separate versin to 3 lines 2004/07/12 06:31:42 jmeng 1.5.172.4: for long verison infor 2004/07/12 01:43:55 jmeng 1.5.172.3: the version infor is to long to write in one line 2004/07/08 06:32:15 jmeng 1.5.172.2: RESYNC: (1.5-1.6); FILE MERGED 2004/05/27 03:39:39 jmeng 1.5.172.1: add user defined dll version information in Windows
188 lines
5.2 KiB
Text
188 lines
5.2 KiB
Text
/*************************************************************************
|
|
*
|
|
* $RCSfile: shlinfo.rc,v $
|
|
*
|
|
* $Revision: 1.7 $
|
|
*
|
|
* last change: $Author: rt $ $Date: 2004-08-20 10:09:40 $
|
|
*
|
|
* The Contents of this file are made available subject to the terms of
|
|
* either of the following licenses
|
|
*
|
|
* - GNU Lesser General Public License Version 2.1
|
|
* - Sun Industry Standards Source License Version 1.1
|
|
*
|
|
* Sun Microsystems Inc., October, 2000
|
|
*
|
|
* GNU Lesser General Public License Version 2.1
|
|
* =============================================
|
|
* Copyright 2000 by Sun Microsystems, Inc.
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License version 2.1, as published by the Free Software Foundation.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
* MA 02111-1307 USA
|
|
*
|
|
*
|
|
* Sun Industry Standards Source License Version 1.1
|
|
* =================================================
|
|
* The contents of this file are subject to the Sun Industry Standards
|
|
* Source License Version 1.1 (the "License"); You may not use this file
|
|
* except in compliance with the License. You may obtain a copy of the
|
|
* License at http://www.openoffice.org/license.html.
|
|
*
|
|
* Software provided under this License is provided on an "AS IS" basis,
|
|
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
|
|
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
|
|
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
|
|
* See the License for the specific provisions governing your rights and
|
|
* obligations concerning the Software.
|
|
*
|
|
* The Initial Developer of the Original Code is: Sun Microsystems, Inc.
|
|
*
|
|
* Copyright: 2000 by Sun Microsystems, Inc.
|
|
*
|
|
* All Rights Reserved.
|
|
*
|
|
* Contributor(s): _______________________________________
|
|
*
|
|
*
|
|
************************************************************************/
|
|
|
|
#define VERSION 8
|
|
//#define SUBVERSION 0
|
|
//#define VERVARIANT 0
|
|
|
|
// .0 + VER_CONCEPT
|
|
// .100 + VER_ALPHA
|
|
// .200 + VER_BETA
|
|
// .300 + VER_GAMMA
|
|
// .500 + VER_FINAL
|
|
//#define VER_CONCEPT 0
|
|
//#define VER_BETA 6
|
|
#define VER_FINAL 0
|
|
|
|
#define VER_DAY 1
|
|
#define VER_MONTH 6
|
|
#define VER_YEAR 2004
|
|
|
|
// -----------------------------------------------------------------------
|
|
|
|
#if !defined(ENGLISH)
|
|
#define LG_D // generate always german version
|
|
#endif
|
|
|
|
#define VER_FIRSTYEAR VER_YEAR
|
|
|
|
#include <windows.h>
|
|
#include "verinfo.hrc"
|
|
|
|
#ifdef WIN32
|
|
#define FOR_WIN_X " (32 Bit)"
|
|
#else
|
|
#define FOR_WIN_X ""
|
|
#endif
|
|
|
|
// -----------------------------------------------------------------------
|
|
// language/character set specification table
|
|
// -----------------------------------------------------------------------
|
|
|
|
RCD_LANGUAGE rcdata
|
|
{
|
|
#ifdef LG_D
|
|
"040704B0", // Germany -> Unicode
|
|
"040704E4", // Germany -> Windows, Multilingual
|
|
#else
|
|
"040904B0", // Germany -> Unicode
|
|
"040904E4", // USA -> Windows, Multilingual
|
|
#endif
|
|
"04090000", // USA -> 7-Bit-ASCII
|
|
0 // end of table
|
|
}
|
|
|
|
// -----------------------------------------------------------------------
|
|
// version information
|
|
// -----------------------------------------------------------------------
|
|
|
|
VS_VERSION_INFO versioninfo
|
|
#ifndef SUBVERSION
|
|
fileversion VERSION, 0, 0, VERVARIANT
|
|
productversion VERSION, 0, 0, VERVARIANT
|
|
#else
|
|
fileversion VERSION, VERVARIANT, VER_COUNT
|
|
productversion VERSION, VERVARIANT, VER_COUNT
|
|
#endif
|
|
fileflagsmask 0x3F
|
|
fileflags
|
|
#if defined(DEBUG)
|
|
VS_FF_DEBUG |
|
|
#endif
|
|
#ifdef VER_PREL
|
|
VS_FF_PRERELEASE |
|
|
#endif
|
|
0
|
|
#ifndef WIN32
|
|
fileos VOS_DOS_WINDOWS16
|
|
#else
|
|
fileos VOS_NT_WINDOWS32
|
|
#endif
|
|
filetype VFT_APP
|
|
{
|
|
block "StringFileInfo"
|
|
{
|
|
#ifdef LG_D
|
|
block "040704E4"
|
|
{
|
|
// German StringTable
|
|
value "CompanyName", "Sun Microsystems, Inc.\0"
|
|
value "FileVersion", PPS(VER_LEVEL) "\0"
|
|
value "OriginalFilename", PPS(ORG_NAME) "\0"
|
|
value "InternalName", PPS(INTERNAL_NAME) "\0"
|
|
value "LegalCopyright", S_CRIGHT " Sun Microsystems, Inc.\0"
|
|
ADDITIONAL_VERINFO1
|
|
ADDITIONAL_VERINFO2
|
|
ADDITIONAL_VERINFO3
|
|
}
|
|
#else
|
|
block "040904E4"
|
|
{
|
|
// International StringTable
|
|
value "CompanyName", "Sun Microsystems, Inc.\0"
|
|
value "FileVersion", PPS(VER_LEVEL) "\0"
|
|
value "OriginalFilename", PPS(ORG_NAME) "\0"
|
|
value "InternalName", PPS(INTERNAL_NAME) "\0"
|
|
value "LegalCopyright", S_CRIGHT " Sun Microsystems, Inc.\0"
|
|
ADDITIONAL_VERINFO1
|
|
ADDITIONAL_VERINFO2
|
|
ADDITIONAL_VERINFO3
|
|
}
|
|
#endif
|
|
}
|
|
|
|
block "VarFileInfo"
|
|
{
|
|
#ifdef LG_D
|
|
value "Translation", 0x0407, 1252
|
|
#else
|
|
value "Translation", 0x0409, 1252
|
|
#endif
|
|
}
|
|
}
|
|
|
|
// version binary entry
|
|
VS_VERSION_INFO rcdata
|
|
{
|
|
0xF0, "sw", 0x0F, VER_YEAR, VER_MONTH, VER_DAY,
|
|
VERSION, VERVARIANT, VER_COUNT
|
|
};
|
|
|