]> git.saurik.com Git - wxWidgets.git/blob - src/png/projects/msvc/png.rc
multilib mode compilation fix
[wxWidgets.git] / src / png / projects / msvc / png.rc
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(DLLFNAME_POSTFIX) && defined(PNG_USE_PNGVCRD)
16 # if defined(PNG_DEBUG) && (PNG_DEBUG > 0)
17 # define DLLFNAME_POSTFIX "B"
18 # else
19 # define DLLFNAME_POSTFIX "A"
20 # endif /* !defined(DLLFNAME_POSTFIX)... */
21 # if !defined(SPECIALBUILD)
22 # define SPECIALBUILD "Use MMX instructions"
23 # endif /* SPECIALBUILD */
24 #endif
25
26 #if defined(PNG_DEBUG) && (PNG_DEBUG > 0)
27 # define VS_DEBUG VS_FF_DEBUG
28 # ifndef DLLFNAME_POSTFIX
29 # define DLLFNAME_POSTFIX "D"
30 # endif /* DLLFNAME_POSTFIX */
31 # ifndef COMMENTS
32 # define COMMENTS "PNG_DEBUG=" QUOTE(PNG_DEBUG)
33 # endif /* COMMENTS */
34 #else
35 # define VS_DEBUG 0
36 # ifndef DLLFNAME_POSTFIX
37 # define DLLFNAME_POSTFIX
38 # endif /* DLLFNAME_POSTFIX */
39 #endif /* defined(DEBUG)... */
40
41 #ifdef PRIVATEBUILD
42 # define VS_PRIVATEBUILD VS_FF_PRIVATEBUILD
43 #else
44 # define VS_PRIVATEBUILD 0
45 #endif /* PRIVATEBUILD */
46
47 #ifdef SPECIALBUILD
48 # define VS_SPECIALBUILD VS_FF_SPECIALBUILD
49 #else
50 # define VS_SPECIALBUILD 0
51 #endif /* SPECIALBUILD */
52
53 #if ((PNG_LIBPNG_BUILD_TYPE & PNG_LIBPNG_BUILD_TYPEMASK) != \
54 PNG_LIBPNG_BUILD_STABLE)
55 # define VS_PRERELEASE VS_FF_PRERELEASE
56 # define VS_PATCHED 0
57 #else
58 # define VS_PRERELEASE 0
59 # if (PNG_LIBPNG_BUILD_TYPE & PNG_LIBPNG_BUILD_PATCHED)
60 # define VS_PATCHED VS_FF_PATCHED
61 # else
62 # define VS_PATCHED 0
63 # endif
64 #endif
65
66 VS_VERSION_INFO VERSIONINFO
67 FILEVERSION PNG_LIBPNG_VER_MAJOR, PNG_LIBPNG_VER_MINOR, PNG_LIBPNG_VER_RELEASE, PNG_LIBPNG_VER_BUILD
68 PRODUCTVERSION PNG_LIBPNG_VER_MAJOR, PNG_LIBPNG_VER_MINOR, PNG_LIBPNG_VER_RELEASE, PNG_LIBPNG_VER_BUILD
69 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
70 FILEFLAGS VS_DEBUG | VS_PRIVATEBUILD | VS_SPECIALBUILD | VS_PRERELEASE | VS_PATCHED
71 FILEOS VOS__WINDOWS32
72 FILETYPE VFT_DLL
73 FILESUBTYPE VFT2_UNKNOWN
74 BEGIN
75 BLOCK "StringFileInfo"
76 BEGIN BLOCK "040904E4" /* Language type = U.S English(0x0409) and Character Set = Windows, Multilingual(0x04E4) */
77 BEGIN
78 #ifdef COMMENTS
79 VALUE "Comments", COMMENTS "\000"
80 #endif /* COMMENTS */
81 VALUE "FileDescription", "PNG image compression library\000"
82 VALUE "FileVersion", PNG_LIBPNG_VER_STRING "\000"
83 VALUE "InternalName", PNG_LIBPNG_DLLFNAME QUOTE(PNG_LIBPNG_VER_MAJOR) DLLFNAME_POSTFIX " (Windows 32 bit)\000"
84 VALUE "LegalCopyright", "\251 1998-2002 Glenn Randers-Pehrson\000"
85 VALUE "OriginalFilename", PNG_LIBPNG_DLLFNAME QUOTE(PNG_LIBPNG_VER_MAJOR) DLLFNAME_POSTFIX ".DLL\000"
86 #ifdef PRIVATEBUILD
87 VALUE "PrivateBuild", PRIVATEBUILD
88 #endif /* PRIVATEBUILD */
89 VALUE "ProductName", "LibPNG\000"
90 VALUE "ProductVersion", "1\000"
91 #ifdef SPECIALBUILD
92 VALUE "SpecialBuild", SPECIALBUILD
93 #endif /* SPECIALBUILD */
94 END
95 END
96 BLOCK "VarFileInfo"
97 BEGIN
98 VALUE "Translation", 0x0409, 0x04E4
99 END
100 END