< prev index next >

jdk/test/jprt.config

Print this page




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




  65 if [ "${slashjava}" = "" ] ; then
  66   slashjava=/java
  67 fi
  68 
  69 # Check input
  70 dirMustExist "${slashjava}"  ALT_SLASH_JAVA
  71 
  72 # Uses 'uname -s', but only expect SunOS or Linux, assume Windows otherwise.
  73 osname=`uname -s`
  74 if [ "${osname}" = SunOS ] ; then
  75    
  76     # SOLARIS: Sparc or X86
  77     osarch=`uname -p`
  78     if [ "${osarch}" = sparc ] ; then
  79         solaris_arch=sparc
  80     else
  81         solaris_arch=i386
  82     fi
  83 
  84     # Add basic solaris system paths
  85     path4sdk=/usr/bin:/usr/gnu/bin
  86 
  87     # Find GNU make
  88     make=/usr/bin/gmake
  89     if [ ! -f ${make} ] ; then


  90         make=${slashjava}/devtools/${solaris_arch}/bin/gnumake
  91     fi

  92     fileMustExist "${make}" make
  93 
  94     # File creation mask
  95     umask 002
  96 
  97 elif [ "${osname}" = Linux ] ; then
  98    
  99     # Add basic paths
 100     path4sdk=/usr/bin:/bin:/usr/sbin:/sbin
 101 
 102     # Find GNU make
 103     make=/usr/bin/make
 104     fileMustExist "${make}" make
 105 
 106     umask 002
 107 
 108 else
 109 
 110     # Windows: Differs on CYGWIN vs. MKS.
 111    


< prev index next >