Ignore:
Timestamp:
18/10/2010 21:34:25 (19 months ago)
Author:
chris
Message:

Revert [2710] and [2717], remove TDB and replace with QDBM again, to fix
build on Windows and make it easier to merge Charles' work.

Location:
box/trunk/infrastructure
Files:
2 edited

Legend:

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

    r2717 r2794  
    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/|); 
    258255         
    259256        # and put in lists 
     
    514511        }        
    515512         
     513 
    516514        # 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); 
    530516 
    531517        # is target a library? 
     
    789775                                $dep_target = "\$(OUTBASE)/$dep/$1.a"; 
    790776                        } 
    791                         elsif ($dep =~ m|^bundled/(.*)|) 
    792                         { 
    793                                 $dep_target = "lib$1.a"; 
    794                         } 
    795                         elsif ($dep =~ m|^bin/(.*)|) 
     777                        elsif ($dep =~ m|^.*/(.*)|) 
    796778                        { 
    797779                                $dep_target = "\$(OUTBASE)/$dep/$1$platform_exe_ext"; 
     
    799781                        else 
    800782                        { 
    801                                 die "Don't know how to add compile-time " . 
    802                                         "dependency on $dep"; 
     783                                $dep_target = "lib$dep.a"; 
    803784                        } 
    804785 
     
    821802        foreach my $dep (reverse @all_deps_for_module) 
    822803        { 
    823                 if ($dep =~ m|^lib/(.+)$|) 
     804                if ($dep =~ m|^lib\/(.+)$|) 
    824805                { 
    825806                        push @lib_files, "\$(OUTBASE)/$dep/$1.a"; 
    826807                } 
    827                 elsif ($dep =~ m|^bundled/(.+)$|) 
     808                elsif ($dep =~ m|^([^/]+)$|) 
    828809                { 
    829810                        push @lib_files, "../../$dep/lib$1.a"; 
  • box/trunk/infrastructure/makeparcels.pl.in

    r2738 r2794  
    244244                        push @parcel_deps, "$dir/docs/${name}.html"; 
    245245                } 
    246                 elsif ($type eq 'configure') 
     246                elsif ($type eq 'subdir') 
    247247                { 
    248248                        shift @args; 
     
    256256$name-clean: 
    257257        cd $name; \$(MAKE) clean 
    258  
    259258EOF 
    260259                        push @parcel_deps, "$name-build"; 
Note: See TracChangeset for help on using the changeset viewer.