From 4cba58735c36deda4f609c2a5884b2194ff95f3d Mon Sep 17 00:00:00 2001 From: kamg Date: Wed, 9 Apr 2008 14:22:48 -0400 Subject: [PATCH] 6583644: Move all managed/SCCS files out of 'build' into 'make' directory Summary: Moved makefiles out of build and build/closed into make/ Reviewed-by: kvn, ohair --- .hgignore | 169 +----------------- build/windows/projectfiles/tiered/vm.def | 7 - make/defs.make | 9 +- make/hotspot_distro | 14 ++ make/jprt.properties | 5 + {build => make}/linux/Makefile | 18 +- {build => make}/linux/Queens.class | Bin {build => make}/linux/README | 0 {build => make}/linux/adlc_updater | 0 {build => make}/linux/build.sh | 4 +- .../linux/makefiles/adjust-mflags.sh | 0 {build => make}/linux/makefiles/adlc.make | 4 +- {build => make}/linux/makefiles/amd64.make | 0 .../linux/makefiles/buildtree.make | 36 ++-- .../linux/makefiles/compiler1.make | 0 .../linux/makefiles/compiler2.make | 0 {build => make}/linux/makefiles/core.make | 0 {build => make}/linux/makefiles/cscope.make | 4 +- {build => make}/linux/makefiles/debug.make | 2 +- {build => make}/linux/makefiles/defs.make | 0 {build => make}/linux/makefiles/dtrace.make | 0 .../linux/makefiles/fastdebug.make | 2 +- {build => make}/linux/makefiles/gcc.make | 0 {build => make}/linux/makefiles/hp.make | 0 {build => make}/linux/makefiles/hp1.make | 0 {build => make}/linux/makefiles/i486.make | 0 make/linux/makefiles/ia64.make | 43 +++++ {build => make}/linux/makefiles/jsig.make | 0 {build => make}/linux/makefiles/jvmg.make | 2 +- {build => make}/linux/makefiles/jvmti.make | 2 +- {build => make}/linux/makefiles/launcher.make | 0 {build => make}/linux/makefiles/makedeps.make | 2 +- .../linux/makefiles/mapfile-vers-debug | 0 .../linux/makefiles/mapfile-vers-jsig | 0 .../linux/makefiles/mapfile-vers-product | 0 .../linux/makefiles/optimized.make | 2 +- {build => make}/linux/makefiles/product.make | 2 +- {build => make}/linux/makefiles/profiled.make | 0 {build => make}/linux/makefiles/rules.make | 0 {build => make}/linux/makefiles/sa.make | 4 +- {build => make}/linux/makefiles/saproc.make | 0 make/linux/makefiles/sparc.make | 27 +++ .../linux/makefiles/sparcWorks.make | 0 make/linux/makefiles/sparcv9.make | 31 ++++ {build => make}/linux/makefiles/tiered.make | 0 {build => make}/linux/makefiles/top.make | 4 +- {build => make}/linux/makefiles/vm.make | 2 +- {build => make}/linux/platform_amd64 | 0 {build => make}/linux/platform_amd64.suncc | 0 {build => make}/linux/platform_i486 | 0 {build => make}/linux/platform_i486.suncc | 0 make/linux/platform_ia64 | 15 ++ {build => make}/linux/platform_sparc | 0 build/hotspot_distro => make/openjdk_distro | 0 {build => make}/sa.files | 0 {build => make}/solaris/Makefile | 20 +-- {build => make}/solaris/Queens.class | Bin {build => make}/solaris/adlc_updater | 0 {build => make}/solaris/build.sh | 4 +- .../solaris/makefiles/adjust-mflags.sh | 0 {build => make}/solaris/makefiles/adlc.make | 4 +- {build => make}/solaris/makefiles/amd64.make | 0 .../solaris/makefiles/buildtree.make | 36 ++-- .../solaris/makefiles/compiler1.make | 0 .../solaris/makefiles/compiler2.make | 0 {build => make}/solaris/makefiles/core.make | 0 {build => make}/solaris/makefiles/cscope.make | 8 +- {build => make}/solaris/makefiles/debug.make | 8 +- {build => make}/solaris/makefiles/defs.make | 0 {build => make}/solaris/makefiles/dtrace.make | 0 .../solaris/makefiles/fastdebug.make | 8 +- {build => make}/solaris/makefiles/gcc.make | 0 {build => make}/solaris/makefiles/hp.make | 0 {build => make}/solaris/makefiles/hp1.make | 0 {build => make}/solaris/makefiles/i486.make | 0 {build => make}/solaris/makefiles/jsig.make | 0 {build => make}/solaris/makefiles/jvmg.make | 8 +- {build => make}/solaris/makefiles/jvmti.make | 2 +- {build => make}/solaris/makefiles/kernel.make | 0 .../solaris/makefiles/launcher.make | 0 .../solaris/makefiles/makedeps.make | 2 +- .../solaris/makefiles/mapfile-vers | 0 .../solaris/makefiles/mapfile-vers-COMPILER1 | 0 .../solaris/makefiles/mapfile-vers-COMPILER2 | 0 .../solaris/makefiles/mapfile-vers-CORE | 0 .../solaris/makefiles/mapfile-vers-TIERED | 0 .../solaris/makefiles/mapfile-vers-debug | 0 .../solaris/makefiles/mapfile-vers-jsig | 0 .../solaris/makefiles/mapfile-vers-jvm_db | 0 .../solaris/makefiles/mapfile-vers-jvm_dtrace | 0 .../solaris/makefiles/mapfile-vers-nonproduct | 0 .../solaris/makefiles/optimized.make | 6 +- .../solaris/makefiles/product.make | 10 +- .../solaris/makefiles/profiled.make | 0 .../solaris/makefiles/reorder_COMPILER1_i486 | 0 .../solaris/makefiles/reorder_COMPILER1_sparc | 0 .../makefiles/reorder_COMPILER1_sparcv9 | 0 .../solaris/makefiles/reorder_COMPILER2_amd64 | 0 .../solaris/makefiles/reorder_COMPILER2_i486 | 0 .../solaris/makefiles/reorder_COMPILER2_sparc | 0 .../makefiles/reorder_COMPILER2_sparcv9 | 0 .../solaris/makefiles/reorder_CORE_amd64 | 0 .../solaris/makefiles/reorder_CORE_i486 | 0 .../solaris/makefiles/reorder_CORE_sparc | 0 .../solaris/makefiles/reorder_CORE_sparcv9 | 0 .../solaris/makefiles/reorder_TIERED_amd64 | 0 .../solaris/makefiles/reorder_TIERED_i486 | 0 .../solaris/makefiles/reorder_TIERED_sparc | 0 {build => make}/solaris/makefiles/rules.make | 0 {build => make}/solaris/makefiles/sa.make | 4 +- {build => make}/solaris/makefiles/saproc.make | 0 {build => make}/solaris/makefiles/sparc.make | 0 .../solaris/makefiles/sparcWorks.make | 0 .../solaris/makefiles/sparcv9.make | 0 {build => make}/solaris/makefiles/tiered.make | 0 {build => make}/solaris/makefiles/top.make | 4 +- {build => make}/solaris/makefiles/vm.make | 2 +- {build => make}/solaris/platform_amd64 | 0 {build => make}/solaris/platform_amd64.gcc | 0 {build => make}/solaris/platform_i486 | 0 {build => make}/solaris/platform_i486.gcc | 0 {build => make}/solaris/platform_sparc | 0 {build => make}/solaris/platform_sparc.gcc | 0 {build => make}/solaris/platform_sparcv9 | 0 {build => make}/solaris/platform_sparcv9.gcc | 0 {build => make}/solaris/reorder.sh | 8 +- {build => make}/test/Queens.java | 0 {build => make}/windows/README | 0 {build => make}/windows/build.bat | 4 +- {build => make}/windows/build.make | 22 +-- {build => make}/windows/build_vm_def.sh | 2 +- {build => make}/windows/create.bat | 4 +- {build => make}/windows/cross_build.bat | 4 +- {build => make}/windows/get_msc_ver.sh | 0 {build => make}/windows/jvmexp.lcf | 0 {build => make}/windows/jvmexp_g.lcf | 0 {build => make}/windows/makefiles/adlc.make | 2 +- .../windows/makefiles/compile.make | 0 {build => make}/windows/makefiles/debug.make | 8 +- {build => make}/windows/makefiles/defs.make | 4 +- .../windows/makefiles/fastdebug.make | 8 +- .../windows/makefiles/generated.make | 12 +- {build => make}/windows/makefiles/jvmti.make | 2 +- .../windows/makefiles/makedeps.make | 6 +- .../windows/makefiles/product.make | 8 +- {build => make}/windows/makefiles/rules.make | 0 {build => make}/windows/makefiles/sa.make | 4 +- {build => make}/windows/makefiles/sanity.make | 0 {build => make}/windows/makefiles/shared.make | 2 +- {build => make}/windows/makefiles/top.make | 2 +- {build => make}/windows/makefiles/vm.make | 0 {build => make}/windows/platform_amd64 | 0 {build => make}/windows/platform_i486 | 0 make/windows/platform_ia64 | 12 ++ .../windows/projectfiles/common/Makefile | 10 +- .../windows/projectfiles/compiler1/Makefile | 2 +- .../windows/projectfiles/compiler1/vm.def | 4 +- .../windows/projectfiles/compiler1/vm.dsw | 0 .../projectfiles/compiler2/ADLCompiler.dsp | 0 .../projectfiles/compiler2/ADLCompiler.dsw | 0 .../windows/projectfiles/compiler2/Makefile | 2 +- .../windows/projectfiles/compiler2/vm.def | 4 +- .../windows/projectfiles/compiler2/vm.dsw | 0 .../windows/projectfiles/core/Makefile | 2 +- .../windows/projectfiles/core/vm.def | 4 +- .../windows/projectfiles/core/vm.dsw | 0 .../windows/projectfiles/kernel/Makefile | 2 +- .../windows/projectfiles/kernel/vm.def | 4 +- .../windows/projectfiles/kernel/vm.dsw | 0 .../projectfiles/tiered/ADLCompiler.dsp | 0 .../projectfiles/tiered/ADLCompiler.dsw | 0 .../windows/projectfiles/tiered/Makefile | 2 +- make/windows/projectfiles/tiered/vm.def | 7 + .../windows/projectfiles/tiered/vm.dsw | 0 174 files changed, 337 insertions(+), 356 deletions(-) delete mode 100644 build/windows/projectfiles/tiered/vm.def create mode 100644 make/hotspot_distro rename {build => make}/linux/Makefile (94%) rename {build => make}/linux/Queens.class (100%) rename {build => make}/linux/README (100%) rename {build => make}/linux/adlc_updater (100%) rename {build => make}/linux/build.sh (94%) rename {build => make}/linux/makefiles/adjust-mflags.sh (100%) rename {build => make}/linux/makefiles/adlc.make (98%) rename {build => make}/linux/makefiles/amd64.make (100%) rename {build => make}/linux/makefiles/buildtree.make (89%) rename {build => make}/linux/makefiles/compiler1.make (100%) rename {build => make}/linux/makefiles/compiler2.make (100%) rename {build => make}/linux/makefiles/core.make (100%) rename {build => make}/linux/makefiles/cscope.make (98%) rename {build => make}/linux/makefiles/debug.make (96%) rename {build => make}/linux/makefiles/defs.make (100%) rename {build => make}/linux/makefiles/dtrace.make (100%) rename {build => make}/linux/makefiles/fastdebug.make (97%) rename {build => make}/linux/makefiles/gcc.make (100%) rename {build => make}/linux/makefiles/hp.make (100%) rename {build => make}/linux/makefiles/hp1.make (100%) rename {build => make}/linux/makefiles/i486.make (100%) create mode 100644 make/linux/makefiles/ia64.make rename {build => make}/linux/makefiles/jsig.make (100%) rename {build => make}/linux/makefiles/jvmg.make (96%) rename {build => make}/linux/makefiles/jvmti.make (98%) rename {build => make}/linux/makefiles/launcher.make (100%) rename {build => make}/linux/makefiles/makedeps.make (97%) rename {build => make}/linux/makefiles/mapfile-vers-debug (100%) rename {build => make}/linux/makefiles/mapfile-vers-jsig (100%) rename {build => make}/linux/makefiles/mapfile-vers-product (100%) rename {build => make}/linux/makefiles/optimized.make (96%) rename {build => make}/linux/makefiles/product.make (96%) rename {build => make}/linux/makefiles/profiled.make (100%) rename {build => make}/linux/makefiles/rules.make (100%) rename {build => make}/linux/makefiles/sa.make (97%) rename {build => make}/linux/makefiles/saproc.make (100%) create mode 100644 make/linux/makefiles/sparc.make rename {build => make}/linux/makefiles/sparcWorks.make (100%) create mode 100644 make/linux/makefiles/sparcv9.make rename {build => make}/linux/makefiles/tiered.make (100%) rename {build => make}/linux/makefiles/top.make (97%) rename {build => make}/linux/makefiles/vm.make (99%) rename {build => make}/linux/platform_amd64 (100%) rename {build => make}/linux/platform_amd64.suncc (100%) rename {build => make}/linux/platform_i486 (100%) rename {build => make}/linux/platform_i486.suncc (100%) create mode 100644 make/linux/platform_ia64 rename {build => make}/linux/platform_sparc (100%) rename build/hotspot_distro => make/openjdk_distro (100%) rename {build => make}/sa.files (100%) rename {build => make}/solaris/Makefile (94%) rename {build => make}/solaris/Queens.class (100%) rename {build => make}/solaris/adlc_updater (100%) rename {build => make}/solaris/build.sh (97%) rename {build => make}/solaris/makefiles/adjust-mflags.sh (100%) rename {build => make}/solaris/makefiles/adlc.make (98%) rename {build => make}/solaris/makefiles/amd64.make (100%) rename {build => make}/solaris/makefiles/buildtree.make (90%) rename {build => make}/solaris/makefiles/compiler1.make (100%) rename {build => make}/solaris/makefiles/compiler2.make (100%) rename {build => make}/solaris/makefiles/core.make (100%) rename {build => make}/solaris/makefiles/cscope.make (96%) rename {build => make}/solaris/makefiles/debug.make (88%) rename {build => make}/solaris/makefiles/defs.make (100%) rename {build => make}/solaris/makefiles/dtrace.make (100%) rename {build => make}/solaris/makefiles/fastdebug.make (94%) rename {build => make}/solaris/makefiles/gcc.make (100%) rename {build => make}/solaris/makefiles/hp.make (100%) rename {build => make}/solaris/makefiles/hp1.make (100%) rename {build => make}/solaris/makefiles/i486.make (100%) rename {build => make}/solaris/makefiles/jsig.make (100%) rename {build => make}/solaris/makefiles/jvmg.make (87%) rename {build => make}/solaris/makefiles/jvmti.make (98%) rename {build => make}/solaris/makefiles/kernel.make (100%) rename {build => make}/solaris/makefiles/launcher.make (100%) rename {build => make}/solaris/makefiles/makedeps.make (97%) rename {build => make}/solaris/makefiles/mapfile-vers (100%) rename {build => make}/solaris/makefiles/mapfile-vers-COMPILER1 (100%) rename {build => make}/solaris/makefiles/mapfile-vers-COMPILER2 (100%) rename {build => make}/solaris/makefiles/mapfile-vers-CORE (100%) rename {build => make}/solaris/makefiles/mapfile-vers-TIERED (100%) rename {build => make}/solaris/makefiles/mapfile-vers-debug (100%) rename {build => make}/solaris/makefiles/mapfile-vers-jsig (100%) rename {build => make}/solaris/makefiles/mapfile-vers-jvm_db (100%) rename {build => make}/solaris/makefiles/mapfile-vers-jvm_dtrace (100%) rename {build => make}/solaris/makefiles/mapfile-vers-nonproduct (100%) rename {build => make}/solaris/makefiles/optimized.make (91%) rename {build => make}/solaris/makefiles/product.make (88%) rename {build => make}/solaris/makefiles/profiled.make (100%) rename {build => make}/solaris/makefiles/reorder_COMPILER1_i486 (100%) rename {build => make}/solaris/makefiles/reorder_COMPILER1_sparc (100%) rename {build => make}/solaris/makefiles/reorder_COMPILER1_sparcv9 (100%) rename {build => make}/solaris/makefiles/reorder_COMPILER2_amd64 (100%) rename {build => make}/solaris/makefiles/reorder_COMPILER2_i486 (100%) rename {build => make}/solaris/makefiles/reorder_COMPILER2_sparc (100%) rename {build => make}/solaris/makefiles/reorder_COMPILER2_sparcv9 (100%) rename {build => make}/solaris/makefiles/reorder_CORE_amd64 (100%) rename {build => make}/solaris/makefiles/reorder_CORE_i486 (100%) rename {build => make}/solaris/makefiles/reorder_CORE_sparc (100%) rename {build => make}/solaris/makefiles/reorder_CORE_sparcv9 (100%) rename {build => make}/solaris/makefiles/reorder_TIERED_amd64 (100%) rename {build => make}/solaris/makefiles/reorder_TIERED_i486 (100%) rename {build => make}/solaris/makefiles/reorder_TIERED_sparc (100%) rename {build => make}/solaris/makefiles/rules.make (100%) rename {build => make}/solaris/makefiles/sa.make (97%) rename {build => make}/solaris/makefiles/saproc.make (100%) rename {build => make}/solaris/makefiles/sparc.make (100%) rename {build => make}/solaris/makefiles/sparcWorks.make (100%) rename {build => make}/solaris/makefiles/sparcv9.make (100%) rename {build => make}/solaris/makefiles/tiered.make (100%) rename {build => make}/solaris/makefiles/top.make (97%) rename {build => make}/solaris/makefiles/vm.make (99%) rename {build => make}/solaris/platform_amd64 (100%) rename {build => make}/solaris/platform_amd64.gcc (100%) rename {build => make}/solaris/platform_i486 (100%) rename {build => make}/solaris/platform_i486.gcc (100%) rename {build => make}/solaris/platform_sparc (100%) rename {build => make}/solaris/platform_sparc.gcc (100%) rename {build => make}/solaris/platform_sparcv9 (100%) rename {build => make}/solaris/platform_sparcv9.gcc (100%) rename {build => make}/solaris/reorder.sh (97%) rename {build => make}/test/Queens.java (100%) rename {build => make}/windows/README (100%) rename {build => make}/windows/build.bat (91%) rename {build => make}/windows/build.make (92%) rename {build => make}/windows/build_vm_def.sh (96%) rename {build => make}/windows/create.bat (97%) rename {build => make}/windows/cross_build.bat (95%) rename {build => make}/windows/get_msc_ver.sh (100%) rename {build => make}/windows/jvmexp.lcf (100%) rename {build => make}/windows/jvmexp_g.lcf (100%) rename {build => make}/windows/makefiles/adlc.make (98%) rename {build => make}/windows/makefiles/compile.make (100%) rename {build => make}/windows/makefiles/debug.make (88%) rename {build => make}/windows/makefiles/defs.make (97%) rename {build => make}/windows/makefiles/fastdebug.make (88%) rename {build => make}/windows/makefiles/generated.make (90%) rename {build => make}/windows/makefiles/jvmti.make (98%) rename {build => make}/windows/makefiles/makedeps.make (97%) rename {build => make}/windows/makefiles/product.make (89%) rename {build => make}/windows/makefiles/rules.make (100%) rename {build => make}/windows/makefiles/sa.make (97%) rename {build => make}/windows/makefiles/sanity.make (100%) rename {build => make}/windows/makefiles/shared.make (93%) rename {build => make}/windows/makefiles/top.make (95%) rename {build => make}/windows/makefiles/vm.make (100%) rename {build => make}/windows/platform_amd64 (100%) rename {build => make}/windows/platform_i486 (100%) create mode 100644 make/windows/platform_ia64 rename {build => make}/windows/projectfiles/common/Makefile (95%) rename {build => make}/windows/projectfiles/compiler1/Makefile (93%) rename {build => make}/windows/projectfiles/compiler1/vm.def (54%) rename {build => make}/windows/projectfiles/compiler1/vm.dsw (100%) rename {build => make}/windows/projectfiles/compiler2/ADLCompiler.dsp (100%) rename {build => make}/windows/projectfiles/compiler2/ADLCompiler.dsw (100%) rename {build => make}/windows/projectfiles/compiler2/Makefile (94%) rename {build => make}/windows/projectfiles/compiler2/vm.def (54%) rename {build => make}/windows/projectfiles/compiler2/vm.dsw (100%) rename {build => make}/windows/projectfiles/core/Makefile (93%) rename {build => make}/windows/projectfiles/core/vm.def (54%) rename {build => make}/windows/projectfiles/core/vm.dsw (100%) rename {build => make}/windows/projectfiles/kernel/Makefile (93%) rename {build => make}/windows/projectfiles/kernel/vm.def (54%) rename {build => make}/windows/projectfiles/kernel/vm.dsw (100%) rename {build => make}/windows/projectfiles/tiered/ADLCompiler.dsp (100%) rename {build => make}/windows/projectfiles/tiered/ADLCompiler.dsw (100%) rename {build => make}/windows/projectfiles/tiered/Makefile (94%) create mode 100644 make/windows/projectfiles/tiered/vm.def rename {build => make}/windows/projectfiles/tiered/vm.dsw (100%) diff --git a/.hgignore b/.hgignore index 8c4cff4cd..ca1b0b21e 100644 --- a/.hgignore +++ b/.hgignore @@ -1,170 +1,3 @@ -^build/solaris/solaris_sparc_compiler1/ -^build/solaris/solaris_sparc_compiler2/ -^build/solaris/solaris_sparc_core/ -^build/solaris/solaris_sparc_kernel/ -^build/solaris/solaris_sparc_docs/ -^build/solaris/jdk-solaris-sparc/ -^build/solaris/export-solaris-sparc/ -^build/solaris/solaris_sparcv9_compiler1/ -^build/solaris/solaris_sparcv9_compiler2/ -^build/solaris/solaris_sparcv9_core/ -^build/solaris/solaris_sparcv9_kernel/ -^build/solaris/solaris_sparcv9_docs/ -^build/solaris/jdk-solaris-sparcv9/ -^build/solaris/export-solaris-sparcv9/ -^build/solaris/solaris_sparc32_compiler1/ -^build/solaris/solaris_sparc32_compiler2/ -^build/solaris/solaris_sparc32_core/ -^build/solaris/solaris_sparc32_kernel/ -^build/solaris/solaris_sparc32_docs/ -^build/solaris/jdk-solaris-sparc32/ -^build/solaris/export-solaris-sparc32/ -^build/solaris/solaris_sparc64_compiler1/ -^build/solaris/solaris_sparc64_compiler2/ -^build/solaris/solaris_sparc64_core/ -^build/solaris/solaris_sparc64_kernel/ -^build/solaris/solaris_sparc64_docs/ -^build/solaris/jdk-solaris-sparc64/ -^build/solaris/export-solaris-sparc64/ -^build/solaris/solaris_i486_compiler1/ -^build/solaris/solaris_i486_compiler2/ -^build/solaris/solaris_i486_core/ -^build/solaris/solaris_i486_kernel/ -^build/solaris/solaris_i486_docs/ -^build/solaris/jdk-solaris-i486/ -^build/solaris/export-solaris-i486/ -^build/solaris/solaris_i386_compiler1/ -^build/solaris/solaris_i386_compiler2/ -^build/solaris/solaris_i386_core/ -^build/solaris/solaris_i386_kernel/ -^build/solaris/solaris_i386_docs/ -^build/solaris/jdk-solaris-i386/ -^build/solaris/export-solaris-i386/ -^build/solaris/solaris_amd64_compiler1/ -^build/solaris/solaris_amd64_compiler2/ -^build/solaris/solaris_amd64_core/ -^build/solaris/solaris_amd64_kernel/ -^build/solaris/solaris_amd64_docs/ -^build/solaris/jdk-solaris-amd64/ -^build/solaris/export-solaris-amd64/ -^build/solaris/solaris_x64_compiler1/ -^build/solaris/solaris_x64_compiler2/ -^build/solaris/solaris_x64_core/ -^build/solaris/solaris_x64_kernel/ -^build/solaris/solaris_x64_docs/ -^build/solaris/jdk-solaris-x64/ -^build/solaris/export-solaris-x64/ -^build/windows/windows_sparc_compiler1/ -^build/windows/windows_sparc_compiler2/ -^build/windows/windows_sparc_core/ -^build/windows/windows_sparc_kernel/ -^build/windows/windows_sparc_docs/ -^build/windows/jdk-windows-sparc/ -^build/windows/export-windows-sparc/ -^build/windows/windows_sparcv9_compiler1/ -^build/windows/windows_sparcv9_compiler2/ -^build/windows/windows_sparcv9_core/ -^build/windows/windows_sparcv9_kernel/ -^build/windows/windows_sparcv9_docs/ -^build/windows/jdk-windows-sparcv9/ -^build/windows/export-windows-sparcv9/ -^build/windows/windows_sparc32_compiler1/ -^build/windows/windows_sparc32_compiler2/ -^build/windows/windows_sparc32_core/ -^build/windows/windows_sparc32_kernel/ -^build/windows/windows_sparc32_docs/ -^build/windows/jdk-windows-sparc32/ -^build/windows/export-windows-sparc32/ -^build/windows/windows_sparc64_compiler1/ -^build/windows/windows_sparc64_compiler2/ -^build/windows/windows_sparc64_core/ -^build/windows/windows_sparc64_kernel/ -^build/windows/windows_sparc64_docs/ -^build/windows/jdk-windows-sparc64/ -^build/windows/export-windows-sparc64/ -^build/windows/windows_i486_compiler1/ -^build/windows/windows_i486_compiler2/ -^build/windows/windows_i486_core/ -^build/windows/windows_i486_kernel/ -^build/windows/windows_i486_docs/ -^build/windows/jdk-windows-i486/ -^build/windows/export-windows-i486/ -^build/windows/windows_i386_compiler1/ -^build/windows/windows_i386_compiler2/ -^build/windows/windows_i386_core/ -^build/windows/windows_i386_kernel/ -^build/windows/windows_i386_docs/ -^build/windows/jdk-windows-i386/ -^build/windows/export-windows-i386/ -^build/windows/windows_amd64_compiler1/ -^build/windows/windows_amd64_compiler2/ -^build/windows/windows_amd64_core/ -^build/windows/windows_amd64_kernel/ -^build/windows/windows_amd64_docs/ -^build/windows/jdk-windows-amd64/ -^build/windows/export-windows-amd64/ -^build/windows/windows_x64_compiler1/ -^build/windows/windows_x64_compiler2/ -^build/windows/windows_x64_core/ -^build/windows/windows_x64_kernel/ -^build/windows/windows_x64_docs/ -^build/windows/jdk-windows-x64/ -^build/windows/export-windows-x64/ -^build/linux/linux_sparc_compiler1/ -^build/linux/linux_sparc_compiler2/ -^build/linux/linux_sparc_core/ -^build/linux/linux_sparc_kernel/ -^build/linux/linux_sparc_docs/ -^build/linux/jdk-linux-sparc/ -^build/linux/export-linux-sparc/ -^build/linux/linux_sparcv9_compiler1/ -^build/linux/linux_sparcv9_compiler2/ -^build/linux/linux_sparcv9_core/ -^build/linux/linux_sparcv9_kernel/ -^build/linux/linux_sparcv9_docs/ -^build/linux/jdk-linux-sparcv9/ -^build/linux/export-linux-sparcv9/ -^build/linux/linux_sparc32_compiler1/ -^build/linux/linux_sparc32_compiler2/ -^build/linux/linux_sparc32_core/ -^build/linux/linux_sparc32_kernel/ -^build/linux/linux_sparc32_docs/ -^build/linux/jdk-linux-sparc32/ -^build/linux/export-linux-sparc32/ -^build/linux/linux_sparc64_compiler1/ -^build/linux/linux_sparc64_compiler2/ -^build/linux/linux_sparc64_core/ -^build/linux/linux_sparc64_kernel/ -^build/linux/linux_sparc64_docs/ -^build/linux/jdk-linux-sparc64/ -^build/linux/export-linux-sparc64/ -^build/linux/linux_i486_compiler1/ -^build/linux/linux_i486_compiler2/ -^build/linux/linux_i486_core/ -^build/linux/linux_i486_kernel/ -^build/linux/linux_i486_docs/ -^build/linux/jdk-linux-i486/ -^build/linux/export-linux-i486/ -^build/linux/linux_i386_compiler1/ -^build/linux/linux_i386_compiler2/ -^build/linux/linux_i386_core/ -^build/linux/linux_i386_kernel/ -^build/linux/linux_i386_docs/ -^build/linux/jdk-linux-i386/ -^build/linux/export-linux-i386/ -^build/linux/linux_amd64_compiler1/ -^build/linux/linux_amd64_compiler2/ -^build/linux/linux_amd64_core/ -^build/linux/linux_amd64_kernel/ -^build/linux/linux_amd64_docs/ -^build/linux/jdk-linux-amd64/ -^build/linux/export-linux-amd64/ -^build/linux/linux_x64_compiler1/ -^build/linux/linux_x64_compiler2/ -^build/linux/linux_x64_core/ -^build/linux/linux_x64_kernel/ -^build/linux/linux_x64_docs/ -^build/linux/jdk-linux-x64/ -^build/linux/export-linux-x64/ +^build/ ^dist/ ^nbproject/private/ diff --git a/build/windows/projectfiles/tiered/vm.def b/build/windows/projectfiles/tiered/vm.def deleted file mode 100644 index 4475c6062..000000000 --- a/build/windows/projectfiles/tiered/vm.def +++ /dev/null @@ -1,7 +0,0 @@ -; -; This .DEF file is a placeholder for one which is automatically -; generated during the build process. See -; build\windows\build_vm_def.sh and -; build\windows\makefiles\makedeps.make (esp. the "-prelink" -; options). -; diff --git a/make/defs.make b/make/defs.make index f3e686ae5..056d90c48 100644 --- a/make/defs.make +++ b/make/defs.make @@ -57,6 +57,7 @@ endef # When the tree of subdirs is built, this setting is stored in each flags.make. GAMMADIR := $(shell until ([ -d dev ]&&echo $${GAMMADIR:-/GAMMADIR/}) || ([ -d src/share/vm ]&&pwd); do cd ..; done) HS_SRC_DIR=$(GAMMADIR)/src +HS_MAKE_DIR=$(GAMMADIR)/make HS_BUILD_DIR=$(GAMMADIR)/build ifeq ($(USER),) @@ -170,17 +171,17 @@ endif # The platform dependent defs.make defines platform specific variable such # as ARCH, EXPORT_LIST etc. We must place the include here after BOOTDIR is defined. -include $(GAMMADIR)/build/$(OSNAME)/makefiles/defs.make +include $(GAMMADIR)/make/$(OSNAME)/makefiles/defs.make # We are trying to put platform specific defintions -# files to build/$(OSNAME)/makefiles dictory. However +# files to make/$(OSNAME)/makefiles dictory. However # some definitions are common for both linux and solaris, # so we put them here. ifneq ($(OSNAME),windows) - ABS_OUTPUTDIR := $(shell $(CD) $(OUTPUTDIR); $(PWD)) + ABS_OUTPUTDIR := $(shell mkdir -p $(OUTPUTDIR); $(CD) $(OUTPUTDIR); $(PWD)) ABS_BOOTDIR := $(shell $(CD) $(BOOTDIR); $(PWD)) ABS_GAMMADIR := $(shell $(CD) $(GAMMADIR); $(PWD)) - ABS_OS_MAKEFILE := $(shell $(CD) $(HS_BUILD_DIR)/$(OSNAME); $(PWD))/Makefile + ABS_OS_MAKEFILE := $(shell $(CD) $(HS_MAKE_DIR)/$(OSNAME); $(PWD))/Makefile # uname, HotSpot source directory, build directory and JDK use different names # for CPU architectures. diff --git a/make/hotspot_distro b/make/hotspot_distro new file mode 100644 index 000000000..9b111a2b3 --- /dev/null +++ b/make/hotspot_distro @@ -0,0 +1,14 @@ +# +# Copyright 2006-2007 Sun Microsystems, Inc. All rights reserved. +# SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +# + +# +# This file format must remain compatible with both +# GNU Makefile and Microsoft nmake formats. +# + +# Don't put quotes (fail windows build). +HOTSPOT_VM_DISTRO=Java HotSpot(TM) +COMPANY_NAME=Sun Microsystems, Inc. +PRODUCT_NAME=Java(TM) Platform SE diff --git a/make/jprt.properties b/make/jprt.properties index 1e9f5fb64..fd5a75de0 100644 --- a/make/jprt.properties +++ b/make/jprt.properties @@ -29,6 +29,11 @@ JPRT.tools.default.release=jdk1.7.0 # Build result bundles are not partial builds| but include everything JPRT.need.sibling.build=false +# Directories needed to build +JPRT.bundle.src.dirs=make src agent +JPRT.bundle.exclude.src.dirs=build + + # Standard list of JPRT build targets for this workspace JPRT.build.targets= \ solaris_sparc_5.10-{product|fastdebug|debug}, \ diff --git a/build/linux/Makefile b/make/linux/Makefile similarity index 94% rename from build/linux/Makefile rename to make/linux/Makefile index 106344f0d..0e1ee6527 100644 --- a/build/linux/Makefile +++ b/make/linux/Makefile @@ -59,7 +59,7 @@ include ../../make/defs.make else include $(GAMMADIR)/make/defs.make endif -include $(GAMMADIR)/build/$(OSNAME)/makefiles/rules.make +include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make ifndef LP64 ifndef CC_INTERP @@ -182,7 +182,7 @@ TARGETS_C1 = $(addsuffix 1,$(TARGETS)) TARGETS_TIERED = $(addsuffix tiered,$(TARGETS)) TARGETS_CORE = $(addsuffix core,$(TARGETS)) -BUILDTREE_MAKE = $(GAMMADIR)/build/$(OSNAME)/makefiles/buildtree.make +BUILDTREE_MAKE = $(GAMMADIR)/make/$(OSNAME)/makefiles/buildtree.make BUILDTREE_VARS = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OSNAME) ARCH=$(SRCARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH) BUILDTREE_VARS += HOTSPOT_RELEASE_VERSION=$(HOTSPOT_RELEASE_VERSION) HOTSPOT_BUILD_VERSION=$(HOTSPOT_BUILD_VERSION) JRE_RELEASE_VERSION=$(JRE_RELEASE_VERSION) @@ -225,24 +225,24 @@ check_j2se_version: fi $(SUBDIRS_TIERED): $(BUILDTREE_MAKE) - $(QUIETLY) $(MAKE) -f $(GAMMADIR)/build/$(OSNAME)/Makefile checks + $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks $(BUILDTREE) VARIANT=tiered $(SUBDIRS_C2): $(BUILDTREE_MAKE) ifdef FORCE_TIERED - $(QUIETLY) $(MAKE) -f $(GAMMADIR)/build/$(OSNAME)/Makefile checks + $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks $(BUILDTREE) VARIANT=tiered FORCE_TIERED=1 else - $(QUIETLY) $(MAKE) -f $(GAMMADIR)/build/$(OSNAME)/Makefile checks + $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks $(BUILDTREE) VARIANT=compiler2 endif $(SUBDIRS_C1): $(BUILDTREE_MAKE) - $(QUIETLY) $(MAKE) -f $(GAMMADIR)/build/$(OSNAME)/Makefile checks + $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks $(BUILDTREE) VARIANT=compiler1 $(SUBDIRS_CORE): $(BUILDTREE_MAKE) - $(QUIETLY) $(MAKE) -f $(GAMMADIR)/build/$(OSNAME)/Makefile checks + $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks $(BUILDTREE) VARIANT=core # Define INSTALL=y at command line to automatically copy JVM into JAVA_HOME @@ -284,7 +284,7 @@ treecore: $(SUBDIRS_CORE) # Hence create a docs directory beside ...$(ARCH)_[...] docs: checks $(QUIETLY) mkdir -p $(SUBDIR_DOCS) - $(MAKE) -f $(GAMMADIR)/build/$(OSNAME)/makefiles/jvmti.make $(MFLAGS) $(BUILDTREE_VARS) JvmtiOutDir=$(SUBDIR_DOCS) jvmtidocs + $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/makefiles/jvmti.make $(MFLAGS) $(BUILDTREE_VARS) JvmtiOutDir=$(SUBDIR_DOCS) jvmtidocs # Synonyms for win32-like targets. compiler2: jvmg product @@ -301,7 +301,7 @@ clean_compiler1 clean_compiler2 clean_core: clean: clean_compiler2 clean_compiler1 clean_core clean_docs -include $(GAMMADIR)/build/$(OSNAME)/makefiles/cscope.make +include $(GAMMADIR)/make/$(OSNAME)/makefiles/cscope.make #------------------------------------------------------------------------------- diff --git a/build/linux/Queens.class b/make/linux/Queens.class similarity index 100% rename from build/linux/Queens.class rename to make/linux/Queens.class diff --git a/build/linux/README b/make/linux/README similarity index 100% rename from build/linux/README rename to make/linux/README diff --git a/build/linux/adlc_updater b/make/linux/adlc_updater similarity index 100% rename from build/linux/adlc_updater rename to make/linux/adlc_updater diff --git a/build/linux/build.sh b/make/linux/build.sh similarity index 94% rename from build/linux/build.sh rename to make/linux/build.sh index a8b2630e3..4239c6dcb 100644 --- a/build/linux/build.sh +++ b/make/linux/build.sh @@ -91,5 +91,5 @@ case ${Location} in esac echo \ -${GNUMAKE} -f ${Location}/build/linux/Makefile $Build_Options GAMMADIR=${Location} -${GNUMAKE} -f ${Location}/build/linux/Makefile $Build_Options GAMMADIR=${Location} +${GNUMAKE} -f ${Location}/make/linux/Makefile $Build_Options GAMMADIR=${Location} +${GNUMAKE} -f ${Location}/make/linux/Makefile $Build_Options GAMMADIR=${Location} diff --git a/build/linux/makefiles/adjust-mflags.sh b/make/linux/makefiles/adjust-mflags.sh similarity index 100% rename from build/linux/makefiles/adjust-mflags.sh rename to make/linux/makefiles/adjust-mflags.sh diff --git a/build/linux/makefiles/adlc.make b/make/linux/makefiles/adlc.make similarity index 98% rename from build/linux/makefiles/adlc.make rename to make/linux/makefiles/adlc.make index 9ed67794f..16e48c84e 100644 --- a/build/linux/makefiles/adlc.make +++ b/make/linux/makefiles/adlc.make @@ -26,7 +26,7 @@ # build directories. # It knows how to compile, link, and run the adlc. -include $(GAMMADIR)/build/$(Platform_os_family)/makefiles/rules.make +include $(GAMMADIR)/make/$(Platform_os_family)/makefiles/rules.make # ######################################################################### @@ -138,7 +138,7 @@ endif # used to selectively update generated adlc files. This should # provide a nice compilation speed improvement. # -ADLC_UPDATER_DIRECTORY = $(GAMMADIR)/build/$(OS) +ADLC_UPDATER_DIRECTORY = $(GAMMADIR)/make/$(OS) ADLC_UPDATER = adlc_updater # This action refreshes all generated adlc files simultaneously. diff --git a/build/linux/makefiles/amd64.make b/make/linux/makefiles/amd64.make similarity index 100% rename from build/linux/makefiles/amd64.make rename to make/linux/makefiles/amd64.make diff --git a/build/linux/makefiles/buildtree.make b/make/linux/makefiles/buildtree.make similarity index 89% rename from build/linux/makefiles/buildtree.make rename to make/linux/makefiles/buildtree.make index a71aa64f1..54a30d2ad 100644 --- a/build/linux/makefiles/buildtree.make +++ b/make/linux/makefiles/buildtree.make @@ -64,9 +64,9 @@ QUIETLY$(MAKE_VERBOSE) = @ TESTFLAGS = -Xbatch -showversion ifdef USE_SUNCC -PLATFORM_FILE = $(GAMMADIR)/build/$(OS_FAMILY)/platform_$(BUILDARCH).suncc +PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH).suncc else -PLATFORM_FILE = $(GAMMADIR)/build/$(OS_FAMILY)/platform_$(BUILDARCH) +PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH) endif ifdef FORCE_TIERED @@ -111,7 +111,7 @@ TARGETS = debug fastdebug jvmg optimized product profiled SUBMAKE_DIRS = $(addprefix $(PLATFORM_DIR)/,$(TARGETS)) # For dependencies and recursive makes. -BUILDTREE_MAKE = $(GAMMADIR)/build/$(OS_FAMILY)/makefiles/buildtree.make +BUILDTREE_MAKE = $(GAMMADIR)/make/$(OS_FAMILY)/makefiles/buildtree.make BUILDTREE_TARGETS = Makefile flags.make flags_vm.make vm.make adlc.make jvmti.make sa.make \ env.sh env.csh .dbxrc test_gamma @@ -133,19 +133,19 @@ endif ifndef HOTSPOT_BUILD_USER HOTSPOT_BUILD_USER := $(shell whoami) endif -# Define HOTSPOT_VM_DISTRO based on settings in build/hotspot_distro -# or build/closed/hotspot_distro. +# Define HOTSPOT_VM_DISTRO based on settings in make/openjdk_distro +# or make/hotspot_distro. ifndef HOTSPOT_VM_DISTRO CLOSED_DIR_EXISTS := $(shell \ - if [ -d $(GAMMADIR)/build/closed ] ; then \ + if [ -d $(GAMMADIR)/src/closed ] ; then \ echo true; \ else \ echo false; \ fi) ifeq ($(CLOSED_DIR_EXISTS), true) - include $(GAMMADIR)/build/closed/hotspot_distro + include $(GAMMADIR)/make/hotspot_distro else - include $(GAMMADIR)/build/hotspot_distro + include $(GAMMADIR)/make/openjdk_distro endif endif @@ -199,8 +199,8 @@ flags.make: $(BUILDTREE_MAKE) ../shared_dirs.lst echo "HOTSPOT_EXTRA_SYSDEFS\$$(HOTSPOT_EXTRA_SYSDEFS) = $(HOTSPOT_EXTRA_SYSDEFS)" && \ echo "SYSDEFS += \$$(HOTSPOT_EXTRA_SYSDEFS)"; \ echo; \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/$(VARIANT).make"; \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/$(COMPILER).make"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(VARIANT).make"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(COMPILER).make"; \ ) > $@ flags_vm.make: $(BUILDTREE_MAKE) ../shared_dirs.lst @@ -209,8 +209,8 @@ flags_vm.make: $(BUILDTREE_MAKE) ../shared_dirs.lst $(BUILDTREE_COMMENT); \ echo; \ [ "$(TARGET)" = profiled ] && \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/optimized.make"; \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/$(TARGET).make"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/optimized.make"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(TARGET).make"; \ ) > $@ ../shared_dirs.lst: $(BUILDTREE_MAKE) $(GAMMADIR)/src/share/vm @@ -226,7 +226,7 @@ Makefile: $(BUILDTREE_MAKE) echo; \ echo include flags.make; \ echo; \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/top.make"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/top.make"; \ ) > $@ vm.make: $(BUILDTREE_MAKE) @@ -237,7 +237,7 @@ vm.make: $(BUILDTREE_MAKE) echo include flags.make; \ echo include flags_vm.make; \ echo; \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/$(@F)"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ ) > $@ adlc.make: $(BUILDTREE_MAKE) @@ -247,7 +247,7 @@ adlc.make: $(BUILDTREE_MAKE) echo; \ echo include flags.make; \ echo; \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/$(@F)"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ ) > $@ jvmti.make: $(BUILDTREE_MAKE) @@ -257,7 +257,7 @@ jvmti.make: $(BUILDTREE_MAKE) echo; \ echo include flags.make; \ echo; \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/$(@F)"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ ) > $@ sa.make: $(BUILDTREE_MAKE) @@ -267,7 +267,7 @@ sa.make: $(BUILDTREE_MAKE) echo; \ echo include flags.make; \ echo; \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/$(@F)"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ ) > $@ env.sh: $(BUILDTREE_MAKE) @@ -339,7 +339,7 @@ test_gamma: $(BUILDTREE_MAKE) echo "then"; \ echo " $(WRONG_DATA_MODE_MSG); exit 0;"; \ echo "fi"; \ - echo 'CLASSPATH="$(GAMMADIR)/build/$(OS_FAMILY):$$CLASSPATH"'; \ + echo 'CLASSPATH="$(GAMMADIR)/make/$(OS_FAMILY):$$CLASSPATH"'; \ echo '[ -f gamma_g ] && { gamma=gamma_g; }'; \ echo './$${gamma:-gamma} $(TESTFLAGS) Queens < /dev/null'; \ ) > $@ diff --git a/build/linux/makefiles/compiler1.make b/make/linux/makefiles/compiler1.make similarity index 100% rename from build/linux/makefiles/compiler1.make rename to make/linux/makefiles/compiler1.make diff --git a/build/linux/makefiles/compiler2.make b/make/linux/makefiles/compiler2.make similarity index 100% rename from build/linux/makefiles/compiler2.make rename to make/linux/makefiles/compiler2.make diff --git a/build/linux/makefiles/core.make b/make/linux/makefiles/core.make similarity index 100% rename from build/linux/makefiles/core.make rename to make/linux/makefiles/core.make diff --git a/build/linux/makefiles/cscope.make b/make/linux/makefiles/cscope.make similarity index 98% rename from build/linux/makefiles/cscope.make rename to make/linux/makefiles/cscope.make index 149da2658..a5b3c2407 100644 --- a/build/linux/makefiles/cscope.make +++ b/make/linux/makefiles/cscope.make @@ -121,9 +121,9 @@ cscope cscope.out: cscope.files FORCE # relevant files first. cscope.files: .cscope.files.raw echo "$(CSINCS)" > $@ - -egrep -v "\.java|\/build\/" $< >> $@ + -egrep -v "\.java|\/make\/" $< >> $@ -fgrep ".java" $< >> $@ - -fgrep "/build/" $< >> $@ + -fgrep "/make/" $< >> $@ .cscope.files.raw: .nametable.files -find $(CSDIRS) -type d \( $(CS_PRUNE) \) -prune -o \ diff --git a/build/linux/makefiles/debug.make b/make/linux/makefiles/debug.make similarity index 96% rename from build/linux/makefiles/debug.make rename to make/linux/makefiles/debug.make index 0ef44d620..75bb95089 100644 --- a/build/linux/makefiles/debug.make +++ b/make/linux/makefiles/debug.make @@ -30,7 +30,7 @@ DEBUG_CFLAGS/BYFILE = $(DEBUG_CFLAGS/$@)$(DEBUG_CFLAGS/DEFAULT$(DEBUG_CFLAGS/$@) CFLAGS += $(DEBUG_CFLAGS/BYFILE) # Linker mapfile -MAPFILE = $(GAMMADIR)/build/linux/makefiles/mapfile-vers-debug +MAPFILE = $(GAMMADIR)/make/linux/makefiles/mapfile-vers-debug _JUNK_ := $(shell echo -e >&2 ""\ "----------------------------------------------------------------------\n" \ diff --git a/build/linux/makefiles/defs.make b/make/linux/makefiles/defs.make similarity index 100% rename from build/linux/makefiles/defs.make rename to make/linux/makefiles/defs.make diff --git a/build/linux/makefiles/dtrace.make b/make/linux/makefiles/dtrace.make similarity index 100% rename from build/linux/makefiles/dtrace.make rename to make/linux/makefiles/dtrace.make diff --git a/build/linux/makefiles/fastdebug.make b/make/linux/makefiles/fastdebug.make similarity index 97% rename from build/linux/makefiles/fastdebug.make rename to make/linux/makefiles/fastdebug.make index 628f8bb99..c7ae47ac9 100644 --- a/build/linux/makefiles/fastdebug.make +++ b/make/linux/makefiles/fastdebug.make @@ -56,7 +56,7 @@ CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE) # to inhibit the effect of the previous line on CFLAGS. # Linker mapfile -MAPFILE = $(GAMMADIR)/build/linux/makefiles/mapfile-vers-debug +MAPFILE = $(GAMMADIR)/make/linux/makefiles/mapfile-vers-debug G_SUFFIX = VERSION = optimized diff --git a/build/linux/makefiles/gcc.make b/make/linux/makefiles/gcc.make similarity index 100% rename from build/linux/makefiles/gcc.make rename to make/linux/makefiles/gcc.make diff --git a/build/linux/makefiles/hp.make b/make/linux/makefiles/hp.make similarity index 100% rename from build/linux/makefiles/hp.make rename to make/linux/makefiles/hp.make diff --git a/build/linux/makefiles/hp1.make b/make/linux/makefiles/hp1.make similarity index 100% rename from build/linux/makefiles/hp1.make rename to make/linux/makefiles/hp1.make diff --git a/build/linux/makefiles/i486.make b/make/linux/makefiles/i486.make similarity index 100% rename from build/linux/makefiles/i486.make rename to make/linux/makefiles/i486.make diff --git a/make/linux/makefiles/ia64.make b/make/linux/makefiles/ia64.make new file mode 100644 index 000000000..b7c3aa277 --- /dev/null +++ b/make/linux/makefiles/ia64.make @@ -0,0 +1,43 @@ +# +# Copyright 2005-2007 Sun Microsystems, Inc. All Rights Reserved. +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# This code is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, +# CA 95054 USA or visit www.sun.com if you need additional information or +# have any questions. +# +# + +# +# IA64 only uses c++ based interpreter +CFLAGS += -DCC_INTERP -D_LP64=1 -DVM_LITTLE_ENDIAN +# Hotspot uses very unstrict aliasing turn this optimization off +OPT_CFLAGS += -fno-strict-aliasing +ifeq ($(VERSION),debug) +ASM_FLAGS= -DDEBUG +else +ASM_FLAGS= +endif +# workaround gcc bug in compiling varargs +OPT_CFLAGS/jni.o = -O0 + +# gcc/ia64 has a bug that internal gcc functions linked with libjvm.so +# are made public. Hiding those symbols will cause undefined symbol error +# when VM is dropped into older JDK. We probably will need an IA64 +# mapfile to include those symbols as a workaround. Disable linker mapfile +# for now. +LDNOMAP=true diff --git a/build/linux/makefiles/jsig.make b/make/linux/makefiles/jsig.make similarity index 100% rename from build/linux/makefiles/jsig.make rename to make/linux/makefiles/jsig.make diff --git a/build/linux/makefiles/jvmg.make b/make/linux/makefiles/jvmg.make similarity index 96% rename from build/linux/makefiles/jvmg.make rename to make/linux/makefiles/jvmg.make index dcdb2e82b..9bf70b45e 100644 --- a/build/linux/makefiles/jvmg.make +++ b/make/linux/makefiles/jvmg.make @@ -33,7 +33,7 @@ CFLAGS += $(DEBUG_CFLAGS/BYFILE) # to inhibit the effect of the previous line on CFLAGS. # Linker mapfile -MAPFILE = $(GAMMADIR)/build/linux/makefiles/mapfile-vers-debug +MAPFILE = $(GAMMADIR)/make/linux/makefiles/mapfile-vers-debug G_SUFFIX = VERSION = debug diff --git a/build/linux/makefiles/jvmti.make b/make/linux/makefiles/jvmti.make similarity index 98% rename from build/linux/makefiles/jvmti.make rename to make/linux/makefiles/jvmti.make index d00e773ae..a73624857 100644 --- a/build/linux/makefiles/jvmti.make +++ b/make/linux/makefiles/jvmti.make @@ -27,7 +27,7 @@ # # It knows how to build and run the tools to generate jvmti. -include $(GAMMADIR)/build/linux/makefiles/rules.make +include $(GAMMADIR)/make/linux/makefiles/rules.make # ######################################################################### diff --git a/build/linux/makefiles/launcher.make b/make/linux/makefiles/launcher.make similarity index 100% rename from build/linux/makefiles/launcher.make rename to make/linux/makefiles/launcher.make diff --git a/build/linux/makefiles/makedeps.make b/make/linux/makefiles/makedeps.make similarity index 97% rename from build/linux/makefiles/makedeps.make rename to make/linux/makefiles/makedeps.make index d50392645..7bb452ace 100644 --- a/build/linux/makefiles/makedeps.make +++ b/make/linux/makefiles/makedeps.make @@ -22,7 +22,7 @@ # # -include $(GAMMADIR)/build/linux/makefiles/rules.make +include $(GAMMADIR)/make/linux/makefiles/rules.make COMPILE.JAVAC.FLAGS += -d $(OUTDIR) diff --git a/build/linux/makefiles/mapfile-vers-debug b/make/linux/makefiles/mapfile-vers-debug similarity index 100% rename from build/linux/makefiles/mapfile-vers-debug rename to make/linux/makefiles/mapfile-vers-debug diff --git a/build/linux/makefiles/mapfile-vers-jsig b/make/linux/makefiles/mapfile-vers-jsig similarity index 100% rename from build/linux/makefiles/mapfile-vers-jsig rename to make/linux/makefiles/mapfile-vers-jsig diff --git a/build/linux/makefiles/mapfile-vers-product b/make/linux/makefiles/mapfile-vers-product similarity index 100% rename from build/linux/makefiles/mapfile-vers-product rename to make/linux/makefiles/mapfile-vers-product diff --git a/build/linux/makefiles/optimized.make b/make/linux/makefiles/optimized.make similarity index 96% rename from build/linux/makefiles/optimized.make rename to make/linux/makefiles/optimized.make index d85775f6c..0d6aff8e9 100644 --- a/build/linux/makefiles/optimized.make +++ b/make/linux/makefiles/optimized.make @@ -38,7 +38,7 @@ CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE) # to inhibit the effect of the previous line on CFLAGS. # Linker mapfile -MAPFILE = $(GAMMADIR)/build/linux/makefiles/mapfile-vers-debug +MAPFILE = $(GAMMADIR)/make/linux/makefiles/mapfile-vers-debug G_SUFFIX = VERSION = optimized diff --git a/build/linux/makefiles/product.make b/make/linux/makefiles/product.make similarity index 96% rename from build/linux/makefiles/product.make rename to make/linux/makefiles/product.make index 6b6ccab74..a128c1101 100644 --- a/build/linux/makefiles/product.make +++ b/make/linux/makefiles/product.make @@ -38,7 +38,7 @@ CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE) # to inhibit the effect of the previous line on CFLAGS. # Linker mapfile -MAPFILE = $(GAMMADIR)/build/linux/makefiles/mapfile-vers-product +MAPFILE = $(GAMMADIR)/make/linux/makefiles/mapfile-vers-product G_SUFFIX = SYSDEFS += -DPRODUCT diff --git a/build/linux/makefiles/profiled.make b/make/linux/makefiles/profiled.make similarity index 100% rename from build/linux/makefiles/profiled.make rename to make/linux/makefiles/profiled.make diff --git a/build/linux/makefiles/rules.make b/make/linux/makefiles/rules.make similarity index 100% rename from build/linux/makefiles/rules.make rename to make/linux/makefiles/rules.make diff --git a/build/linux/makefiles/sa.make b/make/linux/makefiles/sa.make similarity index 97% rename from build/linux/makefiles/sa.make rename to make/linux/makefiles/sa.make index 83551b87a..41843c588 100644 --- a/build/linux/makefiles/sa.make +++ b/make/linux/makefiles/sa.make @@ -28,11 +28,11 @@ # This makefile is used to build Serviceability Agent java code # and generate JNI header file for native methods. -include $(GAMMADIR)/build/linux/makefiles/rules.make +include $(GAMMADIR)/make/linux/makefiles/rules.make AGENT_DIR = $(GAMMADIR)/agent -include $(GAMMADIR)/build/sa.files +include $(GAMMADIR)/make/sa.files TOPDIR = $(shell echo `pwd`) GENERATED = $(TOPDIR)/../generated diff --git a/build/linux/makefiles/saproc.make b/make/linux/makefiles/saproc.make similarity index 100% rename from build/linux/makefiles/saproc.make rename to make/linux/makefiles/saproc.make diff --git a/make/linux/makefiles/sparc.make b/make/linux/makefiles/sparc.make new file mode 100644 index 000000000..a86f9f7b6 --- /dev/null +++ b/make/linux/makefiles/sparc.make @@ -0,0 +1,27 @@ +# +# Copyright 2005-2007 Sun Microsystems, Inc. All Rights Reserved. +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# This code is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, +# CA 95054 USA or visit www.sun.com if you need additional information or +# have any questions. +# +# + +# Not included in includeDB because it has no dependencies +Obj_Files += linux_sparc.o + diff --git a/build/linux/makefiles/sparcWorks.make b/make/linux/makefiles/sparcWorks.make similarity index 100% rename from build/linux/makefiles/sparcWorks.make rename to make/linux/makefiles/sparcWorks.make diff --git a/make/linux/makefiles/sparcv9.make b/make/linux/makefiles/sparcv9.make new file mode 100644 index 000000000..7aad864e5 --- /dev/null +++ b/make/linux/makefiles/sparcv9.make @@ -0,0 +1,31 @@ +# +# Copyright 2005-2007 Sun Microsystems, Inc. All Rights Reserved. +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# This code is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, +# CA 95054 USA or visit www.sun.com if you need additional information or +# have any questions. +# + +# +# Not included in includeDB because it has no dependencies +Obj_Files += linux_sparc.o + +# gcc 4.0 miscompiles this code in -m64 +OPT_CFLAGS/macro.o = -O0 + +CFLAGS += -D_LP64=1 diff --git a/build/linux/makefiles/tiered.make b/make/linux/makefiles/tiered.make similarity index 100% rename from build/linux/makefiles/tiered.make rename to make/linux/makefiles/tiered.make diff --git a/build/linux/makefiles/top.make b/make/linux/makefiles/top.make similarity index 97% rename from build/linux/makefiles/top.make rename to make/linux/makefiles/top.make index 5da9a12d0..f0aa13576 100644 --- a/build/linux/makefiles/top.make +++ b/make/linux/makefiles/top.make @@ -46,7 +46,7 @@ Plat_File = $(Platform_file) CDG = cd $(GENERATED); # Pick up MakeDeps' sources and definitions -include $(GAMMADIR)/build/$(Platform_os_family)/makefiles/makedeps.make +include $(GAMMADIR)/make/$(Platform_os_family)/makefiles/makedeps.make MakeDepsClass = MakeDeps.class ifdef USE_PRECOMPILED_HEADER @@ -153,7 +153,7 @@ sa_stuff: # resets -jN to -j1 for recursive runs. (How helpful.) # Note that the user must specify the desired parallelism level via a # command-line or environment variable name HOTSPOT_BUILD_JOBS. -$(adjust-mflags): $(GAMMADIR)/build/$(Platform_os_family)/makefiles/adjust-mflags.sh +$(adjust-mflags): $(GAMMADIR)/make/$(Platform_os_family)/makefiles/adjust-mflags.sh @+rm -f $@ $@+ @+cat $< > $@+ @+chmod +x $@+ diff --git a/build/linux/makefiles/vm.make b/make/linux/makefiles/vm.make similarity index 99% rename from build/linux/makefiles/vm.make rename to make/linux/makefiles/vm.make index 567e67791..0612cb159 100644 --- a/build/linux/makefiles/vm.make +++ b/make/linux/makefiles/vm.make @@ -26,7 +26,7 @@ # directory. # Common build rules. -MAKEFILES_DIR=$(GAMMADIR)/build/$(Platform_os_family)/makefiles +MAKEFILES_DIR=$(GAMMADIR)/make/$(Platform_os_family)/makefiles include $(MAKEFILES_DIR)/rules.make default: build diff --git a/build/linux/platform_amd64 b/make/linux/platform_amd64 similarity index 100% rename from build/linux/platform_amd64 rename to make/linux/platform_amd64 diff --git a/build/linux/platform_amd64.suncc b/make/linux/platform_amd64.suncc similarity index 100% rename from build/linux/platform_amd64.suncc rename to make/linux/platform_amd64.suncc diff --git a/build/linux/platform_i486 b/make/linux/platform_i486 similarity index 100% rename from build/linux/platform_i486 rename to make/linux/platform_i486 diff --git a/build/linux/platform_i486.suncc b/make/linux/platform_i486.suncc similarity index 100% rename from build/linux/platform_i486.suncc rename to make/linux/platform_i486.suncc diff --git a/make/linux/platform_ia64 b/make/linux/platform_ia64 new file mode 100644 index 000000000..7474e5bf9 --- /dev/null +++ b/make/linux/platform_ia64 @@ -0,0 +1,15 @@ +os_family = linux + +arch = ia64 + +os_arch = linux_ia64 + +lib_arch = ia64 + +compiler = gcc + +gnu_dis_arch = ia64 + +sysdefs = -DLINUX -D_GNU_SOURCE -DIA64 -DCC_INTERP + +mark_style = alignment diff --git a/build/linux/platform_sparc b/make/linux/platform_sparc similarity index 100% rename from build/linux/platform_sparc rename to make/linux/platform_sparc diff --git a/build/hotspot_distro b/make/openjdk_distro similarity index 100% rename from build/hotspot_distro rename to make/openjdk_distro diff --git a/build/sa.files b/make/sa.files similarity index 100% rename from build/sa.files rename to make/sa.files diff --git a/build/solaris/Makefile b/make/solaris/Makefile similarity index 94% rename from build/solaris/Makefile rename to make/solaris/Makefile index 0a7615aa7..0751fe9eb 100644 --- a/build/solaris/Makefile +++ b/make/solaris/Makefile @@ -50,7 +50,7 @@ include ../../make/defs.make else include $(GAMMADIR)/make/defs.make endif -include $(GAMMADIR)/build/$(OSNAME)/makefiles/rules.make +include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make ifndef LP64 ifndef CC_INTERP @@ -165,7 +165,7 @@ TARGETS_TIERED = $(addsuffix tiered,$(TARGETS)) TARGETS_CORE = $(addsuffix core,$(TARGETS)) TARGETS_KERNEL = $(addsuffix kernel,$(TARGETS)) -BUILDTREE_MAKE = $(GAMMADIR)/build/$(OSNAME)/makefiles/buildtree.make +BUILDTREE_MAKE = $(GAMMADIR)/make/$(OSNAME)/makefiles/buildtree.make BUILDTREE_VARS = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OSNAME) ARCH=$(SRCARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH) BUILDTREE_VARS += HOTSPOT_RELEASE_VERSION=$(HOTSPOT_RELEASE_VERSION) HOTSPOT_BUILD_VERSION=$(HOTSPOT_BUILD_VERSION) JRE_RELEASE_VERSION=$(JRE_RELEASE_VERSION) @@ -208,28 +208,28 @@ check_j2se_version: fi $(SUBDIRS_TIERED): $(BUILDTREE_MAKE) - $(QUIETLY) $(MAKE) -f $(GAMMADIR)/build/$(OSNAME)/Makefile checks + $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks $(BUILDTREE) VARIANT=tiered $(SUBDIRS_C2): $(BUILDTREE_MAKE) ifdef FORCE_TIERED - $(QUIETLY) $(MAKE) -f $(GAMMADIR)/build/$(OSNAME)/Makefile checks + $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks $(BUILDTREE) VARIANT=tiered FORCE_TIERED=1 else - $(QUIETLY) $(MAKE) -f $(GAMMADIR)/build/$(OSNAME)/Makefile checks + $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks $(BUILDTREE) VARIANT=compiler2 endif $(SUBDIRS_C1): $(BUILDTREE_MAKE) - $(QUIETLY) $(MAKE) -f $(GAMMADIR)/build/$(OSNAME)/Makefile checks + $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks $(BUILDTREE) VARIANT=compiler1 $(SUBDIRS_CORE): $(BUILDTREE_MAKE) - $(QUIETLY) $(MAKE) -f $(GAMMADIR)/build/$(OSNAME)/Makefile checks + $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks $(BUILDTREE) VARIANT=core $(SUBDIRS_KERNEL): $(BUILDTREE_MAKE) - $(QUIETLY) $(MAKE) -f $(GAMMADIR)/build/$(OSNAME)/Makefile checks + $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks $(BUILDTREE) VARIANT=kernel # Define INSTALL=y at command line to automatically copy JVM into JAVA_HOME @@ -279,7 +279,7 @@ treekernel: $(SUBDIRS_KERNEL) # Hence create a docs directory beside ...$(ARCH)_[...] docs: checks $(QUIETLY) mkdir -p $(SUBDIR_DOCS) - $(MAKE) -f $(GAMMADIR)/build/$(OSNAME)/makefiles/jvmti.make $(MFLAGS) $(BUILDTREE_VARS) JvmtiOutDir=$(SUBDIR_DOCS) jvmtidocs + $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/makefiles/jvmti.make $(MFLAGS) $(BUILDTREE_VARS) JvmtiOutDir=$(SUBDIR_DOCS) jvmtidocs # Synonyms for win32-like targets. compiler2: jvmg product @@ -296,7 +296,7 @@ clean_compiler1 clean_compiler2 clean_core clean_kernel: clean: clean_compiler2 clean_compiler1 clean_core clean_docs clean_kernel -include $(GAMMADIR)/build/$(OSNAME)/makefiles/cscope.make +include $(GAMMADIR)/make/$(OSNAME)/makefiles/cscope.make #------------------------------------------------------------------------------- diff --git a/build/solaris/Queens.class b/make/solaris/Queens.class similarity index 100% rename from build/solaris/Queens.class rename to make/solaris/Queens.class diff --git a/build/solaris/adlc_updater b/make/solaris/adlc_updater similarity index 100% rename from build/solaris/adlc_updater rename to make/solaris/adlc_updater diff --git a/build/solaris/build.sh b/make/solaris/build.sh similarity index 97% rename from build/solaris/build.sh rename to make/solaris/build.sh index 57920f388..bb8d17575 100644 --- a/build/solaris/build.sh +++ b/make/solaris/build.sh @@ -121,7 +121,7 @@ case ${ws_path} in esac echo \ -${GNUMAKE} -f ${ws_path}/build/solaris/Makefile \ +${GNUMAKE} -f ${ws_path}/make/solaris/Makefile \ $config GAMMADIR=${ws_path} $options -${GNUMAKE} -f ${ws_path}/build/solaris/Makefile \ +${GNUMAKE} -f ${ws_path}/make/solaris/Makefile \ $config GAMMADIR=${ws_path} $options diff --git a/build/solaris/makefiles/adjust-mflags.sh b/make/solaris/makefiles/adjust-mflags.sh similarity index 100% rename from build/solaris/makefiles/adjust-mflags.sh rename to make/solaris/makefiles/adjust-mflags.sh diff --git a/build/solaris/makefiles/adlc.make b/make/solaris/makefiles/adlc.make similarity index 98% rename from build/solaris/makefiles/adlc.make rename to make/solaris/makefiles/adlc.make index 467c7d499..b67ae554d 100644 --- a/build/solaris/makefiles/adlc.make +++ b/make/solaris/makefiles/adlc.make @@ -26,7 +26,7 @@ # build directories. # It knows how to compile, link, and run the adlc. -include $(GAMMADIR)/build/$(Platform_os_family)/makefiles/rules.make +include $(GAMMADIR)/make/$(Platform_os_family)/makefiles/rules.make # ######################################################################### @@ -154,7 +154,7 @@ endif # used to selectively update generated adlc files. This should # provide a nice compilation speed improvement. # -ADLC_UPDATER_DIRECTORY = $(GAMMADIR)/build/$(OS) +ADLC_UPDATER_DIRECTORY = $(GAMMADIR)/make/$(OS) ADLC_UPDATER = adlc_updater # This action refreshes all generated adlc files simultaneously. diff --git a/build/solaris/makefiles/amd64.make b/make/solaris/makefiles/amd64.make similarity index 100% rename from build/solaris/makefiles/amd64.make rename to make/solaris/makefiles/amd64.make diff --git a/build/solaris/makefiles/buildtree.make b/make/solaris/makefiles/buildtree.make similarity index 90% rename from build/solaris/makefiles/buildtree.make rename to make/solaris/makefiles/buildtree.make index 84d2beb9e..1fb22360d 100644 --- a/build/solaris/makefiles/buildtree.make +++ b/make/solaris/makefiles/buildtree.make @@ -65,10 +65,10 @@ TESTFLAGS = -Xbatch -showversion ### maye ARCH_XXX instead? ifdef USE_GCC -PLATFORM_FILE = $(GAMMADIR)/build/$(OS_FAMILY)/platform_$(BUILDARCH).gcc +PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH).gcc GCC_LIB = /usr/local/lib else -PLATFORM_FILE = $(GAMMADIR)/build/$(OS_FAMILY)/platform_$(BUILDARCH) +PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH) GCC_LIB = endif @@ -114,7 +114,7 @@ TARGETS = debug fastdebug jvmg optimized product profiled SUBMAKE_DIRS = $(addprefix $(PLATFORM_DIR)/,$(TARGETS)) # For dependencies and recursive makes. -BUILDTREE_MAKE = $(GAMMADIR)/build/$(OS_FAMILY)/makefiles/buildtree.make +BUILDTREE_MAKE = $(GAMMADIR)/make/$(OS_FAMILY)/makefiles/buildtree.make BUILDTREE_TARGETS = Makefile flags.make flags_vm.make vm.make adlc.make jvmti.make sa.make \ env.ksh env.csh .dbxrc test_gamma @@ -136,19 +136,19 @@ endif ifndef HOTSPOT_BUILD_USER HOTSPOT_BUILD_USER := $(shell whoami) endif -# Define HOTSPOT_VM_DISTRO based on settings in build/hotspot_distro -# or build/closed/hotspot_distro. +# Define HOTSPOT_VM_DISTRO based on settings in make/openjdk_distro +# or make/hotspot_distro. ifndef HOTSPOT_VM_DISTRO CLOSED_DIR_EXISTS := $(shell \ - if [ -d $(GAMMADIR)/build/closed ] ; then \ + if [ -d $(GAMMADIR)/src/closed ] ; then \ echo true; \ else \ echo false; \ fi) ifeq ($(CLOSED_DIR_EXISTS), true) - include $(GAMMADIR)/build/closed/hotspot_distro + include $(GAMMADIR)/make/hotspot_distro else - include $(GAMMADIR)/build/hotspot_distro + include $(GAMMADIR)/make/openjdk_distro endif endif @@ -203,8 +203,8 @@ flags.make: $(BUILDTREE_MAKE) ../shared_dirs.lst echo "HOTSPOT_EXTRA_SYSDEFS\$$(HOTSPOT_EXTRA_SYSDEFS) = $(HOTSPOT_EXTRA_SYSDEFS)" && \ echo "SYSDEFS += \$$(HOTSPOT_EXTRA_SYSDEFS)"; \ echo; \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/$(VARIANT).make"; \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/$(COMPILER).make"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(VARIANT).make"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(COMPILER).make"; \ ) > $@ flags_vm.make: $(BUILDTREE_MAKE) ../shared_dirs.lst @@ -213,8 +213,8 @@ flags_vm.make: $(BUILDTREE_MAKE) ../shared_dirs.lst $(BUILDTREE_COMMENT); \ echo; \ [ "$(TARGET)" = profiled ] && \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/optimized.make"; \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/$(TARGET).make"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/optimized.make"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(TARGET).make"; \ ) > $@ ../shared_dirs.lst: $(BUILDTREE_MAKE) $(GAMMADIR)/src/share/vm @@ -230,7 +230,7 @@ Makefile: $(BUILDTREE_MAKE) echo; \ echo include flags.make; \ echo; \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/top.make"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/top.make"; \ ) > $@ vm.make: $(BUILDTREE_MAKE) @@ -241,7 +241,7 @@ vm.make: $(BUILDTREE_MAKE) echo include flags.make; \ echo include flags_vm.make; \ echo; \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/$(@F)"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ ) > $@ adlc.make: $(BUILDTREE_MAKE) @@ -251,7 +251,7 @@ adlc.make: $(BUILDTREE_MAKE) echo; \ echo include flags.make; \ echo; \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/$(@F)"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ ) > $@ jvmti.make: $(BUILDTREE_MAKE) @@ -261,7 +261,7 @@ jvmti.make: $(BUILDTREE_MAKE) echo; \ echo include flags.make; \ echo; \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/$(@F)"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ ) > $@ sa.make: $(BUILDTREE_MAKE) @@ -271,7 +271,7 @@ sa.make: $(BUILDTREE_MAKE) echo; \ echo include flags.make; \ echo; \ - echo "include \$$(GAMMADIR)/build/$(OS_FAMILY)/makefiles/$(@F)"; \ + echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ ) > $@ env.ksh: $(BUILDTREE_MAKE) @@ -351,7 +351,7 @@ test_gamma: $(BUILDTREE_MAKE) echo "then"; \ echo " $(WRONG_DATA_MODE_MSG); exit 0;"; \ echo "fi"; \ - echo 'CLASSPATH="$(GAMMADIR)/build/$(OS_FAMILY):$$CLASSPATH"'; \ + echo 'CLASSPATH="$(GAMMADIR)/make/$(OS_FAMILY):$$CLASSPATH"'; \ echo '[ -f gamma_g ] && { gamma=gamma_g; }'; \ echo './$${gamma:-gamma} $(TESTFLAGS) Queens < /dev/null'; \ ) > $@ diff --git a/build/solaris/makefiles/compiler1.make b/make/solaris/makefiles/compiler1.make similarity index 100% rename from build/solaris/makefiles/compiler1.make rename to make/solaris/makefiles/compiler1.make diff --git a/build/solaris/makefiles/compiler2.make b/make/solaris/makefiles/compiler2.make similarity index 100% rename from build/solaris/makefiles/compiler2.make rename to make/solaris/makefiles/compiler2.make diff --git a/build/solaris/makefiles/core.make b/make/solaris/makefiles/core.make similarity index 100% rename from build/solaris/makefiles/core.make rename to make/solaris/makefiles/core.make diff --git a/build/solaris/makefiles/cscope.make b/make/solaris/makefiles/cscope.make similarity index 96% rename from build/solaris/makefiles/cscope.make rename to make/solaris/makefiles/cscope.make index 20644ec81..725925e56 100644 --- a/build/solaris/makefiles/cscope.make +++ b/make/solaris/makefiles/cscope.make @@ -40,7 +40,7 @@ NAWK = /usr/xpg4/bin/awk RM = rm -f CS_TOP = ../.. -CSDIRS = $(CS_TOP)/src $(CS_TOP)/build +CSDIRS = $(CS_TOP)/src $(CS_TOP)/make CSINCS = $(CSDIRS:%=-I%) CSCOPE = cscope @@ -60,7 +60,7 @@ ifndef CSHEADERS RMCCHEADERS= -o -name CClassHeaders endif -# Use CS_GENERATED=x to include auto-generated files in the build directories. +# Use CS_GENERATED=x to include auto-generated files in the make directories. ifdef CS_GENERATED CS_ADD_GENERATED = -o -name '*.incl' else @@ -122,9 +122,9 @@ cscope cscope.out: cscope.files FORCE # relevant files first. cscope.files: .cscope.files.raw echo "$(CSINCS)" > $@ - -egrep -v "\.java|\/build\/" $< >> $@ + -egrep -v "\.java|\/make\/" $< >> $@ -fgrep ".java" $< >> $@ - -fgrep "/build/" $< >> $@ + -fgrep "/make/" $< >> $@ .cscope.files.raw: .nametable.files -find $(CSDIRS) -type d \( $(CS_PRUNE) \) -prune -o \ diff --git a/build/solaris/makefiles/debug.make b/make/solaris/makefiles/debug.make similarity index 88% rename from build/solaris/makefiles/debug.make rename to make/solaris/makefiles/debug.make index f2a2786ec..d759910be 100644 --- a/build/solaris/makefiles/debug.make +++ b/make/solaris/makefiles/debug.make @@ -39,13 +39,13 @@ endif CFLAGS += $(DEBUG_CFLAGS/BYFILE) # Linker mapfiles -MAPFILE = $(GAMMADIR)/build/solaris/makefiles/mapfile-vers \ - $(GAMMADIR)/build/solaris/makefiles/mapfile-vers-debug \ - $(GAMMADIR)/build/solaris/makefiles/mapfile-vers-nonproduct +MAPFILE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers \ + $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-debug \ + $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-nonproduct # This mapfile is only needed when compiling with dtrace support, # and mustn't be otherwise. -MAPFILE_DTRACE = $(GAMMADIR)/build/solaris/makefiles/mapfile-vers-$(TYPE) +MAPFILE_DTRACE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-$(TYPE) _JUNK_ := $(shell echo >&2 ""\ "-------------------------------------------------------------------------\n" \ diff --git a/build/solaris/makefiles/defs.make b/make/solaris/makefiles/defs.make similarity index 100% rename from build/solaris/makefiles/defs.make rename to make/solaris/makefiles/defs.make diff --git a/build/solaris/makefiles/dtrace.make b/make/solaris/makefiles/dtrace.make similarity index 100% rename from build/solaris/makefiles/dtrace.make rename to make/solaris/makefiles/dtrace.make diff --git a/build/solaris/makefiles/fastdebug.make b/make/solaris/makefiles/fastdebug.make similarity index 94% rename from build/solaris/makefiles/fastdebug.make rename to make/solaris/makefiles/fastdebug.make index 7f16a0e65..0329b4c36 100644 --- a/build/solaris/makefiles/fastdebug.make +++ b/make/solaris/makefiles/fastdebug.make @@ -100,13 +100,13 @@ DEBUG_CFLAGS/BYFILE = $(DEBUG_CFLAGS/$@)$(DEBUG_CFLAGS/DEFAULT$(DEBUG_CFLAGS/$@) CFLAGS += $(DEBUG_CFLAGS/BYFILE) # Linker mapfiles -MAPFILE = $(GAMMADIR)/build/solaris/makefiles/mapfile-vers \ - $(GAMMADIR)/build/solaris/makefiles/mapfile-vers-debug \ - $(GAMMADIR)/build/solaris/makefiles/mapfile-vers-nonproduct +MAPFILE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers \ + $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-debug \ + $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-nonproduct # This mapfile is only needed when compiling with dtrace support, # and mustn't be otherwise. -MAPFILE_DTRACE = $(GAMMADIR)/build/solaris/makefiles/mapfile-vers-$(TYPE) +MAPFILE_DTRACE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-$(TYPE) G_SUFFIX = diff --git a/build/solaris/makefiles/gcc.make b/make/solaris/makefiles/gcc.make similarity index 100% rename from build/solaris/makefiles/gcc.make rename to make/solaris/makefiles/gcc.make diff --git a/build/solaris/makefiles/hp.make b/make/solaris/makefiles/hp.make similarity index 100% rename from build/solaris/makefiles/hp.make rename to make/solaris/makefiles/hp.make diff --git a/build/solaris/makefiles/hp1.make b/make/solaris/makefiles/hp1.make similarity index 100% rename from build/solaris/makefiles/hp1.make rename to make/solaris/makefiles/hp1.make diff --git a/build/solaris/makefiles/i486.make b/make/solaris/makefiles/i486.make similarity index 100% rename from build/solaris/makefiles/i486.make rename to make/solaris/makefiles/i486.make diff --git a/build/solaris/makefiles/jsig.make b/make/solaris/makefiles/jsig.make similarity index 100% rename from build/solaris/makefiles/jsig.make rename to make/solaris/makefiles/jsig.make diff --git a/build/solaris/makefiles/jvmg.make b/make/solaris/makefiles/jvmg.make similarity index 87% rename from build/solaris/makefiles/jvmg.make rename to make/solaris/makefiles/jvmg.make index ee0e4616a..24a3510d4 100644 --- a/build/solaris/makefiles/jvmg.make +++ b/make/solaris/makefiles/jvmg.make @@ -42,13 +42,13 @@ CFLAGS += $(DEBUG_CFLAGS/BYFILE) # to inhibit the effect of the previous line on CFLAGS. # Linker mapfiles -MAPFILE = $(GAMMADIR)/build/solaris/makefiles/mapfile-vers \ - $(GAMMADIR)/build/solaris/makefiles/mapfile-vers-debug \ - $(GAMMADIR)/build/solaris/makefiles/mapfile-vers-nonproduct +MAPFILE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers \ + $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-debug \ + $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-nonproduct # This mapfile is only needed when compiling with dtrace support, # and mustn't be otherwise. -MAPFILE_DTRACE = $(GAMMADIR)/build/solaris/makefiles/mapfile-vers-$(TYPE) +MAPFILE_DTRACE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-$(TYPE) G_SUFFIX = VERSION = debug diff --git a/build/solaris/makefiles/jvmti.make b/make/solaris/makefiles/jvmti.make similarity index 98% rename from build/solaris/makefiles/jvmti.make rename to make/solaris/makefiles/jvmti.make index ba93d8797..876714eb5 100644 --- a/build/solaris/makefiles/jvmti.make +++ b/make/solaris/makefiles/jvmti.make @@ -27,7 +27,7 @@ # # It knows how to build and run the tools to generate jvmti. -include $(GAMMADIR)/build/solaris/makefiles/rules.make +include $(GAMMADIR)/make/solaris/makefiles/rules.make # ######################################################################### diff --git a/build/solaris/makefiles/kernel.make b/make/solaris/makefiles/kernel.make similarity index 100% rename from build/solaris/makefiles/kernel.make rename to make/solaris/makefiles/kernel.make diff --git a/build/solaris/makefiles/launcher.make b/make/solaris/makefiles/launcher.make similarity index 100% rename from build/solaris/makefiles/launcher.make rename to make/solaris/makefiles/launcher.make diff --git a/build/solaris/makefiles/makedeps.make b/make/solaris/makefiles/makedeps.make similarity index 97% rename from build/solaris/makefiles/makedeps.make rename to make/solaris/makefiles/makedeps.make index 71c8f455b..12b01a7da 100644 --- a/build/solaris/makefiles/makedeps.make +++ b/make/solaris/makefiles/makedeps.make @@ -22,7 +22,7 @@ # # -include $(GAMMADIR)/build/solaris/makefiles/rules.make +include $(GAMMADIR)/make/solaris/makefiles/rules.make COMPILE.JAVAC.FLAGS += -d $(OUTDIR) diff --git a/build/solaris/makefiles/mapfile-vers b/make/solaris/makefiles/mapfile-vers similarity index 100% rename from build/solaris/makefiles/mapfile-vers rename to make/solaris/makefiles/mapfile-vers diff --git a/build/solaris/makefiles/mapfile-vers-COMPILER1 b/make/solaris/makefiles/mapfile-vers-COMPILER1 similarity index 100% rename from build/solaris/makefiles/mapfile-vers-COMPILER1 rename to make/solaris/makefiles/mapfile-vers-COMPILER1 diff --git a/build/solaris/makefiles/mapfile-vers-COMPILER2 b/make/solaris/makefiles/mapfile-vers-COMPILER2 similarity index 100% rename from build/solaris/makefiles/mapfile-vers-COMPILER2 rename to make/solaris/makefiles/mapfile-vers-COMPILER2 diff --git a/build/solaris/makefiles/mapfile-vers-CORE b/make/solaris/makefiles/mapfile-vers-CORE similarity index 100% rename from build/solaris/makefiles/mapfile-vers-CORE rename to make/solaris/makefiles/mapfile-vers-CORE diff --git a/build/solaris/makefiles/mapfile-vers-TIERED b/make/solaris/makefiles/mapfile-vers-TIERED similarity index 100% rename from build/solaris/makefiles/mapfile-vers-TIERED rename to make/solaris/makefiles/mapfile-vers-TIERED diff --git a/build/solaris/makefiles/mapfile-vers-debug b/make/solaris/makefiles/mapfile-vers-debug similarity index 100% rename from build/solaris/makefiles/mapfile-vers-debug rename to make/solaris/makefiles/mapfile-vers-debug diff --git a/build/solaris/makefiles/mapfile-vers-jsig b/make/solaris/makefiles/mapfile-vers-jsig similarity index 100% rename from build/solaris/makefiles/mapfile-vers-jsig rename to make/solaris/makefiles/mapfile-vers-jsig diff --git a/build/solaris/makefiles/mapfile-vers-jvm_db b/make/solaris/makefiles/mapfile-vers-jvm_db similarity index 100% rename from build/solaris/makefiles/mapfile-vers-jvm_db rename to make/solaris/makefiles/mapfile-vers-jvm_db diff --git a/build/solaris/makefiles/mapfile-vers-jvm_dtrace b/make/solaris/makefiles/mapfile-vers-jvm_dtrace similarity index 100% rename from build/solaris/makefiles/mapfile-vers-jvm_dtrace rename to make/solaris/makefiles/mapfile-vers-jvm_dtrace diff --git a/build/solaris/makefiles/mapfile-vers-nonproduct b/make/solaris/makefiles/mapfile-vers-nonproduct similarity index 100% rename from build/solaris/makefiles/mapfile-vers-nonproduct rename to make/solaris/makefiles/mapfile-vers-nonproduct diff --git a/build/solaris/makefiles/optimized.make b/make/solaris/makefiles/optimized.make similarity index 91% rename from build/solaris/makefiles/optimized.make rename to make/solaris/makefiles/optimized.make index 31323ed12..4e8f64847 100644 --- a/build/solaris/makefiles/optimized.make +++ b/make/solaris/makefiles/optimized.make @@ -43,12 +43,12 @@ CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE) # Linker mapfiles # NOTE: inclusion of nonproduct mapfile not necessary; read it for details -MAPFILE = $(GAMMADIR)/build/solaris/makefiles/mapfile-vers \ - $(GAMMADIR)/build/solaris/makefiles/mapfile-vers-nonproduct +MAPFILE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers \ + $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-nonproduct # This mapfile is only needed when compiling with dtrace support, # and mustn't be otherwise. -MAPFILE_DTRACE = $(GAMMADIR)/build/solaris/makefiles/mapfile-vers-$(TYPE) +MAPFILE_DTRACE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-$(TYPE) # Set the environment variable HOTSPARC_GENERIC to "true" # to inhibit the effect of the previous line on CFLAGS. diff --git a/build/solaris/makefiles/product.make b/make/solaris/makefiles/product.make similarity index 88% rename from build/solaris/makefiles/product.make rename to make/solaris/makefiles/product.make index 2bc592702..d2e78c664 100644 --- a/build/solaris/makefiles/product.make +++ b/make/solaris/makefiles/product.make @@ -54,16 +54,16 @@ CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE) # Linker mapfiles # NOTE: inclusion of nonproduct mapfile not necessary; read it for details ifdef USE_GCC -MAPFILE = $(GAMMADIR)/build/solaris/makefiles/mapfile-vers +MAPFILE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers else -MAPFILE = $(GAMMADIR)/build/solaris/makefiles/mapfile-vers \ - $(GAMMADIR)/build/solaris/makefiles/mapfile-vers-nonproduct +MAPFILE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers \ + $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-nonproduct # This mapfile is only needed when compiling with dtrace support, # and mustn't be otherwise. -MAPFILE_DTRACE = $(GAMMADIR)/build/solaris/makefiles/mapfile-vers-$(TYPE) +MAPFILE_DTRACE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-$(TYPE) -REORDERFILE = $(GAMMADIR)/build/solaris/makefiles/reorder_$(TYPE)_$(BUILDARCH) +REORDERFILE = $(GAMMADIR)/make/solaris/makefiles/reorder_$(TYPE)_$(BUILDARCH) endif # Don't strip in VM build; JDK build will strip libraries later diff --git a/build/solaris/makefiles/profiled.make b/make/solaris/makefiles/profiled.make similarity index 100% rename from build/solaris/makefiles/profiled.make rename to make/solaris/makefiles/profiled.make diff --git a/build/solaris/makefiles/reorder_COMPILER1_i486 b/make/solaris/makefiles/reorder_COMPILER1_i486 similarity index 100% rename from build/solaris/makefiles/reorder_COMPILER1_i486 rename to make/solaris/makefiles/reorder_COMPILER1_i486 diff --git a/build/solaris/makefiles/reorder_COMPILER1_sparc b/make/solaris/makefiles/reorder_COMPILER1_sparc similarity index 100% rename from build/solaris/makefiles/reorder_COMPILER1_sparc rename to make/solaris/makefiles/reorder_COMPILER1_sparc diff --git a/build/solaris/makefiles/reorder_COMPILER1_sparcv9 b/make/solaris/makefiles/reorder_COMPILER1_sparcv9 similarity index 100% rename from build/solaris/makefiles/reorder_COMPILER1_sparcv9 rename to make/solaris/makefiles/reorder_COMPILER1_sparcv9 diff --git a/build/solaris/makefiles/reorder_COMPILER2_amd64 b/make/solaris/makefiles/reorder_COMPILER2_amd64 similarity index 100% rename from build/solaris/makefiles/reorder_COMPILER2_amd64 rename to make/solaris/makefiles/reorder_COMPILER2_amd64 diff --git a/build/solaris/makefiles/reorder_COMPILER2_i486 b/make/solaris/makefiles/reorder_COMPILER2_i486 similarity index 100% rename from build/solaris/makefiles/reorder_COMPILER2_i486 rename to make/solaris/makefiles/reorder_COMPILER2_i486 diff --git a/build/solaris/makefiles/reorder_COMPILER2_sparc b/make/solaris/makefiles/reorder_COMPILER2_sparc similarity index 100% rename from build/solaris/makefiles/reorder_COMPILER2_sparc rename to make/solaris/makefiles/reorder_COMPILER2_sparc diff --git a/build/solaris/makefiles/reorder_COMPILER2_sparcv9 b/make/solaris/makefiles/reorder_COMPILER2_sparcv9 similarity index 100% rename from build/solaris/makefiles/reorder_COMPILER2_sparcv9 rename to make/solaris/makefiles/reorder_COMPILER2_sparcv9 diff --git a/build/solaris/makefiles/reorder_CORE_amd64 b/make/solaris/makefiles/reorder_CORE_amd64 similarity index 100% rename from build/solaris/makefiles/reorder_CORE_amd64 rename to make/solaris/makefiles/reorder_CORE_amd64 diff --git a/build/solaris/makefiles/reorder_CORE_i486 b/make/solaris/makefiles/reorder_CORE_i486 similarity index 100% rename from build/solaris/makefiles/reorder_CORE_i486 rename to make/solaris/makefiles/reorder_CORE_i486 diff --git a/build/solaris/makefiles/reorder_CORE_sparc b/make/solaris/makefiles/reorder_CORE_sparc similarity index 100% rename from build/solaris/makefiles/reorder_CORE_sparc rename to make/solaris/makefiles/reorder_CORE_sparc diff --git a/build/solaris/makefiles/reorder_CORE_sparcv9 b/make/solaris/makefiles/reorder_CORE_sparcv9 similarity index 100% rename from build/solaris/makefiles/reorder_CORE_sparcv9 rename to make/solaris/makefiles/reorder_CORE_sparcv9 diff --git a/build/solaris/makefiles/reorder_TIERED_amd64 b/make/solaris/makefiles/reorder_TIERED_amd64 similarity index 100% rename from build/solaris/makefiles/reorder_TIERED_amd64 rename to make/solaris/makefiles/reorder_TIERED_amd64 diff --git a/build/solaris/makefiles/reorder_TIERED_i486 b/make/solaris/makefiles/reorder_TIERED_i486 similarity index 100% rename from build/solaris/makefiles/reorder_TIERED_i486 rename to make/solaris/makefiles/reorder_TIERED_i486 diff --git a/build/solaris/makefiles/reorder_TIERED_sparc b/make/solaris/makefiles/reorder_TIERED_sparc similarity index 100% rename from build/solaris/makefiles/reorder_TIERED_sparc rename to make/solaris/makefiles/reorder_TIERED_sparc diff --git a/build/solaris/makefiles/rules.make b/make/solaris/makefiles/rules.make similarity index 100% rename from build/solaris/makefiles/rules.make rename to make/solaris/makefiles/rules.make diff --git a/build/solaris/makefiles/sa.make b/make/solaris/makefiles/sa.make similarity index 97% rename from build/solaris/makefiles/sa.make rename to make/solaris/makefiles/sa.make index dc1f159a0..114368839 100644 --- a/build/solaris/makefiles/sa.make +++ b/make/solaris/makefiles/sa.make @@ -28,9 +28,9 @@ # This makefile is used to build Serviceability Agent java code # and generate JNI header file for native methods. -include $(GAMMADIR)/build/solaris/makefiles/rules.make +include $(GAMMADIR)/make/solaris/makefiles/rules.make AGENT_DIR = $(GAMMADIR)/agent -include $(GAMMADIR)/build/sa.files +include $(GAMMADIR)/make/sa.files GENERATED = ../generated # tools.jar is needed by the JDI - SA binding diff --git a/build/solaris/makefiles/saproc.make b/make/solaris/makefiles/saproc.make similarity index 100% rename from build/solaris/makefiles/saproc.make rename to make/solaris/makefiles/saproc.make diff --git a/build/solaris/makefiles/sparc.make b/make/solaris/makefiles/sparc.make similarity index 100% rename from build/solaris/makefiles/sparc.make rename to make/solaris/makefiles/sparc.make diff --git a/build/solaris/makefiles/sparcWorks.make b/make/solaris/makefiles/sparcWorks.make similarity index 100% rename from build/solaris/makefiles/sparcWorks.make rename to make/solaris/makefiles/sparcWorks.make diff --git a/build/solaris/makefiles/sparcv9.make b/make/solaris/makefiles/sparcv9.make similarity index 100% rename from build/solaris/makefiles/sparcv9.make rename to make/solaris/makefiles/sparcv9.make diff --git a/build/solaris/makefiles/tiered.make b/make/solaris/makefiles/tiered.make similarity index 100% rename from build/solaris/makefiles/tiered.make rename to make/solaris/makefiles/tiered.make diff --git a/build/solaris/makefiles/top.make b/make/solaris/makefiles/top.make similarity index 97% rename from build/solaris/makefiles/top.make rename to make/solaris/makefiles/top.make index 14c9acd38..5a883565a 100644 --- a/build/solaris/makefiles/top.make +++ b/make/solaris/makefiles/top.make @@ -45,7 +45,7 @@ Plat_File = $(Platform_file) CDG = cd $(GENERATED); # Pick up MakeDeps' sources and definitions -include $(GAMMADIR)/build/$(Platform_os_family)/makefiles/makedeps.make +include $(GAMMADIR)/make/$(Platform_os_family)/makefiles/makedeps.make MakeDepsClass = MakeDeps.class MakeDeps = $(RUN.JAVA) -classpath . MakeDeps @@ -150,7 +150,7 @@ sa_stuff: # resets -jN to -j1 for recursive runs. (How helpful.) # Note that the user must specify the desired parallelism level via a # command-line or environment variable name HOTSPOT_BUILD_JOBS. -$(adjust-mflags): $(GAMMADIR)/build/$(Platform_os_family)/makefiles/adjust-mflags.sh +$(adjust-mflags): $(GAMMADIR)/make/$(Platform_os_family)/makefiles/adjust-mflags.sh @+rm -f $@ $@+ @+cat $< > $@+ @+chmod +x $@+ diff --git a/build/solaris/makefiles/vm.make b/make/solaris/makefiles/vm.make similarity index 99% rename from build/solaris/makefiles/vm.make rename to make/solaris/makefiles/vm.make index c1fa46431..93ebf8944 100644 --- a/build/solaris/makefiles/vm.make +++ b/make/solaris/makefiles/vm.make @@ -26,7 +26,7 @@ # directory. # Common build rules. -MAKEFILES_DIR=$(GAMMADIR)/build/$(Platform_os_family)/makefiles +MAKEFILES_DIR=$(GAMMADIR)/make/$(Platform_os_family)/makefiles include $(MAKEFILES_DIR)/rules.make default: build diff --git a/build/solaris/platform_amd64 b/make/solaris/platform_amd64 similarity index 100% rename from build/solaris/platform_amd64 rename to make/solaris/platform_amd64 diff --git a/build/solaris/platform_amd64.gcc b/make/solaris/platform_amd64.gcc similarity index 100% rename from build/solaris/platform_amd64.gcc rename to make/solaris/platform_amd64.gcc diff --git a/build/solaris/platform_i486 b/make/solaris/platform_i486 similarity index 100% rename from build/solaris/platform_i486 rename to make/solaris/platform_i486 diff --git a/build/solaris/platform_i486.gcc b/make/solaris/platform_i486.gcc similarity index 100% rename from build/solaris/platform_i486.gcc rename to make/solaris/platform_i486.gcc diff --git a/build/solaris/platform_sparc b/make/solaris/platform_sparc similarity index 100% rename from build/solaris/platform_sparc rename to make/solaris/platform_sparc diff --git a/build/solaris/platform_sparc.gcc b/make/solaris/platform_sparc.gcc similarity index 100% rename from build/solaris/platform_sparc.gcc rename to make/solaris/platform_sparc.gcc diff --git a/build/solaris/platform_sparcv9 b/make/solaris/platform_sparcv9 similarity index 100% rename from build/solaris/platform_sparcv9 rename to make/solaris/platform_sparcv9 diff --git a/build/solaris/platform_sparcv9.gcc b/make/solaris/platform_sparcv9.gcc similarity index 100% rename from build/solaris/platform_sparcv9.gcc rename to make/solaris/platform_sparcv9.gcc diff --git a/build/solaris/reorder.sh b/make/solaris/reorder.sh similarity index 97% rename from build/solaris/reorder.sh rename to make/solaris/reorder.sh index 598f3ebbc..925b0a240 100644 --- a/build/solaris/reorder.sh +++ b/make/solaris/reorder.sh @@ -55,8 +55,8 @@ test_setup() { echo "" echo "TEST_SETUP $1 $2" echo "" - libreldir=${ALT_OUTPUTDIR:-../../../build/solaris-$arch5}/reorder - libabsdir=${ALT_OUTPUTDIR:-$sdk_ws/build/solaris-$arch5}/reorder + libreldir=${ALT_OUTPUTDIR:-../../../make/solaris-$arch5}/reorder + libabsdir=${ALT_OUTPUTDIR:-$sdk_ws/make/solaris-$arch5}/reorder ( cd $sdk_ws/make/tools/reorder ; gnumake $libreldir/$arch5/libmcount.so ) if [ "${arch3}" = "i386" ] ; then # On Solaris/x86 we need to remove the symbol _mcount from the command @@ -271,11 +271,11 @@ jre=$sdk/jre arch3=`uname -p` # Arch name as used in Hotspot build: (eg. i486) -# /export/hotspot/build/solaris/solaris_${arch4}_compiler1 +# /export/hotspot/make/solaris/solaris_${arch4}_compiler1 arch4=$arch3 # Arch name as used in SDK build (eg. i586): -# /export/tiger/build/solaris-${arch3} +# /export/tiger/make/solaris-${arch3} arch5=$arch3 # Tweak for 64-bit sparc builds. At least they all agree. diff --git a/build/test/Queens.java b/make/test/Queens.java similarity index 100% rename from build/test/Queens.java rename to make/test/Queens.java diff --git a/build/windows/README b/make/windows/README similarity index 100% rename from build/windows/README rename to make/windows/README diff --git a/build/windows/build.bat b/make/windows/build.bat similarity index 91% rename from build/windows/build.bat rename to make/windows/build.bat index 7b7329b20..36d4ec6b4 100644 --- a/build/windows/build.bat +++ b/make/windows/build.bat @@ -86,11 +86,11 @@ echo. goto usage :build -nmake -f %3/build/windows/build.make Variant=%2 WorkSpace=%3 BootStrapDir=%4 BuildUser="%USERNAME%" HOTSPOT_BUILD_VERSION="%5" %1 +nmake -f %3/make/windows/build.make Variant=%2 WorkSpace=%3 BootStrapDir=%4 BuildUser="%USERNAME%" HOTSPOT_BUILD_VERSION="%5" %1 goto end :build_adlc -nmake -f %3/build/windows/build.make Variant=compiler2 WorkSpace=%3 BootStrapDir=%4 BuildUser="%USERNAME%" HOTSPOT_BUILD_VERSION=%5 ADLC_ONLY=1 %1 +nmake -f %3/make/windows/build.make Variant=compiler2 WorkSpace=%3 BootStrapDir=%4 BuildUser="%USERNAME%" HOTSPOT_BUILD_VERSION=%5 ADLC_ONLY=1 %1 goto end :usage diff --git a/build/windows/build.make b/make/windows/build.make similarity index 92% rename from build/windows/build.make rename to make/windows/build.make index c5e48e171..a871a849e 100644 --- a/build/windows/build.make +++ b/make/windows/build.make @@ -118,13 +118,13 @@ VARIANT_TEXT=Kernel # !include "$(WorkSpace)/make/hotspot_version" -# Define HOTSPOT_VM_DISTRO based on settings in build/hotspot_distro -# or build/closed/hotspot_distro. +# Define HOTSPOT_VM_DISTRO based on settings in make/openjdk_distro +# or make/hotspot_distro. !ifndef HOTSPOT_VM_DISTRO -!if exists($(WorkSpace)\build\closed) -!include $(WorkSpace)\build\closed\hotspot_distro +!if exists($(WorkSpace)\src\closed) +!include $(WorkSpace)\make\hotspot_distro !else -!include $(WorkSpace)\build\hotspot_distro +!include $(WorkSpace)\make\openjdk_distro !endif !endif @@ -242,24 +242,24 @@ defaultTarget: product # product release optimized: checks $(variantDir) $(variantDir)\local.make sanity cd $(variantDir) - nmake -nologo -f $(WorkSpace)\build\windows\makefiles\top.make BUILD_FLAVOR=product ARCH=$(ARCH) + nmake -nologo -f $(WorkSpace)\make\windows\makefiles\top.make BUILD_FLAVOR=product ARCH=$(ARCH) # The debug or jvmg (all the same thing) is an optional build debug jvmg: checks $(variantDir) $(variantDir)\local.make sanity cd $(variantDir) - nmake -nologo -f $(WorkSpace)\build\windows\makefiles\top.make BUILD_FLAVOR=debug ARCH=$(ARCH) + nmake -nologo -f $(WorkSpace)\make\windows\makefiles\top.make BUILD_FLAVOR=debug ARCH=$(ARCH) fastdebug: checks $(variantDir) $(variantDir)\local.make sanity cd $(variantDir) - nmake -nologo -f $(WorkSpace)\build\windows\makefiles\top.make BUILD_FLAVOR=fastdebug ARCH=$(ARCH) + nmake -nologo -f $(WorkSpace)\make\windows\makefiles\top.make BUILD_FLAVOR=fastdebug ARCH=$(ARCH) develop: checks $(variantDir) $(variantDir)\local.make sanity cd $(variantDir) - nmake -nologo -f $(WorkSpace)\build\windows\makefiles\top.make BUILD_FLAVOR=product DEVELOP=1 ARCH=$(ARCH) + nmake -nologo -f $(WorkSpace)\make\windows\makefiles\top.make BUILD_FLAVOR=product DEVELOP=1 ARCH=$(ARCH) sanity: @ echo; @ cd $(variantDir) - @ nmake -nologo -f $(WorkSpace)\build\windows\makefiles\sanity.make + @ nmake -nologo -f $(WorkSpace)\make\windows\makefiles\sanity.make @ cd .. @ echo; @@ -293,7 +293,7 @@ $(variantDir)\local.make: checks @ echo BUILDARCH=$(BUILDARCH) >> $@ @ echo Platform_arch=$(Platform_arch) >> $@ @ echo Platform_arch_model=$(Platform_arch_model) >> $@ - @ sh $(WorkSpace)/build/windows/get_msc_ver.sh >> $@ + @ sh $(WorkSpace)/make/windows/get_msc_ver.sh >> $@ checks: checkVariant checkWorkSpace checkSA diff --git a/build/windows/build_vm_def.sh b/make/windows/build_vm_def.sh similarity index 96% rename from build/windows/build_vm_def.sh rename to make/windows/build_vm_def.sh index 4ccdb67d2..98e65150a 100644 --- a/build/windows/build_vm_def.sh +++ b/make/windows/build_vm_def.sh @@ -24,7 +24,7 @@ # This shell script builds a vm.def file for the current VM variant. # The .def file exports vtbl symbols which allow the Serviceability -# Agent to run on Windows. See build/windows/projectfiles/*/vm.def +# Agent to run on Windows. See make/windows/projectfiles/*/vm.def # for more information. # # The script expects to be executed in the directory containing all of diff --git a/build/windows/create.bat b/make/windows/create.bat similarity index 97% rename from build/windows/create.bat rename to make/windows/create.bat index 71ad50d0b..a5a481ff7 100644 --- a/build/windows/create.bat +++ b/make/windows/create.bat @@ -69,7 +69,7 @@ set HotSpotBuildSpace=%2 set HotSpotJDKDist=%3 REM figure out MSC version -for /F %%i in ('sh %HotSpotWorkSpace%/build/windows/get_msc_ver.sh') do set %%i +for /F %%i in ('sh %HotSpotWorkSpace%/make/windows/get_msc_ver.sh') do set %%i echo ************************************************************** if "%MSC_VER%" == "1200" ( @@ -126,7 +126,7 @@ REM This is now safe to do. :copyfiles for /D %%i in (compiler1, compiler2, tiered, core, kernel) do ( if NOT EXIST %HotSpotBuildSpace%\%%i mkdir %HotSpotBuildSpace%\%%i -copy %HotSpotWorkSpace%\build\windows\projectfiles\%%i\* %HotSpotBuildSpace%\%%i\ > NUL +copy %HotSpotWorkSpace%\make\windows\projectfiles\%%i\* %HotSpotBuildSpace%\%%i\ > NUL ) REM force regneration of ProjectFile diff --git a/build/windows/cross_build.bat b/make/windows/cross_build.bat similarity index 95% rename from build/windows/cross_build.bat rename to make/windows/cross_build.bat index ef362caa0..42e0fb147 100644 --- a/build/windows/cross_build.bat +++ b/make/windows/cross_build.bat @@ -40,7 +40,7 @@ SET OLDINCLUDE=%INCLUDE% SET OLDLIB=%LIB% SET OLDPATH=%PATH% call "%MSVCDir%\Bin\VCVARS32" -call %2\build\windows\build %1 adlc %2 %3 %4 +call %2\make\windows\build %1 adlc %2 %3 %4 SET INCLUDE=%OLDINCLUDE% SET LIB=%OLDLIB% SET PATH=%OLDPATH% @@ -52,7 +52,7 @@ SET MSSdk=C:\Program Files\Microsoft SDK :setenv2 call "%MSSdk%\SetEnv.bat" /XP64 SET ALT_ADLC_PATH=%CD%\windows_i486_compiler2\generated -call %2\build\windows\build %1 compiler2 %2 %3 %4 +call %2\make\windows\build %1 compiler2 %2 %3 %4 SET INCLUDE=%OLDINCLUDE% SET LIB=%OLDLIB% SET PATH=%OLDPATH% diff --git a/build/windows/get_msc_ver.sh b/make/windows/get_msc_ver.sh similarity index 100% rename from build/windows/get_msc_ver.sh rename to make/windows/get_msc_ver.sh diff --git a/build/windows/jvmexp.lcf b/make/windows/jvmexp.lcf similarity index 100% rename from build/windows/jvmexp.lcf rename to make/windows/jvmexp.lcf diff --git a/build/windows/jvmexp_g.lcf b/make/windows/jvmexp_g.lcf similarity index 100% rename from build/windows/jvmexp_g.lcf rename to make/windows/jvmexp_g.lcf diff --git a/build/windows/makefiles/adlc.make b/make/windows/makefiles/adlc.make similarity index 98% rename from build/windows/makefiles/adlc.make rename to make/windows/makefiles/adlc.make index 8dee8c3e6..f7665667f 100644 --- a/build/windows/makefiles/adlc.make +++ b/make/windows/makefiles/adlc.make @@ -22,7 +22,7 @@ # # -!include $(WorkSpace)/build/windows/makefiles/compile.make +!include $(WorkSpace)/make/windows/makefiles/compile.make # Rules for building adlc.exe diff --git a/build/windows/makefiles/compile.make b/make/windows/makefiles/compile.make similarity index 100% rename from build/windows/makefiles/compile.make rename to make/windows/makefiles/compile.make diff --git a/build/windows/makefiles/debug.make b/make/windows/makefiles/debug.make similarity index 88% rename from build/windows/makefiles/debug.make rename to make/windows/makefiles/debug.make index de7924173..7ea4aae94 100644 --- a/build/windows/makefiles/debug.make +++ b/make/windows/makefiles/debug.make @@ -35,7 +35,7 @@ default:: _build_pch_file.obj $(AOUT) checkAndBuildSA CPP_FLAGS=$(CPP_FLAGS) $(DEBUG_OPT_OPTION) -!include $(WorkSpace)/build/windows/makefiles/vm.make +!include $(WorkSpace)/make/windows/makefiles/vm.make !include local.make !include $(GENERATED)/Dependencies @@ -46,10 +46,10 @@ HS_BUILD_ID=$(HS_BUILD_VER)-debug $(Res_Files): FORCE $(AOUT): $(Res_Files) $(Obj_Files) - sh $(WorkSpace)/build/windows/build_vm_def.sh + sh $(WorkSpace)/make/windows/build_vm_def.sh $(LINK) @<< $(LINK_FLAGS) /out:$@ /implib:$*.lib /def:vm.def $(Obj_Files) $(Res_Files) << -!include $(WorkSpace)/build/windows/makefiles/shared.make -!include $(WorkSpace)/build/windows/makefiles/sa.make +!include $(WorkSpace)/make/windows/makefiles/shared.make +!include $(WorkSpace)/make/windows/makefiles/sa.make diff --git a/build/windows/makefiles/defs.make b/make/windows/makefiles/defs.make similarity index 97% rename from build/windows/makefiles/defs.make rename to make/windows/makefiles/defs.make index 1e1ab9fba..19d49f17a 100644 --- a/build/windows/makefiles/defs.make +++ b/make/windows/makefiles/defs.make @@ -26,7 +26,7 @@ # Include the top level defs.make under make directory instead of this one. # This file is included into make/defs.make. # On windows it is only used to construct parameters for -# build/windows/build.make when make/Makefile is used to build VM. +# make/windows/build.make when make/Makefile is used to build VM. SLASH_JAVA ?= J: PATH_SEP = ; @@ -112,7 +112,7 @@ else ABS_OUTPUTDIR := $(subst /,\\,$(shell $(CD) $(OUTPUTDIR);$(PWD))) ABS_BOOTDIR := $(subst /,\\,$(shell $(CD) $(BOOTDIR);$(PWD))) ABS_GAMMADIR := $(subst /,\\,$(shell $(CD) $(GAMMADIR);$(PWD))) - ABS_OS_MAKEFILE := $(subst /,\\,$(shell $(CD) $(HS_BUILD_DIR)/$(OSNAME);$(PWD))/build.make) + ABS_OS_MAKEFILE := $(subst /,\\,$(shell $(CD) $(HS_MAKE_DIR)/$(OSNAME);$(PWD))/build.make) endif # Disable building SA on windows until we are sure diff --git a/build/windows/makefiles/fastdebug.make b/make/windows/makefiles/fastdebug.make similarity index 88% rename from build/windows/makefiles/fastdebug.make rename to make/windows/makefiles/fastdebug.make index dcbacdc94..cb6901bce 100644 --- a/build/windows/makefiles/fastdebug.make +++ b/make/windows/makefiles/fastdebug.make @@ -35,7 +35,7 @@ default:: _build_pch_file.obj $(AOUT) checkAndBuildSA CPP_FLAGS=$(CPP_FLAGS) $(FASTDEBUG_OPT_OPTION) -!include $(WorkSpace)/build/windows/makefiles/vm.make +!include $(WorkSpace)/make/windows/makefiles/vm.make !include local.make !include $(GENERATED)/Dependencies @@ -46,10 +46,10 @@ HS_BUILD_ID=$(HS_BUILD_VER)-fastdebug $(Res_Files): FORCE $(AOUT): $(Res_Files) $(Obj_Files) - sh $(WorkSpace)/build/windows/build_vm_def.sh + sh $(WorkSpace)/make/windows/build_vm_def.sh $(LINK) @<< $(LINK_FLAGS) /out:$@ /implib:$*.lib /def:vm.def $(Obj_Files) $(Res_Files) << -!include $(WorkSpace)/build/windows/makefiles/shared.make -!include $(WorkSpace)/build/windows/makefiles/sa.make +!include $(WorkSpace)/make/windows/makefiles/shared.make +!include $(WorkSpace)/make/windows/makefiles/sa.make diff --git a/build/windows/makefiles/generated.make b/make/windows/makefiles/generated.make similarity index 90% rename from build/windows/makefiles/generated.make rename to make/windows/makefiles/generated.make index 8def59105..7eff90d16 100644 --- a/build/windows/makefiles/generated.make +++ b/make/windows/makefiles/generated.make @@ -23,15 +23,15 @@ # !include ../local.make -!include $(WorkSpace)/build/windows/makefiles/makedeps.make +!include $(WorkSpace)/make/windows/makefiles/makedeps.make !include local.make # Pick up rules for building JVMTI (JSR-163) JvmtiOutDir=jvmtifiles -!include $(WorkSpace)/build/windows/makefiles/jvmti.make +!include $(WorkSpace)/make/windows/makefiles/jvmti.make # Pick up rules for building SA -!include $(WorkSpace)/build/windows/makefiles/sa.make +!include $(WorkSpace)/make/windows/makefiles/sa.make !if ("$(Variant)" == "compiler2") || ("$(Variant)" == "tiered") default:: includeDB.current Dependencies incls/ad_$(Platform_arch_model).cpp incls/dfa_$(Platform_arch_model).cpp $(JvmtiGeneratedFiles) @@ -83,7 +83,7 @@ includeDB.current Dependencies: classes/MakeDeps.class $(IncludeDBs) cat $(IncludeDBs) > includeDB if exist incls rmdir /s /q incls mkdir incls - $(RUN_JAVA) -Djava.class.path=classes MakeDeps WinGammaPlatform$(VcVersion) $(WorkSpace)/build/windows/platform_$(BUILDARCH) includeDB $(MakeDepsOptions) + $(RUN_JAVA) -Djava.class.path=classes MakeDeps WinGammaPlatform$(VcVersion) $(WorkSpace)/make/windows/platform_$(BUILDARCH) includeDB $(MakeDepsOptions) rm -f includeDB.current cp includeDB includeDB.current @@ -94,8 +94,8 @@ classes/MakeDeps.class: $(MakeDepsSources) !if ("$(Variant)" == "compiler2") || ("$(Variant)" == "tiered") -!include $(WorkSpace)/build/windows/makefiles/adlc.make +!include $(WorkSpace)/make/windows/makefiles/adlc.make !endif -!include $(WorkSpace)/build/windows/makefiles/shared.make +!include $(WorkSpace)/make/windows/makefiles/shared.make diff --git a/build/windows/makefiles/jvmti.make b/make/windows/makefiles/jvmti.make similarity index 98% rename from build/windows/makefiles/jvmti.make rename to make/windows/makefiles/jvmti.make index 3bd5ce6e2..74600a11f 100644 --- a/build/windows/makefiles/jvmti.make +++ b/make/windows/makefiles/jvmti.make @@ -27,7 +27,7 @@ # # It knows how to build and run the tools to generate jvmti. -!include $(WorkSpace)/build/windows/makefiles/rules.make +!include $(WorkSpace)/make/windows/makefiles/rules.make # ######################################################################### diff --git a/build/windows/makefiles/makedeps.make b/make/windows/makefiles/makedeps.make similarity index 97% rename from build/windows/makefiles/makedeps.make rename to make/windows/makefiles/makedeps.make index f82f42648..e3164313d 100644 --- a/build/windows/makefiles/makedeps.make +++ b/make/windows/makefiles/makedeps.make @@ -22,7 +22,7 @@ # # -!include $(WorkSpace)/build/windows/makefiles/rules.make +!include $(WorkSpace)/make/windows/makefiles/rules.make # This is used externally by both batch and IDE builds, so can't # reference any of the HOTSPOTWORKSPACE, HOTSPOTBUILDSPACE, @@ -30,7 +30,7 @@ # # NOTE: unfortunately the MakeDepsSources list must be kept # synchronized between this and the Solaris version -# (build/solaris/makefiles/makedeps.make). +# (make/solaris/makefiles/makedeps.make). MakeDepsSources=\ $(WorkSpace)\src\share\tools\MakeDeps\Database.java \ @@ -119,7 +119,7 @@ MakeDepsIDEOptions=\ -additionalFile includeDB_gc_shared \ -additionalFile includeDB_gc_serial \ -additionalGeneratedFile $(HOTSPOTBUILDSPACE)\%f\%b vm.def \ - -prelink "" "Generating vm.def..." "cd $(HOTSPOTBUILDSPACE)\%f\%b $(HOTSPOTMKSHOME)\sh $(HOTSPOTWORKSPACE)\build\windows\build_vm_def.sh" \ + -prelink "" "Generating vm.def..." "cd $(HOTSPOTBUILDSPACE)\%f\%b $(HOTSPOTMKSHOME)\sh $(HOTSPOTWORKSPACE)\make\windows\build_vm_def.sh" \ $(MakeDepsIncludesPRIVATE) # Add in build-specific options diff --git a/build/windows/makefiles/product.make b/make/windows/makefiles/product.make similarity index 89% rename from build/windows/makefiles/product.make rename to make/windows/makefiles/product.make index d6fe73d12..a2887cfce 100644 --- a/build/windows/makefiles/product.make +++ b/make/windows/makefiles/product.make @@ -38,7 +38,7 @@ RELEASE= RC_FLAGS=$(RC_FLAGS) /D "NDEBUG" -!include $(WorkSpace)/build/windows/makefiles/vm.make +!include $(WorkSpace)/make/windows/makefiles/vm.make !include local.make !include $(GENERATED)/Dependencies @@ -56,11 +56,11 @@ $(AOUT): $(Res_Files) $(Obj_Files) << !else $(AOUT): $(Res_Files) $(Obj_Files) - sh $(WorkSpace)/build/windows/build_vm_def.sh + sh $(WorkSpace)/make/windows/build_vm_def.sh $(LINK) @<< $(LINK_FLAGS) /out:$@ /implib:$*.lib /def:vm.def $(Obj_Files) $(Res_Files) << !endif -!include $(WorkSpace)/build/windows/makefiles/shared.make -!include $(WorkSpace)/build/windows/makefiles/sa.make +!include $(WorkSpace)/make/windows/makefiles/shared.make +!include $(WorkSpace)/make/windows/makefiles/sa.make diff --git a/build/windows/makefiles/rules.make b/make/windows/makefiles/rules.make similarity index 100% rename from build/windows/makefiles/rules.make rename to make/windows/makefiles/rules.make diff --git a/build/windows/makefiles/sa.make b/make/windows/makefiles/sa.make similarity index 97% rename from build/windows/makefiles/sa.make rename to make/windows/makefiles/sa.make index 0c649dcaf..216c44fc8 100644 --- a/build/windows/makefiles/sa.make +++ b/make/windows/makefiles/sa.make @@ -33,8 +33,8 @@ checkAndBuildSA:: !else # This first part is used to build sa-jdi.jar -!include $(WorkSpace)/build/windows/makefiles/rules.make -!include $(WorkSpace)/build/sa.files +!include $(WorkSpace)/make/windows/makefiles/rules.make +!include $(WorkSpace)/make/sa.files GENERATED = ..\generated diff --git a/build/windows/makefiles/sanity.make b/make/windows/makefiles/sanity.make similarity index 100% rename from build/windows/makefiles/sanity.make rename to make/windows/makefiles/sanity.make diff --git a/build/windows/makefiles/shared.make b/make/windows/makefiles/shared.make similarity index 93% rename from build/windows/makefiles/shared.make rename to make/windows/makefiles/shared.make index 4e2b04d6f..a5055045e 100644 --- a/build/windows/makefiles/shared.make +++ b/make/windows/makefiles/shared.make @@ -40,7 +40,7 @@ $(SUBDIRS): FORCE @if not exist $@ mkdir $@ @if not exist $@\local.make echo # Empty > $@\local.make @echo nmake $(ACTION) in $(DIR)\$@ - cd $@ && $(MAKE) /NOLOGO /f $(WorkSpace)\build\windows\makefiles\$@.make $(ACTION) DIR=$(DIR)\$@ BUILD_FLAVOR=$(BUILD_FLAVOR) + cd $@ && $(MAKE) /NOLOGO /f $(WorkSpace)\make\windows\makefiles\$@.make $(ACTION) DIR=$(DIR)\$@ BUILD_FLAVOR=$(BUILD_FLAVOR) !endif # Creates the needed directory diff --git a/build/windows/makefiles/top.make b/make/windows/makefiles/top.make similarity index 95% rename from build/windows/makefiles/top.make rename to make/windows/makefiles/top.make index 1ff6e1f4e..679e5692e 100644 --- a/build/windows/makefiles/top.make +++ b/make/windows/makefiles/top.make @@ -30,5 +30,5 @@ SUBDIRS=generated SUBDIRS=generated $(BUILD_FLAVOR) !endif -!include $(WorkSpace)/build/windows/makefiles/shared.make +!include $(WorkSpace)/make/windows/makefiles/shared.make diff --git a/build/windows/makefiles/vm.make b/make/windows/makefiles/vm.make similarity index 100% rename from build/windows/makefiles/vm.make rename to make/windows/makefiles/vm.make diff --git a/build/windows/platform_amd64 b/make/windows/platform_amd64 similarity index 100% rename from build/windows/platform_amd64 rename to make/windows/platform_amd64 diff --git a/build/windows/platform_i486 b/make/windows/platform_i486 similarity index 100% rename from build/windows/platform_i486 rename to make/windows/platform_i486 diff --git a/make/windows/platform_ia64 b/make/windows/platform_ia64 new file mode 100644 index 000000000..ca269b499 --- /dev/null +++ b/make/windows/platform_ia64 @@ -0,0 +1,12 @@ +// Platform file for Itanium Windows platform $Revision: 1.0 $ + +os_family = win32 + +arch = ia64 + +os_arch = win32_ia64 + +compiler = visCPP + +gnu_dis_arch = ia64 + diff --git a/build/windows/projectfiles/common/Makefile b/make/windows/projectfiles/common/Makefile similarity index 95% rename from build/windows/projectfiles/common/Makefile rename to make/windows/projectfiles/common/Makefile index b016cba8b..1b4a5bf73 100644 --- a/build/windows/projectfiles/common/Makefile +++ b/make/windows/projectfiles/common/Makefile @@ -36,13 +36,13 @@ BootStrapDir=$(JAVA_HOME) !endif !endif -!include $(HOTSPOTWORKSPACE)/build/windows/makefiles/makedeps.make +!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/makedeps.make # Pick up rules for building JVMTI (JSR-163) JvmtiOutDir=$(HOTSPOTBUILDSPACE)\jvmtifiles -!include $(HOTSPOTWORKSPACE)/build/windows/makefiles/jvmti.make +!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/jvmti.make -Platform=$(HOTSPOTWORKSPACE)/build/windows/platform_$(BUILDARCH) +Platform=$(HOTSPOTWORKSPACE)/make/windows/platform_$(BUILDARCH) default:: $(AdditionalTargets) $(JvmtiGeneratedFiles) @@ -83,13 +83,13 @@ IncludeDBs = $(IncludeDBs_compiler1) !if "$(Variant)" == "compiler2" IncludeDBs = $(IncludeDBs_compiler2) # Pick up rules for building adlc -!include $(HOTSPOTWORKSPACE)/build/windows/makefiles/adlc.make +!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make !endif !if "$(Variant)" == "tiered" IncludeDBs = $(IncludeDBs_tiered) # Pick up rules for building adlc -!include $(HOTSPOTWORKSPACE)/build/windows/makefiles/adlc.make +!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make !endif !if "$(Variant)" == "core" diff --git a/build/windows/projectfiles/compiler1/Makefile b/make/windows/projectfiles/compiler1/Makefile similarity index 93% rename from build/windows/projectfiles/compiler1/Makefile rename to make/windows/projectfiles/compiler1/Makefile index 1cddb034f..e189845fd 100644 --- a/build/windows/projectfiles/compiler1/Makefile +++ b/make/windows/projectfiles/compiler1/Makefile @@ -25,4 +25,4 @@ Variant=compiler1 !include local.make -!include $(HOTSPOTWORKSPACE)/build/windows/projectfiles/common/Makefile +!include $(HOTSPOTWORKSPACE)/make/windows/projectfiles/common/Makefile diff --git a/build/windows/projectfiles/compiler1/vm.def b/make/windows/projectfiles/compiler1/vm.def similarity index 54% rename from build/windows/projectfiles/compiler1/vm.def rename to make/windows/projectfiles/compiler1/vm.def index 4475c6062..7811a1fc9 100644 --- a/build/windows/projectfiles/compiler1/vm.def +++ b/make/windows/projectfiles/compiler1/vm.def @@ -1,7 +1,7 @@ ; ; This .DEF file is a placeholder for one which is automatically ; generated during the build process. See -; build\windows\build_vm_def.sh and -; build\windows\makefiles\makedeps.make (esp. the "-prelink" +; make\windows\build_vm_def.sh and +; make\windows\makefiles\makedeps.make (esp. the "-prelink" ; options). ; diff --git a/build/windows/projectfiles/compiler1/vm.dsw b/make/windows/projectfiles/compiler1/vm.dsw similarity index 100% rename from build/windows/projectfiles/compiler1/vm.dsw rename to make/windows/projectfiles/compiler1/vm.dsw diff --git a/build/windows/projectfiles/compiler2/ADLCompiler.dsp b/make/windows/projectfiles/compiler2/ADLCompiler.dsp similarity index 100% rename from build/windows/projectfiles/compiler2/ADLCompiler.dsp rename to make/windows/projectfiles/compiler2/ADLCompiler.dsp diff --git a/build/windows/projectfiles/compiler2/ADLCompiler.dsw b/make/windows/projectfiles/compiler2/ADLCompiler.dsw similarity index 100% rename from build/windows/projectfiles/compiler2/ADLCompiler.dsw rename to make/windows/projectfiles/compiler2/ADLCompiler.dsw diff --git a/build/windows/projectfiles/compiler2/Makefile b/make/windows/projectfiles/compiler2/Makefile similarity index 94% rename from build/windows/projectfiles/compiler2/Makefile rename to make/windows/projectfiles/compiler2/Makefile index eca41f04d..567f02030 100644 --- a/build/windows/projectfiles/compiler2/Makefile +++ b/make/windows/projectfiles/compiler2/Makefile @@ -26,4 +26,4 @@ Variant=compiler2 !include local.make AdditionalTargets=incls/ad_$(Platform_arch_model).cpp incls/dfa_$(Platform_arch_model).cpp -!include $(HOTSPOTWORKSPACE)/build/windows/projectfiles/common/Makefile +!include $(HOTSPOTWORKSPACE)/make/windows/projectfiles/common/Makefile diff --git a/build/windows/projectfiles/compiler2/vm.def b/make/windows/projectfiles/compiler2/vm.def similarity index 54% rename from build/windows/projectfiles/compiler2/vm.def rename to make/windows/projectfiles/compiler2/vm.def index 4475c6062..7811a1fc9 100644 --- a/build/windows/projectfiles/compiler2/vm.def +++ b/make/windows/projectfiles/compiler2/vm.def @@ -1,7 +1,7 @@ ; ; This .DEF file is a placeholder for one which is automatically ; generated during the build process. See -; build\windows\build_vm_def.sh and -; build\windows\makefiles\makedeps.make (esp. the "-prelink" +; make\windows\build_vm_def.sh and +; make\windows\makefiles\makedeps.make (esp. the "-prelink" ; options). ; diff --git a/build/windows/projectfiles/compiler2/vm.dsw b/make/windows/projectfiles/compiler2/vm.dsw similarity index 100% rename from build/windows/projectfiles/compiler2/vm.dsw rename to make/windows/projectfiles/compiler2/vm.dsw diff --git a/build/windows/projectfiles/core/Makefile b/make/windows/projectfiles/core/Makefile similarity index 93% rename from build/windows/projectfiles/core/Makefile rename to make/windows/projectfiles/core/Makefile index 243188b20..e42986de4 100644 --- a/build/windows/projectfiles/core/Makefile +++ b/make/windows/projectfiles/core/Makefile @@ -25,4 +25,4 @@ Variant=core !include local.make -!include $(HOTSPOTWORKSPACE)/build/windows/projectfiles/common/Makefile +!include $(HOTSPOTWORKSPACE)/make/windows/projectfiles/common/Makefile diff --git a/build/windows/projectfiles/core/vm.def b/make/windows/projectfiles/core/vm.def similarity index 54% rename from build/windows/projectfiles/core/vm.def rename to make/windows/projectfiles/core/vm.def index 4475c6062..7811a1fc9 100644 --- a/build/windows/projectfiles/core/vm.def +++ b/make/windows/projectfiles/core/vm.def @@ -1,7 +1,7 @@ ; ; This .DEF file is a placeholder for one which is automatically ; generated during the build process. See -; build\windows\build_vm_def.sh and -; build\windows\makefiles\makedeps.make (esp. the "-prelink" +; make\windows\build_vm_def.sh and +; make\windows\makefiles\makedeps.make (esp. the "-prelink" ; options). ; diff --git a/build/windows/projectfiles/core/vm.dsw b/make/windows/projectfiles/core/vm.dsw similarity index 100% rename from build/windows/projectfiles/core/vm.dsw rename to make/windows/projectfiles/core/vm.dsw diff --git a/build/windows/projectfiles/kernel/Makefile b/make/windows/projectfiles/kernel/Makefile similarity index 93% rename from build/windows/projectfiles/kernel/Makefile rename to make/windows/projectfiles/kernel/Makefile index 2ba53d245..0f8508e43 100644 --- a/build/windows/projectfiles/kernel/Makefile +++ b/make/windows/projectfiles/kernel/Makefile @@ -25,4 +25,4 @@ Variant=compiler1 !include local.make -!include $(HOTSPOTWORKSPACE)/build/windows/projectfiles/common/Makefile +!include $(HOTSPOTWORKSPACE)/make/windows/projectfiles/common/Makefile diff --git a/build/windows/projectfiles/kernel/vm.def b/make/windows/projectfiles/kernel/vm.def similarity index 54% rename from build/windows/projectfiles/kernel/vm.def rename to make/windows/projectfiles/kernel/vm.def index 4475c6062..7811a1fc9 100644 --- a/build/windows/projectfiles/kernel/vm.def +++ b/make/windows/projectfiles/kernel/vm.def @@ -1,7 +1,7 @@ ; ; This .DEF file is a placeholder for one which is automatically ; generated during the build process. See -; build\windows\build_vm_def.sh and -; build\windows\makefiles\makedeps.make (esp. the "-prelink" +; make\windows\build_vm_def.sh and +; make\windows\makefiles\makedeps.make (esp. the "-prelink" ; options). ; diff --git a/build/windows/projectfiles/kernel/vm.dsw b/make/windows/projectfiles/kernel/vm.dsw similarity index 100% rename from build/windows/projectfiles/kernel/vm.dsw rename to make/windows/projectfiles/kernel/vm.dsw diff --git a/build/windows/projectfiles/tiered/ADLCompiler.dsp b/make/windows/projectfiles/tiered/ADLCompiler.dsp similarity index 100% rename from build/windows/projectfiles/tiered/ADLCompiler.dsp rename to make/windows/projectfiles/tiered/ADLCompiler.dsp diff --git a/build/windows/projectfiles/tiered/ADLCompiler.dsw b/make/windows/projectfiles/tiered/ADLCompiler.dsw similarity index 100% rename from build/windows/projectfiles/tiered/ADLCompiler.dsw rename to make/windows/projectfiles/tiered/ADLCompiler.dsw diff --git a/build/windows/projectfiles/tiered/Makefile b/make/windows/projectfiles/tiered/Makefile similarity index 94% rename from build/windows/projectfiles/tiered/Makefile rename to make/windows/projectfiles/tiered/Makefile index f92d24910..1aaae5968 100644 --- a/build/windows/projectfiles/tiered/Makefile +++ b/make/windows/projectfiles/tiered/Makefile @@ -26,4 +26,4 @@ Variant=tiered !include local.make AdditionalTargets=incls/ad_$(Platform_arch_model).cpp incls/dfa_$(Platform_arch_model).cpp -!include $(HOTSPOTWORKSPACE)/build/windows/projectfiles/common/Makefile +!include $(HOTSPOTWORKSPACE)/make/windows/projectfiles/common/Makefile diff --git a/make/windows/projectfiles/tiered/vm.def b/make/windows/projectfiles/tiered/vm.def new file mode 100644 index 000000000..7811a1fc9 --- /dev/null +++ b/make/windows/projectfiles/tiered/vm.def @@ -0,0 +1,7 @@ +; +; This .DEF file is a placeholder for one which is automatically +; generated during the build process. See +; make\windows\build_vm_def.sh and +; make\windows\makefiles\makedeps.make (esp. the "-prelink" +; options). +; diff --git a/build/windows/projectfiles/tiered/vm.dsw b/make/windows/projectfiles/tiered/vm.dsw similarity index 100% rename from build/windows/projectfiles/tiered/vm.dsw rename to make/windows/projectfiles/tiered/vm.dsw -- GitLab