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.21.2.13 by williamc, Wed Sep 15 07:35:08 1999 UTC vs.
Revision 1.21.2.19 by williamc, Fri Sep 24 11:42:01 1999 UTC

# Line 46 | Line 46 | sub ParseBuildFile {
46                  'Architecture' => \&OutToMakefile,
47                  'LibType_StartTag' => \&LibType_Start,
48                  'LibType_EndTag' => 'none',
49 <                'LibType' => \&OutToMakefile
49 >                #'LibType' => \&OutToScreen
50 >                'LibType' => \&LibType_text
51          };
52          use Utilities::Switcher;
53          $switch=Switcher->new($SupportedTags, $fullfilename);
# Line 157 | Line 158 | sub Bin_start {
158          ($objectname_Insure=$$hashref{file})=~s/\..*/_Insure\.o/;
159          print GNUmakefile "bin:$$hashref{name}_o\n";
160          print GNUmakefile "bin_debug:$$hashref{name}_d\n";
161 +        print GNUmakefile "bin_debug_local:$$hashref{name}_l_d\n";
162          print GNUmakefile "bin_insure:$$hashref{name}_Insure\n";
163 +        print GNUmakefile "bin_Insure:$$hashref{name}_Insure\n";
164   #       print GNUmakefile ".INTERMEDIATE::$$hashref{name}_d.exe\n";
165   #       print GNUmakefile ".INTERMEDIATE::$$hashref{name}_Insure.exe\n";
166          print GNUmakefile ".INTERMEDIATE::$$hashref{name}.exe\n";
167          print GNUmakefile "$$hashref{name}_Insure:.psrc\n";
168          print GNUmakefile "$$hashref{name}_d.exe:$objectname_d\n";
169          print GNUmakefile "\t\$(CClinkCmdDebug)\n";
170 +        print GNUmakefile "$$hashref{name}_l_d.exe:$objectname_d\n";
171 +        print GNUmakefile "\t\$(CClinkCmdDebugLocal)\n";
172          print GNUmakefile "$$hashref{name}_Insure.exe:$objectname_Insure\n";
173          print GNUmakefile "\t\$(CClinkCmdInsure)\n";
174          print GNUmakefile "$$hashref{name}.exe:$objectname\n";
# Line 183 | Line 188 | endif
188   $$hashref{name}_Insure.exe:\$(libslocal_I)
189   $$hashref{name}_d:$$hashref{name}_d.exe
190          \@cp $$hashref{name}_d.exe \$(binarystore)/$$hashref{name}
191 + $$hashref{name}_l_d:$$hashref{name}_l_d.exe
192 +        \@cp $$hashref{name}_l_d.exe \$(binarystore)/$$hashref{name}
193   $$hashref{name}_Insure:$$hashref{name}_Insure.exe
194          \@cp $$hashref{name}_Insure.exe \$(binarystore)/$$hashref{name}_Insure
195   $$hashref{name}:$$hashref{name}_d.exe
# Line 354 | Line 361 | sub OutToMakefile {
361          my $name=shift;
362          my @vars=@_;
363  
364 <        print GNUmakefile @vars;
364 >        if ( $Arch ) {
365 >          print GNUmakefile @vars;
366 >        }
367 > }
368 > sub OutToScreen {
369 >        my $name=shift;
370 >        my @vars=@_;
371 >
372 >        if ( $Arch ) {
373 >          print @vars;
374 >        }
375   }
376   sub setBlockClassPath {
377          my $name=shift;
# Line 439 | Line 456 | sub LibType_Start {
456          print GNUmakefile "\n";
457          }
458   }
459 + sub LibType_text {
460 +        my $name=shift;
461 +        my @vars=@_;
462 +
463 +        if ( $Arch ) {
464 +          print GNUmakefile "libmsg::\n\t\@echo Library info: ";
465 +          print GNUmakefile @vars;
466 +          print GNUmakefile "\n";
467 +        }
468 + }
469 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines