Changeset 390 for trunk/openjdk/jdk/make


Ignore:
Timestamp:
Jul 2, 2012, 3:05:26 PM (13 years ago)
Author:
dmik
Message:

trunk: Merged in openjdk6 b25 from branches/vendor/oracle.

This accompanies an incomplete r389.

Location:
trunk/openjdk/jdk/make
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/make/common/shared/Platform.gmk

    r309 r390  
    11#
    2 # Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
     
    171171    REQUIRED_OS_VERSION = 5.8
    172172  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)
    175175endif
    176176
     
    290290  TEMP_DISK=C:/temp
    291291  # 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))
    293326  ifndef ARCH_DATA_MODEL
    294     ifeq ($(word 1, $(PROCESSOR_IDENTIFIER)),ia64)
     327    ifeq ($(PROC_ARCH),IA64)
    295328      ARCH_DATA_MODEL=64
    296329    else
    297       ifeq ($(word 1, $(PROCESSOR_IDENTIFIER)),AMD64)
     330      ifeq ($(PROC_ARCH),X64)
    298331        ARCH_DATA_MODEL=64
    299332      else
     
    308341    #      + set ARCH to ia64 or amd64, or
    309342    REQUIRED_WINDOWS_VERSION=Server 2003 Enterprise x64 Edition
    310     ifeq ($(word 1, $(PROCESSOR_IDENTIFIER)), AMD64)
     343    ifeq ($(PROC_ARCH),X64)
    311344      ARCH=amd64
    312345    else
  • trunk/openjdk/jdk/make/common/shared/Sanity-Settings.gmk

    r310 r390  
    11#
    2 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
  • trunk/openjdk/jdk/make/common/shared/Sanity.gmk

    r310 r390  
    11#
    2 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
  • trunk/openjdk/jdk/make/java/java/FILES_java.gmk

    r278 r390  
    11#
    2 # Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
     
    449449    sun/misc/GC.java \
    450450    sun/misc/Service.java \
     451    sun/misc/JavaAWTAccess.java \
    451452    sun/misc/JavaLangAccess.java \
    452453    sun/misc/JavaIOAccess.java \
  • trunk/openjdk/jdk/make/sun/security/mscapi/Makefile

    r278 r390  
    11#
    2 # Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
     
    154154#
    155155CLASSDESTDIR = $(TEMPDIR)/classes
     156JAVAHFLAGS = -bootclasspath "$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)"
    156157
    157158include $(BUILDDIR)/common/Mapfile-vers.gmk
  • trunk/openjdk/jdk/make/sun/security/pkcs11/Makefile

    r278 r390  
    11#
    2 # Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
     
    148148#
    149149CLASSDESTDIR = $(TEMPDIR)/classes
     150JAVAHFLAGS = -bootclasspath "$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)"
    150151
    151152include $(BUILDDIR)/common/Mapfile-vers.gmk
Note: See TracChangeset for help on using the changeset viewer.