Changeset 2794 for box/trunk/infrastructure
- Timestamp:
- 18/10/2010 21:34:25 (19 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
r2717 r2794 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 process257 next if ($mod =~ m|^bundled/|);258 255 259 256 # and put in lists … … 514 511 } 515 512 513 516 514 # make include path 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 } 515 my $include_paths = join(' ',map {'-I../../'.$_} @all_deps_for_module); 530 516 531 517 # is target a library? … … 789 775 $dep_target = "\$(OUTBASE)/$dep/$1.a"; 790 776 } 791 elsif ($dep =~ m|^bundled/(.*)|) 792 { 793 $dep_target = "lib$1.a"; 794 } 795 elsif ($dep =~ m|^bin/(.*)|) 777 elsif ($dep =~ m|^.*/(.*)|) 796 778 { 797 779 $dep_target = "\$(OUTBASE)/$dep/$1$platform_exe_ext"; … … 799 781 else 800 782 { 801 die "Don't know how to add compile-time " . 802 "dependency on $dep"; 783 $dep_target = "lib$dep.a"; 803 784 } 804 785 … … 821 802 foreach my $dep (reverse @all_deps_for_module) 822 803 { 823 if ($dep =~ m|^lib /(.+)$|)804 if ($dep =~ m|^lib\/(.+)$|) 824 805 { 825 806 push @lib_files, "\$(OUTBASE)/$dep/$1.a"; 826 807 } 827 elsif ($dep =~ m|^ bundled/(.+)$|)808 elsif ($dep =~ m|^([^/]+)$|) 828 809 { 829 810 push @lib_files, "../../$dep/lib$1.a"; -
box/trunk/infrastructure/makeparcels.pl.in
r2738 r2794 244 244 push @parcel_deps, "$dir/docs/${name}.html"; 245 245 } 246 elsif ($type eq ' configure')246 elsif ($type eq 'subdir') 247 247 { 248 248 shift @args; … … 256 256 $name-clean: 257 257 cd $name; \$(MAKE) clean 258 259 258 EOF 260 259 push @parcel_deps, "$name-build";
Note: See TracChangeset
for help on using the changeset viewer.
