From 6fa758c552a14618e627814f755fac7703d10988 Mon Sep 17 00:00:00 2001 From: Kelly O'Hair Date: Tue, 8 Jul 2008 09:27:08 -0700 Subject: [PATCH] 6695765: Remove winver.exe completely from jdk sources Binary file winver.exe is unnecessary and the repositories should not manage binary files. Reviewed-by: darcy --- jdk/make/common/shared/Platform.gmk | 19 +++++------ jdk/make/common/shared/Sanity.gmk | 21 ++++++------ jdk/make/tools/Makefile | 1 - jdk/make/tools/winver/Makefile | 48 -------------------------- jdk/make/tools/winver/bin/winver.exe | Bin 28672 -> 0 bytes jdk/make/tools/winver/src/StdAfx.cpp | 33 ------------------ jdk/make/tools/winver/src/StdAfx.h | 47 ------------------------- jdk/make/tools/winver/src/winver.cpp | 49 --------------------------- 8 files changed, 20 insertions(+), 198 deletions(-) delete mode 100644 jdk/make/tools/winver/Makefile delete mode 100755 jdk/make/tools/winver/bin/winver.exe delete mode 100644 jdk/make/tools/winver/src/StdAfx.cpp delete mode 100644 jdk/make/tools/winver/src/StdAfx.h delete mode 100644 jdk/make/tools/winver/src/winver.cpp diff --git a/jdk/make/common/shared/Platform.gmk b/jdk/make/common/shared/Platform.gmk index 2d9b0078ec1..abf93964332 100644 --- a/jdk/make/common/shared/Platform.gmk +++ b/jdk/make/common/shared/Platform.gmk @@ -72,7 +72,6 @@ PLATFORM_SHARED=done # ISA_DIR solaris only: /sparcv9 or /amd64 # LIBARCH32 solaris only: sparc or i386 # LIBARCH64 solaris only: sparcv9 or amd64 -# REQUIRED_WINDOWS_NAME windows only: basic name of windows # REQUIRED_WINDOWS_VERSION windows only: specific version of windows # USING_CYGWIN windows only: true or false # WINDOWS_NT_VERSION_STRING windows only: long version name @@ -311,19 +310,11 @@ ifeq ($(PLATFORM), windows) endif endif export ARCH_DATA_MODEL - # LIBARCH is used to preserve the jre/lib/i386 directory name for 32-bit intel - ARCH=i586 - LIBARCH=i386 - # Value of Java os.arch property - ARCHPROP=x86 - REQUIRED_WINDOWS_NAME=Windows Professional 2000 - REQUIRED_WINDOWS_VERSION=5 0 Service Pack 4 ifeq ($(ARCH_DATA_MODEL), 64) # If the user wants to perform a cross compile build then they must # - set ARCH_DATA_MODEL=64 and either # + set ARCH to ia64 or amd64, or - REQUIRED_WINDOWS_NAME=Windows Server 2003 - REQUIRED_WINDOWS_VERSION=5 2 Service Pack 1 + REQUIRED_WINDOWS_VERSION=Server 2003 Enterprise x64 Edition ifeq ($(word 1, $(PROCESSOR_IDENTIFIER)), AMD64) ARCH=amd64 else @@ -332,6 +323,14 @@ ifeq ($(PLATFORM), windows) LIBARCH=$(ARCH) # Value of Java os.arch property ARCHPROP=$(LIBARCH) + else + REQUIRED_WINDOWS_VERSION=2000 or Unknown + #REQUIRED_WINDOWS_VERSION=XP Professional + # LIBARCH is used to preserve the jre/lib/i386 directory name for 32-bit intel + ARCH=i586 + LIBARCH=i386 + # Value of Java os.arch property + ARCHPROP=x86 endif ARCH_FAMILY = $(ARCH) # Where is unwanted output to be delivered? diff --git a/jdk/make/common/shared/Sanity.gmk b/jdk/make/common/shared/Sanity.gmk index 7a8eb11e13a..8239e008e3f 100644 --- a/jdk/make/common/shared/Sanity.gmk +++ b/jdk/make/common/shared/Sanity.gmk @@ -82,15 +82,16 @@ ifeq ($(PLATFORM), linux) endif ifeq ($(PLATFORM), windows) - WINVER=$(JDK_TOPDIR)/make/tools/winver/bin/winver.exe FREE_SPACE := $(shell $(DF) -kP $(OUTPUTDIR) | $(TAIL) -1 | $(NAWK) '{print $$4;}') TEMP_FREE_SPACE := $(shell $(DF) -kP $(TEMP_DISK) | $(TAIL) -1 | $(NAWK) '{print $$4;}') - WINDOWS_VERSION := $(shell \ - if [ -x $(WINVER) ]; then \ - $(WINVER) ; \ - else \ - $(ECHO) "Unknown Windows Version"; \ - fi) + # Localized systeminfo has localized labels, but not localized values. + _WINDOWS_VERSION := \ + $(shell systeminfo 2> $(DEV_NULL) | grep 'Microsoft' | grep 'Windows' | \ + cut -d':' -f2) + ifeq ($(_WINDOWS_VERSION),) + _WINDOWS_VERSION := Windows 2000 or Unknown (no systeminfo utility) + endif + WINDOWS_VERSION := $(strip $(_WINDOWS_VERSION)) DXSDK_VER := $(shell $(EGREP) DIRECTDRAW_VERSION $(DXSDK_INCLUDE_PATH)/ddraw.h 2>&1 | \ $(EGREP) "\#define" | $(NAWK) '{print $$3}') endif @@ -264,9 +265,9 @@ ifndef OPENJDK "" >> $(WARNING_FILE) ; \ fi ifeq ($(PLATFORM), windows) - @if [ "$(WINDOWS_VERSION)" != "$(REQUIRED_WINDOWS_VERSION)" ]; then \ - $(ECHO) "WARNING: $(YOU_ARE_USING) an unsupported version of $(REQUIRED_WINDOWS_NAME). \n" \ - " The supported version is $(REQUIRED_WINDOWS_NAME) $(REQUIRED_WINDOWS_VERSION). \n" \ + @if [ "$(findstring $(REQUIRED_WINDOWS_VERSION),$(WINDOWS_VERSION))" = "" ]; then \ + $(ECHO) "WARNING: $(YOU_ARE_USING) an unknown version of Windows. \n" \ + " The required version is $(REQUIRED_WINDOWS_VERSION). \n" \ " $(YOU_ARE_USING) $(WINDOWS_VERSION) \n" \ "" >> $(WARNING_FILE) ; \ fi diff --git a/jdk/make/tools/Makefile b/jdk/make/tools/Makefile index 36be60ea75d..1b3c4063c8c 100644 --- a/jdk/make/tools/Makefile +++ b/jdk/make/tools/Makefile @@ -51,7 +51,6 @@ SUBDIRS = \ jdwpgen \ makeclasslist \ strip_properties \ - winver \ CharsetMapping all build clean clobber:: diff --git a/jdk/make/tools/winver/Makefile b/jdk/make/tools/winver/Makefile deleted file mode 100644 index 9b8638a9437..00000000000 --- a/jdk/make/tools/winver/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -# -# Copyright 1998-2005 Sun Microsystems, Inc. All Rights Reserved. -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# This code is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 2 only, as -# published by the Free Software Foundation. Sun designates this -# particular file as subject to the "Classpath" exception as provided -# by Sun in the LICENSE file that accompanied this code. -# -# This code 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 -# version 2 for more details (a copy is included in the LICENSE file that -# accompanied this code). -# -# You should have received a copy of the GNU General Public License version -# 2 along with this work; if not, write to the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, -# CA 95054 USA or visit www.sun.com if you need additional information or -# have any questions. -# - -# -# Makefile for building the winver tool -# - -BUILDDIR = ../.. -PRODUCT = tools -PROGRAM = winver -include $(BUILDDIR)/common/Defs.gmk - -build: permissions - -permissions: -ifeq ($(PLATFORM),windows) - $(CHMOD) a+x bin/winver.exe -endif - -# -# Rules. -# -include $(BUILDDIR)/common/Rules.gmk - -.PHONY: permissions - diff --git a/jdk/make/tools/winver/bin/winver.exe b/jdk/make/tools/winver/bin/winver.exe deleted file mode 100755 index cba45bef1a4945cb3f2ae9b252e681fda3e5842f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28672 zcmeHv4|r77weOkCNjM=BW`G1Df({tG*eHzzlyrzrOeO>*I3Z+)hzX=5aWcjvP0rzu zH^IR()0>myRBXL}dau_?vAwk3_pa}1y|h|Q7;XZVs(@80d~Iy0J#kQDp~(Ot=l<3{ zGfD7IU%&VIzVE&FWnj(#GJ|^|_2&x@n%4b%;YMF$yS=ro<^HzX2kqNxo10ri`&aAjZBnznvDsdHPlf%# zmb&_->FLw6TAb=k92~ag4=n4BjDbzwrX{T&V%y z(74S8=I zEL@zO<<`aQERR;5#Bm<4dP)fC{Y1rDljiQt=$ zpx=JocL06yty}Em>h^(6&RwT0rdU2_tMGW0dQHz1fRT5i`z! z=Ofqqo?w1WNzbCBX4{{E*w1M_vpB9Q)FTQ0`Px4Mw@R)bt%$L-4nmHo@{<ph|H*#`=z*W`I z7+Z#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rYhr#@h;5i*|YqwQU<)%1FoV+9lR=DMbIXggD{z;aJBXOsc3COBuUGEtsm9nS@&* z))_#K%cMMUyKz@*J?Az`Yq1u!u4!&)DdhgyREia{xV~L%YuUy96U!Ar-@y*|YLdrT zwWx#KcUT!qa$io`AU0Jt@4$@Zex2lPYZRG8xNkF@!X~U0+^bBwZfb`6F{KNOFavKT z4(@T4QTn9>eWL>RT~>QTy^+0xFlkr{>+0HQ2)RS1b8JB)-*2hjV*~`;9fPYD=MpPHO3CKdnV^0=?X(~G_oW~ zV0f;E0H=f6nk4&cxuT|)_WJlx-0j-1-nH)Yw0W{NPNk~Fd?>= zJ2@MI9WGw_P)tA19sk(IQ{xG`pPh^{UJy@EIfbdulmz}<2_(Z{PKzTiK$?%I|87z` zj5Ko?p$xyR8BgP0d_28(Qu^^p>2FR-e``{j9!bFy#gU)rQ3N{wQii6zJ^5SLAiC;9 z^ZL;W{O}0zR>brsWI1B0Z$nJ=&TepWGZDXlcoyQlh-V|NL!5>9X2e98M?4SlG3ej5 zh@U`Ak6M}#??ikb;$4W>A$|z)D#W9RS0bjzQA-dfK4pbY?(@QiI-Khf(3{WvTLQ0| z@$a)`pM{j7Z-44vko)YvtMT`66aP%ypZ9Mvg-5uFe@R$j{+xe_`u2pNreY=mQxg3w zjN_hx0&IO`*CPw#a{2zRjl{n18S$R)4A7M0oVx=oJ^=jQ{qOF#8^xdb-ZN%^obmWa ze@7BC)=eE4-e|Onu@lT%m)xbq~ z4R$9uGf-k^XYz;kv!w_W(}&_Y2#LLn&?!yp66r9S<>+2D1%cK8T0<-dBvgtCMlr1m zR7PuCqKxQLU5fEkmC?1uVYF`0nn8iuqj4eJ74dvwJYN*gyAe~J4RLryJccuY(XT>G zZ8yc?4 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers - -#include - -// TODO: reference additional headers your program requires here - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__C592D6C3_027D_11D5_8DFB_080020C19238__INCLUDED_) diff --git a/jdk/make/tools/winver/src/winver.cpp b/jdk/make/tools/winver/src/winver.cpp deleted file mode 100644 index 6497b9e2ee6..00000000000 --- a/jdk/make/tools/winver/src/winver.cpp +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Sun designates this - * particular file as subject to the "Classpath" exception as provided - * by Sun in the LICENSE file that accompanied this code. - * - * This code 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 - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, - * CA 95054 USA or visit www.sun.com if you need additional information or - * have any questions. - */ - -// getver.cpp : Defines the entry point for the console application. -// - -#include "stdafx.h" -#include - -int main(int argc, char* argv[]) -{ - OSVERSIONINFO verInfo; - - memset(&verInfo,0,sizeof(verInfo)); - verInfo.dwOSVersionInfoSize = sizeof(verInfo); - - if (GetVersionEx(&verInfo)) - { - printf("%d %d %s",verInfo.dwMajorVersion,verInfo.dwMinorVersion,verInfo.szCSDVersion); - } - else - { - printf("No version info available"); - } - - return 0; -}