Ignore:
Timestamp:
Mar 26, 2011, 8:39:20 PM (14 years ago)
Author:
dmik
Message:

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

Location:
trunk/openjdk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk

  • trunk/openjdk/hotspot/make/Makefile

    r245 r278  
    11#
    2 # Copyright 2005-2010 Sun Microsystems, Inc.  All Rights Reserved.
     2# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
     
    1717# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1818#
    19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
    20 # CA 95054 USA or visit www.sun.com if you need additional information or
    21 # have any questions.
     19# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
     20# or visit www.oracle.com if you need additional information or have any
     21# questions.
    2222#
    2323#
     
    8686KERNEL_VM_TARGETS=productkernel fastdebugkernel optimizedkernel jvmgkernel
    8787ZERO_VM_TARGETS=productzero fastdebugzero optimizedzero jvmgzero
     88SHARK_VM_TARGETS=productshark fastdebugshark optimizedshark jvmgshark
    8889
    8990# JDK directory list
     
    9192
    9293all:           all_product all_fastdebug
     94ifndef BUILD_CLIENT_ONLY
    9395all_product:   product product1 productkernel docs export_product
    9496all_fastdebug: fastdebug fastdebug1 fastdebugkernel docs export_fastdebug
    9597all_debug:     jvmg jvmg1 jvmgkernel docs export_debug
     98else
     99all_product:   product1 docs export_product
     100all_fastdebug: fastdebug1 docs export_fastdebug
     101all_debug:     jvmg1 docs export_debug
     102endif
    96103all_optimized: optimized optimized1 optimizedkernel docs export_optimized
    97104
     
    102109all_optimizedzero: optimizedzero docs export_optimized
    103110
     111allshark:           all_productshark all_fastdebugshark
     112all_productshark:   productshark docs export_product
     113all_fastdebugshark: fastdebugshark docs export_fastdebug
     114all_debugshark:     jvmgshark docs export_debug
     115all_optimizedshark: optimizedshark docs export_optimized
     116
    104117# Do everything
    105118world:         all create_jdk
     
    131144        $(CD) $(GAMMADIR)/make; \
    132145        $(MAKE) VM_TARGET=$@ generic_buildzero $(ALT_OUT)
     146
     147$(SHARK_VM_TARGETS):
     148        $(CD) $(GAMMADIR)/make; \
     149        $(MAKE) VM_TARGET=$@ generic_buildshark $(ALT_OUT)
    133150
    134151# Build compiler1 (client) rule, different for platforms
     
    197214                $(MAKE) -f $(ABS_OS_MAKEFILE) \
    198215                        $(MAKE_ARGS) $(VM_TARGET)
     216
     217generic_buildshark:
     218        $(MKDIR) -p $(OUTPUTDIR)
     219        $(CD) $(OUTPUTDIR); \
     220                $(MAKE) -f $(ABS_OS_MAKEFILE) \
     221                        $(MAKE_ARGS) $(VM_TARGET)
    199222
    200223# Export file rule
     
    229252KERNEL_BASE_DIR=$(OUTPUTDIR)/$(VM_PLATFORM)_kernel
    230253ZERO_BASE_DIR=$(OUTPUTDIR)/$(VM_PLATFORM)_zero
     254SHARK_BASE_DIR=$(OUTPUTDIR)/$(VM_PLATFORM)_shark
    231255C1_DIR=$(C1_BASE_DIR)/$(VM_SUBDIR)
    232256C2_DIR=$(C2_BASE_DIR)/$(VM_SUBDIR)
    233257KERNEL_DIR=$(KERNEL_BASE_DIR)/$(VM_SUBDIR)
    234258ZERO_DIR=$(ZERO_BASE_DIR)/$(VM_SUBDIR)
     259SHARK_DIR=$(SHARK_BASE_DIR)/$(VM_SUBDIR)
    235260
    236261# Misc files and generated files need to come from C1 or C2 area
    237262ifeq ($(ZERO_BUILD), true)
     263ifeq ($(SHARK_BUILD), true)
     264  MISC_DIR=$(SHARK_DIR)
     265  GEN_DIR=$(SHARK_BASE_DIR)/generated
     266else
    238267  MISC_DIR=$(ZERO_DIR)
    239268  GEN_DIR=$(ZERO_BASE_DIR)/generated
     269endif
    240270else
    241271ifeq ($(ARCH_DATA_MODEL), 32)
     
    311341ifneq ($(filter-out windows os2,$(OSNAME)),)
    312342  ifeq ($(ZERO_BUILD), true)
     343    ifeq ($(SHARK_BUILD), true)
     344$(EXPORT_JRE_LIB_ARCH_DIR)/%.so: $(SHARK_DIR)/%.so
     345        $(install-file)
     346$(EXPORT_SERVER_DIR)/%.so:       $(SHARK_DIR)/%.so
     347        $(install-file)
     348    else
    313349$(EXPORT_JRE_LIB_ARCH_DIR)/%.so: $(ZERO_DIR)/%.so
    314350        $(install-file)
    315351$(EXPORT_SERVER_DIR)/%.so:       $(ZERO_DIR)/%.so
    316352        $(install-file)
    317   else
     353    endif
     354  else
     355$(EXPORT_JRE_LIB_ARCH_DIR)/%.so: $(C1_DIR)/%.so
     356        $(install-file)
    318357$(EXPORT_JRE_LIB_ARCH_DIR)/%.so: $(C2_DIR)/%.so
    319358        $(install-file)
     
    369408        $(RM) -r $(KERNEL_DIR)
    370409        $(RM) -r $(ZERO_DIR)
     410        $(RM) -r $(SHARK_DIR)
    371411clean_export:
    372412        $(RM) -r $(EXPORT_PATH)
Note: See TracChangeset for help on using the changeset viewer.