1cc8deb09SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3cc8deb09SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4cc8deb09SAndrew Rist * or more contributor license agreements. See the NOTICE file 5cc8deb09SAndrew Rist * distributed with this work for additional information 6cc8deb09SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7cc8deb09SAndrew Rist * to you under the Apache License, Version 2.0 (the 8cc8deb09SAndrew Rist * "License"); you may not use this file except in compliance 9cc8deb09SAndrew Rist * with the License. You may obtain a copy of the License at 10cc8deb09SAndrew Rist * 11cc8deb09SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cc8deb09SAndrew Rist * 13cc8deb09SAndrew Rist * Unless required by applicable law or agreed to in writing, 14cc8deb09SAndrew Rist * software distributed under the License is distributed on an 15cc8deb09SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16cc8deb09SAndrew Rist * KIND, either express or implied. See the License for the 17cc8deb09SAndrew Rist * specific language governing permissions and limitations 18cc8deb09SAndrew Rist * under the License. 19cc8deb09SAndrew Rist * 20cc8deb09SAndrew Rist *************************************************************/ 21cc8deb09SAndrew Rist 22cc8deb09SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#if !defined(ENGLISH) 25cdf0e10cSrcweir#define LG_D // generate always german version 26cdf0e10cSrcweir#endif 27cdf0e10cSrcweir 28*73de6187SHerbert Dürr#define VER_FIRSTYEAR 2012 29cdf0e10cSrcweir 30cdf0e10cSrcweir 31cdf0e10cSrcweir#if defined(OS2) 32cdf0e10cSrcweir 33cdf0e10cSrcweir#define OS2_VERSION "hello world" 34cdf0e10cSrcweir 35534c536dSYuri Dario// YD write some default code... 36534c536dSYuri DarioMENU 1 BEGIN END 37534c536dSYuri Dario 38cdf0e10cSrcweir#else 39cdf0e10cSrcweir 40cdf0e10cSrcweir#include <windows.h> 41cdf0e10cSrcweir#include "version.hrc" 42cdf0e10cSrcweir 43cdf0e10cSrcweir// ----------------------------------------------------------------------- 44cdf0e10cSrcweir// version information 45cdf0e10cSrcweir// ----------------------------------------------------------------------- 46cdf0e10cSrcweir 47cdf0e10cSrcweirVS_VERSION_INFO versioninfo 48cdf0e10cSrcweir#ifndef SUBVERSION 49cdf0e10cSrcweir fileversion VERSION, 0, VERVARIANT, VER_COUNT 50cdf0e10cSrcweir productversion VERSION, 0, VERVARIANT, VER_COUNT 51cdf0e10cSrcweir#else 52cdf0e10cSrcweir fileversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT 53cdf0e10cSrcweir productversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT 54cdf0e10cSrcweir#endif 55cdf0e10cSrcweir fileflagsmask 0x3F 56cdf0e10cSrcweir fileflags 57cdf0e10cSrcweir#if defined(DEBUG) 58cdf0e10cSrcweir VS_FF_DEBUG | 59cdf0e10cSrcweir#endif 60cdf0e10cSrcweir#ifdef VER_PREL 61cdf0e10cSrcweir VS_FF_PRERELEASE | 62cdf0e10cSrcweir#endif 63cdf0e10cSrcweir 0 64cdf0e10cSrcweir#ifndef WIN32 65cdf0e10cSrcweir fileos VOS_DOS_WINDOWS16 66cdf0e10cSrcweir#else 67cdf0e10cSrcweir fileos VOS_NT_WINDOWS32 68cdf0e10cSrcweir#endif 69cdf0e10cSrcweir filetype VFT_APP 70cdf0e10cSrcweir { 71cdf0e10cSrcweir block "StringFileInfo" 72cdf0e10cSrcweir { 73cdf0e10cSrcweir#ifdef LG_D 74cdf0e10cSrcweir block "040704E4" 75cdf0e10cSrcweir { 76cdf0e10cSrcweir // German StringTable 77bda541ebSArmin Le Grand value "CompanyName", "Apache Software Foundation\0" 78cdf0e10cSrcweir value "FileVersion", PPS(VER_LEVEL) "\0" 79cdf0e10cSrcweir value "OriginalFilename", PPS(ORG_NAME) "\0" 80cdf0e10cSrcweir value "InternalName", PPS(INTERNAL_NAME) "\0" 81bda541ebSArmin Le Grand value "LegalCopyright", S_CRIGHT " Apache Software Foundation\0" 82cdf0e10cSrcweir ADDITIONAL_VERINFO1 83cdf0e10cSrcweir ADDITIONAL_VERINFO2 84cdf0e10cSrcweir ADDITIONAL_VERINFO3 85cdf0e10cSrcweir } 86cdf0e10cSrcweir#else 87cdf0e10cSrcweir block "040904E4" 88cdf0e10cSrcweir { 89cdf0e10cSrcweir // International StringTable 90bda541ebSArmin Le Grand value "CompanyName", "Apache Software Foundation\0" 91cdf0e10cSrcweir value "FileVersion", PPS(VER_LEVEL) "\0" 92cdf0e10cSrcweir value "OriginalFilename", PPS(ORG_NAME) "\0" 93cdf0e10cSrcweir value "InternalName", PPS(INTERNAL_NAME) "\0" 94bda541ebSArmin Le Grand value "LegalCopyright", S_CRIGHT " Apache Software Foundation\0" 95cdf0e10cSrcweir ADDITIONAL_VERINFO1 96cdf0e10cSrcweir ADDITIONAL_VERINFO2 97cdf0e10cSrcweir ADDITIONAL_VERINFO3 98cdf0e10cSrcweir } 99cdf0e10cSrcweir#endif 100cdf0e10cSrcweir } 101cdf0e10cSrcweir 102cdf0e10cSrcweir block "VarFileInfo" 103cdf0e10cSrcweir { 104cdf0e10cSrcweir#ifdef LG_D 105cdf0e10cSrcweir value "Translation", 0x0407, 1252 106cdf0e10cSrcweir#else 107cdf0e10cSrcweir value "Translation", 0x0409, 1252 108cdf0e10cSrcweir#endif 109cdf0e10cSrcweir } 110cdf0e10cSrcweir } 111cdf0e10cSrcweir 112cdf0e10cSrcweir#endif // OS2 113