Changeset 254
- Timestamp:
- Feb 15, 2007, 12:08:19 PM (17 years ago)
- Location:
- build/bhep/trunk/obuild
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
build/bhep/trunk/obuild/DOS/build_lib_bhep.bat
r249 r254 309 309 IF NOT EXIST "%obuild_bhep_path%\%obuild_dir_bin%\lib_bhep" MKDIR "%obuild_bhep_path%\%obuild_dir_bin%\lib_bhep" 310 310 311 REM # pre_build scripts : 312 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_bhep_0=%%d 313 cd "%obuild_bhep_path%\%obuild_dir_bin%" 314 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 315 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 316 cd "%obuild_pwd_bhep_0%" 317 SET obuild_pwd_bhep_0= 318 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_26 319 ./cpincs.sh 320 :end_if_platform_26 321 SET obuild_platform_result= 322 311 323 @IF %obuild_verbose% == yes @ECHO ON 312 324 cd "%obuild_bhep_path%\%obuild_dir_bin%" … … 526 538 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 527 539 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 528 cd "%obuild_pwd_bhep_0%"529 SET obuild_pwd_bhep_0=530 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_61531 SET obuild_cxx_linker_command=c++532 :end_if_platform_61533 SET obuild_platform_result=534 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_bhep_0=%%d535 cd "%obuild_bhep_path%\%obuild_dir_bin%"536 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return537 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j538 540 cd "%obuild_pwd_bhep_0%" 539 541 SET obuild_pwd_bhep_0= … … 545 547 cd "%obuild_bhep_path%\%obuild_dir_bin%" 546 548 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 549 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 550 cd "%obuild_pwd_bhep_0%" 551 SET obuild_pwd_bhep_0= 552 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_63 553 SET obuild_cxx_linker_command=c++ 554 :end_if_platform_63 555 SET obuild_platform_result= 556 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_bhep_0=%%d 557 cd "%obuild_bhep_path%\%obuild_dir_bin%" 558 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 547 559 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 548 560 cd "%obuild_pwd_bhep_0%" 549 561 SET obuild_pwd_bhep_0= 550 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_6 3562 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_64 551 563 SET obuild_cxx_linker_command=cxx 552 :end_if_platform_6 3564 :end_if_platform_64 553 565 SET obuild_platform_result= 554 566 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_bhep_0=%%d … … 558 570 cd "%obuild_pwd_bhep_0%" 559 571 SET obuild_pwd_bhep_0= 560 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_6 4572 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_65 561 573 SET obuild_cxx_linker_command=link.exe 562 :end_if_platform_6 4574 :end_if_platform_65 563 575 SET obuild_platform_result= 564 576 IF "%obuild_cxx_linker_command%" == "" ECHO Variable obuild_cxx_linker_command not defined. && GOTO obuild_return … … 568 580 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 569 581 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 570 cd "%obuild_pwd_bhep_0%"571 SET obuild_pwd_bhep_0=572 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_65573 SET obuild_cxx_linker_debug=-g574 :end_if_platform_65575 SET obuild_platform_result=576 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_bhep_0=%%d577 cd "%obuild_bhep_path%\%obuild_dir_bin%"578 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return579 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j580 582 cd "%obuild_pwd_bhep_0%" 581 583 SET obuild_pwd_bhep_0= … … 587 589 cd "%obuild_bhep_path%\%obuild_dir_bin%" 588 590 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 589 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j591 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 590 592 cd "%obuild_pwd_bhep_0%" 591 593 SET obuild_pwd_bhep_0= … … 597 599 cd "%obuild_bhep_path%\%obuild_dir_bin%" 598 600 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 601 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 602 cd "%obuild_pwd_bhep_0%" 603 SET obuild_pwd_bhep_0= 604 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_68 605 SET obuild_cxx_linker_debug=-g 606 :end_if_platform_68 607 SET obuild_platform_result= 608 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_bhep_0=%%d 609 cd "%obuild_bhep_path%\%obuild_dir_bin%" 610 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 599 611 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 600 612 cd "%obuild_pwd_bhep_0%" 601 613 SET obuild_pwd_bhep_0= 602 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_6 8614 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_69 603 615 SET obuild_cxx_linker_debug=/DEBUG 604 :end_if_platform_6 8616 :end_if_platform_69 605 617 SET obuild_platform_result= 606 618 … … 611 623 cd "%obuild_pwd_bhep_0%" 612 624 SET obuild_pwd_bhep_0= 613 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_ 69625 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_70 614 626 SET obuild_cxx_linker_options=/nologo 615 :end_if_platform_ 69616 SET obuild_platform_result= 617 618 IF NOT %obuild_debug% == yes GOTO else_if_db_build_lib_bhep_sh_7 0627 :end_if_platform_70 628 SET obuild_platform_result= 629 630 IF NOT %obuild_debug% == yes GOTO else_if_db_build_lib_bhep_sh_71 619 631 SET obuild_cxx_linker_debug_local=%obuild_cxx_linker_debug% 620 GOTO end_if_db_build_lib_bhep_sh_7 0621 :else_if_db_build_lib_bhep_sh_7 0632 GOTO end_if_db_build_lib_bhep_sh_71 633 :else_if_db_build_lib_bhep_sh_71 622 634 SET obuild_cxx_linker_debug_local= 623 :end_if_db_build_lib_bhep_sh_7 0624 625 IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_lib_bhep_sh_7 1635 :end_if_db_build_lib_bhep_sh_71 636 637 IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_lib_bhep_sh_72 626 638 SET obuild_cxx_linker_optimize_local=%obuild_cxx_linker_optimize% 627 GOTO end_if_opt_build_lib_bhep_sh_7 1628 :else_if_opt_build_lib_bhep_sh_7 1639 GOTO end_if_opt_build_lib_bhep_sh_72 640 :else_if_opt_build_lib_bhep_sh_72 629 641 SET obuild_cxx_linker_optimize_local= 630 :end_if_opt_build_lib_bhep_sh_7 1642 :end_if_opt_build_lib_bhep_sh_72 631 643 632 644 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_bhep_0=%%d -
build/bhep/trunk/obuild/sh/build_lib_bhep
r249 r254 304 304 /bin/mkdir -p "${obuild_bhep_path}/${obuild_dir_bin}/lib_bhep" 305 305 306 # pre_build scripts : 307 if [ "${obuild_platform_exe}" = "" ] ; then 308 echo "Variable obuild_platform_exe not defined." 309 exit 310 fi 311 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 312 if [ ${obuild_platform_result} = yes ] ; then 313 ./cpincs.sh 314 fi 315 unset obuild_platform_result 316 306 317 # Compile bhep files : 307 318 if [ ${obuild_do_not_compile} = no ] ; then -
build/bhep/trunk/obuild/this.obuild
r248 r254 14 14 15 15 <library name="bhep"> 16 <pre_build platform="UNIX">./cpincs.sh</pre_build> 17 16 18 <file>../source/version.cpp</file> 17 19 <file>../source/base/event.cpp</file>
Note: See TracChangeset
for help on using the changeset viewer.