Ignore:
Timestamp:
Feb 13, 2007, 6:02:55 AM (17 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

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

    r185 r186  
    191191set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`
    192192if ( ${obuild_platform_result} == yes ) then
     193if ( "${obuild_platform_exe}" == "" ) then
     194  echo "Variable obuild_platform_exe not defined."
     195  exit
     196endif
     197set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX`
     198if ( ${obuild_platform_result} == yes ) then
     199  if (  $?DYLD_LIBRARY_PATH ) then
     200    setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${CLHEP_home}/lib"
     201  else
     202    setenv DYLD_LIBRARY_PATH "${CLHEP_home}/lib"
     203  endif
     204endif
     205unset obuild_platform_result
     206else
     207if ( "${obuild_platform_exe}" == "" ) then
     208  echo "Variable obuild_platform_exe not defined."
     209  exit
     210endif
     211set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX`
     212if ( ${obuild_platform_result} == yes ) then
     213  if (  $?LD_LIBRARY_PATH ) then
     214    setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${CLHEP_home}/lib"
     215  else
     216    setenv LD_LIBRARY_PATH "${CLHEP_home}/lib"
     217  endif
     218endif
     219unset obuild_platform_result
     220endif
     221unset obuild_platform_result
     222
     223if ( "${obuild_platform_exe}" == "" ) then
     224  echo "Variable obuild_platform_exe not defined."
     225  exit
     226endif
     227set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`
     228if ( ${obuild_platform_result} == yes ) then
     229if ( "${obuild_platform_exe}" == "" ) then
     230  echo "Variable obuild_platform_exe not defined."
     231  exit
     232endif
     233set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX`
     234if ( ${obuild_platform_result} == yes ) then
     235  if (  $?DYLD_LIBRARY_PATH ) then
     236    setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${Geant4_home}/lib"
     237  else
     238    setenv DYLD_LIBRARY_PATH "${Geant4_home}/lib"
     239  endif
     240endif
     241unset obuild_platform_result
     242else
     243if ( "${obuild_platform_exe}" == "" ) then
     244  echo "Variable obuild_platform_exe not defined."
     245  exit
     246endif
     247set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX`
     248if ( ${obuild_platform_result} == yes ) then
     249  if (  $?LD_LIBRARY_PATH ) then
     250    setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${Geant4_home}/lib"
     251  else
     252    setenv LD_LIBRARY_PATH "${Geant4_home}/lib"
     253  endif
     254endif
     255unset obuild_platform_result
     256endif
     257unset obuild_platform_result
     258
     259if ( "${obuild_platform_exe}" == "" ) then
     260  echo "Variable obuild_platform_exe not defined."
     261  exit
     262endif
     263set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`
     264if ( ${obuild_platform_result} == yes ) then
    193265  if (  $?DYLD_LIBRARY_PATH ) then
    194266    setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${obuild_snova_path}/${obuild_dir_bin}"
Note: See TracChangeset for help on using the changeset viewer.