make/jdk-rules.gmk

Print this page


   1 #
   2 # Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any


  53 ifeq ($(BUILD_LANGTOOLS), true)
  54   JDK_BUILD_ARGUMENTS += ALT_LANGTOOLS_DIST=$(ABS_LANGTOOLS_DIST)
  55 endif
  56 ifeq ($(BUILD_CORBA), true)
  57   JDK_BUILD_ARGUMENTS += ALT_CORBA_DIST=$(ABS_CORBA_DIST)
  58 endif
  59 ifeq ($(BUILD_JAXP), true)
  60   JDK_BUILD_ARGUMENTS += ALT_JAXP_DIST=$(ABS_JAXP_DIST)
  61 endif
  62 ifeq ($(BUILD_JAXWS), true)
  63   JDK_BUILD_ARGUMENTS += ALT_JAXWS_DIST=$(ABS_JAXWS_DIST)
  64 endif
  65 
  66 ifeq ($(BUILD_HOTSPOT), true)
  67   JDK_BUILD_ARGUMENTS += ALT_HOTSPOT_IMPORT_PATH=$(HOTSPOT_DIR)/import
  68 endif
  69 
  70 JDK_BUILD_ARGUMENTS += \
  71         BUILD_HOTSPOT=$(BUILD_HOTSPOT)
  72 





  73 





  74 $(JDK_JAVA_EXE):: jdk-build
  75 
  76 jdk: jdk-build
  77 jdk-build:
  78         @$(call MakeStart,jdk,$(JDK_BUILD_TARGETS))
  79         ( $(CD) $(JDK_TOPDIR)/make && \
  80           $(MAKE) $(JDK_BUILD_TARGETS) $(JDK_BUILD_ARGUMENTS) ; )
  81         @$(call MakeFinish,jdk,$(JDK_BUILD_TARGETS))
  82 
  83 jdk-clobber::
  84         @$(call MakeStart,jdk,$(JDK_CLOBBER_TARGETS))
  85         ( $(CD) $(JDK_TOPDIR)/make && \
  86           $(MAKE) $(JDK_CLOBBER_TARGETS) $(JDK_BUILD_ARGUMENTS) ; )
  87         @$(call MakeFinish,jdk,$(JDK_CLOBBER_TARGETS))
  88 
  89 jdk-sanity::
  90         ( $(CD) $(JDK_TOPDIR)/make && \
  91           $(MAKE) sanity HOTSPOT_IMPORT_CHECK=false $(JDK_BUILD_ARGUMENTS) ; )
  92 
  93 compare-images: compare-image
   1 #
   2 # Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any


  53 ifeq ($(BUILD_LANGTOOLS), true)
  54   JDK_BUILD_ARGUMENTS += ALT_LANGTOOLS_DIST=$(ABS_LANGTOOLS_DIST)
  55 endif
  56 ifeq ($(BUILD_CORBA), true)
  57   JDK_BUILD_ARGUMENTS += ALT_CORBA_DIST=$(ABS_CORBA_DIST)
  58 endif
  59 ifeq ($(BUILD_JAXP), true)
  60   JDK_BUILD_ARGUMENTS += ALT_JAXP_DIST=$(ABS_JAXP_DIST)
  61 endif
  62 ifeq ($(BUILD_JAXWS), true)
  63   JDK_BUILD_ARGUMENTS += ALT_JAXWS_DIST=$(ABS_JAXWS_DIST)
  64 endif
  65 
  66 ifeq ($(BUILD_HOTSPOT), true)
  67   JDK_BUILD_ARGUMENTS += ALT_HOTSPOT_IMPORT_PATH=$(HOTSPOT_DIR)/import
  68 endif
  69 
  70 JDK_BUILD_ARGUMENTS += \
  71         BUILD_HOTSPOT=$(BUILD_HOTSPOT)
  72 
  73 # Move to COMMON_BUILD_ARGUMENTS when all repos support
  74 # FULL_DEBUG_SYMBOLS and ZIP_DEBUGINFO_FILES:
  75 ifdef FULL_DEBUG_SYMBOLS
  76   JDK_BUILD_ARGUMENTS += FULL_DEBUG_SYMBOLS=$(FULL_DEBUG_SYMBOLS)
  77 endif
  78 
  79 ifdef ZIP_DEBUGINFO_FILES
  80   JDK_BUILD_ARGUMENTS += ZIP_DEBUGINFO_FILES="$(ZIP_DEBUGINFO_FILES)"
  81 endif
  82 
  83 
  84 $(JDK_JAVA_EXE):: jdk-build
  85 
  86 jdk: jdk-build
  87 jdk-build:
  88         @$(call MakeStart,jdk,$(JDK_BUILD_TARGETS))
  89         ( $(CD) $(JDK_TOPDIR)/make && \
  90           $(MAKE) $(JDK_BUILD_TARGETS) $(JDK_BUILD_ARGUMENTS) ; )
  91         @$(call MakeFinish,jdk,$(JDK_BUILD_TARGETS))
  92 
  93 jdk-clobber::
  94         @$(call MakeStart,jdk,$(JDK_CLOBBER_TARGETS))
  95         ( $(CD) $(JDK_TOPDIR)/make && \
  96           $(MAKE) $(JDK_CLOBBER_TARGETS) $(JDK_BUILD_ARGUMENTS) ; )
  97         @$(call MakeFinish,jdk,$(JDK_CLOBBER_TARGETS))
  98 
  99 jdk-sanity::
 100         ( $(CD) $(JDK_TOPDIR)/make && \
 101           $(MAKE) sanity HOTSPOT_IMPORT_CHECK=false $(JDK_BUILD_ARGUMENTS) ; )
 102 
 103 compare-images: compare-image