Changeset 2717 for box/trunk/infrastructure/makebuildenv.pl.in
- Timestamp:
- 28/08/2010 10:01:16 (21 months ago)
- File:
-
- 1 edited
-
box/trunk/infrastructure/makebuildenv.pl.in (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/infrastructure/makebuildenv.pl.in
r2640 r2717 253 253 # check directory exists 254 254 die "Module $mod can't be found\n" unless -d $mod; 255 256 # skip bundled libraries with their own Makefile process 257 next if ($mod =~ m|^bundled/|); 255 258 256 259 # and put in lists … … 511 514 } 512 515 513 514 516 # make include path 515 my $include_paths = join(' ',map {'-I../../'.$_} @all_deps_for_module); 517 my $include_paths = ""; 518 519 foreach my $mod (@all_deps_for_module) 520 { 521 if ($mod =~ m|^bundled/| and -d "$mod/include") 522 { 523 $include_paths .= "-I../../$mod/include "; 524 } 525 else 526 { 527 $include_paths .= "-I../../$mod "; 528 } 529 } 516 530 517 531 # is target a library? … … 775 789 $dep_target = "\$(OUTBASE)/$dep/$1.a"; 776 790 } 777 elsif ($dep =~ m|^.*/(.*)|) 791 elsif ($dep =~ m|^bundled/(.*)|) 792 { 793 $dep_target = "lib$1.a"; 794 } 795 elsif ($dep =~ m|^bin/(.*)|) 778 796 { 779 797 $dep_target = "\$(OUTBASE)/$dep/$1$platform_exe_ext"; … … 781 799 else 782 800 { 783 $dep_target = "lib$dep.a"; 801 die "Don't know how to add compile-time " . 802 "dependency on $dep"; 784 803 } 785 804 … … 802 821 foreach my $dep (reverse @all_deps_for_module) 803 822 { 804 if ($dep =~ m|^lib \/(.+)$|)823 if ($dep =~ m|^lib/(.+)$|) 805 824 { 806 825 push @lib_files, "\$(OUTBASE)/$dep/$1.a"; 807 826 } 808 elsif ($dep =~ m|^ ([^/]+)$|)827 elsif ($dep =~ m|^bundled/(.+)$|) 809 828 { 810 829 push @lib_files, "../../$dep/lib$1.a";
Note: See TracChangeset
for help on using the changeset viewer.
