Changeset 7


Ignore:
Timestamp:
Jun 5, 2010, 1:01:45 AM (15 years ago)
Author:
dmik
Message:

Added OS/2 versions of make files for JDK.

Location:
trunk/openjdk/jdk/make/common
Files:
2 added
2 edited

Legend:

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

    r2 r7  
    3333endif
    3434
     35# OS/2 uses GNU compilers by default
     36ifeq ($(PLATFORM), os2)
     37  override CC_VERSION = gcc
     38endif
     39
    3540# Solaris uses Sun Studio compilers by default
    3641ifeq ($(PLATFORM), solaris)
  • trunk/openjdk/jdk/make/common/shared/Platform.gmk

    r2 r7  
    7373#     LIBARCH32                   solaris only: sparc or i386
    7474#     LIBARCH64                   solaris only: sparcv9 or amd64
    75 #     REQUIRED_WINDOWS_VERSION    windows only: specific version of windows 
     75#     REQUIRED_WINDOWS_VERSION    windows only: specific version of windows
    7676#     USING_CYGWIN                windows only: true or false
    7777#     WINDOWS_NT_VERSION_STRING   windows only: long version name
     
    8686#     REQUIRED_LINUX_FULLVER      linux only: required full version of linux
    8787#     REQUIRED_ALSA_VERSION       linux only: required version of ALSA
    88 #     REQUIRED_FREETYPE_VERSION   openjdk only: required version of freetype 
     88#     REQUIRED_FREETYPE_VERSION   openjdk only: required version of freetype
    8989
    9090SYSTEM_UNAME := $(shell uname)
     
    174174    REQUIRED_OS_VERSION = 5.8
    175175  endif
    176   # Minimum disk space needed as determined by running 'du -sk' on 
     176  # Minimum disk space needed as determined by running 'du -sk' on
    177177  #    a fully built workspace.
    178178  ifeq ($(ARCH_FAMILY), sparc)
     
    250250  # Suffix for file bundles used in previous release
    251251  BUNDLE_FILE_SUFFIX=.tar.gz
    252   # Minimum disk space needed as determined by running 'du -sk' on 
     252  # Minimum disk space needed as determined by running 'du -sk' on
    253253  #    a fully built workspace.
    254254  REQUIRED_FREE_SPACE=1460000
     
    372372  # Suffix for file bundles used in previous release
    373373  BUNDLE_FILE_SUFFIX=.tar
    374   # Minimum disk space needed as determined by running 'du -sk' on 
     374  # Minimum disk space needed as determined by running 'du -sk' on
    375375  #    a fully built workspace.
    376376  REQUIRED_FREE_SPACE=500000
     
    389389      echo "512"; \
    390390    fi)
     391endif
     392
     393# Platform settings specific to OS/2
     394ifeq ($(SYSTEM_UNAME), OS/2)
     395  PLATFORM = os2
     396  OS_NAME = os2
     397  OS_VERSION := $(shell uname -r)
     398  OS_VENDOR = IBM
     399  TEMP_DISK = $(subst \,/,$(TEMP))
     400  ARCH_DATA_MODEL = 32
     401  ARCH = i586
     402  # LIBARCH is used to preserve the jre/lib/i386 directory name for 32-bit intel
     403  LIBARCH = i386
     404  # Value of Java os.arch property
     405  ARCHPROP = x86
     406  ARCH_FAMILY = $(ARCH)
     407  # Where is unwanted output to be delivered?
     408  DEV_NULL = nul
     409  # Classpath separator
     410  CLASSPATH_SEPARATOR = ;
     411  # The suffix used for object file (.o for unix .obj for windows)
     412  OBJECT_SUFFIX = obj
     413  # The suffix applied to executables (.exe for windows, nothing for solaris)
     414  EXE_SUFFIX = .exe
     415  # The prefix applied to library files (lib for solaris, nothing for windows)
     416  LIB_PREFIX =
     417  LIBRARY_SUFFIX = dll
     418  LIB_SUFFIX = lib
     419  # User name determination (set _USER)
     420  ifndef USER
     421    ifdef USERNAME
     422      _USER := $(USERNAME)
     423    else
     424      ifdef LOGNAME
     425        _USER := $(LOGNAME)
     426      else
     427        _USER := $(shell id -un)
     428      endif
     429    endif
     430  else
     431    _USER:=$(USER)
     432  endif
     433  # Location of client/server directories
     434  ARCH_VM_SUBDIR=jre/bin
     435  # Suffix for file bundles used in previous release
     436  BUNDLE_FILE_SUFFIX=.tar
     437  # Minimum disk space needed as determined by running 'du -sk' on
     438  #    a fully built workspace.
     439  REQUIRED_FREE_SPACE=500000
     440  # How much RAM does this machine have:
     441  # @todo
    391442endif
    392443
     
    427478
    428479# Unix type settings (same for all unix platforms)
    429 ifneq ($(PLATFORM), windows)
     480ifneq ($(filter-out windows os2, $(PLATFORM)),)
    430481  # Temporary disk area
    431482  TEMP_DISK=/tmp
     
    433484  DEV_NULL = /dev/null
    434485  export DEV_NULL
    435   # Character used between entries in classpath 
     486  # Character used between entries in classpath
    436487  CLASSPATH_SEPARATOR = :
    437488  # suffix used for object file (.o for unix .obj for windows)
Note: See TracChangeset for help on using the changeset viewer.