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
28cdf0e10cSrcweir#define VER_FIRSTYEAR	2009
29cdf0e10cSrcweir
30cdf0e10cSrcweir#include <windows.h>
31cdf0e10cSrcweir#include "version.hrc"
32cdf0e10cSrcweir
33cdf0e10cSrcweir// -----------------------------------------------------------------------
34cdf0e10cSrcweir// 				version information
35cdf0e10cSrcweir// -----------------------------------------------------------------------
36cdf0e10cSrcweir
37cdf0e10cSrcweirVS_VERSION_INFO versioninfo
38cdf0e10cSrcweir	fileversion    VERSION, SUBVERSION, VERVARIANT, VER_COUNT
39cdf0e10cSrcweir	productversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT
40cdf0e10cSrcweir	fileflagsmask 0x3F
41cdf0e10cSrcweir	fileflags
42cdf0e10cSrcweir#if defined(DEBUG)
43cdf0e10cSrcweir	VS_FF_DEBUG |
44cdf0e10cSrcweir#endif
45cdf0e10cSrcweir#ifdef VER_PREL
46cdf0e10cSrcweir	VS_FF_PRERELEASE |
47cdf0e10cSrcweir#endif
48cdf0e10cSrcweir	0
49cdf0e10cSrcweir#ifndef WIN32
50cdf0e10cSrcweir	fileos VOS_DOS_WINDOWS16
51cdf0e10cSrcweir#else
52cdf0e10cSrcweir	fileos VOS_NT_WINDOWS32
53cdf0e10cSrcweir#endif
54cdf0e10cSrcweir	filetype VFT_APP
55cdf0e10cSrcweir	{
56cdf0e10cSrcweir		block "StringFileInfo"
57cdf0e10cSrcweir		{
58cdf0e10cSrcweir#ifdef LG_D
59cdf0e10cSrcweir			block "040704E4"
60cdf0e10cSrcweir			{
61cdf0e10cSrcweir				// German StringTable
62*ff3f4ebcSOliver-Rainer Wittmann				value "CompanyName",		"Apache Software Foundation\0"
63cdf0e10cSrcweir				value "FileDescription", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\0"
64cdf0e10cSrcweir				value "FileVersion",		PPS(VER_LEVEL) "\0"
65cdf0e10cSrcweir				value "ProductVersion",		PPS(VER_LEVEL) "\0"
66cdf0e10cSrcweir				value "OriginalFilename",	PPS(RES_APP_NAME) ".exe\0"
67cdf0e10cSrcweir				value "InternalName",		PPS(RES_APP_NAME) "\0"
68841807c9SAndrew Rist				value "LegalCopyright",		S_CRIGHT " Apache Software Foundation. All rights reserved.\0"
69cdf0e10cSrcweir			}
70cdf0e10cSrcweir#else
71cdf0e10cSrcweir			block "040904E4"
72cdf0e10cSrcweir			{
73cdf0e10cSrcweir				// International StringTable
74*ff3f4ebcSOliver-Rainer Wittmann				value "CompanyName", 		"Apache Software Foundation\0"
75cdf0e10cSrcweir				value "FileDescription",	"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\0"
76cdf0e10cSrcweir				value "FileVersion",		PPS(VER_LEVEL) "\0"
77cdf0e10cSrcweir				value "ProductVersion",		PPS(VER_LEVEL) "\0"
78cdf0e10cSrcweir				value "OriginalFilename",	PPS(RES_APP_NAME) ".exe\0"
79cdf0e10cSrcweir				value "InternalName",		PPS(RES_APP_NAME) "\0"
80841807c9SAndrew Rist				value "LegalCopyright", 	S_CRIGHT " Apache Software Foundation. All rights reserved.\0"
81cdf0e10cSrcweir			}
82cdf0e10cSrcweir#endif
83cdf0e10cSrcweir		}
84cdf0e10cSrcweir
85cdf0e10cSrcweir		block "VarFileInfo"
86cdf0e10cSrcweir		{
87cdf0e10cSrcweir#ifdef LG_D
88cdf0e10cSrcweir			value "Translation", 0x0407, 1252
89cdf0e10cSrcweir#else
90cdf0e10cSrcweir			value "Translation", 0x0409, 1252
91cdf0e10cSrcweir#endif
92cdf0e10cSrcweir		}
93cdf0e10cSrcweir	}
94