/* miktex.version						-*- C -*-
 * Time-stamp: "97/06/19 22:48:34 mik"
 */

#if defined (_WIN32)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#ifndef VS_FF_DEBUG
#include <ver.h>
#endif
#endif

#include "version.h"

#define VER_PRODUCTNAME_STR         MIKTEX_PRODUCTNAME_STR
#define VER_PRODUCTVERSION_STR      MIKTEX_PRODUCTVERSION_STR
#define VER_PRODUCTVERSION          MIKTEX_MAJOR_VERSION,MIKTEX_MINOR_VERSION,0,MIKTEX_BUILD_NUMBER

#if ! defined (VER_LEGALCOPYRIGHT_STR)
#define VER_LEGALCOPYRIGHT_STR      MIKTEX_LEGALCOPYRIGHT_STR
#endif

#if ! defined (VER_COMPANYNAME_STR)
#define VER_COMPANYNAME_STR         MIKTEX_COMPANYNAME_STR
#endif

#if ! defined (VER_COMMENT_STR)
#define VER_COMMENT_STR             "This program is free software; \
you can redistribute it and/or modify it under the terms of the GNU General \
Public License as published by the Free Software Foundation; \
either version 2, or (at your option) any later version.\r\n\r\n\
This program is distributed in the hope that it will be useful, but \
WITHOUT ANY WARRANTY; without even the implied warranty of \
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU \
General Public License for more details.\r\n\r\n\
You should have received a copy of the GNU General Public License \
along with this program; if not, write to the Free Software \
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, \
USA.\0"
#endif

#if defined (_WIN32)

#ifndef VER_FILETYPE
#define VER_FILETYPE                VFT_APP
#endif

#define VER_FILESUBTYPE             VFT2_UNKNOWN

#ifndef DEBUG
#define VER_DEBUG                   0
#else
#define VER_DEBUG                   VS_FF_DEBUG
#endif

#ifndef OFFICIAL
#define VER_PRIVATEBUILD            VS_FF_PRIVATEBUILD
#else
#define VER_PRIVATEBUILD            0
#endif

#ifndef FINAL
#define VER_PRERELEASE              VS_FF_PRERELEASE
#else
#define VER_PRERELEASE              0
#endif

#define VER_FILEFLAGSMASK           VS_FFI_FILEFLAGSMASK
#define VER_FILEFLAGS               (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)

#define VER_FILEOS                  VOS_NT_WINDOWS32
#endif /* _WIN32 */

#ifdef RC_INVOKED

VS_VERSION_INFO         VERSIONINFO
FILEVERSION     	VER_FILEVERSION
PRODUCTVERSION  	VER_PRODUCTVERSION
FILEFLAGSMASK   	VER_FILEFLAGSMASK
FILEFLAGS       	VER_FILEFLAGS
FILEOS          	VER_FILEOS
FILETYPE        	VER_FILETYPE
FILESUBTYPE     	VER_FILESUBTYPE

BEGIN
    BLOCK "StringFileInfo"
    BEGIN
	BLOCK "040904E4"
	BEGIN
#if defined (VER_COMMENT_STR)
	    VALUE "Comment",          VER_COMMENT_STR
#endif
	    VALUE "CompanyName",      VER_COMPANYNAME_STR
	    VALUE "FileDescription",  VER_FILEDESCRIPTION_STR
	    VALUE "FileVersion",      VER_FILEVERSION_STR
	    VALUE "InternalName",     VER_INTERNALNAME_STR
	    VALUE "LegalCopyright",   VER_LEGALCOPYRIGHT_STR
#if defined (VER_LEGALTRADEMARKS_STR)
	    VALUE "LegalTrademarks",  VER_LEGALTRADEMARKS_STR
#endif
	    VALUE "OriginalFilename", VER_ORIGINALFILENAME_STR
	    VALUE "ProductName",      VER_PRODUCTNAME_STR
	    VALUE "ProductVersion",   VER_PRODUCTVERSION_STR
	END
    END
    BLOCK "VarFileInfo"
    BEGIN
	VALUE "Translation", 0x409, 1252
    END
END

#endif
/* miktex.version ends here */
