make/common/shared/Defs-control.gmk

Print this page


   1 #
   2 # Copyright (c) 1995, 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


  71 
  72 # Get platform specific settings
  73 include $(JDK_MAKE_SHARED_DIR)/Defs.gmk
  74 
  75 SRC_BUNDLEDIR       = $(OUTPUTDIR)/source-bundles
  76 ABS_SRC_BUNDLEDIR   = $(ABS_OUTPUTDIR)/source-bundles
  77 BIN_BUNDLEDIR       = $(OUTPUTDIR)/bundles
  78 BIN_DEMOS_BUNDLEDIR = $(OUTPUTDIR)/demos-bundles
  79 ABS_BIN_BUNDLEDIR   = $(ABS_OUTPUTDIR)/bundles
  80 
  81 dummy := $(shell $(MKDIR) -p $(BIN_BUNDLEDIR))
  82 dummy := $(shell $(MKDIR) -p $(BIN_DEMOS_BUNDLEDIR) )
  83 dummy := $(shell $(MKDIR) -p $(SRC_BUNDLEDIR) )
  84 
  85 TEMP_DIR = $(OUTPUTDIR)/tmp
  86 ABS_TEMP_DIR = $(ABS_OUTPUTDIR)/tmp
  87 
  88 dummy := $(shell $(MKDIR) -p $(TEMP_DIR))
  89 
  90 # The language version we want for this jdk build
  91 SOURCE_LANGUAGE_VERSION=7
  92 # The class version we want for this jdk build
  93 TARGET_CLASS_VERSION=7
  94 
  95 # The MESSAGE, WARNING and ERROR files are used to store sanity check and 
  96 # source check messages, warnings and errors. 
  97 export ERROR_FILE   := $(ABS_OUTPUTDIR)/sanityCheckErrors.txt
  98 export WARNING_FILE := $(ABS_OUTPUTDIR)/sanityCheckWarnings.txt
  99 export MESSAGE_FILE := $(ABS_OUTPUTDIR)/sanityCheckMessages.txt
 100 
 101 # source bundle generation definitions
 102 BUNDLE_DATE := $(shell $(DATE) '+%d_%b_%Y' | $(TR) "[A-Z]" "[a-z]")
 103 ifdef ALT_BUNDLE_DATE
 104   BUNDLE_DATE := $(ALT_BUNDLE_DATE)
 105 endif
 106 
 107 # If the update version contains non-numeric characters, we need
 108 # to massage it into a numeric format.  Unfortunately, the
 109 # Windows VERSIONINFO resource that we stick in jvm.dll cannot
 110 # handle non-numeric characters.  We have to do this here because
 111 # Hotspot (nmake) cannot handle calculations.  So we use the
 112 # following formula:
 113 # COOKED_JDK_UPDATE_VERSION = JDK_UPDATE_VERSION * 10 + EXCEPTION_VERSION


   1 #
   2 # Copyright (c) 1995, 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


  71 
  72 # Get platform specific settings
  73 include $(JDK_MAKE_SHARED_DIR)/Defs.gmk
  74 
  75 SRC_BUNDLEDIR       = $(OUTPUTDIR)/source-bundles
  76 ABS_SRC_BUNDLEDIR   = $(ABS_OUTPUTDIR)/source-bundles
  77 BIN_BUNDLEDIR       = $(OUTPUTDIR)/bundles
  78 BIN_DEMOS_BUNDLEDIR = $(OUTPUTDIR)/demos-bundles
  79 ABS_BIN_BUNDLEDIR   = $(ABS_OUTPUTDIR)/bundles
  80 
  81 dummy := $(shell $(MKDIR) -p $(BIN_BUNDLEDIR))
  82 dummy := $(shell $(MKDIR) -p $(BIN_DEMOS_BUNDLEDIR) )
  83 dummy := $(shell $(MKDIR) -p $(SRC_BUNDLEDIR) )
  84 
  85 TEMP_DIR = $(OUTPUTDIR)/tmp
  86 ABS_TEMP_DIR = $(ABS_OUTPUTDIR)/tmp
  87 
  88 dummy := $(shell $(MKDIR) -p $(TEMP_DIR))
  89 
  90 # The language version we want for this jdk build
  91 SOURCE_LANGUAGE_VERSION=8
  92 # The class version we want for this jdk build
  93 TARGET_CLASS_VERSION=8
  94 
  95 # The MESSAGE, WARNING and ERROR files are used to store sanity check and 
  96 # source check messages, warnings and errors. 
  97 export ERROR_FILE   := $(ABS_OUTPUTDIR)/sanityCheckErrors.txt
  98 export WARNING_FILE := $(ABS_OUTPUTDIR)/sanityCheckWarnings.txt
  99 export MESSAGE_FILE := $(ABS_OUTPUTDIR)/sanityCheckMessages.txt
 100 
 101 # source bundle generation definitions
 102 BUNDLE_DATE := $(shell $(DATE) '+%d_%b_%Y' | $(TR) "[A-Z]" "[a-z]")
 103 ifdef ALT_BUNDLE_DATE
 104   BUNDLE_DATE := $(ALT_BUNDLE_DATE)
 105 endif
 106 
 107 # If the update version contains non-numeric characters, we need
 108 # to massage it into a numeric format.  Unfortunately, the
 109 # Windows VERSIONINFO resource that we stick in jvm.dll cannot
 110 # handle non-numeric characters.  We have to do this here because
 111 # Hotspot (nmake) cannot handle calculations.  So we use the
 112 # following formula:
 113 # COOKED_JDK_UPDATE_VERSION = JDK_UPDATE_VERSION * 10 + EXCEPTION_VERSION