cca46caf65
2008/07/16 12:19:50 obr 1.10.218.2: RESYNC: (1.10-1.11); FILE MERGED 2008/01/15 09:36:36 ydario 1.10.218.1: os2 build system makefile changes. Issue number:i85203 Submitted by:ydario
165 lines
4 KiB
Text
165 lines
4 KiB
Text
/*************************************************************************
|
|
*
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
*
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* $RCSfile: shlinfo.rc,v $
|
|
* $Revision: 1.12 $
|
|
*
|
|
* This file is part of OpenOffice.org.
|
|
*
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
* only, as published by the Free Software Foundation.
|
|
*
|
|
* OpenOffice.org 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 version 3 for more details
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
* <http://www.openoffice.org/license.html>
|
|
* for a copy of the LGPLv3 License.
|
|
*
|
|
************************************************************************/
|
|
|
|
#define VERSION 2
|
|
#define SUBVERSION 3
|
|
#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 9
|
|
#define VER_YEAR 2007
|
|
|
|
// -----------------------------------------------------------------------
|
|
|
|
#if !defined(ENGLISH)
|
|
#define LG_D // generate always german version
|
|
#endif
|
|
|
|
#define VER_FIRSTYEAR VER_YEAR
|
|
|
|
|
|
#if defined(OS2)
|
|
|
|
#define OS2_VERSION "hello world"
|
|
|
|
#else
|
|
|
|
#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
|
|
};
|
|
|
|
#endif // OS2
|