fukasawa e60969
#define PNG_VERSION_INFO_ONLY
fukasawa e60969
fukasawa e60969
#include <windows.h></windows.h>
fukasawa e60969
#include "../png.h"
fukasawa e60969
fukasawa e60969
#define _QUOTE(x) # x
fukasawa e60969
#define QUOTE(x) _QUOTE(x)
fukasawa e60969
fukasawa e60969
#define PNG_LIBPNG_DLLFNAME "LIBPNG"
fukasawa e60969
fukasawa e60969
/* Support deprecated PRIVATEBUILD macro */
fukasawa e60969
#if defined(PRIVATEBUILD) && !defined(PNG_USER_PRIVATEBUILD)
fukasawa e60969
#  define PNG_USER_PRIVATEBUILD PRIVATEBUILD
fukasawa e60969
#endif
fukasawa e60969
fukasawa e60969
#if defined(PNG_USER_DLLFNAME_POSTFIX) && !defined(PNG_USER_PRIVATEBUILD)
fukasawa e60969
#  error "PNG_USER_PRIVATEBUILD must be defined as a string describing the\
fukasawa e60969
 custom changes made to the library."
fukasawa e60969
#endif
fukasawa e60969
fukasawa e60969
/* Prioritize PNG_USER_x over PNG_LIBPNG_x */
fukasawa e60969
#ifdef PNG_USER_DLLFNAME_POSTFIX
fukasawa e60969
#  undef PNG_LIBPNG_DLLFNAME_POSTFIX
fukasawa e60969
#  define PNG_LIBPNG_DLLFNAME_POSTFIX PNG_USER_DLLFNAME_POSTFIX
fukasawa e60969
#endif
fukasawa e60969
fukasawa e60969
#ifdef PNG_USER_VERSIONINFO_COMMENTS
fukasawa e60969
#  undef PNG_LIBPNG_VERSIONINFO_COMMENTS
fukasawa e60969
#  define PNG_LIBPNG_VERSIONINFO_COMMENTS PNG_USER_VERSIONINFO_COMMENTS
fukasawa e60969
#endif
fukasawa e60969
fukasawa e60969
#if defined(PNG_DEBUG) && (PNG_DEBUG > 0)
fukasawa e60969
#  define VS_DEBUG VS_FF_DEBUG
fukasawa e60969
#  ifndef PNG_LIBPNG_DLLFNAME_POSTFIX
fukasawa e60969
#    define PNG_LIBPNG_DLLFNAME_POSTFIX "D"
fukasawa e60969
#  endif /* PNG_LIBPNG_DLLFNAME_POSTFIX */
fukasawa e60969
#  ifndef PNG_LIBPNG_VERSIONINFO_COMMENTS
fukasawa e60969
#    define PNG_LIBPNG_VERSIONINFO_COMMENTS "PNG_DEBUG=" QUOTE(PNG_DEBUG)
fukasawa e60969
#  endif /* PNG_LIBPNG_VERSIONINFO_COMMENTS */
fukasawa e60969
#else
fukasawa e60969
#  define VS_DEBUG 0
fukasawa e60969
#  ifndef PNG_LIBPNG_DLLFNAME_POSTFIX
fukasawa e60969
#     define PNG_LIBPNG_DLLFNAME_POSTFIX
fukasawa e60969
#  endif /* PNG_LIBPNG_DLLFNAME_POSTFIX */
fukasawa e60969
#endif /* defined(DEBUG)... */
fukasawa e60969
fukasawa e60969
#ifdef PNG_USER_PRIVATEBUILD
fukasawa e60969
#  define VS_PRIVATEBUILD VS_FF_PRIVATEBUILD
fukasawa e60969
#else
fukasawa e60969
#  define VS_PRIVATEBUILD 0
fukasawa e60969
#endif /* PNG_USER_PRIVATEBUILD */
fukasawa e60969
fukasawa e60969
#ifdef PNG_LIBPNG_SPECIALBUILD
fukasawa e60969
#  define VS_SPECIALBUILD VS_FF_SPECIALBUILD
fukasawa e60969
#else
fukasawa e60969
#  define VS_SPECIALBUILD 0
fukasawa e60969
#endif /* PNG_LIBPNG_BUILD_SPECIAL */
fukasawa e60969
fukasawa e60969
#if ((PNG_LIBPNG_BUILD_BASE_TYPE & PNG_LIBPNG_RELEASE_STATUS_MASK) !=\
fukasawa e60969
      PNG_LIBPNG_BUILD_STABLE)
fukasawa e60969
#  define VS_PRERELEASE VS_FF_PRERELEASE
fukasawa e60969
#  define VS_PATCHED 0
fukasawa e60969
#else
fukasawa e60969
#  define VS_PRERELEASE 0
fukasawa e60969
#  if (PNG_LIBPNG_BUILD_BASE_TYPE & PNG_LIBPNG_BUILD_PATCHED)
fukasawa e60969
#    define VS_PATCHED VS_FF_PATCHED
fukasawa e60969
#  else
fukasawa e60969
#    define VS_PATCHED 0
fukasawa e60969
#  endif
fukasawa e60969
#endif
fukasawa e60969
fukasawa e60969
VS_VERSION_INFO VERSIONINFO
fukasawa e60969
FILEVERSION PNG_LIBPNG_VER_MAJOR, PNG_LIBPNG_VER_MINOR, PNG_LIBPNG_VER_RELEASE, PNG_LIBPNG_VER_BUILD
fukasawa e60969
PRODUCTVERSION PNG_LIBPNG_VER_MAJOR, PNG_LIBPNG_VER_MINOR, PNG_LIBPNG_VER_RELEASE, PNG_LIBPNG_VER_BUILD
fukasawa e60969
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
fukasawa e60969
FILEFLAGS VS_DEBUG | VS_PRIVATEBUILD | VS_SPECIALBUILD | VS_PRERELEASE | VS_PATCHED
fukasawa e60969
FILEOS VOS__WINDOWS32
fukasawa e60969
FILETYPE VFT_DLL
fukasawa e60969
FILESUBTYPE VFT2_UNKNOWN
fukasawa e60969
BEGIN
fukasawa e60969
  BLOCK "StringFileInfo"
fukasawa e60969
  BEGIN BLOCK "040904E4" /* Language type = U.S English(0x0409) and Character Set = Windows, Multilingual(0x04E4) */
fukasawa e60969
    BEGIN
fukasawa e60969
#ifdef PNG_LIBPNG_VERSIONINFO_COMMENTS
fukasawa e60969
      VALUE "Comments", PNG_LIBPNG_VERSIONINFO_COMMENTS "\000"
fukasawa e60969
#endif /* PNG_LIBPNG_VERSIONINFO_COMMENTS */
fukasawa e60969
#ifdef PNG_USER_VERSIONINFO_COMPANYNAME
fukasawa e60969
      VALUE "CompanyName", PNG_USER_VERSIONINFO_COMPANYNAME "\000"
fukasawa e60969
#endif /* PNG_USER_VERSIONINFO_COMPANYNAME */
fukasawa e60969
      VALUE "FileDescription", "PNG image compression library\000"
fukasawa e60969
      VALUE "FileVersion", PNG_LIBPNG_VER_STRING "\000"
fukasawa e60969
      VALUE "InternalName", PNG_LIBPNG_DLLFNAME QUOTE(PNG_LIBPNG_VER_DLLNUM) PNG_LIBPNG_DLLFNAME_POSTFIX " (Windows 32 bit)\000"
fukasawa e60969
      VALUE "LegalCopyright", "\251 1998-2009 Glenn Randers-Pehrson et al.\000"
fukasawa e60969
#ifdef PNG_USER_VERSIONINFO_LEGALTRADEMARKS
fukasawa e60969
      VALUE "LegalTrademarks", PNG_USER_VERSIONINFO_LEGALTRADEMARKS "\000"
fukasawa e60969
#endif /* PNG_USER_VERSIONINFO_LEGALTRADEMARKS */
fukasawa e60969
      VALUE "OriginalFilename", PNG_LIBPNG_DLLFNAME QUOTE(PNG_LIBPNG_VER_DLLNUM) PNG_LIBPNG_DLLFNAME_POSTFIX ".DLL\000"
fukasawa e60969
#ifdef PNG_USER_PRIVATEBUILD
fukasawa e60969
      VALUE "PrivateBuild", PNG_USER_PRIVATEBUILD "\000"
fukasawa e60969
#endif /* PNG_USER_PRIVATEBUILD */
fukasawa e60969
      VALUE "ProductName", "LibPNG\000"
fukasawa e60969
      VALUE "ProductVersion", "1\000"
fukasawa e60969
#ifdef PNG_LIBPNG_SPECIALBUILD
fukasawa e60969
      VALUE "SpecialBuild", PNG_LIBPNG_SPECIALBUILD "\000"
fukasawa e60969
#endif /* PNG_LIBPNG_SPECIALBUILD */
fukasawa e60969
    END
fukasawa e60969
  END
fukasawa e60969
  BLOCK "VarFileInfo"
fukasawa e60969
  BEGIN
fukasawa e60969
    VALUE "Translation", 0x0409, 0x04E4
fukasawa e60969
  END
fukasawa e60969
END