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/linux/Makefile

    r2 r278  
    11#
    2 # Copyright 1999-2008 Sun Microsystems, Inc.  All Rights Reserved.
     2# Copyright (c) 1999, 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#
     
    169169#       productzero     zero            <os>_<arch>_zero/product
    170170#
     171#       debugshark      shark           <os>_<arch>_shark/debug
     172#       fastdebugshark  shark           <os>_<arch>_shark/fastdebug
     173#       jvmgshark       shark           <os>_<arch>_shark/jvmg
     174#       optimizedshark  shark           <os>_<arch>_shark/optimized
     175#       profiledshark   shark           <os>_<arch>_shark/profiled
     176#       productshark    shark           <os>_<arch>_shark/product
     177#
    171178# What you get with each target:
    172179#
     
    192199SUBDIRS_CORE      = $(addprefix $(OSNAME)_$(BUILDARCH)_core/,$(TARGETS))
    193200SUBDIRS_ZERO      = $(addprefix $(OSNAME)_$(VARIANTARCH)_zero/,$(TARGETS))
     201SUBDIRS_SHARK     = $(addprefix $(OSNAME)_$(VARIANTARCH)_shark/,$(TARGETS))
    194202
    195203TARGETS_C2        = $(TARGETS)
     
    198206TARGETS_CORE      = $(addsuffix core,$(TARGETS))
    199207TARGETS_ZERO      = $(addsuffix zero,$(TARGETS))
     208TARGETS_SHARK     = $(addsuffix shark,$(TARGETS))
    200209
    201210BUILDTREE_MAKE    = $(GAMMADIR)/make/$(OSNAME)/makefiles/buildtree.make
     
    214223        @echo "  $(TARGETS_CORE)"
    215224        @echo "  $(TARGETS_ZERO)"
     225        @echo "  $(TARGETS_SHARK)"
    216226
    217227checks: check_os_version check_j2se_version
     
    267277        $(BUILDTREE) VARIANT=zero VARIANTARCH=$(VARIANTARCH)
    268278
     279$(SUBDIRS_SHARK): $(BUILDTREE_MAKE) platform_zero
     280        $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
     281        $(BUILDTREE) VARIANT=shark VARIANTARCH=$(VARIANTARCH)
     282
    269283platform_zero: $(GAMMADIR)/make/$(OSNAME)/platform_zero.in
    270284        $(SED) 's/@ZERO_ARCHDEF@/$(ZERO_ARCHDEF)/g;s/@ZERO_LIBARCH@/$(ZERO_LIBARCH)/g;' < $< > $@
     
    305319ifdef INSTALL
    306320        cd $(OSNAME)_$(VARIANTARCH)_zero/$(patsubst %zero,%,$@) && $(MAKE) $(MFLAGS) install
     321endif
     322
     323$(TARGETS_SHARK):  $(SUBDIRS_SHARK)
     324        cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && $(MAKE) $(MFLAGS)
     325        cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && ./test_gamma
     326ifdef INSTALL
     327        cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && $(MAKE) $(MFLAGS) install
    307328endif
    308329
     
    312333treecore:  $(SUBDIRS_CORE)
    313334treezero:  $(SUBDIRS_ZERO)
     335treeshark: $(SUBDIRS_SHARK)
    314336
    315337# Doc target.  This is the same for all build options.
     
    328350zero: jvmgzero productzero
    329351
     352shark: jvmgshark productshark
     353
    330354clean_docs:
    331355        rm -rf $(SUBDIR_DOCS)
    332356
    333 clean_compiler1 clean_compiler2 clean_core clean_zero:
     357clean_compiler1 clean_compiler2 clean_core clean_zero clean_shark:
    334358        rm -rf $(OSNAME)_$(BUILDARCH)_$(subst clean_,,$@)
    335359
    336 clean:  clean_compiler2 clean_compiler1 clean_core clean_zero clean_docs
     360clean:  clean_compiler2 clean_compiler1 clean_core clean_zero clean_shark clean_docs
    337361
    338362include $(GAMMADIR)/make/$(OSNAME)/makefiles/cscope.make
     
    340364#-------------------------------------------------------------------------------
    341365
    342 .PHONY: $(TARGETS_C2) $(TARGETS_C1) $(TARGETS_CORE) $(TARGETS_ZERO)
    343 .PHONY: tree tree1 treecore treezero
    344 .PHONY: all compiler1 compiler2 core zero
    345 .PHONY: clean clean_compiler1 clean_compiler2 clean_core clean_zero docs clean_docs
     366.PHONY: $(TARGETS_C2) $(TARGETS_C1) $(TARGETS_CORE) $(TARGETS_ZERO) $(TARGETS_SHARK)
     367.PHONY: tree tree1 treecore treezero treeshark
     368.PHONY: all compiler1 compiler2 core zero shark
     369.PHONY: clean clean_compiler1 clean_compiler2 clean_core clean_zero clean_shark docs clean_docs
    346370.PHONY: checks check_os_version check_j2se_version
Note: See TracChangeset for help on using the changeset viewer.