Changeset 244
- Timestamp:
- Feb 15, 2007, 10:36:50 AM (18 years ago)
- Location:
- snovis/trunk/obuild
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
snovis/trunk/obuild/DOS/build.bat
r134 r244 146 146 IF NOT %obuild_group% == main GOTO end_if_group_0 147 147 IF NOT %obuild_do_mains% == yes GOTO end_if_main_0 148 IF NOT EXIST .\DOS\build_ dll_snovis.bat GOTO end_if_build_0149 CALL .\DOS\build_ dll_snovis.bat %obuild_args%148 IF NOT EXIST .\DOS\build_lib_G4LabCore.bat GOTO end_if_build_0 149 CALL .\DOS\build_lib_G4LabCore.bat %obuild_args% 150 150 @IF ERRORLEVEL 1 @GOTO obuild_return 151 151 @ECHO OFF … … 153 153 :end_if_main_0 154 154 :end_if_group_0 155 156 155 IF NOT %obuild_group% == main GOTO end_if_group_1 157 156 IF NOT %obuild_do_mains% == yes GOTO end_if_main_1 158 IF NOT EXIST .\DOS\build_ app_prog_snova.bat GOTO end_if_build_1159 CALL .\DOS\build_ app_prog_snova.bat %obuild_args%157 IF NOT EXIST .\DOS\build_lib_G4LabUIOnX.bat GOTO end_if_build_1 158 CALL .\DOS\build_lib_G4LabUIOnX.bat %obuild_args% 160 159 @IF ERRORLEVEL 1 @GOTO obuild_return 161 160 @ECHO OFF … … 163 162 :end_if_main_1 164 163 :end_if_group_1 164 165 165 IF NOT %obuild_group% == main GOTO end_if_group_2 166 166 IF NOT %obuild_do_mains% == yes GOTO end_if_main_2 167 IF NOT EXIST .\DOS\build_ app_snovis_session.bat GOTO end_if_build_2168 CALL .\DOS\build_ app_snovis_session.bat %obuild_args%167 IF NOT EXIST .\DOS\build_dll_G4Lab.bat GOTO end_if_build_2 168 CALL .\DOS\build_dll_G4Lab.bat %obuild_args% 169 169 @IF ERRORLEVEL 1 @GOTO obuild_return 170 170 @ECHO OFF … … 172 172 :end_if_main_2 173 173 :end_if_group_2 174 IF NOT %obuild_group% == main GOTO end_if_group_3 175 IF NOT %obuild_do_mains% == yes GOTO end_if_main_3 176 IF NOT EXIST .\DOS\build_dll_snovis.bat GOTO end_if_build_3 177 CALL .\DOS\build_dll_snovis.bat %obuild_args% 178 @IF ERRORLEVEL 1 @GOTO obuild_return 179 @ECHO OFF 180 :end_if_build_3 181 :end_if_main_3 182 :end_if_group_3 174 183 184 IF NOT %obuild_group% == main GOTO end_if_group_4 185 IF NOT %obuild_do_mains% == yes GOTO end_if_main_4 186 IF NOT EXIST .\DOS\build_app_prog_snovis.bat GOTO end_if_build_4 187 CALL .\DOS\build_app_prog_snovis.bat %obuild_args% 188 @IF ERRORLEVEL 1 @GOTO obuild_return 189 @ECHO OFF 190 :end_if_build_4 191 :end_if_main_4 192 :end_if_group_4 175 193 176 194 :obuild_return -
snovis/trunk/obuild/DOS/build_dll_snovis.bat
r137 r244 115 115 cd "%obuild_snovis_path%\%obuild_dir_bin%" 116 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% Darwin`) 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_4 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 121 141 SET obuild_cxx_command=c++ 122 :end_if_platform_ 4142 :end_if_platform_8 123 143 SET obuild_platform_result= 124 144 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 128 148 cd "%obuild_pwd_snovis_0%" 129 149 SET obuild_pwd_snovis_0= 130 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_ 5150 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_9 131 151 SET obuild_cxx_command=c++ 132 :end_if_platform_ 5152 :end_if_platform_9 133 153 SET obuild_platform_result= 134 154 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 138 158 cd "%obuild_pwd_snovis_0%" 139 159 SET obuild_pwd_snovis_0= 140 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_ 6160 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_10 141 161 SET obuild_cxx_command=cxx 142 :end_if_platform_ 6162 :end_if_platform_10 143 163 SET obuild_platform_result= 144 164 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 148 168 cd "%obuild_pwd_snovis_0%" 149 169 SET obuild_pwd_snovis_0= 150 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_ 7170 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_11 151 171 SET obuild_cxx_command=cl.exe 152 :end_if_platform_ 7172 :end_if_platform_11 153 173 SET obuild_platform_result= 154 174 IF "%obuild_cxx_command%" == "" ECHO Variable obuild_cxx_command not defined. && GOTO obuild_return … … 160 180 cd "%obuild_pwd_snovis_0%" 161 181 SET obuild_pwd_snovis_0= 162 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_ 8182 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_12 163 183 SET obuild_cxx_optimize=-O 164 :end_if_platform_ 8184 :end_if_platform_12 165 185 SET obuild_platform_result= 166 186 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 170 190 cd "%obuild_pwd_snovis_0%" 171 191 SET obuild_pwd_snovis_0= 172 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_ 9192 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_13 173 193 SET obuild_cxx_optimize=-O 174 :end_if_platform_ 9194 :end_if_platform_13 175 195 SET obuild_platform_result= 176 196 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 180 200 cd "%obuild_pwd_snovis_0%" 181 201 SET obuild_pwd_snovis_0= 182 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 0202 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_14 183 203 SET obuild_cxx_optimize=-O 184 :end_if_platform_1 0204 :end_if_platform_14 185 205 SET obuild_platform_result= 186 206 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 190 210 cd "%obuild_pwd_snovis_0%" 191 211 SET obuild_pwd_snovis_0= 192 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 1212 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_15 193 213 SET obuild_cxx_optimize=/O2 194 :end_if_platform_1 1195 SET obuild_platform_result= 196 197 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 198 cd "%obuild_snovis_path%\%obuild_dir_bin%" 199 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 200 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 201 cd "%obuild_pwd_snovis_0%" 202 SET obuild_pwd_snovis_0= 203 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 2214 :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 204 224 SET obuild_cxx_debug=-g 205 :end_if_platform_1 2225 :end_if_platform_16 206 226 SET obuild_platform_result= 207 227 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 211 231 cd "%obuild_pwd_snovis_0%" 212 232 SET obuild_pwd_snovis_0= 213 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 3233 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_17 214 234 SET obuild_cxx_debug=-g 215 :end_if_platform_1 3235 :end_if_platform_17 216 236 SET obuild_platform_result= 217 237 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 221 241 cd "%obuild_pwd_snovis_0%" 222 242 SET obuild_pwd_snovis_0= 223 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 4243 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_18 224 244 SET obuild_cxx_debug=-g 225 :end_if_platform_1 4245 :end_if_platform_18 226 246 SET obuild_platform_result= 227 247 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 231 251 cd "%obuild_pwd_snovis_0%" 232 252 SET obuild_pwd_snovis_0= 233 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 5253 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_19 234 254 SET obuild_cxx_debug=/ZI /Od 235 :end_if_platform_1 5255 :end_if_platform_19 236 256 SET obuild_platform_result= 237 257 … … 242 262 cd "%obuild_pwd_snovis_0%" 243 263 SET obuild_pwd_snovis_0= 244 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_ 16264 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_20 245 265 SET obuild_cxx_options=-fPIC 246 :end_if_platform_ 16266 :end_if_platform_20 247 267 SET obuild_platform_result= 248 268 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 252 272 cd "%obuild_pwd_snovis_0%" 253 273 SET obuild_pwd_snovis_0= 254 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_ 17274 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_21 255 275 SET obuild_cxx_options=/nologo /DWIN32 /MD /GX /GR /W3 256 :end_if_platform_ 17257 SET obuild_platform_result= 258 259 IF NOT %obuild_debug% == yes GOTO else_if_db_build_dll_snovis_sh_ 18276 :end_if_platform_21 277 SET obuild_platform_result= 278 279 IF NOT %obuild_debug% == yes GOTO else_if_db_build_dll_snovis_sh_22 260 280 SET obuild_cxx_debug_local=%obuild_cxx_debug% 261 GOTO end_if_db_build_dll_snovis_sh_ 18262 :else_if_db_build_dll_snovis_sh_ 18281 GOTO end_if_db_build_dll_snovis_sh_22 282 :else_if_db_build_dll_snovis_sh_22 263 283 SET obuild_cxx_debug_local= 264 :end_if_db_build_dll_snovis_sh_ 18265 266 IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_dll_snovis_sh_ 19284 :end_if_db_build_dll_snovis_sh_22 285 286 IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_dll_snovis_sh_23 267 287 SET obuild_cxx_optimize_local=%obuild_cxx_optimize% 268 GOTO end_if_opt_build_dll_snovis_sh_ 19269 :else_if_opt_build_dll_snovis_sh_ 19288 GOTO end_if_opt_build_dll_snovis_sh_23 289 :else_if_opt_build_dll_snovis_sh_23 270 290 SET obuild_cxx_optimize_local= 271 :end_if_opt_build_dll_snovis_sh_19 272 273 274 IF NOT EXIST "%obuild_snovis_path%\%obuild_dir_bin%" MKDIR "%obuild_snovis_path%\%obuild_dir_bin%" 275 IF NOT EXIST "%obuild_snovis_path%\%obuild_dir_bin%\obuild_find.exe" ( 276 cl.exe /nologo /DWIN32 /MD /O2 /W3 /GX /GR /Fe"%obuild_snovis_path%\%obuild_dir_bin%\obuild_find.exe" "%obuild_snovis_path%\obuild\cpp\obuild_find.cpp" 1> NUL 277 IF EXIST obuild_find.obj DEL obuild_find.obj 278 ) 279 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 280 cd "%obuild_snovis_path%\%obuild_dir_bin%" 281 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 282 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe Lib v8r*`) DO SET obuild_Lib_path=%%j 283 cd "%obuild_pwd_snovis_0%" 284 SET obuild_pwd_snovis_0= 285 IF NOT DEFINED obuild_Lib_path ECHO Can't find Lib package. && GOTO obuild_return 286 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 287 cd "%obuild_snovis_path%\%obuild_dir_bin%" 288 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 289 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe Slash v1r*`) DO SET obuild_Slash_path=%%j 290 cd "%obuild_pwd_snovis_0%" 291 SET obuild_pwd_snovis_0= 292 IF NOT DEFINED obuild_Slash_path ECHO Can't find Slash package. && GOTO obuild_return 293 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 294 cd "%obuild_snovis_path%\%obuild_dir_bin%" 295 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 296 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe AIDA v3r2p1`) DO SET obuild_AIDA_path=%%j 297 cd "%obuild_pwd_snovis_0%" 298 SET obuild_pwd_snovis_0= 299 IF NOT DEFINED obuild_AIDA_path ECHO Can't find AIDA package. && GOTO obuild_return 300 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 301 cd "%obuild_snovis_path%\%obuild_dir_bin%" 302 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 303 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe OnX v17r*`) DO SET obuild_OnX_path=%%j 304 cd "%obuild_pwd_snovis_0%" 305 SET obuild_pwd_snovis_0= 306 IF NOT DEFINED obuild_OnX_path ECHO Can't find OnX package. && GOTO obuild_return 307 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 308 cd "%obuild_snovis_path%\%obuild_dir_bin%" 309 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 310 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe G4Lab v8r*`) DO SET obuild_G4Lab_path=%%j 311 cd "%obuild_pwd_snovis_0%" 312 SET obuild_pwd_snovis_0= 313 IF NOT DEFINED obuild_G4Lab_path ECHO Can't find G4Lab package. && GOTO obuild_return 314 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 315 cd "%obuild_snovis_path%\%obuild_dir_bin%" 316 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 317 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe BatchLab v1r*`) DO SET obuild_BatchLab_path=%%j 318 cd "%obuild_pwd_snovis_0%" 319 SET obuild_pwd_snovis_0= 320 IF NOT DEFINED obuild_BatchLab_path ECHO Can't find BatchLab package. && GOTO obuild_return 321 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 322 cd "%obuild_snovis_path%\%obuild_dir_bin%" 323 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 324 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe HEPVis v6r*`) DO SET obuild_HEPVis_path=%%j 325 cd "%obuild_pwd_snovis_0%" 326 SET obuild_pwd_snovis_0= 327 IF NOT DEFINED obuild_HEPVis_path ECHO Can't find HEPVis package. && GOTO obuild_return 328 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 329 cd "%obuild_snovis_path%\%obuild_dir_bin%" 330 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 331 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe CoinGL v1r*`) DO SET obuild_CoinGL_path=%%j 332 cd "%obuild_pwd_snovis_0%" 333 SET obuild_pwd_snovis_0= 334 IF NOT DEFINED obuild_CoinGL_path ECHO Can't find CoinGL package. && GOTO obuild_return 335 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 336 cd "%obuild_snovis_path%\%obuild_dir_bin%" 337 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 338 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe Lib v8r*`) DO SET obuild_Lib_path=%%j 339 cd "%obuild_pwd_snovis_0%" 340 SET obuild_pwd_snovis_0= 341 IF NOT DEFINED obuild_Lib_path ECHO Can't find Lib package. && GOTO obuild_return 342 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 343 cd "%obuild_snovis_path%\%obuild_dir_bin%" 344 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 345 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe expat v1r*`) DO SET obuild_expat_path=%%j 346 cd "%obuild_pwd_snovis_0%" 347 SET obuild_pwd_snovis_0= 348 IF NOT DEFINED obuild_expat_path ECHO Can't find expat package. && GOTO obuild_return 349 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 350 cd "%obuild_snovis_path%\%obuild_dir_bin%" 351 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 352 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe Lib v8r*`) DO SET obuild_Lib_path=%%j 353 cd "%obuild_pwd_snovis_0%" 354 SET obuild_pwd_snovis_0= 355 IF NOT DEFINED obuild_Lib_path ECHO Can't find Lib package. && GOTO obuild_return 356 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 357 cd "%obuild_snovis_path%\%obuild_dir_bin%" 358 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 359 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe zlib v1r*`) DO SET obuild_zlib_path=%%j 360 cd "%obuild_pwd_snovis_0%" 361 SET obuild_pwd_snovis_0= 362 IF NOT DEFINED obuild_zlib_path ECHO Can't find zlib package. && GOTO obuild_return 363 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 364 cd "%obuild_snovis_path%\%obuild_dir_bin%" 365 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 366 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe Lib v8r*`) DO SET obuild_Lib_path=%%j 367 cd "%obuild_pwd_snovis_0%" 368 SET obuild_pwd_snovis_0= 369 IF NOT DEFINED obuild_Lib_path ECHO Can't find Lib package. && GOTO obuild_return 370 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 371 cd "%obuild_snovis_path%\%obuild_dir_bin%" 372 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 373 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe HEPVis v6r*`) DO SET obuild_HEPVis_path=%%j 374 cd "%obuild_pwd_snovis_0%" 375 SET obuild_pwd_snovis_0= 376 IF NOT DEFINED obuild_HEPVis_path ECHO Can't find HEPVis package. && GOTO obuild_return 377 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 378 cd "%obuild_snovis_path%\%obuild_dir_bin%" 379 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 380 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe HEPVis v6r*`) DO SET obuild_HEPVis_path=%%j 381 cd "%obuild_pwd_snovis_0%" 382 SET obuild_pwd_snovis_0= 383 IF NOT DEFINED obuild_HEPVis_path ECHO Can't find HEPVis package. && GOTO obuild_return 384 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 385 cd "%obuild_snovis_path%\%obuild_dir_bin%" 386 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 387 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe jpeg v1r*`) DO SET obuild_jpeg_path=%%j 388 cd "%obuild_pwd_snovis_0%" 389 SET obuild_pwd_snovis_0= 390 IF NOT DEFINED obuild_jpeg_path ECHO Can't find jpeg package. && GOTO obuild_return 391 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 392 cd "%obuild_snovis_path%\%obuild_dir_bin%" 393 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 394 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe dvi2bitmap v1r*`) DO SET obuild_dvi2bitmap_path=%%j 395 cd "%obuild_pwd_snovis_0%" 396 SET obuild_pwd_snovis_0= 397 IF NOT DEFINED obuild_dvi2bitmap_path ECHO Can't find dvi2bitmap package. && GOTO obuild_return 398 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 399 cd "%obuild_snovis_path%\%obuild_dir_bin%" 400 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 401 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe freetype2 v1r*`) DO SET obuild_freetype2_path=%%j 402 cd "%obuild_pwd_snovis_0%" 403 SET obuild_pwd_snovis_0= 404 IF NOT DEFINED obuild_freetype2_path ECHO Can't find freetype2 package. && GOTO obuild_return 405 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 406 cd "%obuild_snovis_path%\%obuild_dir_bin%" 407 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 408 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe CoinGL v1r*`) DO SET obuild_CoinGL_path=%%j 409 cd "%obuild_pwd_snovis_0%" 410 SET obuild_pwd_snovis_0= 411 IF NOT DEFINED obuild_CoinGL_path ECHO Can't find CoinGL package. && GOTO obuild_return 291 :end_if_opt_build_dll_snovis_sh_23 292 293 294 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 295 cd "%obuild_snovis_path%\%obuild_dir_bin%" 296 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 297 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 298 cd "%obuild_pwd_snovis_0%" 299 SET obuild_pwd_snovis_0= 300 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_24 301 SET obuild_cxx_macros=%obuild_cxx_macros% /DAPPLE_GL 302 :end_if_platform_24 303 SET obuild_platform_result= 304 412 305 413 306 SET obuild_cxx_includes=/I"%obuild_snovis_path%" 414 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_Lib_path%\include" 415 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_Slash_path%" 416 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_AIDA_path%\src\cpp" 417 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_OnX_path%\include" 418 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_G4Lab_path%\include" 419 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_BatchLab_path%" 420 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_HEPVis_path%\include" 421 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_CoinGL_path%\include" 422 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 423 cd "%obuild_snovis_path%\%obuild_dir_bin%" 424 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 425 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 307 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_snovis_path%\source" 308 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 309 cd "%obuild_snovis_path%\%obuild_dir_bin%" 310 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 311 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 312 cd "%obuild_pwd_snovis_0%" 313 SET obuild_pwd_snovis_0= 314 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_27 315 SET obuild_cxx_includes=%obuild_cxx_includes% -I${CLHEP_home}/include 316 :end_if_platform_27 317 SET obuild_platform_result= 318 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 319 cd "%obuild_snovis_path%\%obuild_dir_bin%" 320 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 321 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 322 cd "%obuild_pwd_snovis_0%" 323 SET obuild_pwd_snovis_0= 324 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_28 325 SET obuild_cxx_includes=%obuild_cxx_includes% -I${Geant4_home}/include 326 :end_if_platform_28 327 SET obuild_platform_result= 328 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 329 cd "%obuild_snovis_path%\%obuild_dir_bin%" 330 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 331 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 426 332 cd "%obuild_pwd_snovis_0%" 427 333 SET obuild_pwd_snovis_0= 428 334 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_29 335 SET obuild_cxx_includes=%obuild_cxx_includes% -I${OSC_home}/Resources/AIDA/src/cpp 336 :end_if_platform_29 337 SET obuild_platform_result= 338 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 339 cd "%obuild_snovis_path%\%obuild_dir_bin%" 340 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 341 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 342 cd "%obuild_pwd_snovis_0%" 343 SET obuild_pwd_snovis_0= 344 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_30 345 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 346 :end_if_platform_30 347 SET obuild_platform_result= 348 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 349 cd "%obuild_snovis_path%\%obuild_dir_bin%" 350 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 351 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 352 cd "%obuild_pwd_snovis_0%" 353 SET obuild_pwd_snovis_0= 354 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_31 355 SET obuild_cxx_includes=%obuild_cxx_includes% -I${OSC_home}/Resources/BatchLab -I${OSC_home}/Resources/OnXLab 356 :end_if_platform_31 357 SET obuild_platform_result= 358 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 359 cd "%obuild_snovis_path%\%obuild_dir_bin%" 360 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 361 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 362 cd "%obuild_pwd_snovis_0%" 363 SET obuild_pwd_snovis_0= 364 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_32 365 SET obuild_cxx_includes=%obuild_cxx_includes% -I${OSC_home}/Resources/CoinGL/include -I${OSC_home}/Resources/HEPVis/include 366 :end_if_platform_32 367 SET obuild_platform_result= 368 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 369 cd "%obuild_snovis_path%\%obuild_dir_bin%" 370 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 371 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 372 cd "%obuild_pwd_snovis_0%" 373 SET obuild_pwd_snovis_0= 374 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_33 429 375 SET obuild_cxx_includes=%obuild_cxx_includes% -I/System/Library/Frameworks/OpenGL.framework/Headers 430 :end_if_platform_ 29376 :end_if_platform_33 431 377 SET obuild_platform_result= 432 378 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 436 382 cd "%obuild_pwd_snovis_0%" 437 383 SET obuild_pwd_snovis_0= 438 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_3 0384 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_34 439 385 SET obuild_cxx_includes=%obuild_cxx_includes% -I${OBUILD_OPENGL_HOME}/include 440 :end_if_platform_3 0386 :end_if_platform_34 441 387 SET obuild_platform_result= 442 388 … … 465 411 @IF %obuild_verbose% == yes @ECHO OFF 466 412 467 SET obuild_linked_libraries="%obuild_Lib_path%\%obuild_dir_bin%\LibXML.lib" 468 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_expat_path%\%obuild_dir_bin%\osc_expat.lib" 469 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_Lib_path%\%obuild_dir_bin%\LibZip.lib" 470 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_zlib_path%\%obuild_dir_bin%\osc_z.lib" 471 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_Lib_path%\%obuild_dir_bin%\LibUtils.lib" 472 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_HEPVis_path%\%obuild_dir_bin%\HEPVisGeometry.lib" 473 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_HEPVis_path%\%obuild_dir_bin%\HEPVisUtils.lib" 474 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_jpeg_path%\%obuild_dir_bin%\osc_jpeg.lib" 475 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_dvi2bitmap_path%\%obuild_dir_bin%\osc_dvi2bitmap.lib" 476 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_freetype2_path%\%obuild_dir_bin%\osc_freetype2.lib" 477 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_CoinGL_path%\%obuild_dir_bin%\osc_Coin.lib" 478 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 479 cd "%obuild_snovis_path%\%obuild_dir_bin%" 480 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 481 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 413 SET obuild_linked_libraries=-L${Geant4_home}/lib -lG4physicslists 414 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 415 cd "%obuild_snovis_path%\%obuild_dir_bin%" 416 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 417 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 418 cd "%obuild_pwd_snovis_0%" 419 SET obuild_pwd_snovis_0= 420 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_39 421 SET obuild_linked_libraries=%obuild_linked_libraries% -L${Geant4_home}/lib -lG4readout -lG4run -lG4event -lG4tracking -lG4processes -lG4digits_hits -lG4track -lG4particles -lG4geometry -lG4graphics_reps -lG4materials -lG4intercoms -lG4global 422 :end_if_platform_39 423 SET obuild_platform_result= 424 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 425 cd "%obuild_snovis_path%\%obuild_dir_bin%" 426 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 427 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 428 cd "%obuild_pwd_snovis_0%" 429 SET obuild_pwd_snovis_0= 430 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_40 431 SET obuild_linked_libraries=%obuild_linked_libraries% -L${CLHEP_home}/lib -lCLHEP-2.0.3.1 432 :end_if_platform_40 433 SET obuild_platform_result= 434 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 435 cd "%obuild_snovis_path%\%obuild_dir_bin%" 436 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 437 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 438 cd "%obuild_pwd_snovis_0%" 439 SET obuild_pwd_snovis_0= 440 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_41 441 SET obuild_linked_libraries=%obuild_linked_libraries% -L${OSC_home}/lib -lHEPVisPlotter -lHEPVisDetector -lHEPVisGeometry -lHEPVisUtils -losc_dvi2bitmap -losc_jpeg -losc_freetype2 -losc_Coin -lLibUtils 442 :end_if_platform_41 443 SET obuild_platform_result= 444 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 445 cd "%obuild_snovis_path%\%obuild_dir_bin%" 446 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 447 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 448 cd "%obuild_pwd_snovis_0%" 449 SET obuild_pwd_snovis_0= 450 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_42 451 SET obuild_linked_libraries=%obuild_linked_libraries% -L${OSC_home}/lib -lOnXCore -lLibXML -losc_expat -lLibZip -lz -lLibUtils -ldl 452 :end_if_platform_42 453 SET obuild_platform_result= 454 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 455 cd "%obuild_snovis_path%\%obuild_dir_bin%" 456 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 457 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 458 cd "%obuild_pwd_snovis_0%" 459 SET obuild_pwd_snovis_0= 460 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_43 461 SET obuild_linked_libraries=%obuild_linked_libraries% -framework OpenGL -framework AGL 462 :end_if_platform_43 463 SET obuild_platform_result= 464 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 465 cd "%obuild_snovis_path%\%obuild_dir_bin%" 466 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 467 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 468 cd "%obuild_pwd_snovis_0%" 469 SET obuild_pwd_snovis_0= 470 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_44 471 SET obuild_linked_libraries=%obuild_linked_libraries% -framework ApplicationServices 472 :end_if_platform_44 473 SET obuild_platform_result= 474 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 475 cd "%obuild_snovis_path%\%obuild_dir_bin%" 476 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 477 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 482 478 cd "%obuild_pwd_snovis_0%" 483 479 SET obuild_pwd_snovis_0= 484 480 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_45 485 SET obuild_linked_libraries=%obuild_linked_libraries% - framework OpenGL -framework AGL481 SET obuild_linked_libraries=%obuild_linked_libraries% -L/usr/lib -lGLU -lGL -lm 486 482 :end_if_platform_45 487 483 SET obuild_platform_result= … … 489 485 cd "%obuild_snovis_path%\%obuild_dir_bin%" 490 486 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 491 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j487 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 492 488 cd "%obuild_pwd_snovis_0%" 493 489 SET obuild_pwd_snovis_0= 494 490 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_46 495 SET obuild_linked_libraries=%obuild_linked_libraries% -framework ApplicationServices491 SET obuild_linked_libraries=%obuild_linked_libraries% glu32.lib opengl32.lib gdi32.lib user32.lib 496 492 :end_if_platform_46 497 493 SET obuild_platform_result= … … 499 495 cd "%obuild_snovis_path%\%obuild_dir_bin%" 500 496 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 501 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j497 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 502 498 cd "%obuild_pwd_snovis_0%" 503 499 SET obuild_pwd_snovis_0= 504 500 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_47 505 SET obuild_linked_libraries=%obuild_linked_libraries% -L /usr/lib -lGLU -lGL -lm501 SET obuild_linked_libraries=%obuild_linked_libraries% -L${OBUILD_OPENGL_HOME}/lib -lGLU -lGL -lm 506 502 :end_if_platform_47 507 SET obuild_platform_result=508 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d509 cd "%obuild_snovis_path%\%obuild_dir_bin%"510 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return511 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j512 cd "%obuild_pwd_snovis_0%"513 SET obuild_pwd_snovis_0=514 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_48515 SET obuild_linked_libraries=%obuild_linked_libraries% glu32.lib opengl32.lib gdi32.lib user32.lib516 :end_if_platform_48517 SET obuild_platform_result=518 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d519 cd "%obuild_snovis_path%\%obuild_dir_bin%"520 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return521 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j522 cd "%obuild_pwd_snovis_0%"523 SET obuild_pwd_snovis_0=524 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_49525 SET obuild_linked_libraries=%obuild_linked_libraries% -L${OBUILD_OPENGL_HOME}/lib -lGLU -lGL -lm526 :end_if_platform_49527 SET obuild_platform_result=528 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d529 cd "%obuild_snovis_path%\%obuild_dir_bin%"530 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return531 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j532 cd "%obuild_pwd_snovis_0%"533 SET obuild_pwd_snovis_0=534 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_50535 SET obuild_linked_libraries=%obuild_linked_libraries% -lpthread536 :end_if_platform_50537 503 SET obuild_platform_result= 538 504 -
snovis/trunk/obuild/setup.bat
r211 r244 68 68 :end_if_platform_3 69 69 SET obuild_platform_result= 70 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 71 cd "%obuild_snovis_path%\%obuild_dir_bin%" 72 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 73 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 74 cd "%obuild_pwd_snovis_0%" 75 SET obuild_pwd_snovis_0= 76 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_5 77 SET HDF5_home=/usr/local/HDF5/1.6.5 78 :end_if_platform_5 79 SET obuild_platform_result= 80 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 81 cd "%obuild_snovis_path%\%obuild_dir_bin%" 82 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 83 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 84 cd "%obuild_pwd_snovis_0%" 85 SET obuild_pwd_snovis_0= 86 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_7 87 SET OSC_home=/usr/local/OpenScientist/v16r0 88 :end_if_platform_7 89 SET obuild_platform_result= 70 90 IF NOT EXIST "%obuild_snovis_path%\%obuild_dir_bin%" MKDIR "%obuild_snovis_path%\%obuild_dir_bin%" 71 91 IF NOT EXIST "%obuild_snovis_path%\%obuild_dir_bin%\obuild_find.exe" ( … … 80 100 SET obuild_pwd_snovis_0= 81 101 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 82 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d83 cd "%obuild_snovis_path%\%obuild_dir_bin%"84 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return85 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe OnX v17r*`) DO SET obuild_OnX_path=%%j86 cd "%obuild_pwd_snovis_0%"87 SET obuild_pwd_snovis_0=88 IF NOT DEFINED obuild_OnX_path ECHO Can't find OnX package. && GOTO obuild_return89 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d90 cd "%obuild_snovis_path%\%obuild_dir_bin%"91 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return92 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe G4Lab v8r*`) DO SET obuild_G4Lab_path=%%j93 cd "%obuild_pwd_snovis_0%"94 SET obuild_pwd_snovis_0=95 IF NOT DEFINED obuild_G4Lab_path ECHO Can't find G4Lab package. && GOTO obuild_return96 102 97 103 REM # Execute setup of used packages : … … 100 106 @ECHO OFF 101 107 102 IF NOT EXIST "%obuild_OnX_path%\obuild\setup.bat" ECHO setup.bat not found for package OnX. && GOTO obuild_return103 CALL "%obuild_OnX_path%\obuild\setup.bat"104 @ECHO OFF105 106 IF NOT EXIST "%obuild_G4Lab_path%\obuild\setup.bat" ECHO setup.bat not found for package G4Lab. && GOTO obuild_return107 CALL "%obuild_G4Lab_path%\obuild\setup.bat"108 @ECHO OFF109 110 108 REM # Set environment variables of this package : 111 109 SET SNOVISROOT=%obuild_snovis_path% 110 SET ONXROOT=%OSC_home%\Resources\OnX 111 SET ONXLABROOT=%OSC_home%\Resources\OnXLab 112 SET G4LABROOT=%obuild_snovis_path%\Resources\G4Lab 112 113 113 IF DEFINED PATH GOTO else_if_path_snovis_ 5114 IF DEFINED PATH GOTO else_if_path_snovis_12 114 115 SET PATH=%obuild_snovis_path%\%obuild_dir_bin% 115 GOTO end_if_path_snovis_ 5116 :else_if_path_snovis_ 5116 GOTO end_if_path_snovis_12 117 :else_if_path_snovis_12 117 118 SET PATH=%PATH%;%obuild_snovis_path%\%obuild_dir_bin% 118 :end_if_path_snovis_ 5119 :end_if_path_snovis_12 119 120 120 121 :obuild_return -
snovis/trunk/obuild/setup.csh
r211 r244 141 141 endif 142 142 unset obuild_platform_result 143 if ( "${obuild_platform_exe}" == "" ) then 144 echo "Variable obuild_platform_exe not defined." 145 exit 146 endif 147 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 148 if ( ${obuild_platform_result} == yes ) then 149 set HDF5_home="/usr/local/HDF5/1.6.5" 150 endif 151 unset obuild_platform_result 152 if ( "${obuild_platform_exe}" == "" ) then 153 echo "Variable obuild_platform_exe not defined." 154 exit 155 endif 156 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 157 if ( ${obuild_platform_result} == yes ) then 158 set OSC_home="/usr/local/OpenScientist/v16r0" 159 endif 160 unset obuild_platform_result 143 161 if ( ! -e "${obuild_snovis_path}/${obuild_dir_bin}/obuild_find" ) then 144 162 if ( ! -e "${obuild_snovis_path}/obuild/cpp/obuild_find.cpp" ) then … … 172 190 endif 173 191 set obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 174 if ( "${obuild_find_exe}" == "" ) then175 echo "Variable obuild_find_exe not defined."176 exit177 endif178 set obuild_OnX_path=`"${obuild_find_exe}" OnX 'v17r*'`179 if ( "${obuild_find_exe}" == "" ) then180 echo "Variable obuild_find_exe not defined."181 exit182 endif183 set obuild_G4Lab_path=`"${obuild_find_exe}" G4Lab 'v8r*'`184 192 185 193 # Execute setup of used packages : 186 194 source "${obuild_snova_path}/obuild/setup.csh" 187 195 188 source "${obuild_OnX_path}/obuild/setup.csh"189 190 source "${obuild_G4Lab_path}/obuild/setup.csh"191 192 196 # Set environment variables of this package : 193 197 setenv SNOVISROOT "${obuild_snovis_path}" 198 setenv ONXROOT "${OSC_home}/Resources/OnX" 199 setenv ONXLABROOT "${OSC_home}/Resources/OnXLab" 200 setenv G4LABROOT "${obuild_snovis_path}/Resources/G4Lab" 201 202 if ( "${obuild_platform_exe}" == "" ) then 203 echo "Variable obuild_platform_exe not defined." 204 exit 205 endif 206 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin` 207 if ( ${obuild_platform_result} == yes ) then 208 if ( "${obuild_platform_exe}" == "" ) then 209 echo "Variable obuild_platform_exe not defined." 210 exit 211 endif 212 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 213 if ( ${obuild_platform_result} == yes ) then 214 if ( $?DYLD_LIBRARY_PATH ) then 215 setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${HDF5_home}/lib" 216 else 217 setenv DYLD_LIBRARY_PATH "${HDF5_home}/lib" 218 endif 219 endif 220 unset obuild_platform_result 221 else 222 if ( "${obuild_platform_exe}" == "" ) then 223 echo "Variable obuild_platform_exe not defined." 224 exit 225 endif 226 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 227 if ( ${obuild_platform_result} == yes ) then 228 if ( $?LD_LIBRARY_PATH ) then 229 setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${HDF5_home}/lib" 230 else 231 setenv LD_LIBRARY_PATH "${HDF5_home}/lib" 232 endif 233 endif 234 unset obuild_platform_result 235 endif 236 unset obuild_platform_result 237 238 if ( "${obuild_platform_exe}" == "" ) then 239 echo "Variable obuild_platform_exe not defined." 240 exit 241 endif 242 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin` 243 if ( ${obuild_platform_result} == yes ) then 244 if ( "${obuild_platform_exe}" == "" ) then 245 echo "Variable obuild_platform_exe not defined." 246 exit 247 endif 248 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 249 if ( ${obuild_platform_result} == yes ) then 250 if ( $?DYLD_LIBRARY_PATH ) then 251 setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${CLHEP_home}/lib" 252 else 253 setenv DYLD_LIBRARY_PATH "${CLHEP_home}/lib" 254 endif 255 endif 256 unset obuild_platform_result 257 else 258 if ( "${obuild_platform_exe}" == "" ) then 259 echo "Variable obuild_platform_exe not defined." 260 exit 261 endif 262 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 263 if ( ${obuild_platform_result} == yes ) then 264 if ( $?LD_LIBRARY_PATH ) then 265 setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${CLHEP_home}/lib" 266 else 267 setenv LD_LIBRARY_PATH "${CLHEP_home}/lib" 268 endif 269 endif 270 unset obuild_platform_result 271 endif 272 unset obuild_platform_result 273 274 if ( "${obuild_platform_exe}" == "" ) then 275 echo "Variable obuild_platform_exe not defined." 276 exit 277 endif 278 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin` 279 if ( ${obuild_platform_result} == yes ) then 280 if ( "${obuild_platform_exe}" == "" ) then 281 echo "Variable obuild_platform_exe not defined." 282 exit 283 endif 284 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 285 if ( ${obuild_platform_result} == yes ) then 286 if ( $?DYLD_LIBRARY_PATH ) then 287 setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${Geant4_home}/lib" 288 else 289 setenv DYLD_LIBRARY_PATH "${Geant4_home}/lib" 290 endif 291 endif 292 unset obuild_platform_result 293 else 294 if ( "${obuild_platform_exe}" == "" ) then 295 echo "Variable obuild_platform_exe not defined." 296 exit 297 endif 298 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 299 if ( ${obuild_platform_result} == yes ) then 300 if ( $?LD_LIBRARY_PATH ) then 301 setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${Geant4_home}/lib" 302 else 303 setenv LD_LIBRARY_PATH "${Geant4_home}/lib" 304 endif 305 endif 306 unset obuild_platform_result 307 endif 308 unset obuild_platform_result 309 310 if ( "${obuild_platform_exe}" == "" ) then 311 echo "Variable obuild_platform_exe not defined." 312 exit 313 endif 314 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin` 315 if ( ${obuild_platform_result} == yes ) then 316 if ( "${obuild_platform_exe}" == "" ) then 317 echo "Variable obuild_platform_exe not defined." 318 exit 319 endif 320 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 321 if ( ${obuild_platform_result} == yes ) then 322 if ( $?DYLD_LIBRARY_PATH ) then 323 setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${OSC_home}/bin" 324 else 325 setenv DYLD_LIBRARY_PATH "${OSC_home}/bin" 326 endif 327 endif 328 unset obuild_platform_result 329 else 330 if ( "${obuild_platform_exe}" == "" ) then 331 echo "Variable obuild_platform_exe not defined." 332 exit 333 endif 334 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 335 if ( ${obuild_platform_result} == yes ) then 336 if ( $?LD_LIBRARY_PATH ) then 337 setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${OSC_home}/bin" 338 else 339 setenv LD_LIBRARY_PATH "${OSC_home}/bin" 340 endif 341 endif 342 unset obuild_platform_result 343 endif 344 unset obuild_platform_result 194 345 195 346 if ( "${obuild_platform_exe}" == "" ) then -
snovis/trunk/obuild/setup.sh
r211 r244 128 128 fi 129 129 unset obuild_platform_result 130 if [ "${obuild_platform_exe}" = "" ] ; then 131 echo "Variable obuild_platform_exe not defined." 132 return 133 fi 134 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 135 if [ ${obuild_platform_result} = yes ] ; then 136 HDF5_home="/usr/local/HDF5/1.6.5" 137 fi 138 unset obuild_platform_result 139 if [ "${obuild_platform_exe}" = "" ] ; then 140 echo "Variable obuild_platform_exe not defined." 141 return 142 fi 143 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 144 if [ ${obuild_platform_result} = yes ] ; then 145 OSC_home="/usr/local/OpenScientist/v16r0" 146 fi 147 unset obuild_platform_result 130 148 if [ ! -e "${obuild_snovis_path}/${obuild_dir_bin}/obuild_find" ] ; then 131 149 if [ ! -e "${obuild_snovis_path}/obuild/cpp/obuild_find.cpp" ] ; then … … 159 177 return 160 178 fi 161 if [ "${obuild_find_exe}" = "" ] ; then162 echo "Variable obuild_find_exe not defined."163 return164 fi165 obuild_OnX_path=`"${obuild_find_exe}" OnX 'v17r*'`166 if [ "${obuild_OnX_path}" = "" ] ; then167 echo "Can't find OnX package."168 return169 fi170 if [ "${obuild_find_exe}" = "" ] ; then171 echo "Variable obuild_find_exe not defined."172 return173 fi174 obuild_G4Lab_path=`"${obuild_find_exe}" G4Lab 'v8r*'`175 if [ "${obuild_G4Lab_path}" = "" ] ; then176 echo "Can't find G4Lab package."177 return178 fi179 179 180 180 # Execute setup of used packages : … … 185 185 . "${obuild_snova_path}/obuild/setup.sh" 186 186 187 if [ ! -e "${obuild_OnX_path}/obuild/setup.sh" ] ; then188 echo "setup.sh not found for package OnX."189 return190 fi191 . "${obuild_OnX_path}/obuild/setup.sh"192 193 if [ ! -e "${obuild_G4Lab_path}/obuild/setup.sh" ] ; then194 echo "setup.sh not found for package G4Lab."195 return196 fi197 . "${obuild_G4Lab_path}/obuild/setup.sh"198 199 187 # Set environment variables of this package : 200 188 SNOVISROOT="${obuild_snovis_path}" 201 189 export SNOVISROOT 190 ONXROOT="${OSC_home}/Resources/OnX" 191 export ONXROOT 192 ONXLABROOT="${OSC_home}/Resources/OnXLab" 193 export ONXLABROOT 194 G4LABROOT="${obuild_snovis_path}/Resources/G4Lab" 195 export G4LABROOT 196 197 if [ "${obuild_platform_exe}" = "" ] ; then 198 echo "Variable obuild_platform_exe not defined." 199 return 200 fi 201 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'` 202 if [ ${obuild_platform_result} = yes ] ; then 203 if [ "${obuild_platform_exe}" = "" ] ; then 204 echo "Variable obuild_platform_exe not defined." 205 return 206 fi 207 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 208 if [ ${obuild_platform_result} = yes ] ; then 209 if [ "${DYLD_LIBRARY_PATH}" = "" ] ; then 210 DYLD_LIBRARY_PATH="${HDF5_home}/lib" 211 export DYLD_LIBRARY_PATH 212 else 213 DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:${HDF5_home}/lib" 214 export DYLD_LIBRARY_PATH 215 fi 216 fi 217 unset obuild_platform_result 218 else 219 if [ "${obuild_platform_exe}" = "" ] ; then 220 echo "Variable obuild_platform_exe not defined." 221 return 222 fi 223 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 224 if [ ${obuild_platform_result} = yes ] ; then 225 if [ "${LD_LIBRARY_PATH}" = "" ] ; then 226 LD_LIBRARY_PATH="${HDF5_home}/lib" 227 export LD_LIBRARY_PATH 228 else 229 LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${HDF5_home}/lib" 230 export LD_LIBRARY_PATH 231 fi 232 fi 233 unset obuild_platform_result 234 fi 235 unset obuild_platform_result 236 237 if [ "${obuild_platform_exe}" = "" ] ; then 238 echo "Variable obuild_platform_exe not defined." 239 return 240 fi 241 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'` 242 if [ ${obuild_platform_result} = yes ] ; then 243 if [ "${obuild_platform_exe}" = "" ] ; then 244 echo "Variable obuild_platform_exe not defined." 245 return 246 fi 247 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 248 if [ ${obuild_platform_result} = yes ] ; then 249 if [ "${DYLD_LIBRARY_PATH}" = "" ] ; then 250 DYLD_LIBRARY_PATH="${CLHEP_home}/lib" 251 export DYLD_LIBRARY_PATH 252 else 253 DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:${CLHEP_home}/lib" 254 export DYLD_LIBRARY_PATH 255 fi 256 fi 257 unset obuild_platform_result 258 else 259 if [ "${obuild_platform_exe}" = "" ] ; then 260 echo "Variable obuild_platform_exe not defined." 261 return 262 fi 263 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 264 if [ ${obuild_platform_result} = yes ] ; then 265 if [ "${LD_LIBRARY_PATH}" = "" ] ; then 266 LD_LIBRARY_PATH="${CLHEP_home}/lib" 267 export LD_LIBRARY_PATH 268 else 269 LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${CLHEP_home}/lib" 270 export LD_LIBRARY_PATH 271 fi 272 fi 273 unset obuild_platform_result 274 fi 275 unset obuild_platform_result 276 277 if [ "${obuild_platform_exe}" = "" ] ; then 278 echo "Variable obuild_platform_exe not defined." 279 return 280 fi 281 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'` 282 if [ ${obuild_platform_result} = yes ] ; then 283 if [ "${obuild_platform_exe}" = "" ] ; then 284 echo "Variable obuild_platform_exe not defined." 285 return 286 fi 287 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 288 if [ ${obuild_platform_result} = yes ] ; then 289 if [ "${DYLD_LIBRARY_PATH}" = "" ] ; then 290 DYLD_LIBRARY_PATH="${Geant4_home}/lib" 291 export DYLD_LIBRARY_PATH 292 else 293 DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:${Geant4_home}/lib" 294 export DYLD_LIBRARY_PATH 295 fi 296 fi 297 unset obuild_platform_result 298 else 299 if [ "${obuild_platform_exe}" = "" ] ; then 300 echo "Variable obuild_platform_exe not defined." 301 return 302 fi 303 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 304 if [ ${obuild_platform_result} = yes ] ; then 305 if [ "${LD_LIBRARY_PATH}" = "" ] ; then 306 LD_LIBRARY_PATH="${Geant4_home}/lib" 307 export LD_LIBRARY_PATH 308 else 309 LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${Geant4_home}/lib" 310 export LD_LIBRARY_PATH 311 fi 312 fi 313 unset obuild_platform_result 314 fi 315 unset obuild_platform_result 316 317 if [ "${obuild_platform_exe}" = "" ] ; then 318 echo "Variable obuild_platform_exe not defined." 319 return 320 fi 321 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'` 322 if [ ${obuild_platform_result} = yes ] ; then 323 if [ "${obuild_platform_exe}" = "" ] ; then 324 echo "Variable obuild_platform_exe not defined." 325 return 326 fi 327 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 328 if [ ${obuild_platform_result} = yes ] ; then 329 if [ "${DYLD_LIBRARY_PATH}" = "" ] ; then 330 DYLD_LIBRARY_PATH="${OSC_home}/bin" 331 export DYLD_LIBRARY_PATH 332 else 333 DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:${OSC_home}/bin" 334 export DYLD_LIBRARY_PATH 335 fi 336 fi 337 unset obuild_platform_result 338 else 339 if [ "${obuild_platform_exe}" = "" ] ; then 340 echo "Variable obuild_platform_exe not defined." 341 return 342 fi 343 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 344 if [ ${obuild_platform_result} = yes ] ; then 345 if [ "${LD_LIBRARY_PATH}" = "" ] ; then 346 LD_LIBRARY_PATH="${OSC_home}/bin" 347 export LD_LIBRARY_PATH 348 else 349 LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${OSC_home}/bin" 350 export LD_LIBRARY_PATH 351 fi 352 fi 353 unset obuild_platform_result 354 fi 355 unset obuild_platform_result 202 356 203 357 if [ "${obuild_platform_exe}" = "" ] ; then -
snovis/trunk/obuild/sh/broadcast_install
r188 r244 102 102 exit 103 103 fi 104 if [ "${obuild_find_exe}" = "" ] ; then105 echo "Variable obuild_find_exe not defined."106 exit107 fi108 obuild_OnX_path=`"${obuild_find_exe}" OnX 'v17r*'`109 if [ "${obuild_OnX_path}" = "" ] ; then110 echo "Can't find OnX package."111 exit112 fi113 if [ "${obuild_find_exe}" = "" ] ; then114 echo "Variable obuild_find_exe not defined."115 exit116 fi117 obuild_G4Lab_path=`"${obuild_find_exe}" G4Lab 'v8r*'`118 if [ "${obuild_G4Lab_path}" = "" ] ; then119 echo "Can't find G4Lab package."120 exit121 fi122 104 123 105 # install setup scripts of used packages : … … 129 111 ./sh/broadcast_install ${obuild_args} 130 112 131 if [ ! -e "${obuild_OnX_path}/obuild/sh/broadcast_install" ] ; then132 echo "broadcast_install script not found for package OnX."133 exit134 fi135 cd "${obuild_OnX_path}/obuild"136 ./sh/broadcast_install ${obuild_args}137 138 if [ ! -e "${obuild_G4Lab_path}/obuild/sh/broadcast_install" ] ; then139 echo "broadcast_install script not found for package G4Lab."140 exit141 fi142 cd "${obuild_G4Lab_path}/obuild"143 ./sh/broadcast_install ${obuild_args}144 -
snovis/trunk/obuild/sh/build
r134 r244 117 117 if [ "${obuild_group}" = main ] ; then 118 118 if [ "${obuild_do_mains}" = yes ] ; then 119 if [ -e ./sh/build_lib_G4LabCore ] ; then 120 ./sh/build_lib_G4LabCore ${obuild_args} 121 obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi 122 fi 123 fi 124 fi 125 if [ "${obuild_group}" = main ] ; then 126 if [ "${obuild_do_mains}" = yes ] ; then 127 if [ -e ./sh/build_lib_G4LabUIOnX ] ; then 128 ./sh/build_lib_G4LabUIOnX ${obuild_args} 129 obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi 130 fi 131 fi 132 fi 133 134 if [ "${obuild_group}" = main ] ; then 135 if [ "${obuild_do_mains}" = yes ] ; then 136 if [ -e ./sh/build_dll_G4Lab ] ; then 137 ./sh/build_dll_G4Lab ${obuild_args} 138 obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi 139 fi 140 fi 141 fi 142 if [ "${obuild_group}" = main ] ; then 143 if [ "${obuild_do_mains}" = yes ] ; then 119 144 if [ -e ./sh/build_dll_snovis ] ; then 120 145 ./sh/build_dll_snovis ${obuild_args} … … 126 151 if [ "${obuild_group}" = main ] ; then 127 152 if [ "${obuild_do_mains}" = yes ] ; then 128 if [ -e ./sh/build_app_prog_snova ] ; then 129 ./sh/build_app_prog_snova ${obuild_args} 130 obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi 131 fi 132 fi 133 fi 134 if [ "${obuild_group}" = main ] ; then 135 if [ "${obuild_do_mains}" = yes ] ; then 136 if [ -e ./sh/build_app_snovis_session ] ; then 137 ./sh/build_app_snovis_session ${obuild_args} 138 obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi 139 fi 140 fi 141 fi 142 143 if [ "${obuild_group}" = main ] ; then 144 if [ "${obuild_do_mains}" = yes ] ; then 145 if [ -e ./sh/build_darwin_app_snovis_session ] ; then 146 ./sh/build_darwin_app_snovis_session ${obuild_args} 153 if [ -e ./sh/build_app_prog_snovis ] ; then 154 ./sh/build_app_prog_snovis ${obuild_args} 147 155 obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi 148 156 fi -
snovis/trunk/obuild/sh/build_dll_snovis
r137 r244 125 125 exit 126 126 fi 127 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 128 if [ ${obuild_platform_result} = yes ] ; then 129 HDF5_home="/usr/local/HDF5/1.6.5" 130 fi 131 unset obuild_platform_result 132 if [ "${obuild_platform_exe}" = "" ] ; then 133 echo "Variable obuild_platform_exe not defined." 134 exit 135 fi 136 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 137 if [ ${obuild_platform_result} = yes ] ; then 138 OSC_home="/usr/local/OpenScientist/v16r0" 139 fi 140 unset obuild_platform_result 141 if [ "${obuild_platform_exe}" = "" ] ; then 142 echo "Variable obuild_platform_exe not defined." 143 exit 144 fi 127 145 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'` 128 146 if [ ${obuild_platform_result} = yes ] ; then … … 267 285 fi 268 286 269 if [ ! -e "${obuild_snovis_path}/${obuild_dir_bin}/obuild_find" ] ; then 270 if [ ! -e "${obuild_snovis_path}/obuild/cpp/obuild_find.cpp" ] ; then 271 echo "Program source obuild_find.cpp not found." 272 exit 273 fi 274 if [ "${obuild_cxx_command}" = "" ] ; then 275 if [ "${OBUILD_CXX}" != "" ] ; then 276 obuild_find_compiler=${OBUILD_CXX} 277 else 278 obuild_find_compiler=c++ 279 fi 280 else 281 obuild_find_compiler=${obuild_cxx_command} 282 fi 283 ${obuild_find_compiler} -o "${obuild_snovis_path}/${obuild_dir_bin}/obuild_find" "${obuild_snovis_path}/obuild/cpp/obuild_find.cpp" 284 unset obuild_find_compiler 285 if [ ! -e "${obuild_snovis_path}/${obuild_dir_bin}/obuild_find" ] ; then 286 echo "Program obuild_find not found." 287 exit 288 fi 289 fi 290 obuild_find_exe="${obuild_snovis_path}/${obuild_dir_bin}/obuild_find" 291 if [ "${obuild_find_exe}" = "" ] ; then 292 echo "Variable obuild_find_exe not defined." 293 exit 294 fi 295 obuild_Lib_path=`"${obuild_find_exe}" Lib 'v8r*'` 296 if [ "${obuild_Lib_path}" = "" ] ; then 297 echo "Can't find Lib package." 298 exit 299 fi 300 if [ "${obuild_find_exe}" = "" ] ; then 301 echo "Variable obuild_find_exe not defined." 302 exit 303 fi 304 obuild_Slash_path=`"${obuild_find_exe}" Slash 'v1r*'` 305 if [ "${obuild_Slash_path}" = "" ] ; then 306 echo "Can't find Slash package." 307 exit 308 fi 309 if [ "${obuild_find_exe}" = "" ] ; then 310 echo "Variable obuild_find_exe not defined." 311 exit 312 fi 313 obuild_AIDA_path=`"${obuild_find_exe}" AIDA 'v3r2p1'` 314 if [ "${obuild_AIDA_path}" = "" ] ; then 315 echo "Can't find AIDA package." 316 exit 317 fi 318 if [ "${obuild_find_exe}" = "" ] ; then 319 echo "Variable obuild_find_exe not defined." 320 exit 321 fi 322 obuild_OnX_path=`"${obuild_find_exe}" OnX 'v17r*'` 323 if [ "${obuild_OnX_path}" = "" ] ; then 324 echo "Can't find OnX package." 325 exit 326 fi 327 if [ "${obuild_find_exe}" = "" ] ; then 328 echo "Variable obuild_find_exe not defined." 329 exit 330 fi 331 obuild_G4Lab_path=`"${obuild_find_exe}" G4Lab 'v8r*'` 332 if [ "${obuild_G4Lab_path}" = "" ] ; then 333 echo "Can't find G4Lab package." 334 exit 335 fi 336 if [ "${obuild_find_exe}" = "" ] ; then 337 echo "Variable obuild_find_exe not defined." 338 exit 339 fi 340 obuild_BatchLab_path=`"${obuild_find_exe}" BatchLab 'v1r*'` 341 if [ "${obuild_BatchLab_path}" = "" ] ; then 342 echo "Can't find BatchLab package." 343 exit 344 fi 345 if [ "${obuild_find_exe}" = "" ] ; then 346 echo "Variable obuild_find_exe not defined." 347 exit 348 fi 349 obuild_HEPVis_path=`"${obuild_find_exe}" HEPVis 'v6r*'` 350 if [ "${obuild_HEPVis_path}" = "" ] ; then 351 echo "Can't find HEPVis package." 352 exit 353 fi 354 if [ "${obuild_find_exe}" = "" ] ; then 355 echo "Variable obuild_find_exe not defined." 356 exit 357 fi 358 obuild_CoinGL_path=`"${obuild_find_exe}" CoinGL 'v1r*'` 359 if [ "${obuild_CoinGL_path}" = "" ] ; then 360 echo "Can't find CoinGL package." 361 exit 362 fi 363 if [ "${obuild_find_exe}" = "" ] ; then 364 echo "Variable obuild_find_exe not defined." 365 exit 366 fi 367 obuild_Lib_path=`"${obuild_find_exe}" Lib 'v8r*'` 368 if [ "${obuild_Lib_path}" = "" ] ; then 369 echo "Can't find Lib package." 370 exit 371 fi 372 if [ "${obuild_find_exe}" = "" ] ; then 373 echo "Variable obuild_find_exe not defined." 374 exit 375 fi 376 obuild_expat_path=`"${obuild_find_exe}" expat 'v1r*'` 377 if [ "${obuild_expat_path}" = "" ] ; then 378 echo "Can't find expat package." 379 exit 380 fi 381 if [ "${obuild_find_exe}" = "" ] ; then 382 echo "Variable obuild_find_exe not defined." 383 exit 384 fi 385 obuild_Lib_path=`"${obuild_find_exe}" Lib 'v8r*'` 386 if [ "${obuild_Lib_path}" = "" ] ; then 387 echo "Can't find Lib package." 388 exit 389 fi 390 if [ "${obuild_find_exe}" = "" ] ; then 391 echo "Variable obuild_find_exe not defined." 392 exit 393 fi 394 obuild_zlib_path=`"${obuild_find_exe}" zlib 'v1r*'` 395 if [ "${obuild_zlib_path}" = "" ] ; then 396 echo "Can't find zlib package." 397 exit 398 fi 399 if [ "${obuild_find_exe}" = "" ] ; then 400 echo "Variable obuild_find_exe not defined." 401 exit 402 fi 403 obuild_Lib_path=`"${obuild_find_exe}" Lib 'v8r*'` 404 if [ "${obuild_Lib_path}" = "" ] ; then 405 echo "Can't find Lib package." 406 exit 407 fi 408 if [ "${obuild_find_exe}" = "" ] ; then 409 echo "Variable obuild_find_exe not defined." 410 exit 411 fi 412 obuild_HEPVis_path=`"${obuild_find_exe}" HEPVis 'v6r*'` 413 if [ "${obuild_HEPVis_path}" = "" ] ; then 414 echo "Can't find HEPVis package." 415 exit 416 fi 417 if [ "${obuild_find_exe}" = "" ] ; then 418 echo "Variable obuild_find_exe not defined." 419 exit 420 fi 421 obuild_HEPVis_path=`"${obuild_find_exe}" HEPVis 'v6r*'` 422 if [ "${obuild_HEPVis_path}" = "" ] ; then 423 echo "Can't find HEPVis package." 424 exit 425 fi 426 if [ "${obuild_find_exe}" = "" ] ; then 427 echo "Variable obuild_find_exe not defined." 428 exit 429 fi 430 obuild_jpeg_path=`"${obuild_find_exe}" jpeg 'v1r*'` 431 if [ "${obuild_jpeg_path}" = "" ] ; then 432 echo "Can't find jpeg package." 433 exit 434 fi 435 if [ "${obuild_find_exe}" = "" ] ; then 436 echo "Variable obuild_find_exe not defined." 437 exit 438 fi 439 obuild_dvi2bitmap_path=`"${obuild_find_exe}" dvi2bitmap 'v1r*'` 440 if [ "${obuild_dvi2bitmap_path}" = "" ] ; then 441 echo "Can't find dvi2bitmap package." 442 exit 443 fi 444 if [ "${obuild_find_exe}" = "" ] ; then 445 echo "Variable obuild_find_exe not defined." 446 exit 447 fi 448 obuild_freetype2_path=`"${obuild_find_exe}" freetype2 'v1r*'` 449 if [ "${obuild_freetype2_path}" = "" ] ; then 450 echo "Can't find freetype2 package." 451 exit 452 fi 453 if [ "${obuild_find_exe}" = "" ] ; then 454 echo "Variable obuild_find_exe not defined." 455 exit 456 fi 457 obuild_CoinGL_path=`"${obuild_find_exe}" CoinGL 'v1r*'` 458 if [ "${obuild_CoinGL_path}" = "" ] ; then 459 echo "Can't find CoinGL package." 460 exit 461 fi 287 if [ "${obuild_platform_exe}" = "" ] ; then 288 echo "Variable obuild_platform_exe not defined." 289 exit 290 fi 291 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'` 292 if [ ${obuild_platform_result} = yes ] ; then 293 obuild_cxx_macros="${obuild_cxx_macros} -DAPPLE_GL" 294 fi 295 unset obuild_platform_result 296 462 297 463 298 obuild_cxx_includes="-I\"${obuild_snovis_path}\"" 464 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_Lib_path}/include\"" 465 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_Slash_path}\"" 466 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_AIDA_path}/src/cpp\"" 467 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_OnX_path}/include\"" 468 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_G4Lab_path}/include\"" 469 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_BatchLab_path}\"" 470 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_HEPVis_path}/include\"" 471 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_CoinGL_path}/include\"" 299 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_snovis_path}/source\"" 300 if [ "${obuild_platform_exe}" = "" ] ; then 301 echo "Variable obuild_platform_exe not defined." 302 exit 303 fi 304 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 305 if [ ${obuild_platform_result} = yes ] ; then 306 obuild_cxx_includes="${obuild_cxx_includes} -I${CLHEP_home}/include" 307 fi 308 unset obuild_platform_result 309 if [ "${obuild_platform_exe}" = "" ] ; then 310 echo "Variable obuild_platform_exe not defined." 311 exit 312 fi 313 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 314 if [ ${obuild_platform_result} = yes ] ; then 315 obuild_cxx_includes="${obuild_cxx_includes} -I${Geant4_home}/include" 316 fi 317 unset obuild_platform_result 318 if [ "${obuild_platform_exe}" = "" ] ; then 319 echo "Variable obuild_platform_exe not defined." 320 exit 321 fi 322 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 323 if [ ${obuild_platform_result} = yes ] ; then 324 obuild_cxx_includes="${obuild_cxx_includes} -I${OSC_home}/Resources/AIDA/src/cpp" 325 fi 326 unset obuild_platform_result 327 if [ "${obuild_platform_exe}" = "" ] ; then 328 echo "Variable obuild_platform_exe not defined." 329 exit 330 fi 331 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 332 if [ ${obuild_platform_result} = yes ] ; then 333 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" 334 fi 335 unset obuild_platform_result 336 if [ "${obuild_platform_exe}" = "" ] ; then 337 echo "Variable obuild_platform_exe not defined." 338 exit 339 fi 340 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 341 if [ ${obuild_platform_result} = yes ] ; then 342 obuild_cxx_includes="${obuild_cxx_includes} -I${OSC_home}/Resources/BatchLab -I${OSC_home}/Resources/OnXLab" 343 fi 344 unset obuild_platform_result 345 if [ "${obuild_platform_exe}" = "" ] ; then 346 echo "Variable obuild_platform_exe not defined." 347 exit 348 fi 349 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 350 if [ ${obuild_platform_result} = yes ] ; then 351 obuild_cxx_includes="${obuild_cxx_includes} -I${OSC_home}/Resources/CoinGL/include -I${OSC_home}/Resources/HEPVis/include" 352 fi 353 unset obuild_platform_result 472 354 if [ "${obuild_platform_exe}" = "" ] ; then 473 355 echo "Variable obuild_platform_exe not defined." … … 518 400 fi #do_not_compile 519 401 520 obuild_linked_paths="-L\"${obuild_Lib_path}/${obuild_dir_bin}\"" 521 obuild_linked_libraries=" -lLibXML" 522 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_expat_path}/${obuild_dir_bin}\"" 523 obuild_linked_libraries="${obuild_linked_libraries} -losc_expat" 524 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_Lib_path}/${obuild_dir_bin}\"" 525 obuild_linked_libraries="${obuild_linked_libraries} -lLibZip" 526 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_zlib_path}/${obuild_dir_bin}\"" 527 obuild_linked_libraries="${obuild_linked_libraries} -losc_z" 528 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_Lib_path}/${obuild_dir_bin}\"" 529 obuild_linked_libraries="${obuild_linked_libraries} -lLibUtils" 530 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_HEPVis_path}/${obuild_dir_bin}\"" 531 obuild_linked_libraries="${obuild_linked_libraries} -lHEPVisGeometry" 532 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_HEPVis_path}/${obuild_dir_bin}\"" 533 obuild_linked_libraries="${obuild_linked_libraries} -lHEPVisUtils" 534 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_jpeg_path}/${obuild_dir_bin}\"" 535 obuild_linked_libraries="${obuild_linked_libraries} -losc_jpeg" 536 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_dvi2bitmap_path}/${obuild_dir_bin}\"" 537 obuild_linked_libraries="${obuild_linked_libraries} -losc_dvi2bitmap" 538 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_freetype2_path}/${obuild_dir_bin}\"" 539 obuild_linked_libraries="${obuild_linked_libraries} -losc_freetype2" 540 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_CoinGL_path}/${obuild_dir_bin}\"" 541 obuild_linked_libraries="${obuild_linked_libraries} -losc_Coin" 402 obuild_linked_libraries="-L${Geant4_home}/lib -lG4physicslists" 403 if [ "${obuild_platform_exe}" = "" ] ; then 404 echo "Variable obuild_platform_exe not defined." 405 exit 406 fi 407 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 408 if [ ${obuild_platform_result} = yes ] ; then 409 obuild_linked_libraries="${obuild_linked_libraries} -L${Geant4_home}/lib -lG4readout -lG4run -lG4event -lG4tracking -lG4processes -lG4digits_hits -lG4track -lG4particles -lG4geometry -lG4graphics_reps -lG4materials -lG4intercoms -lG4global" 410 fi 411 unset obuild_platform_result 412 if [ "${obuild_platform_exe}" = "" ] ; then 413 echo "Variable obuild_platform_exe not defined." 414 exit 415 fi 416 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 417 if [ ${obuild_platform_result} = yes ] ; then 418 obuild_linked_libraries="${obuild_linked_libraries} -L${CLHEP_home}/lib -lCLHEP-2.0.3.1" 419 fi 420 unset obuild_platform_result 421 if [ "${obuild_platform_exe}" = "" ] ; then 422 echo "Variable obuild_platform_exe not defined." 423 exit 424 fi 425 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 426 if [ ${obuild_platform_result} = yes ] ; then 427 obuild_linked_libraries="${obuild_linked_libraries} -L${OSC_home}/lib -lHEPVisPlotter -lHEPVisDetector -lHEPVisGeometry -lHEPVisUtils -losc_dvi2bitmap -losc_jpeg -losc_freetype2 -losc_Coin -lLibUtils" 428 fi 429 unset obuild_platform_result 430 if [ "${obuild_platform_exe}" = "" ] ; then 431 echo "Variable obuild_platform_exe not defined." 432 exit 433 fi 434 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 435 if [ ${obuild_platform_result} = yes ] ; then 436 obuild_linked_libraries="${obuild_linked_libraries} -L${OSC_home}/lib -lOnXCore -lLibXML -losc_expat -lLibZip -lz -lLibUtils -ldl" 437 fi 438 unset obuild_platform_result 542 439 if [ "${obuild_platform_exe}" = "" ] ; then 543 440 echo "Variable obuild_platform_exe not defined." … … 583 480 if [ ${obuild_platform_result} = yes ] ; then 584 481 obuild_linked_libraries="${obuild_linked_libraries} -L${OBUILD_OPENGL_HOME}/lib -lGLU -lGL -lm" 585 fi586 unset obuild_platform_result587 if [ "${obuild_platform_exe}" = "" ] ; then588 echo "Variable obuild_platform_exe not defined."589 exit590 fi591 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`592 if [ ${obuild_platform_result} = yes ] ; then593 obuild_linked_libraries="${obuild_linked_libraries} -lpthread"594 482 fi 595 483 unset obuild_platform_result -
snovis/trunk/obuild/sh/check_foreigns
r137 r244 97 97 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 98 98 if [ ${obuild_platform_result} = yes ] ; then 99 HDF5_home="/usr/local/HDF5/1.6.5" 100 fi 101 unset obuild_platform_result 102 if [ "${obuild_platform_exe}" = "" ] ; then 103 echo "Variable obuild_platform_exe not defined." 104 exit 105 fi 106 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 107 if [ ${obuild_platform_result} = yes ] ; then 108 OSC_home="/usr/local/OpenScientist/v16r0" 109 fi 110 unset obuild_platform_result 111 if [ "${obuild_platform_exe}" = "" ] ; then 112 echo "Variable obuild_platform_exe not defined." 113 exit 114 fi 115 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 116 if [ ${obuild_platform_result} = yes ] ; then 99 117 if [ "${obuild_check_what}" = "CLHEP" ] ; then 100 118 if [ ! -d "${CLHEP_home}" ] ; then … … 119 137 fi 120 138 unset obuild_platform_result 139 if [ "${obuild_platform_exe}" = "" ] ; then 140 echo "Variable obuild_platform_exe not defined." 141 exit 142 fi 143 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 144 if [ ${obuild_platform_result} = yes ] ; then 145 if [ "${obuild_check_what}" = "HDF5" ] ; then 146 if [ ! -d "${HDF5_home}" ] ; then 147 echo "WARNING : HDF5 not found under ${HDF5_home}" 148 exit 1 149 fi 150 fi 151 fi 152 unset obuild_platform_result 153 if [ "${obuild_platform_exe}" = "" ] ; then 154 echo "Variable obuild_platform_exe not defined." 155 exit 156 fi 157 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 158 if [ ${obuild_platform_result} = yes ] ; then 159 if [ "${obuild_check_what}" = "OpenScientist" ] ; then 160 if [ ! -d "${OSC_home}" ] ; then 161 echo "WARNING : OpenScientist not found under ${OSC_home}" 162 exit 1 163 fi 164 fi 165 fi 166 unset obuild_platform_result 121 167
Note: See TracChangeset
for help on using the changeset viewer.