make/defs.make

Print this page




  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  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.
  22 #
  23 #
  24 
  25 # The common definitions for hotspot builds.
  26 
  27 # Optionally include SPEC file generated by configure.
  28 ifneq ($(SPEC),)
  29   include $(SPEC)
  30 endif
  31 






  32 # Directory paths and user name
  33 # Unless GAMMADIR is set on the command line, search upward from
  34 # the current directory for a parent directory containing "src/share/vm".
  35 # If that fails, look for $GAMMADIR in the environment.
  36 # When the tree of subdirs is built, this setting is stored in each flags.make.
  37 GAMMADIR := $(shell until ([ -d dev ]&&echo $${GAMMADIR:-/GAMMADIR/}) || ([ -d src/share/vm ]&&pwd); do cd ..; done)
  38 HS_SRC_DIR=$(GAMMADIR)/src
  39 HS_MAKE_DIR=$(GAMMADIR)/make
  40 HS_BUILD_DIR=$(GAMMADIR)/build
  41 
  42 ifeq ($(USER),)
  43   USER=$(USERNAME)
  44 endif
  45 
  46 ifeq ($(HS_ALT_MAKE),)
  47   ifneq ($(OPENJDK),true)
  48     HS_ALT_MAKE=$(GAMMADIR)/make/closed
  49   else
  50     HS_ALT_MAKE=NO_SUCH_PATH
  51   endif




  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  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.
  22 #
  23 #
  24 
  25 # The common definitions for hotspot builds.
  26 
  27 # Optionally include SPEC file generated by configure.
  28 ifneq ($(SPEC),)
  29   include $(SPEC)
  30 endif
  31 
  32 ifeq ($(LOG_LEVEL),warn)
  33   LOG_INFO := > /dev/null
  34 else
  35   LOG_INFO :=
  36 endif
  37 
  38 # Directory paths and user name
  39 # Unless GAMMADIR is set on the command line, search upward from
  40 # the current directory for a parent directory containing "src/share/vm".
  41 # If that fails, look for $GAMMADIR in the environment.
  42 # When the tree of subdirs is built, this setting is stored in each flags.make.
  43 GAMMADIR := $(shell until ([ -d dev ]&&echo $${GAMMADIR:-/GAMMADIR/}) || ([ -d src/share/vm ]&&pwd); do cd ..; done)
  44 HS_SRC_DIR=$(GAMMADIR)/src
  45 HS_MAKE_DIR=$(GAMMADIR)/make
  46 HS_BUILD_DIR=$(GAMMADIR)/build
  47 
  48 ifeq ($(USER),)
  49   USER=$(USERNAME)
  50 endif
  51 
  52 ifeq ($(HS_ALT_MAKE),)
  53   ifneq ($(OPENJDK),true)
  54     HS_ALT_MAKE=$(GAMMADIR)/make/closed
  55   else
  56     HS_ALT_MAKE=NO_SUCH_PATH
  57   endif