Changeset 2717 for box/trunk/infrastructure
- Timestamp:
- 28/08/2010 10:01:16 (18 months ago)
- Location:
- box/trunk/infrastructure
- Files:
-
- 2 edited
-
makebuildenv.pl.in (modified) (5 diffs)
-
makeparcels.pl.in (modified) (2 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"; -
box/trunk/infrastructure/makeparcels.pl.in
r2680 r2717 243 243 push @parcel_deps, "$dir/docs/${name}.html"; 244 244 } 245 elsif ($type eq ' subdir')245 elsif ($type eq 'configure') 246 246 { 247 247 shift @args; … … 255 255 $name-clean: 256 256 cd $name; \$(MAKE) clean 257 257 258 EOF 258 259 push @parcel_deps, "$name-build";
Note: See TracChangeset
for help on using the changeset viewer.
