make/bsd/makefiles/buildtree.make

Print this page
rev 4938 : 8024648: 8016131 & new build break Zero port
Summary: Fix breakages in Zero port caused by build system changes and 8016131.
Reviewed-by: amurillo
   1 #
   2 # Copyright (c) 2005, 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.
   8 #
   9 # This code is distributed in the hope that it will be useful, but WITHOUT
  10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  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 #  


  42 #
  43 # Builds the directory trees with makefiles plus some convenience files in
  44 # each directory:
  45 #
  46 # Makefile      - for "make foo"
  47 # flags.make    - with macro settings
  48 # vm.make       - to support making "$(MAKE) -v vm.make" in makefiles
  49 # adlc.make     - 
  50 # trace.make    - generate tracing event and type definitions
  51 # jvmti.make    - generate JVMTI bindings from the spec (JSR-163)
  52 # sa.make       - generate SA jar file and natives
  53 # env.[ck]sh    - environment settings
  54 # test_gamma    - script to run the Queens program
  55 # 
  56 # The makefiles are split this way so that "make foo" will run faster by not
  57 # having to read the dependency files for the vm.
  58 
  59 # needs to be set here since this Makefile doesn't include defs.make
  60 OS_VENDOR:=$(shell uname -s)
  61 
  62 -include $(SPEC)
  63 include $(GAMMADIR)/make/scm.make
  64 include $(GAMMADIR)/make/altsrc.make
  65 
  66 
  67 # 'gmake MAKE_VERBOSE=y' or 'gmake QUIETLY=' gives all the gory details.
  68 QUIETLY$(MAKE_VERBOSE)  = @
  69 
  70 # For now, until the compiler is less wobbly:
  71 TESTFLAGS       = -Xbatch -showversion
  72 
  73 ifeq ($(findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true)
  74   PLATFORM_FILE = $(shell dirname $(shell dirname $(shell pwd)))/platform_zero
  75 else
  76   ifdef USE_SUNCC
  77     PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH).suncc
  78   else
  79     PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH)
  80   endif
  81 endif
  82 


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


  43 #
  44 # Builds the directory trees with makefiles plus some convenience files in
  45 # each directory:
  46 #
  47 # Makefile      - for "make foo"
  48 # flags.make    - with macro settings
  49 # vm.make       - to support making "$(MAKE) -v vm.make" in makefiles
  50 # adlc.make     - 
  51 # trace.make    - generate tracing event and type definitions
  52 # jvmti.make    - generate JVMTI bindings from the spec (JSR-163)
  53 # sa.make       - generate SA jar file and natives
  54 # env.[ck]sh    - environment settings
  55 # test_gamma    - script to run the Queens program
  56 # 
  57 # The makefiles are split this way so that "make foo" will run faster by not
  58 # having to read the dependency files for the vm.
  59 
  60 # needs to be set here since this Makefile doesn't include defs.make
  61 OS_VENDOR:=$(shell uname -s)
  62 
  63 include $(GAMMADIR)/make/defs.make
  64 include $(GAMMADIR)/make/scm.make
  65 include $(GAMMADIR)/make/altsrc.make
  66 
  67 
  68 # 'gmake MAKE_VERBOSE=y' or 'gmake QUIETLY=' gives all the gory details.
  69 QUIETLY$(MAKE_VERBOSE)  = @
  70 
  71 # For now, until the compiler is less wobbly:
  72 TESTFLAGS       = -Xbatch -showversion
  73 
  74 ifeq ($(findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true)
  75   PLATFORM_FILE = $(shell dirname $(shell dirname $(shell pwd)))/platform_zero
  76 else
  77   ifdef USE_SUNCC
  78     PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH).suncc
  79   else
  80     PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH)
  81   endif
  82 endif
  83