make/Makefile
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File webrev Sdiff make

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 #


  92 COMMON_VM_DEBUG_TARGETS=debug debug1 docs export_debug
  93 COMMON_VM_OPTIMIZED_TARGETS=optimized optimized1 docs export_optimized
  94 
  95 # JDK directory list
  96 JDK_DIRS=bin include lib demo
  97 
  98 all:           all_product all_fastdebug
  99 
 100 ifeq ($(JVM_VARIANT_MINIMAL1),true)
 101 all_product:    productminimal1
 102 all_fastdebug:  fastdebugminimal1
 103 all_debug:      debugminimal1
 104 endif
 105 
 106 ifdef BUILD_CLIENT_ONLY
 107 all_product:   product1 docs export_product
 108 all_fastdebug: fastdebug1 docs export_fastdebug
 109 all_debug:     debug1 docs export_debug
 110 all_optimized: optimized1 docs export_optimized
 111 else
 112 ifeq ($(MACOSX_UNIVERSAL),true)
 113 all_product:   universal_product
 114 all_fastdebug: universal_fastdebug
 115 all_debug:     universal_debug
 116 all_optimized: universal_optimized
 117 else
 118 all_product:   $(COMMON_VM_PRODUCT_TARGETS)
 119 all_fastdebug: $(COMMON_VM_FASTDEBUG_TARGETS)
 120 all_debug:     $(COMMON_VM_DEBUG_TARGETS)
 121 all_optimized: $(COMMON_VM_OPTIMIZED_TARGETS)
 122 endif
 123 endif
 124 
 125 allzero:           all_productzero all_fastdebugzero
 126 all_productzero:   productzero docs export_product
 127 all_fastdebugzero: fastdebugzero docs export_fastdebug
 128 all_debugzero:     debugzero docs export_debug
 129 all_optimizedzero: optimizedzero docs export_optimized
 130 
 131 allshark:           all_productshark all_fastdebugshark
 132 all_productshark:   productshark docs export_product
 133 all_fastdebugshark: fastdebugshark docs export_fastdebug
 134 all_debugshark:     debugshark docs export_debug
 135 all_optimizedshark: optimizedshark docs export_optimized
 136 
 137 allcore:           all_productcore all_fastdebugcore
 138 all_productcore:   productcore docs export_product
 139 all_fastdebugcore: fastdebugcore docs export_fastdebug
 140 all_debugcore:     debugcore docs export_debug
 141 all_optimizedcore: optimizedcore docs export_optimized
 142 
 143 # Do everything


 837 "- JDK_IMPORT_PATH must refer to a compatible build, not all past promoted"
 838         @$(ECHO) \
 839 "        builds or previous release JDK builds will work."
 840         @$(ECHO) \
 841 "- The fastest builds have been when the workspace and the BOOTDIR are on"
 842         @$(ECHO) \
 843 "        local disk."
 844 
 845 examples_help:
 846         @$(ECHO) \
 847 "--- Examples --- "
 848         @$(ECHO) \
 849 "  $(MAKE) all"
 850         @$(ECHO) \
 851 "  $(MAKE) world"
 852         @$(ECHO) \
 853 "  $(MAKE) ALT_BOOTDIR=/opt/java/jdk$(JDK_PREVIOUS_VERSION)"
 854         @$(ECHO) \
 855 "  $(MAKE) ALT_JDK_IMPORT_PATH=/opt/java/jdk$(VERSION_STRING)"
 856 
 857 # Universal build support
 858 ifeq ($(OS_VENDOR), Darwin)
 859 ifeq ($(MACOSX_UNIVERSAL),true)
 860 include $(GAMMADIR)/make/$(OSNAME)/makefiles/universal.gmk
 861 endif
 862 endif
 863 
 864 # Compatibility for transition to new naming
 865 warn_jvmg_deprecated:
 866         echo "Warning: The jvmg target has been replaced with debug"
 867         echo "Warning: Please update your usage"
 868 
 869 jvmg: warn_jvmg_deprecated debug
 870 
 871 jvmg1: warn_jvmg_deprecated debug1
 872 
 873 jvmgminimal1: warn_jvmg_deprecated debugminimal1
 874 
 875 jvmgcore: warn_jvmg_deprecated debugcore
 876 
 877 jvmgzero: warn_jvmg_deprecated debugzero
 878 
 879 jvmgshark: warn_jvmg_deprecated debugshark
 880 
 881 # JPRT rule to build this workspace
   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 #


  92 COMMON_VM_DEBUG_TARGETS=debug debug1 docs export_debug
  93 COMMON_VM_OPTIMIZED_TARGETS=optimized optimized1 docs export_optimized
  94 
  95 # JDK directory list
  96 JDK_DIRS=bin include lib demo
  97 
  98 all:           all_product all_fastdebug
  99 
 100 ifeq ($(JVM_VARIANT_MINIMAL1),true)
 101 all_product:    productminimal1
 102 all_fastdebug:  fastdebugminimal1
 103 all_debug:      debugminimal1
 104 endif
 105 
 106 ifdef BUILD_CLIENT_ONLY
 107 all_product:   product1 docs export_product
 108 all_fastdebug: fastdebug1 docs export_fastdebug
 109 all_debug:     debug1 docs export_debug
 110 all_optimized: optimized1 docs export_optimized
 111 else






 112 all_product:   $(COMMON_VM_PRODUCT_TARGETS)
 113 all_fastdebug: $(COMMON_VM_FASTDEBUG_TARGETS)
 114 all_debug:     $(COMMON_VM_DEBUG_TARGETS)
 115 all_optimized: $(COMMON_VM_OPTIMIZED_TARGETS)
 116 endif

 117 
 118 allzero:           all_productzero all_fastdebugzero
 119 all_productzero:   productzero docs export_product
 120 all_fastdebugzero: fastdebugzero docs export_fastdebug
 121 all_debugzero:     debugzero docs export_debug
 122 all_optimizedzero: optimizedzero docs export_optimized
 123 
 124 allshark:           all_productshark all_fastdebugshark
 125 all_productshark:   productshark docs export_product
 126 all_fastdebugshark: fastdebugshark docs export_fastdebug
 127 all_debugshark:     debugshark docs export_debug
 128 all_optimizedshark: optimizedshark docs export_optimized
 129 
 130 allcore:           all_productcore all_fastdebugcore
 131 all_productcore:   productcore docs export_product
 132 all_fastdebugcore: fastdebugcore docs export_fastdebug
 133 all_debugcore:     debugcore docs export_debug
 134 all_optimizedcore: optimizedcore docs export_optimized
 135 
 136 # Do everything


 830 "- JDK_IMPORT_PATH must refer to a compatible build, not all past promoted"
 831         @$(ECHO) \
 832 "        builds or previous release JDK builds will work."
 833         @$(ECHO) \
 834 "- The fastest builds have been when the workspace and the BOOTDIR are on"
 835         @$(ECHO) \
 836 "        local disk."
 837 
 838 examples_help:
 839         @$(ECHO) \
 840 "--- Examples --- "
 841         @$(ECHO) \
 842 "  $(MAKE) all"
 843         @$(ECHO) \
 844 "  $(MAKE) world"
 845         @$(ECHO) \
 846 "  $(MAKE) ALT_BOOTDIR=/opt/java/jdk$(JDK_PREVIOUS_VERSION)"
 847         @$(ECHO) \
 848 "  $(MAKE) ALT_JDK_IMPORT_PATH=/opt/java/jdk$(VERSION_STRING)"
 849 
 850 # Mac OS X build support
 851 ifeq ($(OS_VENDOR), Darwin)
 852 include $(GAMMADIR)/make/$(OSNAME)/makefiles/macosx.gmk


 853 endif
 854 
 855 # Compatibility for transition to new naming
 856 warn_jvmg_deprecated:
 857         echo "Warning: The jvmg target has been replaced with debug"
 858         echo "Warning: Please update your usage"
 859 
 860 jvmg: warn_jvmg_deprecated debug
 861 
 862 jvmg1: warn_jvmg_deprecated debug1
 863 
 864 jvmgminimal1: warn_jvmg_deprecated debugminimal1
 865 
 866 jvmgcore: warn_jvmg_deprecated debugcore
 867 
 868 jvmgzero: warn_jvmg_deprecated debugzero
 869 
 870 jvmgshark: warn_jvmg_deprecated debugshark
 871 
 872 # JPRT rule to build this workspace
make/Makefile
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File