1*cc8deb09SAndrew Rist/************************************************************** 2*cc8deb09SAndrew Rist * 3*cc8deb09SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*cc8deb09SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*cc8deb09SAndrew Rist * distributed with this work for additional information 6*cc8deb09SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*cc8deb09SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*cc8deb09SAndrew Rist * "License"); you may not use this file except in compliance 9*cc8deb09SAndrew Rist * with the License. You may obtain a copy of the License at 10*cc8deb09SAndrew Rist * 11*cc8deb09SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*cc8deb09SAndrew Rist * 13*cc8deb09SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*cc8deb09SAndrew Rist * software distributed under the License is distributed on an 15*cc8deb09SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*cc8deb09SAndrew Rist * KIND, either express or implied. See the License for the 17*cc8deb09SAndrew Rist * specific language governing permissions and limitations 18*cc8deb09SAndrew Rist * under the License. 19*cc8deb09SAndrew Rist * 20*cc8deb09SAndrew Rist *************************************************************/ 21*cc8deb09SAndrew Rist 22cdf0e10cSrcweir#define VERSION 1 23cdf0e10cSrcweir#define SUBVERSION 0 24cdf0e10cSrcweir//#define VERVARIANT 0 25cdf0e10cSrcweir// .0 + VER_CONCEPT 26cdf0e10cSrcweir// .100 + VER_ALPHA 27cdf0e10cSrcweir// .200 + VER_BETA 28cdf0e10cSrcweir// .300 + VER_GAMMA 29cdf0e10cSrcweir// .500 + VER_FINAL 30cdf0e10cSrcweir//#define VER_CONCEPT 0 31cdf0e10cSrcweir//#define VER_BETA 6 32cdf0e10cSrcweir#define VER_FINAL 0 33cdf0e10cSrcweir 34cdf0e10cSrcweir#define VER_DAY 1 35cdf0e10cSrcweir#define VER_MONTH 4 36cdf0e10cSrcweir#define VER_YEAR 09 37cdf0e10cSrcweir 38cdf0e10cSrcweir 39cdf0e10cSrcweir// Header 40cdf0e10cSrcweir#if defined(_MSC_VER) && (_MSC_VER < 1500) 41cdf0e10cSrcweir#include "winres.h" 42cdf0e10cSrcweir#else 43cdf0e10cSrcweir#define WINVER 0x0500 44cdf0e10cSrcweir#include "winresrc.h" 45cdf0e10cSrcweir#endif 46cdf0e10cSrcweir#include "verinfo.hrc" 47cdf0e10cSrcweir 48cdf0e10cSrcweir#define VER_FIRSTYEAR 07 49cdf0e10cSrcweir 50cdf0e10cSrcweir#if !defined(ENGLISH) 51cdf0e10cSrcweir#define LG_D // generate always german version 52cdf0e10cSrcweir#endif 53cdf0e10cSrcweir 54cdf0e10cSrcweir// ----------------------------------------------------------------------- 55cdf0e10cSrcweir// language/character set specification table 56cdf0e10cSrcweir// ----------------------------------------------------------------------- 57cdf0e10cSrcweir 58cdf0e10cSrcweirRCD_LANGUAGE rcdata 59cdf0e10cSrcweir{ 60cdf0e10cSrcweir#ifdef LG_D 61cdf0e10cSrcweir "040704B0", // Germany -> Unicode 62cdf0e10cSrcweir "040704E4", // Germany -> Windows, Multilingual 63cdf0e10cSrcweir#else 64cdf0e10cSrcweir "040904B0", // Germany -> Unicode 65cdf0e10cSrcweir "040904E4", // USA -> Windows, Multilingual 66cdf0e10cSrcweir#endif 67cdf0e10cSrcweir "04090000", // USA -> 7-Bit-ASCII 68cdf0e10cSrcweir 0 // end of table 69cdf0e10cSrcweir} 70cdf0e10cSrcweir 71cdf0e10cSrcweir// ----------------------------------------------------------------------- 72cdf0e10cSrcweir// version information 73cdf0e10cSrcweir// ----------------------------------------------------------------------- 74cdf0e10cSrcweir 75cdf0e10cSrcweirVS_VERSION_INFO versioninfo 76cdf0e10cSrcweir fileversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT 77cdf0e10cSrcweir productversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT 78cdf0e10cSrcweir fileflagsmask 0x3F 79cdf0e10cSrcweir fileflags 80cdf0e10cSrcweir#if defined(DEBUG) 81cdf0e10cSrcweir VS_FF_DEBUG | 82cdf0e10cSrcweir#endif 83cdf0e10cSrcweir#ifdef VER_PREL 84cdf0e10cSrcweir VS_FF_PRERELEASE | 85cdf0e10cSrcweir#endif 86cdf0e10cSrcweir 0 87cdf0e10cSrcweir#ifndef WIN32 88cdf0e10cSrcweir fileos VOS_DOS_WINDOWS16 89cdf0e10cSrcweir#else 90cdf0e10cSrcweir fileos VOS_NT_WINDOWS32 91cdf0e10cSrcweir#endif 92cdf0e10cSrcweir filetype VFT_APP 93cdf0e10cSrcweir { 94cdf0e10cSrcweir block "StringFileInfo" 95cdf0e10cSrcweir { 96cdf0e10cSrcweir#ifdef LG_D 97cdf0e10cSrcweir block "040704E4" 98cdf0e10cSrcweir { 99cdf0e10cSrcweir // German StringTable 100cdf0e10cSrcweir value "CompanyName", "Sun Microsystems, Inc.\0" 101cdf0e10cSrcweir value "FileDescription", "Service Tags Wrapper\0" 102cdf0e10cSrcweir value "FileVersion", PPS(VER_LEVEL) "\0" 103cdf0e10cSrcweir value "ProductVersion", PPS(VER_LEVEL) "\0" 104cdf0e10cSrcweir value "OriginalFilename", "STCLIENT_WRAPPER.EXE\0" 105cdf0e10cSrcweir value "InternalName", "stclient_wrapper\0" 106cdf0e10cSrcweir value "LegalCopyright", S_CRIGHT " Sun Microsystems, Inc.\0" 107cdf0e10cSrcweir } 108cdf0e10cSrcweir#else 109cdf0e10cSrcweir block "040904E4" 110cdf0e10cSrcweir { 111cdf0e10cSrcweir // International StringTable 112cdf0e10cSrcweir value "CompanyName", "Sun Microsystems, Inc.\0" 113cdf0e10cSrcweir value "FileDescription", "Service Tags Wrapper\0" 114cdf0e10cSrcweir value "FileVersion", PPS(VER_LEVEL) "\0" 115cdf0e10cSrcweir value "ProductVersion", PPS(VER_LEVEL) "\0" 116cdf0e10cSrcweir value "OriginalFilename", "STCLIENT_WRAPPER.EXE\0" 117cdf0e10cSrcweir value "InternalName", "stclient_wrapper\0" 118cdf0e10cSrcweir value "LegalCopyright", S_CRIGHT " Sun Microsystems, Inc.\0" 119cdf0e10cSrcweir } 120cdf0e10cSrcweir#endif 121cdf0e10cSrcweir } 122cdf0e10cSrcweir 123cdf0e10cSrcweir block "VarFileInfo" 124cdf0e10cSrcweir { 125cdf0e10cSrcweir#ifdef LG_D 126cdf0e10cSrcweir value "Translation", 0x0407, 1252 127cdf0e10cSrcweir#else 128cdf0e10cSrcweir value "Translation", 0x0409, 1252 129cdf0e10cSrcweir#endif 130cdf0e10cSrcweir } 131cdf0e10cSrcweir } 132cdf0e10cSrcweir 133cdf0e10cSrcweir// version binary entry 134cdf0e10cSrcweirVS_VERSION_INFO rcdata 135cdf0e10cSrcweir{ 136cdf0e10cSrcweir 0xF0, "sw", 0x0F, VER_YEAR, VER_MONTH, VER_DAY, 137cdf0e10cSrcweir VERSION, SUBVERSION, VERVARIANT, VER_COUNT 138cdf0e10cSrcweir}; 139cdf0e10cSrcweir 140cdf0e10cSrcweir 141cdf0e10cSrcweir///////////////////////////////////////////////////////////////////////////// 142cdf0e10cSrcweir// 143cdf0e10cSrcweir// Manifest section 144cdf0e10cSrcweir// 145cdf0e10cSrcweir1 24 stwrapper.manifest 146cdf0e10cSrcweir 147