diff -N -r -u -b boost_1_34_0/tools/jam/src/build.jam boost_1_34_0_amiga/tools/jam/src/build.jam
|
old
|
new
|
|
| 164 | 164 | [ opt --debug : -s -O3 -fno-inline -pg ] |
| 165 | 165 | -I$(--python-include) |
| 166 | 166 | : -L$(--python-lib[1]) -l$(--python-lib[2]) ; |
| | 167 | ## GCC 4.x on AmigaOS |
| | 168 | toolset amiga gcc : "-mcrt=clib2 -o " : -D |
| | 169 | : |
| | 170 | [ opt --release : -O3 ] |
| | 171 | [ opt --debug : -ggdb -O0 ] : |
| | 172 | -lunix ; |
| 167 | 173 | ## Intel C/C++ for Linux |
| 168 | 174 | toolset intel-linux icc : "-o " : -D |
| 169 | 175 | : |
| … |
… |
|
| 402 | 408 | { |
| 403 | 409 | jam.source += execmac.c filemac.c pathmac.c ; |
| 404 | 410 | } |
| | 411 | else if $(AMIGA) |
| | 412 | { |
| | 413 | jam.source += execamiga.c fileamiga.c pathamiga.c ; |
| | 414 | } |
| 405 | 415 | else |
| 406 | 416 | { |
| 407 | 417 | jam.source += execunix.c fileunix.c pathunix.c ; |
| … |
… |
|
| 455 | 465 | if $(NT) { actions piecemeal together existing [DELETE] { |
| 456 | 466 | del /F /Q $(>) |
| 457 | 467 | } } |
| 458 | | if $(UNIX) { actions piecemeal together existing [DELETE] { |
| | 468 | if $(UNIX) || $(AMIGA) { actions piecemeal together existing [DELETE] { |
| 459 | 469 | rm -f $(>) |
| 460 | 470 | } } |
| 461 | 471 | if $(VMS) { actions piecemeal together existing [DELETE] { |
| … |
… |
|
| 464 | 474 | if $(NT) { |
| 465 | 475 | --chmod+w = "attrib -r " ; |
| 466 | 476 | } |
| 467 | | if $(UNIX) { |
| | 477 | if $(UNIX) || $(AMIGA) { |
| 468 | 478 | --chmod+w = "chmod +w " ; |
| 469 | 479 | } |
| 470 | 480 | if $(VMS) { |
| … |
… |
|
| 480 | 490 | if $(NT) { actions [MKDIR] { |
| 481 | 491 | md $(<) |
| 482 | 492 | } } |
| 483 | | if $(UNIX) { actions [MKDIR] { |
| | 493 | if $(UNIX) || $(AMIGA) { actions [MKDIR] { |
| 484 | 494 | mkdir $(<) |
| 485 | 495 | } } |
| 486 | 496 | if $(VMS) { actions [MKDIR] { |
| … |
… |
|
| 526 | 536 | return $(exe) ; |
| 527 | 537 | } |
| 528 | 538 | if ! $(--def[2]) { actions [COMPILE] { |
| 529 | | "$(--cc)" $(--bin)$(<:D=) $(--dir)$(<:D) $(--out)$(<) $(--def)$(--defs) $(--flags) "$(--libs)" $(>) |
| | 539 | "$(--cc)" $(--bin)$(<:D=) $(--dir)$(<:D) $(--out)$(<) $(--def)$(--defs) $(--flags) $(>) "$(--libs)" |
| 530 | 540 | } } |
| 531 | 541 | else { actions [COMPILE] { |
| 532 | | "$(--cc)" $(--bin)$(<:D=) $(--dir)$(<:D) $(--out)$(<) $(--def[1])$(--defs:J=$(--def[2]))$(--def[3]) $(--flags) "$(--libs)" $(>) |
| | 542 | "$(--cc)" $(--bin)$(<:D=) $(--dir)$(<:D) $(--out)$(<) $(--def[1])$(--defs:J=$(--def[2]))$(--def[3]) $(--flags) $(>) "$(--libs)" |
| 533 | 543 | } } |
| 534 | 544 | if $(VMS) { actions [COMPILE.LINK] { |
| 535 | 545 | "$(--link)" $(--link-bin)$(<:D=) $(--link-dir)$(<:D) $(--link-out)$(<) $(--link-def)$(--link-defs) $(--link-flags) "$(--link-libs)" $(>J=", ") |
| … |
… |
|
| 548 | 558 | if $(NT) { actions [LINK] { |
| 549 | 559 | copy $(>) $(<) |
| 550 | 560 | } } |
| 551 | | if $(UNIX) { actions [LINK] { |
| | 561 | if $(UNIX) || $(AMIGA) { actions [LINK] { |
| 552 | 562 | ln -fs $(>) $(<) |
| 553 | 563 | } } |
| 554 | 564 | if $(VMS) { actions [LINK] { |
| … |
… |
|
| 564 | 574 | del /f $(<) |
| 565 | 575 | rename $(>) $(<) |
| 566 | 576 | } } |
| 567 | | if $(UNIX) { actions [MOVE] { |
| | 577 | if $(UNIX) || $(AMIGA) { actions [MOVE] { |
| 568 | 578 | mv -f $(>) $(<) |
| 569 | 579 | } } |
| 570 | 580 | if $(VMS) { actions [MOVE] { |
| … |
… |
|
| 635 | 645 | rename y.tab$(<[2]:S) $(<[2]) |
| 636 | 646 | ) else set _error_ = |
| 637 | 647 | } } |
| 638 | | if $(UNIX) { actions [YACC] { |
| | 648 | if $(UNIX) || $(AMIGA) { actions [YACC] { |
| 639 | 649 | if ` "$(yacc)" $(>) ` ; then |
| 640 | 650 | mv -f y.tab$(<[1]:S) $(<[1]) |
| 641 | 651 | mv -f y.tab$(<[2]:S) $(<[2]) |
| … |
… |
|
| 782 | 792 | copy /Y "$(>)" "$(<)" >NUL: |
| 783 | 793 | } |
| 784 | 794 | } |
| 785 | | if $(UNIX) |
| | 795 | if $(UNIX) || $(AMIGA) |
| 786 | 796 | { |
| 787 | 797 | actions [PACK] { |
| 788 | 798 | tar zcf "$(<)" "$(>)" |
| … |
… |
|
| 800 | 810 | { |
| 801 | 811 | local zip = ; |
| 802 | 812 | if $(NT) { zip = $($(<).exe:S=.zip) ; } |
| 803 | | if $(UNIX) { zip = $($(<).exe:S=.tgz) ; } |
| | 813 | if $(UNIX) || $(AMIGA) { zip = $($(<).exe:S=.tgz) ; } |
| 804 | 814 | zip = $(zip:S=)-$(VERSION)-$(RELEASE)-$(platform)$(zip:S) ; |
| 805 | 815 | DEPENDS $(zip) : $($(<).exe) ; |
| 806 | 816 | DEPENDS dist : $(zip) ; |
| 807 | 817 | #~ LOCATE on $(zip) = $(locate-target) ; |
| 808 | 818 | if $(NT) { [ZIP] $(zip) : $($(<).exe) ; } |
| 809 | | if $(UNIX) { [PACK] $(zip) : $($(<).exe) ; } |
| | 819 | if $(UNIX) || $(AMIGA) { [PACK] $(zip) : $($(<).exe) ; } |
| 810 | 820 | .clean $(zip) ; |
| 811 | 821 | } |
| 812 | 822 | |
| … |
… |
|
| 828 | 838 | |
| 829 | 839 | local pack = ; |
| 830 | 840 | if $(NT) { pack = $(dst-dir).zip ; } |
| 831 | | if $(UNIX) { pack = $(dst-dir).tgz ; } |
| | 841 | if $(UNIX) || $(AMIGA) { pack = $(dst-dir).tgz ; } |
| 832 | 842 | |
| 833 | 843 | DEPENDS dist : $(pack) ; |
| 834 | 844 | DEPENDS $(pack) : $(dst-files) ; |