1 # |
1 # |
2 # Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. |
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. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
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 |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. |
7 # published by the Free Software Foundation. |
46 # ALT_JDK_TARGET_IMPORT_PATH Current JDK build when cross-compiling |
46 # ALT_JDK_TARGET_IMPORT_PATH Current JDK build when cross-compiling |
47 # ALT_BUILD_WIN_SA Building SA on Windows is disabled by default. |
47 # ALT_BUILD_WIN_SA Building SA on Windows is disabled by default. |
48 # Set ALT_BUILD_WIN_SA=1 to enable building SA on |
48 # Set ALT_BUILD_WIN_SA=1 to enable building SA on |
49 # Windows. |
49 # Windows. |
50 # Version strings and numbers: |
50 # Version strings and numbers: |
51 # JDK_VERSION Current JDK version (e.g. 1.6.0) |
51 # VERSION_SHORT Current JDK version (e.g. 9.0.0) |
52 # PREVIOUS_JDK_VERSION Previous (bootdir) JDK version (e.g. 1.5.0) |
52 # JDK_PREVIOUS_VERSION Previous (bootdir) JDK version (e.g. 1.5.0) (Only needed |
53 # FULL_VERSION Full version string to use (e.g. "1.6.0-ea-b42") |
53 # to facilitate standalone build.) |
54 # |
54 # VERSION_STRING Full version string to use (e.g. "9.0.0-ea-b42") |
55 # Version strings and numbers especially needed on Windows: |
55 # VERSION_MAJOR Major number for version (e.g. 9) |
56 # COOKED_JDK_UPDATE_VERSION Just the update release number (e.g. 02) |
56 # VERSION_MINOR Minor number for version (e.g. 0) |
57 # COOKED_BUILD_NUMBER Just the build number (e.g. 42) |
57 # VERSION_SECURITY Security number for version (e.g. 0) |
58 # JDK_MKTG_VERSION Marketing JDK version (e.g. 6.0) |
|
59 # JDK_MAJOR_VERSION Major number for version (e.g. 1) always 1? |
|
60 # JDK_MINOR_VERSION Minor number for version (e.g. 6) |
|
61 # JDK_MICRO_VERSION Micro number for version (e.g. 0) |
|
62 # |
58 # |
63 |
59 |
64 # Default is build both product fastdebug and create export area |
60 # Default is build both product fastdebug and create export area |
65 |
61 |
66 # Allow to build HotSpot in local directory from sources specified by GAMMADIR. |
62 # Allow to build HotSpot in local directory from sources specified by GAMMADIR. |
851 @$(ECHO) \ |
847 @$(ECHO) \ |
852 " $(MAKE) all" |
848 " $(MAKE) all" |
853 @$(ECHO) \ |
849 @$(ECHO) \ |
854 " $(MAKE) world" |
850 " $(MAKE) world" |
855 @$(ECHO) \ |
851 @$(ECHO) \ |
856 " $(MAKE) ALT_BOOTDIR=/opt/java/jdk$(PREVIOUS_JDK_VERSION)" |
852 " $(MAKE) ALT_BOOTDIR=/opt/java/jdk$(JDK_PREVIOUS_VERSION)" |
857 @$(ECHO) \ |
853 @$(ECHO) \ |
858 " $(MAKE) ALT_JDK_IMPORT_PATH=/opt/java/jdk$(JDK_VERSION)" |
854 " $(MAKE) ALT_JDK_IMPORT_PATH=/opt/java/jdk$(VERSION_STRING)" |
859 |
855 |
860 # Universal build support |
856 # Universal build support |
861 ifeq ($(OS_VENDOR), Darwin) |
857 ifeq ($(OS_VENDOR), Darwin) |
862 ifeq ($(MACOSX_UNIVERSAL),true) |
858 ifeq ($(MACOSX_UNIVERSAL),true) |
863 include $(GAMMADIR)/make/$(OSNAME)/makefiles/universal.gmk |
859 include $(GAMMADIR)/make/$(OSNAME)/makefiles/universal.gmk |