delibtoolize.pl revision 1123
830N/A# Usage: delibtoolize.pl [-P] [-s] [--shared=<so>] <path>
830N/Amy @shared_args = ();
830N/Adie unless GetOptions(
830N/Amy %so_versions = ();
830N/Amy %ltlib_names = ();
830N/Asub expand_macros {
830N/A my %makefile_macros = ();
830N/A my %makefile_ldflags = ();
830N/A my @makefile_ltlibs = ();
close($OLD) or die;
\%makefile_macros);
my $vers;
} elsif ($v =~ m/^(\d+)[:\d]*$/ms) {
$vers = $v;
if ($single_file) {
sub modify_file {
my ($filename) = @_;
my $compiler;
my @inlines = ();
while (my $n = <$OLD>) {
push @inlines, $l;
close($OLD) or die;
foreach $l (@inlines) {
$l =~ s{\$\(LIBTOOL\)
(?:[\\\s]+ \$\(LT_QUIET\))?
(?:[\\\s]+ \$\(AM_V_lt\))?
$l =~ s{\$\(LIBTOOL\)
(?:[\\\s]+ \$\(LT_QUIET\))?
(?:[\\\s]+ \$\(AM_V_lt\))?
[\\\s]+ --mode=link
}{}xs;
if ($l =~ m/_la_LDFLAGS\s*=/) {
if ($single_file) {
fi; \
$l .= $installrule;
if ($curtarget =~ m/^.*\.a$/) {
close($NEW) or die;