Changeset 67


Ignore:
Timestamp:
Jul 16, 2010, 9:25:34 PM (15 years ago)
Author:
dmik
Message:

jdk/make: Pick up correct files when gathering hotspot on OS/2.

Location:
trunk/openjdk/jdk/make
Files:
2 edited
1 copied

Legend:

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

    r2 r67  
    6969
    7070# Text documents on windows use this suffix
    71 ifeq ($(PLATFORM), windows)
     71ifeq ($(filter-out windows,os2 $(PLATFORM)),)
    7272  TEXT_SUFFIX = .txt
    7373endif
     
    9292    LICENSE_VERSION=.fcs
    9393  endif
    94   ifeq ($(PLATFORM), windows)
     94  ifeq ($(filter-out windows,os2 $(PLATFORM)),)
    9595    LICENSE_DOCLIST_JDK = $(subst $(LICENSE_VERSION),,\
    9696                   $(shell $(CD) $(SHARE_JDK_DOC_SRC) && \
     
    398398        sun/tools/jinfo         \
    399399        sun/tools/jmap
    400        
     400
    401401# classes that go into jsse.jar
    402402JSSE_CLASSES_DIRS = \
     
    516516endif
    517517
    518 # JRE files 
     518# JRE files
    519519$(JRE_IMAGE_DIR)/%: $(SHARE_JRE_DOC_SRC)/%
    520520        $(process-doc-file)
     
    786786                -o meta-index *.jar
    787787        @$(CD) $(JRE_IMAGE_DIR)/lib/ext && $(java-vm-cleanup)
    788 ifeq ($(PLATFORM), windows)
     788ifeq ($(filter-out windows,os2 $(PLATFORM)),)
    789789        @# Remove certain *.lib files
    790790        $(CD) $(JRE_IMAGE_DIR)/lib && \
    791791            $(RM) java.$(LIB_SUFFIX) jvm.$(LIB_SUFFIX) \
    792792                  hpi.$(LIB_SUFFIX) awt.$(LIB_SUFFIX) jawt.$(LIB_SUFFIX)
    793 endif # Windows
    794 ifneq ($(PLATFORM), windows)
     793else
    795794        $(call copy-man-pages,$(JRE_IMAGE_DIR),$(JRE_MAN_PAGES))
    796 endif # !windows
     795endif # windows || OS/2
    797796
    798797# Trim out any extra files not for the jre shipment but wanted in the jdk jre.
     
    822821JRE_ELF_LIST=$(TEMPDIR)/jre-elf-files.list
    823822$(JRE_ELF_LIST):
    824 ifneq ($(PLATFORM), windows)
     823ifneq ($(filter-out windows,os2 $(PLATFORM)),)
    825824        $(RM) $@
    826825        $(FIND) $(JRE_IMAGE_DIR)/lib -type f -name \*.$(LIB_SUFFIX) >> $@
     
    907906            fi; \
    908907        done
    909   ifeq ($(PLATFORM), windows)
     908  ifeq ($(filter-out windows,os2 $(PLATFORM)),)
    910909        @#
    911910        @# lib/
     
    10451044        @#
    10461045        $(CD) javax/swing/beaninfo && $(MAKE) swing-1.2-beans
    1047 ifneq ($(PLATFORM), windows)
     1046ifneq ($(filter-out windows,os2 $(PLATFORM)),)
    10481047        $(call copy-man-pages,$(JDK_IMAGE_DIR),$(JDK_MAN_PAGES))
    10491048endif # !windows
     
    10601059JDK_ELF_LIST=$(TEMPDIR)/jdk-elf-files.list
    10611060$(JDK_ELF_LIST):
    1062 ifneq ($(PLATFORM), windows)
     1061ifneq ($(filter-out windows,os2 $(PLATFORM)),)
    10631062        $(RM) $@
    10641063        $(FIND) $(JDK_IMAGE_DIR)/jre/lib -type f -name \*.$(LIB_SUFFIX) >> $@
     
    12231222        $(RM) -r $(OUTPUTDIR)/$(ARCH)
    12241223endif
    1225 ifeq ($(PLATFORM), windows)
     1224ifeq ($(filter-out windows,os2 $(PLATFORM)),)
    12261225        $(RM) $(TEMPDIR)/rebase.input
    12271226endif
  • trunk/openjdk/jdk/make/java/redist/Makefile

    r2 r67  
    2929#   that are provided inside this workspace.
    3030#
    31 # IMPORT_LIST contains the list of destination files that are copied 
     31# IMPORT_LIST contains the list of destination files that are copied
    3232#     from external places (outside this workspace).
    3333#
    3434# INTERNAL_IMPORT_LIST is the list of destination files from BUILDDIR.
    35 # 
     35#
    3636
    3737BUILDDIR = ../..
     
    4444DB_SUFFIX = _db
    4545
    46 ifeq ($(PLATFORM), windows)
     46ifeq ($(filter-out windows,os2 $(PLATFORM)),)
    4747  LIB_LOCATION = $(BINDIR)
    4848else
     
    5454JVMMAP_NAME            = $(LIB_PREFIX)jvm.map
    5555JVMPDB_NAME            = $(LIB_PREFIX)jvm.pdb
     56JVMSYM_NAME            = $(LIB_PREFIX)jvm.sym
    5657LIBJSIG_NAME           = $(LIB_PREFIX)jsig.$(LIBRARY_SUFFIX)
    5758JVMDB_NAME             = $(LIB_PREFIX)jvm$(DB_SUFFIX).$(LIBRARY_SUFFIX)
     
    7475# On platforms where it is supported, we want to allow it to
    7576# not be present, at least temporarily.  So,
    76 # if the SA files (well, just sa-jdi.jar) do not exist 
     77# if the SA files (well, just sa-jdi.jar) do not exist
    7778# in the HOTSPOT_IMPORT_PATH, then we won't build SA.
    7879SA_EXISTS := $(shell if [ -r $(HOTSPOT_IMPORT_PATH)/lib/sa-jdi.jar ] ; then \
     
    8990  IMPORT_LIST += $(LIBDIR)/sa-jdi.jar \
    9091                 $(LIB_LOCATION)/$(SALIB_NAME)
    91   ifeq ($(PLATFORM), windows)
     92  ifeq ($(filter-out windows,os2 $(PLATFORM)),)
    9293    IMPORT_LIST += $(LIB_LOCATION)/$(SAMAP_NAME) \
    9394                   $(LIB_LOCATION)/$(SAPDB_NAME)
     
    134135        $(install-import-file)
    135136
    136 # it is OK for the .map and .pdb files to not exist, so do not force a 
     137# it is OK for the .map and .pdb files to not exist, so do not force a
    137138# dependency on them from the bootstrap location, and allow the copy to fail.
    138139$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMMAP_NAME):
     
    148149        -$(CP) $(HOTSPOT_CLIENT_PATH)/$(JVMPDB_NAME)  $@
    149150
    150 $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMPDB_NAME): 
     151$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMPDB_NAME):
    151152        @$(prep-target)
    152153        -$(CP) $(HOTSPOT_SERVER_PATH)/$(JVMPDB_NAME) $@
    153154
    154155#  Windows     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Windows
    155 else # PLATFORM
     156else # PLATFORM == windows
     157ifeq ($(PLATFORM), os2)
     158#  OS/2        vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  OS/2
     159
     160# Get the hotspot .map and .sym files for client and server
     161IMPORT_LIST += \
     162        $(LIBDIR)/$(JVMLIB_NAME) \
     163        $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMMAP_NAME) \
     164        $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMSYM_NAME)
     165
     166# Hotspot client is only available on 32-bit builds
     167ifeq ($(ARCH_DATA_MODEL), 32)
     168  IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMMAP_NAME) \
     169                 $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMSYM_NAME)
     170endif
     171
     172$(LIBDIR)/$(JVMLIB_NAME): $(HOTSPOT_LIB_PATH)/$(JVMLIB_NAME)
     173        $(install-import-file)
     174
     175# it is OK for the .map and .sym files to not exist, so do not force a
     176# dependency on them from the bootstrap location, and allow the copy to fail.
     177$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMMAP_NAME):
     178        @$(prep-target)
     179        -$(CP) $(HOTSPOT_CLIENT_PATH)/$(JVMMAP_NAME)  $@
     180
     181$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMMAP_NAME):
     182        @$(prep-target)
     183        -$(CP) $(HOTSPOT_SERVER_PATH)/$(JVMMAP_NAME) $@
     184
     185$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMSYM_NAME):
     186        @$(prep-target)
     187        -$(CP) $(HOTSPOT_CLIENT_PATH)/$(JVMSYM_NAME)  $@
     188
     189$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMSYM_NAME):
     190        @$(prep-target)
     191        -$(CP) $(HOTSPOT_SERVER_PATH)/$(JVMSYM_NAME) $@
     192
     193#  OS/2        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  OS/2
     194
     195else
    156196#  NOT Windows vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  NOT Windows
    157197
     
    162202ifeq ($(PLATFORM), solaris)
    163203  IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_NAME)
    164 endif 
     204endif
    165205
    166206ifneq ($(ZERO_BUILD), true)
     
    199239#  NOT Windows ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ NOT Windows
    200240
    201 endif # PLATFORM
     241endif # PLATFORM == os2
     242endif # PLATFORM == windows
    202243
    203244$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVM_NAME)
     
    246287        $(install-import-file)
    247288
    248 ifeq ($(PLATFORM), windows)
     289ifeq ($(filter-out windows,os2 $(PLATFORM)),)
    249290$(LIB_LOCATION)/$(SAPDB_NAME): $(HOTSPOT_SALIB_PATH)/$(SAPDB_NAME)
    250291        $(install-import-file)
     
    306347FONTSDIR  = $(LIBDIR)/fonts
    307348FONTSDIRFILE  = $(FONTSDIR)/fonts.dir
    308 INTERNAL_IMPORT_LIST += $(FONTFILES) 
    309 
    310 ifneq ($(PLATFORM), windows)
     349INTERNAL_IMPORT_LIST += $(FONTFILES)
     350
     351ifneq ($(filter-out windows,os2 $(PLATFORM)),)
    311352  INTERNAL_IMPORT_LIST += $(FONTSDIRFILE)
    312353endif
Note: See TracChangeset for help on using the changeset viewer.