Ignore:
Timestamp:
Mar 1, 2007, 11:12:01 AM (17 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • snovis/trunk/obuild/DOS/build_lib_G4LabUIOnX.bat

    r246 r276  
    7474
    7575IF "%OBUILD_DIR_BIN%" == "" (
    76   SET obuild_dir_bin=%obuild_platform%_obuild
     76  SET obuild_dir_bin=bin_obuild
    7777) ELSE (
    7878  SET obuild_dir_bin=%OBUILD_DIR_BIN%
     
    9595cd "%obuild_snovis_path%\%obuild_dir_bin%"
    9696IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    97 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
     97FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j
     98cd "%obuild_pwd_snovis_0%"
     99SET obuild_pwd_snovis_0=
     100IF NOT %obuild_platform_result% == yes GOTO end_if_platform_0
     101SET obuild_cxx_command=cl.exe
     102:end_if_platform_0
     103SET obuild_platform_result=
     104IF "%obuild_cxx_command%" == ""  ECHO Variable obuild_cxx_command not defined.  && GOTO obuild_return
     105
     106FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
     107cd "%obuild_snovis_path%\%obuild_dir_bin%"
     108IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
     109FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j
    98110cd "%obuild_pwd_snovis_0%"
    99111SET obuild_pwd_snovis_0=
    100112IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1
    101 SET CLHEP_home=/usr/local/CLHEP/2.0.3.1
     113SET obuild_cxx_optimize=/O2
    102114:end_if_platform_1
    103115SET obuild_platform_result=
    104 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    105 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    106 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    107 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
     116
     117FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
     118cd "%obuild_snovis_path%\%obuild_dir_bin%"
     119IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
     120FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j
     121cd "%obuild_pwd_snovis_0%"
     122SET obuild_pwd_snovis_0=
     123IF NOT %obuild_platform_result% == yes GOTO end_if_platform_2
     124SET obuild_cxx_debug=/ZI /Od
     125:end_if_platform_2
     126SET obuild_platform_result=
     127
     128FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
     129cd "%obuild_snovis_path%\%obuild_dir_bin%"
     130IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
     131FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j
    108132cd "%obuild_pwd_snovis_0%"
    109133SET obuild_pwd_snovis_0=
    110134IF NOT %obuild_platform_result% == yes GOTO end_if_platform_3
    111 SET Geant4_home=/usr/local/geant4/8.2
     135SET obuild_cxx_options=/nologo /DWIN32 /MD /GX /GR /W3
    112136:end_if_platform_3
    113137SET obuild_platform_result=
    114 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    115 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    116 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    117 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
    118 cd "%obuild_pwd_snovis_0%"
    119 SET obuild_pwd_snovis_0=
    120 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_5
    121 SET HDF5_home=/usr/local/HDF5/1.6.5
    122 :end_if_platform_5
    123 SET obuild_platform_result=
    124 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    125 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    126 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    127 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
    128 cd "%obuild_pwd_snovis_0%"
    129 SET obuild_pwd_snovis_0=
    130 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_7
    131 SET OSC_home=/usr/local/OpenScientist/v16r0
    132 :end_if_platform_7
    133 SET obuild_platform_result=
    134 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    135 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    136 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    137 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j
    138 cd "%obuild_pwd_snovis_0%"
    139 SET obuild_pwd_snovis_0=
    140 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_8
    141 SET obuild_cxx_command=c++
    142 :end_if_platform_8
    143 SET obuild_platform_result=
    144 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    145 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    146 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    147 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Linux`) DO SET obuild_platform_result=%%j
    148 cd "%obuild_pwd_snovis_0%"
    149 SET obuild_pwd_snovis_0=
    150 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_9
    151 SET obuild_cxx_command=c++
    152 :end_if_platform_9
    153 SET obuild_platform_result=
    154 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    155 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    156 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    157 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j
    158 cd "%obuild_pwd_snovis_0%"
    159 SET obuild_pwd_snovis_0=
    160 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_10
    161 SET obuild_cxx_command=cxx
    162 :end_if_platform_10
    163 SET obuild_platform_result=
    164 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    165 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    166 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    167 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j
    168 cd "%obuild_pwd_snovis_0%"
    169 SET obuild_pwd_snovis_0=
    170 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_11
    171 SET obuild_cxx_command=cl.exe
    172 :end_if_platform_11
    173 SET obuild_platform_result=
    174 IF "%obuild_cxx_command%" == ""  ECHO Variable obuild_cxx_command not defined.  && GOTO obuild_return
    175 
    176 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    177 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    178 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    179 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j
    180 cd "%obuild_pwd_snovis_0%"
    181 SET obuild_pwd_snovis_0=
    182 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_12
    183 SET obuild_cxx_optimize=-O
    184 :end_if_platform_12
    185 SET obuild_platform_result=
    186 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    187 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    188 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    189 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Linux`) DO SET obuild_platform_result=%%j
    190 cd "%obuild_pwd_snovis_0%"
    191 SET obuild_pwd_snovis_0=
    192 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_13
    193 SET obuild_cxx_optimize=-O
    194 :end_if_platform_13
    195 SET obuild_platform_result=
    196 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    197 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    198 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    199 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j
    200 cd "%obuild_pwd_snovis_0%"
    201 SET obuild_pwd_snovis_0=
    202 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_14
    203 SET obuild_cxx_optimize=-O
    204 :end_if_platform_14
    205 SET obuild_platform_result=
    206 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    207 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    208 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    209 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j
    210 cd "%obuild_pwd_snovis_0%"
    211 SET obuild_pwd_snovis_0=
    212 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_15
    213 SET obuild_cxx_optimize=/O2
    214 :end_if_platform_15
    215 SET obuild_platform_result=
    216 
    217 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    218 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    219 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    220 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j
    221 cd "%obuild_pwd_snovis_0%"
    222 SET obuild_pwd_snovis_0=
    223 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_16
    224 SET obuild_cxx_debug=-g
    225 :end_if_platform_16
    226 SET obuild_platform_result=
    227 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    228 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    229 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    230 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Linux`) DO SET obuild_platform_result=%%j
    231 cd "%obuild_pwd_snovis_0%"
    232 SET obuild_pwd_snovis_0=
    233 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_17
    234 SET obuild_cxx_debug=-g
    235 :end_if_platform_17
    236 SET obuild_platform_result=
    237 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    238 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    239 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    240 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j
    241 cd "%obuild_pwd_snovis_0%"
    242 SET obuild_pwd_snovis_0=
    243 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_18
    244 SET obuild_cxx_debug=-g
    245 :end_if_platform_18
    246 SET obuild_platform_result=
    247 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    248 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    249 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    250 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j
    251 cd "%obuild_pwd_snovis_0%"
    252 SET obuild_pwd_snovis_0=
    253 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_19
    254 SET obuild_cxx_debug=/ZI /Od
    255 :end_if_platform_19
    256 SET obuild_platform_result=
    257 
    258 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    259 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    260 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    261 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Linux`) DO SET obuild_platform_result=%%j
    262 cd "%obuild_pwd_snovis_0%"
    263 SET obuild_pwd_snovis_0=
    264 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_20
    265 SET obuild_cxx_options=-fPIC
    266 :end_if_platform_20
    267 SET obuild_platform_result=
    268 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    269 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    270 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    271 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j
    272 cd "%obuild_pwd_snovis_0%"
    273 SET obuild_pwd_snovis_0=
    274 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_21
    275 SET obuild_cxx_options=/nologo /DWIN32 /MD /GX /GR /W3
    276 :end_if_platform_21
    277 SET obuild_platform_result=
    278 
    279 IF NOT %obuild_debug% == yes GOTO else_if_db_build_lib_G4LabUIOnX_sh_22
     138
     139IF NOT %obuild_debug% == yes GOTO else_if_db_build_lib_G4LabUIOnX_sh_4
    280140  SET obuild_cxx_debug_local=%obuild_cxx_debug%
    281   GOTO end_if_db_build_lib_G4LabUIOnX_sh_22
    282 :else_if_db_build_lib_G4LabUIOnX_sh_22
     141  GOTO end_if_db_build_lib_G4LabUIOnX_sh_4
     142:else_if_db_build_lib_G4LabUIOnX_sh_4
    283143  SET obuild_cxx_debug_local=
    284 :end_if_db_build_lib_G4LabUIOnX_sh_22
    285 
    286 IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_lib_G4LabUIOnX_sh_23
     144:end_if_db_build_lib_G4LabUIOnX_sh_4
     145
     146IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_lib_G4LabUIOnX_sh_5
    287147  SET obuild_cxx_optimize_local=%obuild_cxx_optimize%
    288   GOTO end_if_opt_build_lib_G4LabUIOnX_sh_23
    289 :else_if_opt_build_lib_G4LabUIOnX_sh_23
     148  GOTO end_if_opt_build_lib_G4LabUIOnX_sh_5
     149:else_if_opt_build_lib_G4LabUIOnX_sh_5
    290150  SET obuild_cxx_optimize_local=
    291 :end_if_opt_build_lib_G4LabUIOnX_sh_23
     151:end_if_opt_build_lib_G4LabUIOnX_sh_5
    292152
    293153
    294154
    295155SET obuild_cxx_includes=/I"%obuild_snovis_path%\source"
    296 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    297 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    298 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    299 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
    300 cd "%obuild_pwd_snovis_0%"
    301 SET obuild_pwd_snovis_0=
    302 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_25
    303 SET obuild_cxx_includes=%obuild_cxx_includes% -I${CLHEP_home}/include
    304 :end_if_platform_25
    305 SET obuild_platform_result=
    306 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    307 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    308 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    309 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
    310 cd "%obuild_pwd_snovis_0%"
    311 SET obuild_pwd_snovis_0=
    312 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_26
    313 SET obuild_cxx_includes=%obuild_cxx_includes% -I${Geant4_home}/include
    314 :end_if_platform_26
    315 SET obuild_platform_result=
    316 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    317 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    318 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    319 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
    320 cd "%obuild_pwd_snovis_0%"
    321 SET obuild_pwd_snovis_0=
    322 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_27
    323 SET obuild_cxx_includes=%obuild_cxx_includes% -I${OSC_home}/Resources/Slash -I${OSC_home}/Resources/expat/include -I${OSC_home}/Resources/Lib/include -I${OSC_home}/Resources/OnX/include
    324 :end_if_platform_27
    325 SET obuild_platform_result=
    326 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    327 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    328 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    329 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
    330 cd "%obuild_pwd_snovis_0%"
    331 SET obuild_pwd_snovis_0=
    332 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_28
    333 SET obuild_cxx_includes=%obuild_cxx_includes% -I${OSC_home}/Resources/BatchLab -I${OSC_home}/Resources/OnXLab
    334 :end_if_platform_28
    335 SET obuild_platform_result=
    336156
    337157IF EXIST "%obuild_snovis_path%\%obuild_dir_bin%\lib_G4LabUIOnX" RMDIR /S /Q "%obuild_snovis_path%\%obuild_dir_bin%\lib_G4LabUIOnX"
     
    350170cd "%obuild_snovis_path%\%obuild_dir_bin%"
    351171IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    352 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j
    353 cd "%obuild_pwd_snovis_0%"
    354 SET obuild_pwd_snovis_0=
    355 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_30
    356 SET obuild_cxx_linker_command=c++
    357 :end_if_platform_30
    358 SET obuild_platform_result=
    359 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    360 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    361 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    362 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Linux`) DO SET obuild_platform_result=%%j
    363 cd "%obuild_pwd_snovis_0%"
    364 SET obuild_pwd_snovis_0=
    365 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_31
    366 SET obuild_cxx_linker_command=c++
    367 :end_if_platform_31
    368 SET obuild_platform_result=
    369 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    370 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    371 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    372 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j
    373 cd "%obuild_pwd_snovis_0%"
    374 SET obuild_pwd_snovis_0=
    375 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_32
    376 SET obuild_cxx_linker_command=cxx
    377 :end_if_platform_32
    378 SET obuild_platform_result=
    379 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    380 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    381 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    382 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j
    383 cd "%obuild_pwd_snovis_0%"
    384 SET obuild_pwd_snovis_0=
    385 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_33
     172FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j
     173cd "%obuild_pwd_snovis_0%"
     174SET obuild_pwd_snovis_0=
     175IF NOT %obuild_platform_result% == yes GOTO end_if_platform_8
    386176SET obuild_cxx_linker_command=link.exe
    387 :end_if_platform_33
     177:end_if_platform_8
    388178SET obuild_platform_result=
    389179IF "%obuild_cxx_linker_command%" == ""  ECHO Variable obuild_cxx_linker_command not defined.  && GOTO obuild_return
     
    392182cd "%obuild_snovis_path%\%obuild_dir_bin%"
    393183IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    394 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j
    395 cd "%obuild_pwd_snovis_0%"
    396 SET obuild_pwd_snovis_0=
    397 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_34
    398 SET obuild_cxx_linker_debug=-g
    399 :end_if_platform_34
    400 SET obuild_platform_result=
    401 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    402 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    403 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    404 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Linux`) DO SET obuild_platform_result=%%j
    405 cd "%obuild_pwd_snovis_0%"
    406 SET obuild_pwd_snovis_0=
    407 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_35
    408 SET obuild_cxx_linker_debug=-g
    409 :end_if_platform_35
    410 SET obuild_platform_result=
    411 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    412 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    413 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    414 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j
    415 cd "%obuild_pwd_snovis_0%"
    416 SET obuild_pwd_snovis_0=
    417 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_36
    418 SET obuild_cxx_linker_debug=-g
    419 :end_if_platform_36
    420 SET obuild_platform_result=
    421 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    422 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    423 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    424 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j
    425 cd "%obuild_pwd_snovis_0%"
    426 SET obuild_pwd_snovis_0=
    427 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_37
     184FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j
     185cd "%obuild_pwd_snovis_0%"
     186SET obuild_pwd_snovis_0=
     187IF NOT %obuild_platform_result% == yes GOTO end_if_platform_9
    428188SET obuild_cxx_linker_debug=/DEBUG
    429 :end_if_platform_37
    430 SET obuild_platform_result=
    431 
    432 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    433 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    434 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    435 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j
    436 cd "%obuild_pwd_snovis_0%"
    437 SET obuild_pwd_snovis_0=
    438 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_38
     189:end_if_platform_9
     190SET obuild_platform_result=
     191
     192FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
     193cd "%obuild_snovis_path%\%obuild_dir_bin%"
     194IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
     195FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j
     196cd "%obuild_pwd_snovis_0%"
     197SET obuild_pwd_snovis_0=
     198IF NOT %obuild_platform_result% == yes GOTO end_if_platform_10
    439199SET obuild_cxx_linker_options=/nologo
    440 :end_if_platform_38
    441 SET obuild_platform_result=
    442 
    443 IF NOT %obuild_debug% == yes GOTO else_if_db_build_lib_G4LabUIOnX_sh_39
     200:end_if_platform_10
     201SET obuild_platform_result=
     202
     203IF NOT %obuild_debug% == yes GOTO else_if_db_build_lib_G4LabUIOnX_sh_11
    444204  SET obuild_cxx_linker_debug_local=%obuild_cxx_linker_debug%
    445   GOTO end_if_db_build_lib_G4LabUIOnX_sh_39
    446 :else_if_db_build_lib_G4LabUIOnX_sh_39
     205  GOTO end_if_db_build_lib_G4LabUIOnX_sh_11
     206:else_if_db_build_lib_G4LabUIOnX_sh_11
    447207  SET obuild_cxx_linker_debug_local=
    448 :end_if_db_build_lib_G4LabUIOnX_sh_39
    449 
    450 IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_lib_G4LabUIOnX_sh_40
     208:end_if_db_build_lib_G4LabUIOnX_sh_11
     209
     210IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_lib_G4LabUIOnX_sh_12
    451211  SET obuild_cxx_linker_optimize_local=%obuild_cxx_linker_optimize%
    452   GOTO end_if_opt_build_lib_G4LabUIOnX_sh_40
    453 :else_if_opt_build_lib_G4LabUIOnX_sh_40
     212  GOTO end_if_opt_build_lib_G4LabUIOnX_sh_12
     213:else_if_opt_build_lib_G4LabUIOnX_sh_12
    454214  SET obuild_cxx_linker_optimize_local=
    455 :end_if_opt_build_lib_G4LabUIOnX_sh_40
     215:end_if_opt_build_lib_G4LabUIOnX_sh_12
    456216
    457217FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
Note: See TracChangeset for help on using the changeset viewer.