// BEGIN COPYRIGHT BLOCK
// Copyright (C) 2001 Sun Microsystems, Inc.  Used by permission.
// Copyright (C) 2005 Red Hat, Inc.
// All rights reserved.
// 
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation version
// 2.1 of the License.
//                                                                                  
// This library 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
// Lesser General Public License for more details.
//                                                                                  
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
// END COPYRIGHT BLOCK

// This resource file is used to set version info parameters for Windows DLLs

#include <winver.h>
#include "../../include/version.h"
#include "dirver.h"

#define INTERNAL_NAME "libadminutil" ADMSDK_SO_VERSION

/////////////////////////////////////////////////////////////////////////////
//
// Version-information resource
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION VI_FILEVERSION
 PRODUCTVERSION ADMSDK_VMAJOR,ADMSDK_VMINOR,0,0 
 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
 FILEFLAGS ADMSDK_FLAGS
 FILEOS VOS_NT_WINDOWS32
 FILETYPE VFT_DLL
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"  // Lang=US English, CharSet=Unicode
        BEGIN
            VALUE "CompanyName", VI_COMPANYNAME "\0"
            VALUE "FileDescription", ADMSDK_PRODUCT "\0"
            VALUE "FileVersion", VI_FileVersion "\0"
            VALUE "InternalName", INTERNAL_NAME "\0"
            VALUE "LegalCopyright", VI_COPYRIGHT "\0"
            VALUE "OriginalFilename", INTERNAL_NAME ".dll\0"
            VALUE "ProductName",  "Administration Server\0"
            VALUE "ProductVersion", ADMSDK_VERSION "\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END
