< prev index next >

make/Makefile

Print this page


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


 216             $(MAKE) -f $(ABS_OS_MAKEFILE) \
 217                       $(MAKE_ARGS) $(VM_TARGET)
 218   else
 219         @$(ECHO) "No compiler1 ($(VM_TARGET)) for ARCH_DATA_MODEL=$(ARCH_DATA_MODEL)"
 220   endif
 221 endif
 222 
 223 # Build compiler2 (server) rule, different for platforms
 224 generic_build2: $(HOTSPOT_SCRIPT)
 225         $(MKDIR) -p $(OUTPUTDIR)
 226 ifeq ($(OSNAME),windows)
 227         $(CD) $(OUTPUTDIR); \
 228             $(NMAKE) -f $(ABS_OS_MAKEFILE) \
 229                       Variant=compiler2 \
 230                       WorkSpace=$(ABS_GAMMADIR) \
 231                       BootStrapDir=$(ABS_BOOTDIR) \
 232                       BuildUser=$(USERNAME) \
 233                       $(MAKE_ARGS) $(VM_TARGET)
 234 else
 235         $(CD) $(OUTPUTDIR); \
 236             $(MAKE) -f $(ABS_OS_MAKEFILE) \
 237                       $(MAKE_ARGS) $(VM_TARGET)
 238 endif
 239 
 240 generic_buildcore: $(HOTSPOT_SCRIPT)
 241 ifeq ($(HS_ARCH),ppc)
 242   ifeq ($(ARCH_DATA_MODEL),64)
 243         $(MKDIR) -p $(OUTPUTDIR)
 244         $(CD) $(OUTPUTDIR); \
 245                 $(MAKE) -f $(ABS_OS_MAKEFILE) \
 246                         $(MAKE_ARGS) $(VM_TARGET)
 247   else
 248         @$(ECHO) "No ($(VM_TARGET)) for ppc ARCH_DATA_MODEL=$(ARCH_DATA_MODEL)"
 249   endif
 250 else
 251         @$(ECHO) "No ($(VM_TARGET)) for $(HS_ARCH)"
 252 endif
 253 
 254 generic_buildzero: $(HOTSPOT_SCRIPT)
 255         $(MKDIR) -p $(OUTPUTDIR)
 256         $(CD) $(OUTPUTDIR); \
 257                 $(MAKE) -f $(ABS_OS_MAKEFILE) \
 258                         $(MAKE_ARGS) $(VM_TARGET)
 259 
 260 generic_buildshark: $(HOTSPOT_SCRIPT)
 261         $(MKDIR) -p $(OUTPUTDIR)
 262         $(CD) $(OUTPUTDIR); \
 263                 $(MAKE) -f $(ABS_OS_MAKEFILE) \
 264                         $(MAKE_ARGS) $(VM_TARGET)
 265 
 266 generic_buildminimal1: $(HOTSPOT_SCRIPT)


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


 216             $(MAKE) -f $(ABS_OS_MAKEFILE) \
 217                       $(MAKE_ARGS) $(VM_TARGET)
 218   else
 219         @$(ECHO) "No compiler1 ($(VM_TARGET)) for ARCH_DATA_MODEL=$(ARCH_DATA_MODEL)"
 220   endif
 221 endif
 222 
 223 # Build compiler2 (server) rule, different for platforms
 224 generic_build2: $(HOTSPOT_SCRIPT)
 225         $(MKDIR) -p $(OUTPUTDIR)
 226 ifeq ($(OSNAME),windows)
 227         $(CD) $(OUTPUTDIR); \
 228             $(NMAKE) -f $(ABS_OS_MAKEFILE) \
 229                       Variant=compiler2 \
 230                       WorkSpace=$(ABS_GAMMADIR) \
 231                       BootStrapDir=$(ABS_BOOTDIR) \
 232                       BuildUser=$(USERNAME) \
 233                       $(MAKE_ARGS) $(VM_TARGET)
 234 else
 235         $(CD) $(OUTPUTDIR); \
 236             $(MAKE) -f $(ABS_OS_MAKEFILE) $(MAKE_ARGS) $(VM_TARGET)

 237 endif
 238 
 239 generic_buildcore: $(HOTSPOT_SCRIPT)
 240 ifeq ($(HS_ARCH),ppc)
 241   ifeq ($(ARCH_DATA_MODEL),64)
 242         $(MKDIR) -p $(OUTPUTDIR)
 243         $(CD) $(OUTPUTDIR); \
 244                 $(MAKE) -f $(ABS_OS_MAKEFILE) $(MAKE_ARGS) $(VM_TARGET)

 245   else
 246         @$(ECHO) "No ($(VM_TARGET)) for ppc ARCH_DATA_MODEL=$(ARCH_DATA_MODEL)"
 247   endif
 248 else
 249         @$(ECHO) "No ($(VM_TARGET)) for $(HS_ARCH)"
 250 endif
 251 
 252 generic_buildzero: $(HOTSPOT_SCRIPT)
 253         $(MKDIR) -p $(OUTPUTDIR)
 254         $(CD) $(OUTPUTDIR); \
 255                 $(MAKE) -f $(ABS_OS_MAKEFILE) \
 256                         $(MAKE_ARGS) $(VM_TARGET)
 257 
 258 generic_buildshark: $(HOTSPOT_SCRIPT)
 259         $(MKDIR) -p $(OUTPUTDIR)
 260         $(CD) $(OUTPUTDIR); \
 261                 $(MAKE) -f $(ABS_OS_MAKEFILE) \
 262                         $(MAKE_ARGS) $(VM_TARGET)
 263 
 264 generic_buildminimal1: $(HOTSPOT_SCRIPT)


< prev index next >