]> git.saurik.com Git - wxWidgets.git/blame - src/png/scripts/pngw32.rc
fixed wxString::FromAscii signature
[wxWidgets.git] / src / png / scripts / pngw32.rc
CommitLineData
e7fc0c29
VS
1#define PNG_VERSION_INFO_ONLY
2
3#include <windows.h>
4#include "../png.h"
5
6#define _QUOTE(x) # x
7#define QUOTE(x) _QUOTE(x)
8
9#define PNG_LIBPNG_DLLFNAME "LIBPNG"
10
11#if defined(DLLFNAME_POSTFIX) && !defined(PRIVATEBUILD) && !defined(SPECIALBUILD)
12# error PRIVATEBUILD or SPECIALBUILD must be defined as a string describing the type of change brought to the standard library
13#endif /* defined(DLLFNAME_POSTFIX)... */
14
15#if defined(PNG_USE_PNGVCRD)
16# if !defined(SPECIALBUILD)
17# define SPECIALBUILD "Use MMX instructions"
18# endif /* SPECIALBUILD */
19#endif
20
21#if defined(PNG_DEBUG) && (PNG_DEBUG > 0)
22# define VS_DEBUG VS_FF_DEBUG
23# ifndef DLLFNAME_POSTFIX
24# define DLLFNAME_POSTFIX "D"
25# endif /* DLLFNAME_POSTFIX */
26# ifndef COMMENTS
27# define COMMENTS "PNG_DEBUG=" QUOTE(PNG_DEBUG)
28# endif /* COMMENTS */
29#else
30# define VS_DEBUG 0
31# ifndef DLLFNAME_POSTFIX
32# define DLLFNAME_POSTFIX
33# endif /* DLLFNAME_POSTFIX */
34#endif /* defined(DEBUG)... */
35
36#ifdef PRIVATEBUILD
37# define VS_PRIVATEBUILD VS_FF_PRIVATEBUILD
38#else
39# define VS_PRIVATEBUILD 0
40#endif /* PRIVATEBUILD */
41
42#ifdef SPECIALBUILD
43# define VS_SPECIALBUILD VS_FF_SPECIALBUILD
44#else
45# define VS_SPECIALBUILD 0
46#endif /* SPECIALBUILD */
47
48#if ((PNG_LIBPNG_BUILD_TYPE & PNG_LIBPNG_BUILD_TYPEMASK) != \
49 PNG_LIBPNG_BUILD_STABLE)
50# define VS_PRERELEASE VS_FF_PRERELEASE
51# define VS_PATCHED 0
52#else
53# define VS_PRERELEASE 0
54# if (PNG_LIBPNG_BUILD_TYPE & PNG_LIBPNG_BUILD_PATCHED)
55# define VS_PATCHED VS_FF_PATCHED
56# else
57# define VS_PATCHED 0
58# endif
59#endif
60
61VS_VERSION_INFO VERSIONINFO
62FILEVERSION PNG_LIBPNG_VER_MAJOR, PNG_LIBPNG_VER_MINOR, PNG_LIBPNG_VER_RELEASE, PNG_LIBPNG_VER_BUILD
63PRODUCTVERSION PNG_LIBPNG_VER_MAJOR, PNG_LIBPNG_VER_MINOR, PNG_LIBPNG_VER_RELEASE, PNG_LIBPNG_VER_BUILD
64FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
65FILEFLAGS VS_DEBUG | VS_PRIVATEBUILD | VS_SPECIALBUILD | VS_PRERELEASE | VS_PATCHED
66FILEOS VOS__WINDOWS32
67FILETYPE VFT_DLL
68FILESUBTYPE VFT2_UNKNOWN
69BEGIN
70 BLOCK "StringFileInfo"
71 BEGIN BLOCK "040904E4" /* Language type = U.S English(0x0409) and Character Set = Windows, Multilingual(0x04E4) */
72 BEGIN
73#ifdef COMMENTS
74 VALUE "Comments", COMMENTS "\000"
75#endif /* COMMENTS */
76 VALUE "FileDescription", "PNG image compression library\000"
77 VALUE "FileVersion", PNG_LIBPNG_VER_STRING "\000"
78 VALUE "InternalName", PNG_LIBPNG_DLLFNAME QUOTE(PNG_LIBPNG_VER_DLLNUM) DLLFNAME_POSTFIX " (Windows 32 bit)\000"
79 VALUE "LegalCopyright", "\251 1998-2004 Glenn Randers-Pehrson et al.\000"
80 VALUE "OriginalFilename", PNG_LIBPNG_DLLFNAME QUOTE(PNG_LIBPNG_VER_DLLNUM) DLLFNAME_POSTFIX ".DLL\000"
81#ifdef PRIVATEBUILD
82 VALUE "PrivateBuild", PRIVATEBUILD
83#endif /* PRIVATEBUILD */
84 VALUE "ProductName", "LibPNG\000"
85 VALUE "ProductVersion", "1\000"
86#ifdef SPECIALBUILD
87 VALUE "SpecialBuild", SPECIALBUILD
88#endif /* SPECIALBUILD */
89 END
90 END
91 BLOCK "VarFileInfo"
92 BEGIN
93 VALUE "Translation", 0x0409, 0x04E4
94 END
95END