< prev index next >

make/autoconf/platform.m4

Print this page

544 
545   # This is identical with OPENJDK_*, but define anyway for consistency.
546   HOTSPOT_$1_CPU_ARCH=${OPENJDK_$1_CPU_ARCH}
547   AC_SUBST(HOTSPOT_$1_CPU_ARCH)
548 
549   # Setup HOTSPOT_$1_CPU_DEFINE
550   if test "x$OPENJDK_$1_CPU" = xx86; then
551     HOTSPOT_$1_CPU_DEFINE=IA32
552   elif test "x$OPENJDK_$1_CPU" = xx86_64; then
553     HOTSPOT_$1_CPU_DEFINE=AMD64
554   elif test "x$OPENJDK_$1_CPU" = xx32; then
555     HOTSPOT_$1_CPU_DEFINE=X32
556   elif test "x$OPENJDK_$1_CPU" = xsparcv9; then
557     HOTSPOT_$1_CPU_DEFINE=SPARC
558   elif test "x$OPENJDK_$1_CPU" = xaarch64; then
559     HOTSPOT_$1_CPU_DEFINE=AARCH64
560   elif test "x$OPENJDK_$1_CPU" = xppc64; then
561     HOTSPOT_$1_CPU_DEFINE=PPC64
562   elif test "x$OPENJDK_$1_CPU" = xppc64le; then
563     HOTSPOT_$1_CPU_DEFINE=PPC64


564 
565   # The cpu defines below are for zero, we don't support them directly.
566   elif test "x$OPENJDK_$1_CPU" = xsparc; then
567     HOTSPOT_$1_CPU_DEFINE=SPARC
568   elif test "x$OPENJDK_$1_CPU" = xppc; then
569     HOTSPOT_$1_CPU_DEFINE=PPC32
570   elif test "x$OPENJDK_$1_CPU" = xs390; then
571     HOTSPOT_$1_CPU_DEFINE=S390
572   elif test "x$OPENJDK_$1_CPU" = xs390x; then
573     HOTSPOT_$1_CPU_DEFINE=S390
574   elif test "x$OPENJDK_$1_CPU" = xriscv64; then
575     HOTSPOT_$1_CPU_DEFINE=RISCV
576   elif test "x$OPENJDK_$1_CPU" != x; then
577     HOTSPOT_$1_CPU_DEFINE=$(echo $OPENJDK_$1_CPU | tr a-z A-Z)
578   fi
579   AC_SUBST(HOTSPOT_$1_CPU_DEFINE)
580 
581   HOTSPOT_$1_LIBC=$OPENJDK_$1_LIBC
582   AC_SUBST(HOTSPOT_$1_LIBC)
583 
584   # For historical reasons, the OS include directories have odd names.
585   OPENJDK_$1_OS_INCLUDE_SUBDIR="$OPENJDK_TARGET_OS"
586   if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
587     OPENJDK_$1_OS_INCLUDE_SUBDIR="win32"
588   elif test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
589     OPENJDK_$1_OS_INCLUDE_SUBDIR="darwin"
590   fi
591   AC_SUBST(OPENJDK_$1_OS_INCLUDE_SUBDIR)
592 ])
593 
594 AC_DEFUN([PLATFORM_SET_RELEASE_FILE_OS_VALUES],
595 [

544 
545   # This is identical with OPENJDK_*, but define anyway for consistency.
546   HOTSPOT_$1_CPU_ARCH=${OPENJDK_$1_CPU_ARCH}
547   AC_SUBST(HOTSPOT_$1_CPU_ARCH)
548 
549   # Setup HOTSPOT_$1_CPU_DEFINE
550   if test "x$OPENJDK_$1_CPU" = xx86; then
551     HOTSPOT_$1_CPU_DEFINE=IA32
552   elif test "x$OPENJDK_$1_CPU" = xx86_64; then
553     HOTSPOT_$1_CPU_DEFINE=AMD64
554   elif test "x$OPENJDK_$1_CPU" = xx32; then
555     HOTSPOT_$1_CPU_DEFINE=X32
556   elif test "x$OPENJDK_$1_CPU" = xsparcv9; then
557     HOTSPOT_$1_CPU_DEFINE=SPARC
558   elif test "x$OPENJDK_$1_CPU" = xaarch64; then
559     HOTSPOT_$1_CPU_DEFINE=AARCH64
560   elif test "x$OPENJDK_$1_CPU" = xppc64; then
561     HOTSPOT_$1_CPU_DEFINE=PPC64
562   elif test "x$OPENJDK_$1_CPU" = xppc64le; then
563     HOTSPOT_$1_CPU_DEFINE=PPC64
564   elif test "x$OPENJDK_$1_CPU" = xriscv64; then
565     HOTSPOT_$1_CPU_DEFINE=RISCV64
566 
567   # The cpu defines below are for zero, we don't support them directly.
568   elif test "x$OPENJDK_$1_CPU" = xsparc; then
569     HOTSPOT_$1_CPU_DEFINE=SPARC
570   elif test "x$OPENJDK_$1_CPU" = xppc; then
571     HOTSPOT_$1_CPU_DEFINE=PPC32
572   elif test "x$OPENJDK_$1_CPU" = xs390; then
573     HOTSPOT_$1_CPU_DEFINE=S390
574   elif test "x$OPENJDK_$1_CPU" = xs390x; then
575     HOTSPOT_$1_CPU_DEFINE=S390


576   elif test "x$OPENJDK_$1_CPU" != x; then
577     HOTSPOT_$1_CPU_DEFINE=$(echo $OPENJDK_$1_CPU | tr a-z A-Z)
578   fi
579   AC_SUBST(HOTSPOT_$1_CPU_DEFINE)
580 
581   HOTSPOT_$1_LIBC=$OPENJDK_$1_LIBC
582   AC_SUBST(HOTSPOT_$1_LIBC)
583 
584   # For historical reasons, the OS include directories have odd names.
585   OPENJDK_$1_OS_INCLUDE_SUBDIR="$OPENJDK_TARGET_OS"
586   if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
587     OPENJDK_$1_OS_INCLUDE_SUBDIR="win32"
588   elif test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
589     OPENJDK_$1_OS_INCLUDE_SUBDIR="darwin"
590   fi
591   AC_SUBST(OPENJDK_$1_OS_INCLUDE_SUBDIR)
592 ])
593 
594 AC_DEFUN([PLATFORM_SET_RELEASE_FILE_OS_VALUES],
595 [
< prev index next >