Changeset 16


Ignore:
Timestamp:
Jun 9, 2010, 2:03:43 AM (15 years ago)
Author:
dmik
Message:

jdk/make/os2: More defines.

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

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/make/common/shared/Defs-os2.gmk

    r10 r16  
    8888UNIXCOMMAND_PATH:=$(call AltCheckSpaces,UNIXCOMMAND_PATH)
    8989
     90# SLASH_JAVA: location of all network accessable files
     91ifdef ALT_SLASH_JAVA
     92  xALT_SLASH_JAVA :="$(subst \,/,$(ALT_SLASH_JAVA))"
     93  SLASH_JAVA      :=$(call FullPath,$(xALT_SLASH_JAVA))
     94else
     95  ifdef ALT_JDK_JAVA_DRIVE
     96    SLASH_JAVA  =$(JDK_JAVA_DRIVE)
     97  else
     98    SLASH_JAVA  =J:
     99  endif
     100endif
     101SLASH_JAVA:=$(call AltCheckSpaces,SLASH_JAVA)
     102SLASH_JAVA:=$(call AltCheckValue,SLASH_JAVA)
     103
     104# JDK_DEVTOOLS_DIR: common path for all the java devtools
     105ifdef ALT_JDK_DEVTOOLS_DIR
     106  xALT_JDK_DEVTOOLS_DIR :="$(subst \,/,$(ALT_JDK_DEVTOOLS_DIR))"
     107  JDK_DEVTOOLS_DIR      :=$(call FullPath,$(xALT_JDK_DEVTOOLS_DIR))
     108else
     109  JDK_DEVTOOLS_DIR =$(SLASH_JAVA)/devtools
     110endif
     111JDK_DEVTOOLS_DIR:=$(call AltCheckSpaces,JDK_DEVTOOLS_DIR)
     112JDK_DEVTOOLS_DIR:=$(call AltCheckValue,JDK_DEVTOOLS_DIR)
     113
     114# COMPILER_PATH: path to where the compiler and tools are installed.
     115#  NOTE: Must end with / so that it could be empty, allowing PATH usage.
     116ifdef ALT_COMPILER_PATH
     117  xALT_COMPILER_PATH  :="$(subst \,/,$(ALT_COMPILER_PATH))"
     118  fxALT_COMPILER_PATH :=$(call FullPath,$(xALT_COMPILER_PATH))
     119  COMPILER_PATH       :=$(call PrefixPath,$(fxALT_COMPILER_PATH))
     120else
     121  COMPILER_PATH :=$(call PrefixPath,$(_compiler_bin))
     122endif
     123COMPILER_PATH :=$(call AltCheckSpaces,COMPILER_PATH)
     124
    90125# DEVTOOLS_PATH: for other tools required for building (such as zip, etc.)
    91126#  NOTE: Must end with / so that it could be empty, allowing PATH usage.
     
    106141endif
    107142
     143# Import JDK images allow for partial builds, components not built are
     144#    imported (or copied from) these import areas when needed.
     145
     146# BUILD_JDK_IMPORT_PATH: location of JDK install trees to import for
     147#   multiple platforms, e.g. windows-i586, solaris-sparc, linux-586, etc.
     148ifdef ALT_BUILD_JDK_IMPORT_PATH
     149  BUILD_JDK_IMPORT_PATH  :=$(call FullPath,$(ALT_BUILD_JDK_IMPORT_PATH))
     150else
     151  BUILD_JDK_IMPORT_PATH   = $(PROMOTED_BUILD_BINARIES)
     152endif
     153BUILD_JDK_IMPORT_PATH:=$(call AltCheckSpaces,BUILD_JDK_IMPORT_PATH)
     154BUILD_JDK_IMPORT_PATH:=$(call AltCheckValue,BUILD_JDK_IMPORT_PATH)
     155
     156# JDK_IMPORT_PATH: location of previously built JDK (this version) to import
     157ifdef ALT_JDK_IMPORT_PATH
     158  JDK_IMPORT_PATH  :=$(call FullPath,$(ALT_JDK_IMPORT_PATH))
     159else
     160  JDK_IMPORT_PATH   = $(BUILD_JDK_IMPORT_PATH)/$(PLATFORM)-$(ARCH)$(_JDK_IMPORT_VARIANT)
     161endif
     162JDK_IMPORT_PATH:=$(call AltCheckSpaces,JDK_IMPORT_PATH)
     163JDK_IMPORT_PATH:=$(call AltCheckValue,JDK_IMPORT_PATH)
     164
     165# HOTSPOT_IMPORT_PATH: location of hotspot pre-built files
     166ifdef ALT_HOTSPOT_IMPORT_PATH
     167  HOTSPOT_IMPORT_PATH :=$(call FullPath,$(ALT_HOTSPOT_IMPORT_PATH))
     168else
     169  HOTSPOT_IMPORT_PATH =$(JDK_IMPORT_PATH)
     170endif
     171HOTSPOT_IMPORT_PATH:=$(call AltCheckSpaces,HOTSPOT_IMPORT_PATH)
     172HOTSPOT_IMPORT_PATH:=$(call AltCheckValue,HOTSPOT_IMPORT_PATH)
     173
     174# HOTSPOT_CLIENT_PATH: location of client jvm library file.
     175ifeq ($(ARCH_DATA_MODEL), 32)
     176  ifdef ALT_HOTSPOT_CLIENT_PATH
     177    HOTSPOT_CLIENT_PATH :=$(call FullPath,$(ALT_HOTSPOT_CLIENT_PATH))
     178  else
     179    HOTSPOT_CLIENT_PATH   =$(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/client
     180  endif
     181  HOTSPOT_CLIENT_PATH:=$(call AltCheckSpaces,HOTSPOT_CLIENT_PATH)
     182  HOTSPOT_CLIENT_PATH:=$(call AltCheckValue,HOTSPOT_CLIENT_PATH)
     183endif
     184
     185# HOTSPOT_SERVER_PATH: location of server jvm library file.
     186ifdef ALT_HOTSPOT_SERVER_PATH
     187  HOTSPOT_SERVER_PATH :=$(call FullPath,$(ALT_HOTSPOT_SERVER_PATH))
     188else
     189  HOTSPOT_SERVER_PATH   =$(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/server
     190endif
     191HOTSPOT_SERVER_PATH:=$(call AltCheckSpaces,HOTSPOT_SERVER_PATH)
     192HOTSPOT_SERVER_PATH:=$(call AltCheckValue,HOTSPOT_SERVER_PATH)
     193
     194# HOTSPOT_LIB_PATH: location of jvm.lib file.
     195ifdef ALT_HOTSPOT_LIB_PATH
     196  xALT_HOTSPOT_LIB_PATH :="$(subst \,/,$(ALT_HOTSPOT_LIB_PATH))"
     197  HOTSPOT_LIB_PATH      :=$(call FullPath,$(xALT_HOTSPOT_LIB_PATH))
     198else
     199  HOTSPOT_LIB_PATH  =$(HOTSPOT_IMPORT_PATH)/lib
     200endif
     201HOTSPOT_LIB_PATH:=$(call AltCheckSpaces,HOTSPOT_LIB_PATH)
     202HOTSPOT_LIB_PATH:=$(call AltCheckValue,HOTSPOT_LIB_PATH)
     203
  • trunk/openjdk/jdk/make/common/shared/Sanity-Settings.gmk

    r12 r16  
    251251  ALL_SETTINGS+=$(call addAltSetting,MOZILLA_HEADERS_PATH)
    252252endif
    253 ifneq ($(PLATFORM),windows)
     253ifneq ($(filter-out windows os2,$(PLATFORM)),)
    254254  ALL_SETTINGS+=$(call addAltSetting,CUPS_HEADERS_PATH)
    255255endif
Note: See TracChangeset for help on using the changeset viewer.