Ignore:
Timestamp:
Feb 13, 2007, 8:37:29 AM (17 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • osc_snovis/trunk/obuild/sh/build

    r120 r190  
    4040fi
    4141
     42if [  "${OBUILD_PLATFORM}" = "" ] ; then
     43  obuild_platform=`uname`
     44else
     45  obuild_platform=${OBUILD_PLATFORM}
     46fi
     47
     48if [ "${obuild_platform}" = "" ] ; then
     49  echo "obuild_platform variable not defined."
     50  exit
     51fi
     52
     53if [  "${OBUILD_DIR_BIN}" = "" ] ; then
     54  obuild_dir_bin=${obuild_platform}_obuild
     55else
     56  obuild_dir_bin=${OBUILD_DIR_BIN}
     57fi
     58
     59if [ "${obuild_dir_bin}" = "" ] ; then
     60  echo "obuild_dir_bin variable not defined."
     61  exit
     62fi
     63
     64obuild_pwd=`pwd`
     65obuild_osc_snovis_path=`dirname "${obuild_pwd}"`
     66unset obuild_pwd
     67
     68# Create the bin directory :
     69/bin/mkdir -p "${obuild_osc_snovis_path}/${obuild_dir_bin}"
     70
    4271obuild_pwd_osc_snovis_0=`pwd`
    43 cd ..
    44 cd ..
    45 cd ..
    46 obuild_dir_top=`pwd`
    47 
    48 cd "${obuild_dir_top}/obuild/v1r0/obuild"
     72
     73if [ ! -e "${obuild_osc_snovis_path}/${obuild_dir_bin}/obuild_find" ] ; then
     74  if [ ! -e "${obuild_osc_snovis_path}/obuild/cpp/obuild_find.cpp" ] ; then
     75    echo "Program source obuild_find.cpp not found."
     76    exit
     77  fi
     78  if [ "${obuild_cxx_command}" = "" ] ; then
     79    if [  "${OBUILD_CXX}" != "" ] ; then
     80      obuild_find_compiler=${OBUILD_CXX}
     81    else
     82      obuild_find_compiler=c++
     83    fi
     84  else
     85    obuild_find_compiler=${obuild_cxx_command}
     86  fi
     87  ${obuild_find_compiler} -o "${obuild_osc_snovis_path}/${obuild_dir_bin}/obuild_find" "${obuild_osc_snovis_path}/obuild/cpp/obuild_find.cpp"
     88  unset obuild_find_compiler
     89  if [ ! -e "${obuild_osc_snovis_path}/${obuild_dir_bin}/obuild_find" ] ; then
     90    echo "Program obuild_find not found."
     91    exit
     92  fi
     93fi
     94obuild_find_exe="${obuild_osc_snovis_path}/${obuild_dir_bin}/obuild_find"
     95if [ "${obuild_find_exe}" = "" ] ; then
     96  echo "Variable obuild_find_exe not defined."
     97  exit
     98fi
     99obuild_obuild_path=`"${obuild_find_exe}" obuild 'v1r0'`
     100if [ "${obuild_obuild_path}" = "" ] ; then
     101  echo "Can't find obuild package."
     102  exit
     103fi
     104
     105cd "${obuild_obuild_path}/obuild"
    49106if [ ${obuild_verbose} = yes ] ; then set -x;fi
    50107echo "build obuild/v1r0 ..."
     
    52109obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    53110if [ ${obuild_verbose} = yes ] ; then set +x;fi
    54 cd "${obuild_dir_top}/foreign/v1r0/obuild"
     111if [ "${obuild_find_exe}" = "" ] ; then
     112  echo "Variable obuild_find_exe not defined."
     113  exit
     114fi
     115obuild_foreign_path=`"${obuild_find_exe}" foreign 'v1r0'`
     116if [ "${obuild_foreign_path}" = "" ] ; then
     117  echo "Can't find foreign package."
     118  exit
     119fi
     120
     121cd "${obuild_foreign_path}/obuild"
    55122if [ ${obuild_verbose} = yes ] ; then set -x;fi
    56123echo "build foreign/v1r0 ..."
     
    58125obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    59126if [ ${obuild_verbose} = yes ] ; then set +x;fi
    60 cd "${obuild_dir_top}/zlib/v1r114p3/obuild"
     127if [ "${obuild_find_exe}" = "" ] ; then
     128  echo "Variable obuild_find_exe not defined."
     129  exit
     130fi
     131obuild_zlib_path=`"${obuild_find_exe}" zlib 'v1r114p3'`
     132if [ "${obuild_zlib_path}" = "" ] ; then
     133  echo "Can't find zlib package."
     134  exit
     135fi
     136
     137cd "${obuild_zlib_path}/obuild"
    61138if [ ${obuild_verbose} = yes ] ; then set -x;fi
    62139echo "build zlib/v1r114p3 ..."
     
    64141obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    65142if [ ${obuild_verbose} = yes ] ; then set +x;fi
    66 cd "${obuild_dir_top}/expat/v1r11p6/obuild"
     143if [ "${obuild_find_exe}" = "" ] ; then
     144  echo "Variable obuild_find_exe not defined."
     145  exit
     146fi
     147obuild_expat_path=`"${obuild_find_exe}" expat 'v1r11p6'`
     148if [ "${obuild_expat_path}" = "" ] ; then
     149  echo "Can't find expat package."
     150  exit
     151fi
     152
     153cd "${obuild_expat_path}/obuild"
    67154if [ ${obuild_verbose} = yes ] ; then set -x;fi
    68155echo "build expat/v1r11p6 ..."
     
    70157obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    71158if [ ${obuild_verbose} = yes ] ; then set +x;fi
    72 cd "${obuild_dir_top}/Slash/v1r0p0/obuild"
     159if [ "${obuild_find_exe}" = "" ] ; then
     160  echo "Variable obuild_find_exe not defined."
     161  exit
     162fi
     163obuild_Slash_path=`"${obuild_find_exe}" Slash 'v1r0p0'`
     164if [ "${obuild_Slash_path}" = "" ] ; then
     165  echo "Can't find Slash package."
     166  exit
     167fi
     168
     169cd "${obuild_Slash_path}/obuild"
    73170if [ ${obuild_verbose} = yes ] ; then set -x;fi
    74171echo "build Slash/v1r0p0 ..."
     
    76173obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    77174if [ ${obuild_verbose} = yes ] ; then set +x;fi
    78 cd "${obuild_dir_top}/Lib/v8r0/obuild"
     175if [ "${obuild_find_exe}" = "" ] ; then
     176  echo "Variable obuild_find_exe not defined."
     177  exit
     178fi
     179obuild_Lib_path=`"${obuild_find_exe}" Lib 'v8r0'`
     180if [ "${obuild_Lib_path}" = "" ] ; then
     181  echo "Can't find Lib package."
     182  exit
     183fi
     184
     185cd "${obuild_Lib_path}/obuild"
    79186if [ ${obuild_verbose} = yes ] ; then set -x;fi
    80187echo "build Lib/v8r0 ..."
     
    82189obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    83190if [ ${obuild_verbose} = yes ] ; then set +x;fi
    84 cd "${obuild_dir_top}/HCL/v7r0/obuild"
     191if [ "${obuild_find_exe}" = "" ] ; then
     192  echo "Variable obuild_find_exe not defined."
     193  exit
     194fi
     195obuild_HCL_path=`"${obuild_find_exe}" HCL 'v7r0'`
     196if [ "${obuild_HCL_path}" = "" ] ; then
     197  echo "Can't find HCL package."
     198  exit
     199fi
     200
     201cd "${obuild_HCL_path}/obuild"
    85202if [ ${obuild_verbose} = yes ] ; then set -x;fi
    86203echo "build HCL/v7r0 ..."
     
    88205obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    89206if [ ${obuild_verbose} = yes ] ; then set +x;fi
    90 cd "${obuild_dir_top}/Midnight/v4r0p0/obuild"
     207if [ "${obuild_find_exe}" = "" ] ; then
     208  echo "Variable obuild_find_exe not defined."
     209  exit
     210fi
     211obuild_Midnight_path=`"${obuild_find_exe}" Midnight 'v4r0p0'`
     212if [ "${obuild_Midnight_path}" = "" ] ; then
     213  echo "Can't find Midnight package."
     214  exit
     215fi
     216
     217cd "${obuild_Midnight_path}/obuild"
    91218if [ ${obuild_verbose} = yes ] ; then set -x;fi
    92219echo "build Midnight/v4r0p0 ..."
     
    94221obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    95222if [ ${obuild_verbose} = yes ] ; then set +x;fi
    96 cd "${obuild_dir_top}/Minuit/v1r140p4/obuild"
     223if [ "${obuild_find_exe}" = "" ] ; then
     224  echo "Variable obuild_find_exe not defined."
     225  exit
     226fi
     227obuild_Minuit_path=`"${obuild_find_exe}" Minuit 'v1r140p4'`
     228if [ "${obuild_Minuit_path}" = "" ] ; then
     229  echo "Can't find Minuit package."
     230  exit
     231fi
     232
     233cd "${obuild_Minuit_path}/obuild"
    97234if [ ${obuild_verbose} = yes ] ; then set -x;fi
    98235echo "build Minuit/v1r140p4 ..."
     
    100237obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    101238if [ ${obuild_verbose} = yes ] ; then set +x;fi
    102 cd "${obuild_dir_top}/Rio/v7r1/obuild"
     239if [ "${obuild_find_exe}" = "" ] ; then
     240  echo "Variable obuild_find_exe not defined."
     241  exit
     242fi
     243obuild_Rio_path=`"${obuild_find_exe}" Rio 'v7r1'`
     244if [ "${obuild_Rio_path}" = "" ] ; then
     245  echo "Can't find Rio package."
     246  exit
     247fi
     248
     249cd "${obuild_Rio_path}/obuild"
    103250if [ ${obuild_verbose} = yes ] ; then set -x;fi
    104251echo "build Rio/v7r1 ..."
     
    106253obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    107254if [ ${obuild_verbose} = yes ] ; then set +x;fi
    108 cd "${obuild_dir_top}/HDF5/v1r165p2/obuild"
     255if [ "${obuild_find_exe}" = "" ] ; then
     256  echo "Variable obuild_find_exe not defined."
     257  exit
     258fi
     259obuild_HDF5_path=`"${obuild_find_exe}" HDF5 'v1r165p2'`
     260if [ "${obuild_HDF5_path}" = "" ] ; then
     261  echo "Can't find HDF5 package."
     262  exit
     263fi
     264
     265cd "${obuild_HDF5_path}/obuild"
    109266if [ ${obuild_verbose} = yes ] ; then set -x;fi
    110267echo "build HDF5/v1r165p2 ..."
     
    112269obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    113270if [ ${obuild_verbose} = yes ] ; then set +x;fi
    114 cd "${obuild_dir_top}/BatchLab/v1r0/obuild"
     271if [ "${obuild_find_exe}" = "" ] ; then
     272  echo "Variable obuild_find_exe not defined."
     273  exit
     274fi
     275obuild_BatchLab_path=`"${obuild_find_exe}" BatchLab 'v1r0'`
     276if [ "${obuild_BatchLab_path}" = "" ] ; then
     277  echo "Can't find BatchLab package."
     278  exit
     279fi
     280
     281cd "${obuild_BatchLab_path}/obuild"
    115282if [ ${obuild_verbose} = yes ] ; then set -x;fi
    116283echo "build BatchLab/v1r0 ..."
     
    118285obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    119286if [ ${obuild_verbose} = yes ] ; then set +x;fi
    120 cd "${obuild_dir_top}/UseAIDA/v1r0p2/obuild"
     287if [ "${obuild_find_exe}" = "" ] ; then
     288  echo "Variable obuild_find_exe not defined."
     289  exit
     290fi
     291obuild_UseAIDA_path=`"${obuild_find_exe}" UseAIDA 'v1r0p2'`
     292if [ "${obuild_UseAIDA_path}" = "" ] ; then
     293  echo "Can't find UseAIDA package."
     294  exit
     295fi
     296
     297cd "${obuild_UseAIDA_path}/obuild"
    121298if [ ${obuild_verbose} = yes ] ; then set -x;fi
    122299echo "build UseAIDA/v1r0p2 ..."
     
    124301obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    125302if [ ${obuild_verbose} = yes ] ; then set +x;fi
    126 cd "${obuild_dir_top}/jpeg/v1r62p1/obuild"
     303if [ "${obuild_find_exe}" = "" ] ; then
     304  echo "Variable obuild_find_exe not defined."
     305  exit
     306fi
     307obuild_jpeg_path=`"${obuild_find_exe}" jpeg 'v1r62p1'`
     308if [ "${obuild_jpeg_path}" = "" ] ; then
     309  echo "Can't find jpeg package."
     310  exit
     311fi
     312
     313cd "${obuild_jpeg_path}/obuild"
    127314if [ ${obuild_verbose} = yes ] ; then set -x;fi
    128315echo "build jpeg/v1r62p1 ..."
     
    130317obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    131318if [ ${obuild_verbose} = yes ] ; then set +x;fi
    132 cd "${obuild_dir_top}/dvi2bitmap/v1r0132p1/obuild"
     319if [ "${obuild_find_exe}" = "" ] ; then
     320  echo "Variable obuild_find_exe not defined."
     321  exit
     322fi
     323obuild_dvi2bitmap_path=`"${obuild_find_exe}" dvi2bitmap 'v1r0132p1'`
     324if [ "${obuild_dvi2bitmap_path}" = "" ] ; then
     325  echo "Can't find dvi2bitmap package."
     326  exit
     327fi
     328
     329cd "${obuild_dvi2bitmap_path}/obuild"
    133330if [ ${obuild_verbose} = yes ] ; then set -x;fi
    134331echo "build dvi2bitmap/v1r0132p1 ..."
     
    136333obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    137334if [ ${obuild_verbose} = yes ] ; then set +x;fi
    138 cd "${obuild_dir_top}/freetype2/v1r219p0/obuild"
     335if [ "${obuild_find_exe}" = "" ] ; then
     336  echo "Variable obuild_find_exe not defined."
     337  exit
     338fi
     339obuild_freetype2_path=`"${obuild_find_exe}" freetype2 'v1r219p0'`
     340if [ "${obuild_freetype2_path}" = "" ] ; then
     341  echo "Can't find freetype2 package."
     342  exit
     343fi
     344
     345cd "${obuild_freetype2_path}/obuild"
    139346if [ ${obuild_verbose} = yes ] ; then set -x;fi
    140347echo "build freetype2/v1r219p0 ..."
     
    142349obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    143350if [ ${obuild_verbose} = yes ] ; then set +x;fi
    144 cd "${obuild_dir_top}/CoinGL/v1r244p0/obuild"
     351if [ "${obuild_find_exe}" = "" ] ; then
     352  echo "Variable obuild_find_exe not defined."
     353  exit
     354fi
     355obuild_CoinGL_path=`"${obuild_find_exe}" CoinGL 'v1r244p0'`
     356if [ "${obuild_CoinGL_path}" = "" ] ; then
     357  echo "Can't find CoinGL package."
     358  exit
     359fi
     360
     361cd "${obuild_CoinGL_path}/obuild"
    145362if [ ${obuild_verbose} = yes ] ; then set -x;fi
    146363echo "build CoinGL/v1r244p0 ..."
     
    148365obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    149366if [ ${obuild_verbose} = yes ] ; then set +x;fi
    150 cd "${obuild_dir_top}/CoinXt/v1r122p0/obuild"
     367if [ "${obuild_find_exe}" = "" ] ; then
     368  echo "Variable obuild_find_exe not defined."
     369  exit
     370fi
     371obuild_CoinXt_path=`"${obuild_find_exe}" CoinXt 'v1r122p0'`
     372if [ "${obuild_CoinXt_path}" = "" ] ; then
     373  echo "Can't find CoinXt package."
     374  exit
     375fi
     376
     377cd "${obuild_CoinXt_path}/obuild"
    151378if [ ${obuild_verbose} = yes ] ; then set -x;fi
    152379echo "build CoinXt/v1r122p0 ..."
     
    154381obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    155382if [ ${obuild_verbose} = yes ] ; then set +x;fi
    156 cd "${obuild_dir_top}/CoinWin/v1r50p4/obuild"
     383if [ "${obuild_find_exe}" = "" ] ; then
     384  echo "Variable obuild_find_exe not defined."
     385  exit
     386fi
     387obuild_CoinWin_path=`"${obuild_find_exe}" CoinWin 'v1r50p4'`
     388if [ "${obuild_CoinWin_path}" = "" ] ; then
     389  echo "Can't find CoinWin package."
     390  exit
     391fi
     392
     393cd "${obuild_CoinWin_path}/obuild"
    157394if [ ${obuild_verbose} = yes ] ; then set -x;fi
    158395echo "build CoinWin/v1r50p4 ..."
     
    160397obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    161398if [ ${obuild_verbose} = yes ] ; then set +x;fi
    162 cd "${obuild_dir_top}/CoinQt/v1r130p0/obuild"
     399if [ "${obuild_find_exe}" = "" ] ; then
     400  echo "Variable obuild_find_exe not defined."
     401  exit
     402fi
     403obuild_CoinQt_path=`"${obuild_find_exe}" CoinQt 'v1r130p0'`
     404if [ "${obuild_CoinQt_path}" = "" ] ; then
     405  echo "Can't find CoinQt package."
     406  exit
     407fi
     408
     409cd "${obuild_CoinQt_path}/obuild"
    163410if [ ${obuild_verbose} = yes ] ; then set -x;fi
    164411echo "build CoinQt/v1r130p0 ..."
     
    166413obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    167414if [ ${obuild_verbose} = yes ] ; then set +x;fi
    168 cd "${obuild_dir_top}/CoinPython/v1r0/obuild"
     415if [ "${obuild_find_exe}" = "" ] ; then
     416  echo "Variable obuild_find_exe not defined."
     417  exit
     418fi
     419obuild_CoinPython_path=`"${obuild_find_exe}" CoinPython 'v1r0'`
     420if [ "${obuild_CoinPython_path}" = "" ] ; then
     421  echo "Can't find CoinPython package."
     422  exit
     423fi
     424
     425cd "${obuild_CoinPython_path}/obuild"
    169426if [ ${obuild_verbose} = yes ] ; then set -x;fi
    170427echo "build CoinPython/v1r0 ..."
     
    172429obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    173430if [ ${obuild_verbose} = yes ] ; then set +x;fi
    174 cd "${obuild_dir_top}/HEPVis/v6r6p0/obuild"
     431if [ "${obuild_find_exe}" = "" ] ; then
     432  echo "Variable obuild_find_exe not defined."
     433  exit
     434fi
     435obuild_HEPVis_path=`"${obuild_find_exe}" HEPVis 'v6r6p0'`
     436if [ "${obuild_HEPVis_path}" = "" ] ; then
     437  echo "Can't find HEPVis package."
     438  exit
     439fi
     440
     441cd "${obuild_HEPVis_path}/obuild"
    175442if [ ${obuild_verbose} = yes ] ; then set -x;fi
    176443echo "build HEPVis/v6r6p0 ..."
     
    178445obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    179446if [ ${obuild_verbose} = yes ] ; then set +x;fi
    180 cd "${obuild_dir_top}/KUIP/v1r950303p16/obuild"
     447if [ "${obuild_find_exe}" = "" ] ; then
     448  echo "Variable obuild_find_exe not defined."
     449  exit
     450fi
     451obuild_KUIP_path=`"${obuild_find_exe}" KUIP 'v1r950303p16'`
     452if [ "${obuild_KUIP_path}" = "" ] ; then
     453  echo "Can't find KUIP package."
     454  exit
     455fi
     456
     457cd "${obuild_KUIP_path}/obuild"
    181458if [ ${obuild_verbose} = yes ] ; then set -x;fi
    182459echo "build KUIP/v1r950303p16 ..."
     
    184461obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    185462if [ ${obuild_verbose} = yes ] ; then set +x;fi
    186 cd "${obuild_dir_top}/OnX/v17r0/obuild"
     463if [ "${obuild_find_exe}" = "" ] ; then
     464  echo "Variable obuild_find_exe not defined."
     465  exit
     466fi
     467obuild_OnX_path=`"${obuild_find_exe}" OnX 'v17r0'`
     468if [ "${obuild_OnX_path}" = "" ] ; then
     469  echo "Can't find OnX package."
     470  exit
     471fi
     472
     473cd "${obuild_OnX_path}/obuild"
    187474if [ ${obuild_verbose} = yes ] ; then set -x;fi
    188475echo "build OnX/v17r0 ..."
     
    190477obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    191478if [ ${obuild_verbose} = yes ] ; then set +x;fi
    192 cd "${obuild_dir_top}/OnXLab/v1r0/obuild"
     479if [ "${obuild_find_exe}" = "" ] ; then
     480  echo "Variable obuild_find_exe not defined."
     481  exit
     482fi
     483obuild_OnXLab_path=`"${obuild_find_exe}" OnXLab 'v1r0'`
     484if [ "${obuild_OnXLab_path}" = "" ] ; then
     485  echo "Can't find OnXLab package."
     486  exit
     487fi
     488
     489cd "${obuild_OnXLab_path}/obuild"
    193490if [ ${obuild_verbose} = yes ] ; then set -x;fi
    194491echo "build OnXLab/v1r0 ..."
     
    196493obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    197494if [ ${obuild_verbose} = yes ] ; then set +x;fi
    198 cd "${obuild_dir_top}/VisAIDA/v1r0/obuild"
     495if [ "${obuild_find_exe}" = "" ] ; then
     496  echo "Variable obuild_find_exe not defined."
     497  exit
     498fi
     499obuild_VisAIDA_path=`"${obuild_find_exe}" VisAIDA 'v1r0'`
     500if [ "${obuild_VisAIDA_path}" = "" ] ; then
     501  echo "Can't find VisAIDA package."
     502  exit
     503fi
     504
     505cd "${obuild_VisAIDA_path}/obuild"
    199506if [ ${obuild_verbose} = yes ] ; then set -x;fi
    200507echo "build VisAIDA/v1r0 ..."
     
    202509obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    203510if [ ${obuild_verbose} = yes ] ; then set +x;fi
    204 cd "${obuild_dir_top}/OpenPAW/v3r0/obuild"
     511if [ "${obuild_find_exe}" = "" ] ; then
     512  echo "Variable obuild_find_exe not defined."
     513  exit
     514fi
     515obuild_OpenPAW_path=`"${obuild_find_exe}" OpenPAW 'v3r0'`
     516if [ "${obuild_OpenPAW_path}" = "" ] ; then
     517  echo "Can't find OpenPAW package."
     518  exit
     519fi
     520
     521cd "${obuild_OpenPAW_path}/obuild"
    205522if [ ${obuild_verbose} = yes ] ; then set -x;fi
    206523echo "build OpenPAW/v3r0 ..."
     
    208525obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    209526if [ ${obuild_verbose} = yes ] ; then set +x;fi
    210 cd "${obuild_dir_top}/G4Lab/v8r0p0/obuild"
     527if [ "${obuild_find_exe}" = "" ] ; then
     528  echo "Variable obuild_find_exe not defined."
     529  exit
     530fi
     531obuild_G4Lab_path=`"${obuild_find_exe}" G4Lab 'v8r0p0'`
     532if [ "${obuild_G4Lab_path}" = "" ] ; then
     533  echo "Can't find G4Lab package."
     534  exit
     535fi
     536
     537cd "${obuild_G4Lab_path}/obuild"
    211538if [ ${obuild_verbose} = yes ] ; then set -x;fi
    212539echo "build G4Lab/v8r0p0 ..."
     
    214541obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    215542if [ ${obuild_verbose} = yes ] ; then set +x;fi
    216 cd "${obuild_dir_top}/G4Simple/v2r0p0/obuild"
     543if [ "${obuild_find_exe}" = "" ] ; then
     544  echo "Variable obuild_find_exe not defined."
     545  exit
     546fi
     547obuild_G4Simple_path=`"${obuild_find_exe}" G4Simple 'v2r0p0'`
     548if [ "${obuild_G4Simple_path}" = "" ] ; then
     549  echo "Can't find G4Simple package."
     550  exit
     551fi
     552
     553cd "${obuild_G4Simple_path}/obuild"
    217554if [ ${obuild_verbose} = yes ] ; then set -x;fi
    218555echo "build G4Simple/v2r0p0 ..."
     
    220557obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    221558if [ ${obuild_verbose} = yes ] ; then set +x;fi
    222 cd "${obuild_dir_top}/G4Examples/v1r0/obuild"
     559if [ "${obuild_find_exe}" = "" ] ; then
     560  echo "Variable obuild_find_exe not defined."
     561  exit
     562fi
     563obuild_G4Examples_path=`"${obuild_find_exe}" G4Examples 'v1r0'`
     564if [ "${obuild_G4Examples_path}" = "" ] ; then
     565  echo "Can't find G4Examples package."
     566  exit
     567fi
     568
     569cd "${obuild_G4Examples_path}/obuild"
    223570if [ ${obuild_verbose} = yes ] ; then set -x;fi
    224571echo "build G4Examples/v1r0 ..."
     
    226573obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi
    227574if [ ${obuild_verbose} = yes ] ; then set +x;fi
    228 cd "${obuild_dir_top}/snovis/v1r1/obuild"
     575if [ "${obuild_find_exe}" = "" ] ; then
     576  echo "Variable obuild_find_exe not defined."
     577  exit
     578fi
     579obuild_snovis_path=`"${obuild_find_exe}" snovis 'v1r1'`
     580if [ "${obuild_snovis_path}" = "" ] ; then
     581  echo "Can't find snovis package."
     582  exit
     583fi
     584
     585cd "${obuild_snovis_path}/obuild"
    229586if [ ${obuild_verbose} = yes ] ; then set -x;fi
    230587echo "build snovis/v1r1 ..."
Note: See TracChangeset for help on using the changeset viewer.