src/windows/resource/version.rc

changeset 1
55540e827aef
child 57
9c0cc0d0eca2
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/windows/resource/version.rc	Sat Dec 01 00:00:00 2007 +0000
     1.3 @@ -0,0 +1,73 @@
     1.4 +//
     1.5 +// Copyright 2004 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 +// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.7 +//
     1.8 +// This code is free software; you can redistribute it and/or modify it
     1.9 +// under the terms of the GNU General Public License version 2 only, as
    1.10 +// published by the Free Software Foundation.  Sun designates this
    1.11 +// particular file as subject to the "Classpath" exception as provided
    1.12 +// by Sun in the LICENSE file that accompanied this code.
    1.13 +//
    1.14 +// This code is distributed in the hope that it will be useful, but WITHOUT
    1.15 +// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.16 +// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.17 +// version 2 for more details (a copy is included in the LICENSE file that
    1.18 +// accompanied this code).
    1.19 +//
    1.20 +// You should have received a copy of the GNU General Public License version
    1.21 +// 2 along with this work; if not, write to the Free Software Foundation,
    1.22 +// Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.23 +//
    1.24 +// Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
    1.25 +// CA 95054 USA or visit www.sun.com if you need additional information or
    1.26 +// have any questions.
    1.27 +//
    1.28 +
    1.29 +#include "afxres.h"
    1.30 +
    1.31 +// Need 2 defines so macro argument to XSTR will get expanded before quoting.
    1.32 +#define XSTR(x) STR(x)
    1.33 +#define STR(x)  #x
    1.34 +
    1.35 +LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
    1.36 +
    1.37 +/////////////////////////////////////////////////////////////////////////////
    1.38 +//
    1.39 +// Version
    1.40 +//
    1.41 +
    1.42 +VS_VERSION_INFO VERSIONINFO
    1.43 + FILEVERSION    J2SE_FVER
    1.44 + PRODUCTVERSION J2SE_FVER
    1.45 + FILEFLAGSMASK 0x3fL
    1.46 +#ifdef _DEBUG
    1.47 + FILEFLAGS 0x1L
    1.48 +#else
    1.49 + FILEFLAGS 0x0L
    1.50 +#endif
    1.51 + // FILEOS 0x4 is Win32, 0x40004 is Win32 NT only
    1.52 + FILEOS 0x4L
    1.53 + // FILETYPE should be 0x1 for .exe and 0x2 for .dll
    1.54 + FILETYPE J2SE_FTYPE
    1.55 + FILESUBTYPE 0x0L
    1.56 +BEGIN
    1.57 +    BLOCK "StringFileInfo"
    1.58 +    BEGIN
    1.59 +        BLOCK "000004b0"
    1.60 +        BEGIN
    1.61 +            VALUE "CompanyName",      XSTR(J2SE_COMPANY)       "\0"
    1.62 +            VALUE "FileDescription",  XSTR(J2SE_COMPONENT)     "\0"
    1.63 +            VALUE "FileVersion",      XSTR(J2SE_VER)           "\0"
    1.64 +            VALUE "Full Version",     XSTR(J2SE_BUILD_ID)      "\0"
    1.65 +	    VALUE "InternalName",     XSTR(J2SE_INTERNAL_NAME) "\0"
    1.66 +            VALUE "LegalCopyright",   XSTR(J2SE_COPYRIGHT)     "\0"
    1.67 +            VALUE "OriginalFilename", XSTR(J2SE_FNAME)         "\0"
    1.68 +            VALUE "ProductName",      XSTR(J2SE_NAME)          "\0"
    1.69 +            VALUE "ProductVersion",   XSTR(J2SE_VER)           "\0"
    1.70 +        END
    1.71 +    END
    1.72 +    BLOCK "VarFileInfo"
    1.73 +    BEGIN
    1.74 +        VALUE "Translation", 0x0, 1200
    1.75 +    END
    1.76 +END

mercurial