Ignore:
Timestamp:
28/08/2010 10:01:16 (21 months ago)
Author:
chris
Message:

Remove QDBM, and switch BackupClientInodeToIDMap to use the bundled TDB
instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/infrastructure/makebuildenv.pl.in

    r2640 r2717  
    253253        # check directory exists 
    254254        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/|); 
    255258         
    256259        # and put in lists 
     
    511514        }        
    512515         
    513  
    514516        # 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        } 
    516530 
    517531        # is target a library? 
     
    775789                                $dep_target = "\$(OUTBASE)/$dep/$1.a"; 
    776790                        } 
    777                         elsif ($dep =~ m|^.*/(.*)|) 
     791                        elsif ($dep =~ m|^bundled/(.*)|) 
     792                        { 
     793                                $dep_target = "lib$1.a"; 
     794                        } 
     795                        elsif ($dep =~ m|^bin/(.*)|) 
    778796                        { 
    779797                                $dep_target = "\$(OUTBASE)/$dep/$1$platform_exe_ext"; 
     
    781799                        else 
    782800                        { 
    783                                 $dep_target = "lib$dep.a"; 
     801                                die "Don't know how to add compile-time " . 
     802                                        "dependency on $dep"; 
    784803                        } 
    785804 
     
    802821        foreach my $dep (reverse @all_deps_for_module) 
    803822        { 
    804                 if ($dep =~ m|^lib\/(.+)$|) 
     823                if ($dep =~ m|^lib/(.+)$|) 
    805824                { 
    806825                        push @lib_files, "\$(OUTBASE)/$dep/$1.a"; 
    807826                } 
    808                 elsif ($dep =~ m|^([^/]+)$|) 
     827                elsif ($dep =~ m|^bundled/(.+)$|) 
    809828                { 
    810829                        push @lib_files, "../../$dep/lib$1.a"; 
Note: See TracChangeset for help on using the changeset viewer.