blob: b9ef2d6f8be9493612cc23d1c111e0d014845632 [file] [log] [blame]
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -05001#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
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050011#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
Glenn Randers-Pehrson13944802000-06-24 07:42:42 -050015#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)... */
Glenn Randers-Pehrson5e5c1e12000-11-10 12:26:19 -060021# if !defined(SPECIALBUILD)
22# define SPECIALBUILD "Use MMX instructions"
23# endif /* SPECIALBUILD */
Glenn Randers-Pehrson13944802000-06-24 07:42:42 -050024#endif
25
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -050026#if defined(PNG_DEBUG) && (PNG_DEBUG > 0)
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050027# 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 */
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -050034#else
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050035# define VS_DEBUG 0
Glenn Randers-Pehrson13944802000-06-24 07:42:42 -050036# ifndef DLLFNAME_POSTFIX
37# define DLLFNAME_POSTFIX
38# endif /* DLLFNAME_POSTFIX */
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -050039#endif /* defined(DEBUG)... */
40
41#ifdef PRIVATEBUILD
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050042# define VS_PRIVATEBUILD VS_FF_PRIVATEBUILD
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -050043#else
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050044# define VS_PRIVATEBUILD 0
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -050045#endif /* PRIVATEBUILD */
46
47#ifdef SPECIALBUILD
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050048# define VS_SPECIALBUILD VS_FF_SPECIALBUILD
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -050049#else
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050050# define VS_SPECIALBUILD 0
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -050051#endif /* SPECIALBUILD */
52
Glenn Randers-Pehrsond56aca72000-11-23 11:51:42 -060053#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
Glenn Randers-Pehrsonfbbb5ec2001-01-15 22:01:20 -060057#else
58# define VS_PRERELEASE 0
Glenn Randers-Pehrsond56aca72000-11-23 11:51:42 -060059# 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
Glenn Randers-Pehrsonfbbb5ec2001-01-15 22:01:20 -060065
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -050066VS_VERSION_INFO VERSIONINFO
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050067FILEVERSION PNG_LIBPNG_VER_MAJOR, PNG_LIBPNG_VER_MINOR, PNG_LIBPNG_VER_RELEASE, PNG_LIBPNG_VER_BUILD
68PRODUCTVERSION PNG_LIBPNG_VER_MAJOR, PNG_LIBPNG_VER_MINOR, PNG_LIBPNG_VER_RELEASE, PNG_LIBPNG_VER_BUILD
69FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
Glenn Randers-Pehrsonfbbb5ec2001-01-15 22:01:20 -060070FILEFLAGS VS_DEBUG | VS_PRIVATEBUILD | VS_SPECIALBUILD | VS_PRERELEASE | VS_PATCHED
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050071FILEOS VOS__WINDOWS32
72FILETYPE VFT_DLL
Glenn Randers-Pehrsonfbbb5ec2001-01-15 22:01:20 -060073FILESUBTYPE VFT2_UNKNOWN
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -050074BEGIN
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050075 BLOCK "StringFileInfo"
76 BEGIN BLOCK "040904E4" /* Language type = U.S English(0x0409) and Character Set = Windows, Multilingual(0x04E4) */
77 BEGIN
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -050078#ifdef COMMENTS
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050079 VALUE "Comments", COMMENTS "\000"
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -050080#endif /* COMMENTS */
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050081 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"
Glenn Randers-Pehrsondb66d442000-06-23 21:38:16 -050084 VALUE "LegalCopyright", "\251 1998-2000 Glenn Randers-Pehrson\000"
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050085 VALUE "OriginalFilename", PNG_LIBPNG_DLLFNAME QUOTE(PNG_LIBPNG_VER_MAJOR) DLLFNAME_POSTFIX ".DLL\000"
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -050086#ifdef PRIVATEBUILD
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050087 VALUE "PrivateBuild", PRIVATEBUILD
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -050088#endif /* PRIVATEBUILD */
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050089 VALUE "ProductName", "LibPNG\000"
90 VALUE "ProductVersion", "1\000"
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -050091#ifdef SPECIALBUILD
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050092 VALUE "SpecialBuild", SPECIALBUILD
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -050093#endif /* SPECIALBUILD */
Glenn Randers-Pehrsond4366722000-06-04 14:29:29 -050094 END
95 END
96 BLOCK "VarFileInfo"
97 BEGIN
98 VALUE "Translation", 0x0409, 0x04E4
99 END
Glenn Randers-Pehrson104622b2000-05-29 08:58:03 -0500100END