Ignore:
Timestamp:
Feb 13, 2007, 5:46:35 AM (17 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • build/snova/trunk/obuild/setup.sh

    r144 r184  
    128128fi
    129129unset obuild_platform_result
     130if [ ! -e "${obuild_snova_path}/${obuild_dir_bin}/obuild_find" ] ; then
     131  if [ ! -e "${obuild_snova_path}/obuild/cpp/obuild_find.cpp" ] ; then
     132    echo "Program source obuild_find.cpp not found."
     133    return
     134  fi
     135  if [ "${obuild_cxx_command}" = "" ] ; then
     136    if [  "${OBUILD_CXX}" != "" ] ; then
     137      obuild_find_compiler=${OBUILD_CXX}
     138    else
     139      obuild_find_compiler=c++
     140    fi
     141  else
     142    obuild_find_compiler=${obuild_cxx_command}
     143  fi
     144  ${obuild_find_compiler} -o "${obuild_snova_path}/${obuild_dir_bin}/obuild_find" "${obuild_snova_path}/obuild/cpp/obuild_find.cpp"
     145  unset obuild_find_compiler
     146  if [ ! -e "${obuild_snova_path}/${obuild_dir_bin}/obuild_find" ] ; then
     147    echo "Program obuild_find not found."
     148    return
     149  fi
     150fi
     151obuild_find_exe="${obuild_snova_path}/${obuild_dir_bin}/obuild_find"
     152if [ "${obuild_find_exe}" = "" ] ; then
     153  echo "Variable obuild_find_exe not defined."
     154  return
     155fi
     156obuild_bhep_path=`"${obuild_find_exe}" bhep 'v1r4p2'`
     157if [ "${obuild_bhep_path}" = "" ] ; then
     158  echo "Can't find bhep package."
     159  return
     160fi
     161
     162# Execute setup of used packages :
     163if [ ! -e "${obuild_bhep_path}/obuild/setup.sh" ] ; then
     164  echo "setup.sh not found for package bhep."
     165  return
     166fi
     167. "${obuild_bhep_path}/obuild/setup.sh"
     168
    130169# Set environment variables of this package :
    131170
Note: See TracChangeset for help on using the changeset viewer.