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