1/* HERCVER.RC   (c) Copyright "Fish" (David B. Trout), 2009-2011     */
2/*              Define Windows resources to be linked into product   */
3
4/////////////////////////////////////////////////////////////////////////////////////////
5// HercVer.rc  --  defines the Windows resources to be linked into the product
6//                 (c) Copyright "Fish" (David B. Trout), 2009
7//                 Released under the Q Public License as modifications to Hercules.
8//                 (http://www.hercules-390.org/herclic.html)
9/////////////////////////////////////////////////////////////////////////////////////////
10
11#ifdef APSTUDIO_INVOKED
12  #error This file is not editable by Microsoft Visual C++
13#endif
14
15/////////////////////////////////////////////////////////////////////////////////////////
16// Icon with lowest ID value placed first to ensure application icon
17// remains consistent on all systems.
18001 ICON DISCARDABLE "hercules.ico"
19/////////////////////////////////////////////////////////////////////////////////////////
20
21#include <winver.h>
22
23#ifndef NONE
24#define NONE 0x0L
25#endif
26
27#define HERCULES_PRODUCT          "The Hercules System/370, ESA/390, and z/Architecture Emulator"
28#define HERCULES_COPYRIGHT        "(c)Copyright 1999-2015"
29#define HERCULES_COMPANY          "by Roger Bowler, Jan Jaeger, and others"
30#define HERCULES_PRODUCT_URL      "http://www.hercules-390.eu"
31#define HERCULES_PRODUCT_EMAIL    "hercules-390@yahoogroups.com"
32
33#if defined(PRERELEASE)
34#define ISPRERELEASE VS_FF_PRERELEASE
35#else
36#define ISPRERELEASE NONE
37#endif
38
39#if !defined(VERSION) || !defined(V1) || !defined(V2) || !defined(V3) || !defined(V4)
40  #error VERSION not defined properly
41#endif
42
43/////////////////////////////////////////////////////////////////////////////////////////
44
451 VERSIONINFO
46
47FILEVERSION     V1, V2, V3, V4
48PRODUCTVERSION  V1, V2, V3, V4
49
50FILEOS          VOS_NT_WINDOWS32
51FILETYPE        VFT_UNKNOWN
52#if defined(DEBUG) || defined(_DEBUG)
53FILEFLAGS       ISPRERELEASE | VS_FF_SPECIALBUILD | VS_FF_DEBUG
54#else
55FILEFLAGS       ISPRERELEASE | VS_FF_SPECIALBUILD
56#endif
57FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
58
59{
60  BLOCK "StringFileInfo"
61  {
62    BLOCK "040904B0"    // 0x0409 (1033) == U.S. English, 0x04B0 (1200) == UNICODE
63    {
64
65      // Standard/Required Attributes...
66
67      VALUE "ProductName",      HERCULES_PRODUCT        "\0"
68      VALUE "ProductVersion",   VERSION                 "\0"
69      VALUE "FileDescription",  HERCULES_PRODUCT        "\0"
70      VALUE "FileVersion",      VERSION                 "\0"
71      VALUE "CompanyName",      HERCULES_COMPANY        "\0"
72      VALUE "LegalCopyright",   HERCULES_COPYRIGHT " " HERCULES_COMPANY "\0"
73
74      // Custom Attributes...
75
76      VALUE "Hercules URL",     HERCULES_PRODUCT_URL    "\0"
77      VALUE "Hercules Email",   HERCULES_PRODUCT_EMAIL  "\0"
78      VALUE "Hercules Version", VERSION                 "\0"
79
80#if defined(PRERELEASE)
81#define PRE "PRERELEASE "
82#else
83#define PRE
84#endif
85
86#if defined(_WIN64)
87#define ARCH "64-bit "
88#else
89#define ARCH "32-bit "
90#endif
91
92#if defined(_DEBUG) || defined(DEBUG)
93#define CFG "DEBUG "
94#else
95#define CFG "RETAIL "
96#endif
97
98      VALUE "SpecialBuild",    PRE ARCH CFG "version"  "\0"
99
100    }
101  }
102  BLOCK "VarFileInfo"
103  {
104    VALUE "Translation", 0x409, 1200    // 0x409 (1033) == U.S. English, 1200 (0x4B0) == UNICODE
105  }
106}
107
108/////////////////////////////////////////////////////////////////////////////////////////
109