1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/os/windows/vm/version.rc Sat Dec 01 00:00:00 2007 +0000 1.3 @@ -0,0 +1,72 @@ 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. 1.11 +// 1.12 +// This code is distributed in the hope that it will be useful, but WITHOUT 1.13 +// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1.14 +// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1.15 +// version 2 for more details (a copy is included in the LICENSE file that 1.16 +// accompanied this code). 1.17 +// 1.18 +// You should have received a copy of the GNU General Public License version 1.19 +// 2 along with this work; if not, write to the Free Software Foundation, 1.20 +// Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1.21 +// 1.22 +// Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 1.23 +// CA 95054 USA or visit www.sun.com if you need additional information or 1.24 +// have any questions. 1.25 +// 1.26 +// 1.27 + 1.28 +#include "winresrc.h" 1.29 + 1.30 +// Need 2 defines so macro argument to XSTR will get expanded before quoting. 1.31 +#define XSTR(x) STR(x) 1.32 +#define STR(x) #x 1.33 + 1.34 +LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL 1.35 + 1.36 +///////////////////////////////////////////////////////////////////////////// 1.37 +// 1.38 +// Version 1.39 +// 1.40 + 1.41 +VS_VERSION_INFO VERSIONINFO 1.42 + FILEVERSION HS_VER 1.43 + PRODUCTVERSION JDK_VER 1.44 + FILEFLAGSMASK 0x3fL 1.45 +#ifdef _DEBUG 1.46 + FILEFLAGS 0x1L 1.47 +#else 1.48 + FILEFLAGS 0x0L 1.49 +#endif 1.50 + // FILEOS 0x4 is Win32, 0x40004 is Win32 NT only 1.51 + FILEOS 0x4L 1.52 + // FILETYPE should be 0x1 for .exe and 0x2 for .dll 1.53 + FILETYPE 0x2L 1.54 + FILESUBTYPE 0x0L 1.55 +BEGIN 1.56 + BLOCK "StringFileInfo" 1.57 + BEGIN 1.58 + BLOCK "000004b0" 1.59 + BEGIN 1.60 + VALUE "CompanyName", XSTR(HS_COMPANY) "\0" 1.61 + VALUE "FileDescription", XSTR(HS_FILEDESC) "\0" 1.62 + VALUE "FileVersion", XSTR(HS_DOTVER) "\0" 1.63 + VALUE "Full Version", XSTR(HS_BUILD_ID) "\0" 1.64 + VALUE "InternalName", XSTR(HS_INTERNAL_NAME) "\0" 1.65 + VALUE "LegalCopyright", XSTR(HS_COPYRIGHT) "\0" 1.66 + VALUE "OriginalFilename", XSTR(HS_FNAME) "\0" 1.67 + VALUE "ProductName", XSTR(HS_NAME) "\0" 1.68 + VALUE "ProductVersion", XSTR(JDK_DOTVER) "\0" 1.69 + END 1.70 + END 1.71 + BLOCK "VarFileInfo" 1.72 + BEGIN 1.73 + VALUE "Translation", 0x0, 1200 1.74 + END 1.75 +END