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

Comparing COMP/SCRAM/src/BuildFile.pm (file contents):
Revision 1.4 by williamc, Wed Mar 3 17:04:13 1999 UTC vs.
Revision 1.9 by williamc, Tue Mar 23 15:30:10 1999 UTC

# Line 29 | Line 29 | sub ParseBuildFile {
29                  'ConfigurationClass' => \&OutToMakefile,
30                  'AssociateGroup' => \&AssociateGroup,
31                  'none' => \&OutToMakefile,
32 <                'Bin' => \&OutToMakefile,
32 >                'Bin' => 'none',
33                  'Bin_StartTag' => \&Bin_start,
34                  'ClassPath' => \&OutToMakefile,
35                  'ClassPath_StartTag' => \&setBlockClassPath
# Line 111 | Line 111 | sub Bin_start {
111          # This stuff for later
112          #$fileclass=$toolbox->getclass($file);
113          #$toolbox->maketargets("exe",$fileclass, $$hashref{name}, $file );
114 <        print GNUmakefile "bin::$$hashref{name}\n";
114 >        print GNUmakefile "bin:$$hashref{name}\n";
115 >        print GNUmakefile "bin_debug:$$hashref{name}\n";
116          print GNUmakefile "$$hashref{name}::$$hashref{file}\n";
117   }
118  
# Line 121 | Line 122 | sub External_StartTag {
122          my $hashref;
123          
124          $hashref=$switch->SetupValueHash(\@vars);
125 +        $$hashref{'ref'}=~tr[A-Z][a-z];
126          print GNUmakefile $$hashref{'ref'};
127          if ( defined $$hashref{'version'} ) {
128                  print GNUmakefile "_V_".$$hashref{'version'};
# Line 174 | Line 176 | sub Use_start {
176          print GNUmakefile "local__$$hashref{name}=true\n";
177   }
178  
179 < sub CheckBuildFile($directory) {
179 > sub CheckBuildFile {
180           my $classdir=shift;
181           $ClassName="";
182           $thisfile="$classdir/$buildfile";
# Line 205 | Line 207 | sub AssociateGroup {
207   }
208  
209   # Split up the Class Block String into a useable array
210 < sub _CutBlock($string) {
210 > sub _CutBlock {
211      my $string= shift @_;
212      @BlockClassA = split /\//, $string;
213   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines