libpng/projects/msvc/png.rc

101 lines
3.1 KiB
Plaintext
Raw Normal View History

2000-05-29 09:58:03 -04:00
#define PNG_VERSION_INFO_ONLY
#include <windows.h>
#include "png.h"
#define _QUOTE(x) # x
#define QUOTE(x) _QUOTE(x)
#define PNG_LIBPNG_DLLFNAME "LIBPNG"
2000-06-04 15:29:29 -04:00
#if defined(DLLFNAME_POSTFIX) && !defined(PRIVATEBUILD) && !defined(SPECIALBUILD)
# error PRIVATEBUILD or SPECIALBUILD must be defined as a string describing the type of change brought to the standard library
#endif /* defined(DLLFNAME_POSTFIX)... */
2000-06-24 08:42:42 -04:00
#if !defined(DLLFNAME_POSTFIX) && defined(PNG_USE_PNGVCRD)
# if defined(PNG_DEBUG) && (PNG_DEBUG > 0)
# define DLLFNAME_POSTFIX "B"
# else
# define DLLFNAME_POSTFIX "A"
# endif /* !defined(DLLFNAME_POSTFIX)... */
2000-11-10 13:26:19 -05:00
# if !defined(SPECIALBUILD)
# define SPECIALBUILD "Use MMX instructions"
# endif /* SPECIALBUILD */
2000-06-24 08:42:42 -04:00
#endif
2000-05-29 09:58:03 -04:00
#if defined(PNG_DEBUG) && (PNG_DEBUG > 0)
2000-06-04 15:29:29 -04:00
# define VS_DEBUG VS_FF_DEBUG
# ifndef DLLFNAME_POSTFIX
# define DLLFNAME_POSTFIX "D"
# endif /* DLLFNAME_POSTFIX */
# ifndef COMMENTS
# define COMMENTS "PNG_DEBUG=" QUOTE(PNG_DEBUG)
# endif /* COMMENTS */
2000-05-29 09:58:03 -04:00
#else
2000-06-04 15:29:29 -04:00
# define VS_DEBUG 0
2000-06-24 08:42:42 -04:00
# ifndef DLLFNAME_POSTFIX
# define DLLFNAME_POSTFIX
# endif /* DLLFNAME_POSTFIX */
2000-05-29 09:58:03 -04:00
#endif /* defined(DEBUG)... */
#ifdef PRIVATEBUILD
2000-06-04 15:29:29 -04:00
# define VS_PRIVATEBUILD VS_FF_PRIVATEBUILD
2000-05-29 09:58:03 -04:00
#else
2000-06-04 15:29:29 -04:00
# define VS_PRIVATEBUILD 0
2000-05-29 09:58:03 -04:00
#endif /* PRIVATEBUILD */
#ifdef SPECIALBUILD
2000-06-04 15:29:29 -04:00
# define VS_SPECIALBUILD VS_FF_SPECIALBUILD
2000-05-29 09:58:03 -04:00
#else
2000-06-04 15:29:29 -04:00
# define VS_SPECIALBUILD 0
2000-05-29 09:58:03 -04:00
#endif /* SPECIALBUILD */
2000-11-23 12:51:42 -05:00
#if ((PNG_LIBPNG_BUILD_TYPE & PNG_LIBPNG_BUILD_TYPEMASK) != \
PNG_LIBPNG_BUILD_STABLE)
# define VS_PRERELEASE VS_FF_PRERELEASE
# define VS_PATCHED 0
2000-11-18 19:19:14 -05:00
#else
# define VS_PRERELEASE 0
2000-11-23 12:51:42 -05:00
# if (PNG_LIBPNG_BUILD_TYPE & PNG_LIBPNG_BUILD_PATCHED)
# define VS_PATCHED VS_FF_PATCHED
# else
# define VS_PATCHED 0
# endif
#endif
2001-01-15 23:01:20 -05:00
2000-05-29 09:58:03 -04:00
VS_VERSION_INFO VERSIONINFO
2000-06-04 15:29:29 -04:00
FILEVERSION PNG_LIBPNG_VER_MAJOR, PNG_LIBPNG_VER_MINOR, PNG_LIBPNG_VER_RELEASE, PNG_LIBPNG_VER_BUILD
PRODUCTVERSION PNG_LIBPNG_VER_MAJOR, PNG_LIBPNG_VER_MINOR, PNG_LIBPNG_VER_RELEASE, PNG_LIBPNG_VER_BUILD
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
2001-01-15 23:01:20 -05:00
FILEFLAGS VS_DEBUG | VS_PRIVATEBUILD | VS_SPECIALBUILD | VS_PRERELEASE | VS_PATCHED
2000-06-04 15:29:29 -04:00
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
2001-01-15 23:01:20 -05:00
FILESUBTYPE VFT2_UNKNOWN
2000-05-29 09:58:03 -04:00
BEGIN
2000-06-04 15:29:29 -04:00
BLOCK "StringFileInfo"
BEGIN BLOCK "040904E4" /* Language type = U.S English(0x0409) and Character Set = Windows, Multilingual(0x04E4) */
BEGIN
2000-05-29 09:58:03 -04:00
#ifdef COMMENTS
2000-06-04 15:29:29 -04:00
VALUE "Comments", COMMENTS "\000"
2000-05-29 09:58:03 -04:00
#endif /* COMMENTS */
2000-06-04 15:29:29 -04:00
VALUE "FileDescription", "PNG image compression library\000"
VALUE "FileVersion", PNG_LIBPNG_VER_STRING "\000"
VALUE "InternalName", PNG_LIBPNG_DLLFNAME QUOTE(PNG_LIBPNG_VER_MAJOR) DLLFNAME_POSTFIX " (Windows 32 bit)\000"
2000-06-23 22:38:16 -04:00
VALUE "LegalCopyright", "\251 1998-2000 Glenn Randers-Pehrson\000"
2000-06-04 15:29:29 -04:00
VALUE "OriginalFilename", PNG_LIBPNG_DLLFNAME QUOTE(PNG_LIBPNG_VER_MAJOR) DLLFNAME_POSTFIX ".DLL\000"
2000-05-29 09:58:03 -04:00
#ifdef PRIVATEBUILD
2000-06-04 15:29:29 -04:00
VALUE "PrivateBuild", PRIVATEBUILD
2000-05-29 09:58:03 -04:00
#endif /* PRIVATEBUILD */
2000-06-04 15:29:29 -04:00
VALUE "ProductName", "LibPNG\000"
VALUE "ProductVersion", "1\000"
2000-05-29 09:58:03 -04:00
#ifdef SPECIALBUILD
2000-06-04 15:29:29 -04:00
VALUE "SpecialBuild", SPECIALBUILD
2000-05-29 09:58:03 -04:00
#endif /* SPECIALBUILD */
2000-06-04 15:29:29 -04:00
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 0x04E4
END
2000-05-29 09:58:03 -04:00
END