Changeset 390 for trunk/openjdk/jdk/make
- Timestamp:
- Jul 2, 2012, 3:05:26 PM (13 years ago)
- Location:
- trunk/openjdk/jdk/make
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/jdk/make/common/shared/Platform.gmk
r309 r390 1 1 # 2 # Copyright (c) 1997, 201 0, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 171 171 REQUIRED_OS_VERSION = 5.8 172 172 endif 173 # How much RAM does this machine have :174 MB_OF_MEMORY =$(shell /etc/prtconf| fgrep 'Memory size:' | expand | cut -d' ' -f3)173 # How much RAM does this machine have (zones send an error to stderr): 174 MB_OF_MEMORY:=$(shell /usr/sbin/prtconf 2>/dev/null | fgrep 'Memory size:' | expand | cut -d' ' -f3) 175 175 endif 176 176 … … 290 290 TEMP_DISK=C:/temp 291 291 # GNU Make or MKS overrides $(PROCESSOR_ARCHITECTURE) to always 292 # return "x86". Use the first word of $(PROCESSOR_IDENTIFIER) instead. 292 # return "x86". Use the first word of $(PROCESSOR_IDENTIFIER) instead. 293 # And sometimes PROCESSOR_IDENTIFIER is not defined at all 294 # (in some restricted shells), so we use uname if we have to. 295 ifeq ($(PROCESSOR_IDENTIFIER),) 296 # Only run uname -m once in this make session. 297 ifndef SYSTEM_UNAME_M 298 SYSTEM_UNAME_M := $(shell uname -m) 299 export SYSTEM_UNAME_M 300 endif 301 PROC_ARCH:=$(SYSTEM_UNAME_M) 302 else 303 PROC_ARCH:=$(word 1, $(PROCESSOR_IDENTIFIER)) 304 endif 305 # Cover all the possibilities, MKS uname, CYGWIN uname, PROCESSOR_IDENTIFIER 306 # Get: X86, X64, or IA64 307 PROC_ARCH:=$(patsubst 386,X86,$(PROC_ARCH)) 308 PROC_ARCH:=$(patsubst 486,X86,$(PROC_ARCH)) 309 PROC_ARCH:=$(patsubst 586,X86,$(PROC_ARCH)) 310 PROC_ARCH:=$(patsubst 686,X86,$(PROC_ARCH)) 311 PROC_ARCH:=$(patsubst i386,X86,$(PROC_ARCH)) 312 PROC_ARCH:=$(patsubst i486,X86,$(PROC_ARCH)) 313 PROC_ARCH:=$(patsubst i586,X86,$(PROC_ARCH)) 314 PROC_ARCH:=$(patsubst i686,X86,$(PROC_ARCH)) 315 PROC_ARCH:=$(patsubst x86,X86,$(PROC_ARCH)) 316 PROC_ARCH:=$(patsubst intel64,X64,$(PROC_ARCH)) 317 PROC_ARCH:=$(patsubst Intel64,X64,$(PROC_ARCH)) 318 PROC_ARCH:=$(patsubst INTEL64,X64,$(PROC_ARCH)) 319 PROC_ARCH:=$(patsubst em64t,X64,$(PROC_ARCH)) 320 PROC_ARCH:=$(patsubst EM64T,X64,$(PROC_ARCH)) 321 PROC_ARCH:=$(patsubst amd64,X64,$(PROC_ARCH)) 322 PROC_ARCH:=$(patsubst AMD64,X64,$(PROC_ARCH)) 323 PROC_ARCH:=$(patsubst 8664,X64,$(PROC_ARCH)) 324 PROC_ARCH:=$(patsubst x86_64,X64,$(PROC_ARCH)) 325 PROC_ARCH:=$(patsubst ia64,IA64,$(PROC_ARCH)) 293 326 ifndef ARCH_DATA_MODEL 294 ifeq ($( word 1, $(PROCESSOR_IDENTIFIER)),ia64)327 ifeq ($(PROC_ARCH),IA64) 295 328 ARCH_DATA_MODEL=64 296 329 else 297 ifeq ($( word 1, $(PROCESSOR_IDENTIFIER)),AMD64)330 ifeq ($(PROC_ARCH),X64) 298 331 ARCH_DATA_MODEL=64 299 332 else … … 308 341 # + set ARCH to ia64 or amd64, or 309 342 REQUIRED_WINDOWS_VERSION=Server 2003 Enterprise x64 Edition 310 ifeq ($( word 1, $(PROCESSOR_IDENTIFIER)), AMD64)343 ifeq ($(PROC_ARCH),X64) 311 344 ARCH=amd64 312 345 else -
trunk/openjdk/jdk/make/common/shared/Sanity-Settings.gmk
r310 r390 1 1 # 2 # Copyright (c) 2005, 201 0, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # -
trunk/openjdk/jdk/make/common/shared/Sanity.gmk
r310 r390 1 1 # 2 # Copyright (c) 2005, 201 0, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # -
trunk/openjdk/jdk/make/java/java/FILES_java.gmk
r278 r390 1 1 # 2 # Copyright (c) 1996, 201 0, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 449 449 sun/misc/GC.java \ 450 450 sun/misc/Service.java \ 451 sun/misc/JavaAWTAccess.java \ 451 452 sun/misc/JavaLangAccess.java \ 452 453 sun/misc/JavaIOAccess.java \ -
trunk/openjdk/jdk/make/sun/security/mscapi/Makefile
r278 r390 1 1 # 2 # Copyright (c) 2005, 20 08, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 154 154 # 155 155 CLASSDESTDIR = $(TEMPDIR)/classes 156 JAVAHFLAGS = -bootclasspath "$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)" 156 157 157 158 include $(BUILDDIR)/common/Mapfile-vers.gmk -
trunk/openjdk/jdk/make/sun/security/pkcs11/Makefile
r278 r390 1 1 # 2 # Copyright (c) 2003, 20 08, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # … … 148 148 # 149 149 CLASSDESTDIR = $(TEMPDIR)/classes 150 JAVAHFLAGS = -bootclasspath "$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)" 150 151 151 152 include $(BUILDDIR)/common/Mapfile-vers.gmk
Note:
See TracChangeset
for help on using the changeset viewer.