< prev index next >

hotspot/test/jprt.config

Print this page




  69 if [ "${slashjava}" = "" ] ; then
  70   slashjava=/java
  71 fi
  72 
  73 # Check input
  74 dirMustExist "${slashjava}"  ALT_SLASH_JAVA
  75 
  76 # Uses 'uname -s', but only expect SunOS or Linux, assume Windows otherwise.
  77 osname=`uname -s`
  78 case "${osname}" in
  79   SunOS )
  80     # SOLARIS: Sparc or X86
  81     osarch=`uname -p`
  82     if [ "${osarch}" = sparc ] ; then
  83         solaris_arch=sparc
  84     else
  85         solaris_arch=i386
  86     fi
  87 
  88     # Add basic solaris system paths
  89     path4sdk=/usr/ccs/bin:/usr/ccs/lib:/usr/bin:/bin:/usr/sfw/bin
  90 
  91     # Find GNU make
  92     make=/usr/sfw/bin/gmake
  93     if [ ! -f ${make} ] ; then
  94         make=/opt/sfw/bin/gmake
  95         if [ ! -f ${make} ] ; then
  96             make=${slashjava}/devtools/${solaris_arch}/bin/gnumake
  97         fi 
  98     fi
  99     fileMustExist "${make}" make
 100 
 101     # File creation mask
 102     umask 002
 103     ;;
 104 
 105   Linux | Darwin )
 106     # Add basic paths
 107     path4sdk=/usr/bin:/bin:/usr/sbin:/sbin
 108 
 109     # Find GNU make
 110     make=/usr/bin/make
 111     fileMustExist "${make}" make
 112 
 113     umask 002
 114     ;;




  69 if [ "${slashjava}" = "" ] ; then
  70   slashjava=/java
  71 fi
  72 
  73 # Check input
  74 dirMustExist "${slashjava}"  ALT_SLASH_JAVA
  75 
  76 # Uses 'uname -s', but only expect SunOS or Linux, assume Windows otherwise.
  77 osname=`uname -s`
  78 case "${osname}" in
  79   SunOS )
  80     # SOLARIS: Sparc or X86
  81     osarch=`uname -p`
  82     if [ "${osarch}" = sparc ] ; then
  83         solaris_arch=sparc
  84     else
  85         solaris_arch=i386
  86     fi
  87 
  88     # Add basic solaris system paths
  89     path4sdk=/usr/bin
  90 
  91     # Find GNU make
  92     make=/usr/bin/gmake
  93     if [ ! -f ${make} ] ; then
  94         make=/usr/gnu/bin/make
  95         if [ ! -f ${make} ] ; then
  96             make=${slashjava}/devtools/${solaris_arch}/bin/gnumake
  97         fi 
  98     fi
  99     fileMustExist "${make}" make
 100 
 101     # File creation mask
 102     umask 002
 103     ;;
 104 
 105   Linux | Darwin )
 106     # Add basic paths
 107     path4sdk=/usr/bin:/bin:/usr/sbin:/sbin
 108 
 109     # Find GNU make
 110     make=/usr/bin/make
 111     fileMustExist "${make}" make
 112 
 113     umask 002
 114     ;;


< prev index next >