parameters: (env, libnode, version, prefix, suffix, **kw)
return_statement: return symlinks
docstring: Generate link names that should be created for a versioned shared library.
         Returns a list in the form [ (link, linktarget), ... ]
docstring_summary: Generate link names that should be created for a versioned shared library.
         Returns a list in the form [ (link, linktarget), ... ]
docstring_tokens: Generate link names that should be created for a versioned shared library . Returns a list in the form [ ( link linktarget ) ... ]
function: def _versioned_implib_symlinks(env, libnode, version, prefix, suffix, **kw):
      """Generate link names that should be created for a versioned shared library.
         Returns a list in the form [ (link, linktarget), ... ]
      """
      Verbose = False
  
      if Verbose:
          print "_versioned_implib_symlinks: libnode=%r" % libnode.get_path()
          print "_versioned_implib_symlinks: version=%r" % version
  
      try: libtype = kw['libtype']
      except KeyError: libtype = 'ShLib'
  
  
      linkdir = os.path.dirname(libnode.get_path())
      if Verbose:
          print "_versioned_implib_symlinks: linkdir=%r" % linkdir
  
      name = SCons.Tool.ImpLibNameGenerator(env, libnode,
                                            implib_libtype=libtype,
                                            generator_libtype=libtype+'ImpLib')
      if Verbose:
          print "_versioned_implib_symlinks: name=%r" % name
  
      major = version.split('.')[0]
  
      link0 = env.fs.File(os.path.join(linkdir, name))
      symlinks = [(link0, libnode)]
  
      if Verbose:
          print "_versioned_implib_symlinks: return symlinks=%r" % SCons.Tool.StringizeLibSymlinks(symlinks)
  
      return symlinks
function_tokens: def _versioned_implib_symlinks ( env , libnode , version , prefix , suffix , * * kw ) : Verbose = False if Verbose : print "_versioned_implib_symlinks: libnode=%r" % libnode . get_path ( ) print "_versioned_implib_symlinks: version=%r" % version try : libtype = kw [ 'libtype' ] except KeyError : libtype = 'ShLib' linkdir = os . path . dirname ( libnode . get_path ( ) ) if Verbose : print "_versioned_implib_symlinks: linkdir=%r" % linkdir name = SCons . Tool . ImpLibNameGenerator ( env , libnode , implib_libtype = libtype , generator_libtype = libtype + 'ImpLib' ) if Verbose : print "_versioned_implib_symlinks: name=%r" % name major = version . split ( '.' ) [ 0 ] link0 = env . fs . File ( os . path . join ( linkdir , name ) ) symlinks = [ ( link0 , libnode ) ] if Verbose : print "_versioned_implib_symlinks: return symlinks=%r" % SCons . Tool . StringizeLibSymlinks ( symlinks ) return symlinks