Subversion Repositories DevTools

Rev

Rev 3559 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3559 Rev 5882
Line 528... Line 528...
528
#       'Real Name' to its 'Link Name'
528
#       'Real Name' to its 'Link Name'
529
#       'Real Name' to 'SoName' in the BINDIR (for testing I think)
529
#       'Real Name' to 'SoName' in the BINDIR (for testing I think)
530
#       'Real Name' to 'SoName' in the LIBDIR (if different)
530
#       'Real Name' to 'SoName' in the LIBDIR (if different)
531
#
531
#
532
    $io->Label( "Shared library Symbolic Links", $name );
532
    $io->Label( "Shared library Symbolic Links", $name );
533
    PackageShlibAddFiles( $name, "\$(LIBDIR)/$linkname" );
533
    PackageShlibAddFiles( $name, "\$(LIBDIR)/$linkname", 'symlink=1' );
534
    $io->Prt( "\$(LIBDIR)/$linkname:\t\\\n" .
534
    $io->Prt( "\$(LIBDIR)/$linkname:\t\\\n" .
535
              "\t\t\$(GBE_BINDIR)\\\n" .
535
              "\t\t\$(GBE_BINDIR)\\\n" .
536
              "\t\t\$(LIBDIR)/${shared}\n" .
536
              "\t\t\$(LIBDIR)/${shared}\n" .
537
              "\t\$(AA_PRE)(rm -f \$@; ln -s ./$shared \$@)\n" .
537
              "\t\$(AA_PRE)(rm -f \$@; ln -s $shared \$@)\n" .
538
              "\t\$(AA_PRE)(rm -f \$(BINDIR)/$soname; ln -s ../\$(LIBDIR)/$shared \$(BINDIR)/$soname)\n\n" );
538
              "\t\$(AA_PRE)(rm -f \$(BINDIR)/$soname; ln -s ../\$(LIBDIR)/$shared \$(BINDIR)/$soname)\n\n" );
539
 
539
 
540
    if ( $soname ne $shared && $soname ne $linkname)
540
    if ( $soname ne $shared && $soname ne $linkname)
541
    {
541
    {
542
        $io->Label( "Shared library SoName Symbolic Links", $name );
542
        $io->Label( "Shared library SoName Symbolic Links", $name );
543
        PackageShlibAddFiles( $name, "\$(LIBDIR)/$soname" );
543
        PackageShlibAddFiles( $name, "\$(LIBDIR)/$soname", 'symlink=1' );
544
        $io->Prt( "\$(LIBDIR)/$soname:\t\\\n" .
544
        $io->Prt( "\$(LIBDIR)/$soname:\t\\\n" .
545
                  "\t\t\$(GBE_LIBDIR)\\\n" .
545
                  "\t\t\$(GBE_LIBDIR)\\\n" .
546
                  "\t\t\$(LIBDIR)/${shared}\n" .
546
                  "\t\t\$(LIBDIR)/${shared}\n" .
547
                  "\t\$(AA_PRE)(rm -f \$@; ln -s ./$shared \$@)\n" );
547
                  "\t\$(AA_PRE)(rm -f \$@; ln -s $shared \$@)\n" );
548
    }
548
    }
549
 
549
 
550
#.. Linker command file
550
#.. Linker command file
551
#
551
#
552
#       Now the fun part... piecing together a variable $(name_shld)
552
#       Now the fun part... piecing together a variable $(name_shld)