ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/BuildSystem/BuildSetup.pm
(Generate patch)

Comparing COMP/SCRAM/src/BuildSystem/BuildSetup.pm (file contents):
Revision 1.1.2.4 by williamc, Thu Apr 20 13:49:54 2000 UTC vs.
Revision 1.1.2.6 by williamc, Sat May 6 13:29:25 2000 UTC

# Line 2 | Line 2
2   #
3   # Interface
4   # ---------
5 < # new() : A new BuildSetup
5 > # new(toolbox) : A new BuildSetup
6   # BuildSetup(directory,targets) : prepare the ground for a build and build
7   # getclass(directory) : return (Class, ClassDir, BuildFileobject)
8   #                       associated with directory
# Line 20 | Line 20 | sub new {
20          my $class=shift;
21          my $self={};
22          bless $self,$class;
23 <        $self->init();
23 >        $self->{toolbox}=shift;
24 >        #$self->init();
25          return $self;
26   }
27  
28   sub init {
29          my $self=shift;
30 <        $self->{toolbox}=BuildSystem::ToolBox->new();
30 >        $self->{toolbox}=BuildSystem::ToolBox->new($ENV{LOCALTOP});
31   }
32  
33   sub _generateexternals {
# Line 66 | Line 67 | sub _generateexternals {
67              # -- externals
68              @deps=$toolobj->getfeature("_externals");
69              foreach $d ( @deps ) {
70 +              $d=~tr[A-Z][a-z];
71                print $fout "ifdef ".$tool."_V_".$version."\n $d=true\nendif\n";
72              }
73              # -- tool info

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines