1/*
2 * libver.rc
3 *
4 * Library version resource.
5 *
6 * Portable Windows Library
7 *
8 * Copyright (c) 1993-1998 Equivalence Pty. Ltd.
9 *
10 * The contents of this file are subject to the Mozilla Public License
11 * Version 1.0 (the "License"); you may not use this file except in
12 * compliance with the License. You may obtain a copy of the License at
13 * http://www.mozilla.org/MPL/
14 *
15 * Software distributed under the License is distributed on an "AS IS"
16 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
17 * the License for the specific language governing rights and limitations
18 * under the License.
19 *
20 * The Original Code is Portable Windows Library.
21 *
22 * The Initial Developer of the Original Code is Equivalence Pty. Ltd.
23 *
24 * Contributor(s): ______________________________________.
25 */
26
27#include <winver.h>
28#include "../../../version.h"
29#include "../../../revision.h"
30
31
32
33#ifndef PRODUCT
34#define	PRODUCT PWLib
35#endif
36
37#ifndef MANUFACTURER_NAME
38#define	MANUFACTURER_NAME   "Equivalence Pty. Ltd."
39#endif
40
41#ifndef PRODUCT_DESCRIPTION
42#define PRODUCT_DESCRIPTION "Equivalence Portable Windows Library"
43#endif
44
45
46
47#define AlphaCode   alpha
48#define BetaCode    beta
49#define ReleaseCode pl
50
51
52#define MkStr2(s) #s
53#define MkStr(s) MkStr2(s)
54
55#define VERSION_STRING MkStr(MAJOR_VERSION) "." MkStr(MINOR_VERSION) MkStr(BUILD_TYPE) MkStr(BUILD_NUMBER) " ("  MkStr(SVN_REVISION) ")"
56
57
58#ifndef PRODUCT_NAME
59#define	PRODUCT_NAME MkStr(PRODUCT)
60#endif
61
62#ifndef EXECUTABLE_NAME
63#ifdef _DEBUG
64#define EXECUTABLE_NAME	PRODUCT_NAME "d.dll"
65#else
66#define EXECUTABLE_NAME	PRODUCT_NAME ".dll"
67#endif
68#endif
69
70
71
72VS_VERSION_INFO VERSIONINFO
73
74#define pl 0
75#define beta 1
76#define alpha 2
77  FILEVERSION     MAJOR_VERSION,MINOR_VERSION,BUILD_NUMBER,SVN_REVISION
78  PRODUCTVERSION  MAJOR_VERSION,MINOR_VERSION,BUILD_NUMBER,SVN_REVISION
79#undef alpha
80#undef beta
81#undef pl
82
83  FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
84#ifdef _DEBUG
85  FILEFLAGS       VS_FF_DEBUG
86#else
87  FILEFLAGS       0
88#endif
89  FILEOS          VOS_NT_WINDOWS32
90  FILETYPE        VFT_APP
91  FILESUBTYPE     VFT2_UNKNOWN
92BEGIN
93    BLOCK "StringFileInfo"
94    BEGIN
95        BLOCK "0c0904b0"
96        BEGIN
97            VALUE "CompanyName",      MANUFACTURER_NAME "\0"
98            VALUE "FileDescription",  PRODUCT_DESCRIPTION "\0"
99            VALUE "FileVersion",      VERSION_STRING "\0"
100            VALUE "InternalName",     PRODUCT_NAME "\0"
101            VALUE "LegalCopyright",   "Copyright � " MANUFACTURER_NAME " 1993-2000\0"
102            VALUE "OriginalFilename", EXECUTABLE_NAME "\0"
103            VALUE "ProductName",      PRODUCT_DESCRIPTION "\0"
104            VALUE "ProductVersion",   VERSION_STRING "\0"
105        END
106    END
107    BLOCK "VarFileInfo"
108    BEGIN
109        VALUE "Translation", 0xc09, 1200
110    END
111END
112
113
114///////////////////////////////////////////////////////////////////////////////
115