#include <winver.h>
#include <tcp.h>

#define RC_VERSION  WATTCP_MAJOR_VER, WATTCP_MINOR_VER, WATTCP_DEVEL_REL, 0

#if defined(_MSC_VER)
  #define BUILDER  "Visual-C"

  #if defined(_DEBUG) && (_DEBUG > 0)
    #define DBG_REL   "(debug)"
    #define MANIFEST  "_watt32d.pyd.manifest"
  #else
    #define DBG_REL   "(release)"
    #define MANIFEST  "_watt32d.pyd.manifest"
  #endif

#elif defined(__MINGW32__)
  #define BUILDER  "MinGW"
  #define DBG_REL  ""

#else
  #error Who are you?
#endif

VS_VERSION_INFO VERSIONINFO
  FILEVERSION     RC_VERSION
  PRODUCTVERSION  RC_VERSION
  FILEFLAGSMASK   0x3fL
#if defined(_DEBUG) && (_DEBUG > 0)
  FILEFLAGS 1
#else
  FILEFLAGS 0
#endif
  FILEOS      VOS__WINDOWS32
  FILETYPE    VFT_DLL
  FILESUBTYPE 0x0L

BEGIN
  BLOCK "StringFileInfo"
  BEGIN
 /* BLOCK "04090000" */
    BLOCK "040904b0"
    BEGIN
      VALUE "CompanyName",      "Python lib for Watt-32 tcp/ip stack"
      VALUE "FileDescription",  "Python lib for Watt-32 library " DBG_REL
      VALUE "FileVersion",      WATTCP_VER_STRING
      VALUE "InternalName",     "Watt-32 " DBG_REL
      VALUE "OriginalFilename", "_watt32.pyd"
      VALUE "ProductName",      "Watt-32 tcp/ip stack"
      VALUE "ProductVersion",   WATTCP_VER_STRING " (" BUILDER ")"
      VALUE "LegalCopyright",   "This library carries a BSD-style licence.\r\n"
                                "\t\t\tCopyright 1997-2017, Gisle Vanem <gvanem@yahoo.no>."
    END
  END

  BLOCK "VarFileInfo"
  BEGIN
    VALUE "Translation", 0x409, 1200
  END
END

#if defined(_MSC_VER)
  #define MANIFEST_RESOURCE_ID 1
  #define RT_MANIFEST 24

 /* MANIFEST_RESOURCE_ID RT_MANIFEST MANIFEST */
#endif

