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

Comparing COMP/SCRAM/src/BuildSystem/BuildFile.pm (file contents):
Revision 1.1.2.23 by williamc, Thu Jun 15 14:31:01 2000 UTC vs.
Revision 1.1.2.24 by williamc, Mon Jun 19 12:05:04 2000 UTC

# Line 726 | Line 726 | sub LibType_Start {
726          $self->{libtype_conext}=1;
727          $self->{switch}->checktag($name, $hashref, 'type');
728          
729 <        print GNUmakefile "# Specify Library Type\n";
730 <        print GNUmakefile "DefaultLibsOff=yes\n";
731 <        if ( $$hashref{'type'}=~/^archive/i ) {
732 <          print GNUmakefile "LibArchive=true\n";
733 <        }
734 <        elsif ($$hashref{'type'}=~/debug_archive/i ) {
735 <          print GNUmakefile "LibDebugArchive=true\n";
729 >        my $string=$$hashref{'type'};
730 >        # -- do some translation for backwards compatability
731 >        if ($$hashref{'type'}=~/debug_archive/i ) {
732 >          $string="archive_debug";
733          }
734          elsif ($$hashref{'type'}=~/debug_shared/i ) {
735 <          print GNUmakefile "LibDebugShared=true\n";
739 <        }
740 <        elsif ($$hashref{'type'}=~/shared/i ) {
741 <          print GNUmakefile 'LibShared=true'."\n";
735 >          $string="shared_debug";
736          }
737 <        print GNUmakefile "\n";
737 >        # -- call the Build defaults method
738 >        $self->Build_start($name, {"class" => "lib", "default" => $string });
739          }
740          }
741   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines