parameters: (env)
docstring: Add Builders and construction variables for lib to an Environment.
docstring_summary: Add Builders and construction variables for lib to an Environment.
docstring_tokens: Add Builders and construction variables for lib to an Environment .
function: def generate(env):
      """Add Builders and construction variables for lib to an Environment."""
      SCons.Tool.createStaticLibBuilder(env)
      SCons.Tool.createSharedLibBuilder(env)
      SCons.Tool.createProgBuilder(env)
  
      env['AR'] = 'mwld'
      env['ARCOM'] = '$AR $ARFLAGS -library -o $TARGET $SOURCES'
  
      env['LIBDIRPREFIX'] = '-L'
      env['LIBDIRSUFFIX'] = ''
      env['LIBLINKPREFIX'] = '-l'
      env['LIBLINKSUFFIX'] = '.lib'
  
      env['LINK'] = 'mwld'
      env['LINKCOM'] = '$LINK $LINKFLAGS -o $TARGET $SOURCES $_LIBDIRFLAGS $_LIBFLAGS'
  
      env['SHLINK'] = '$LINK'
      env['SHLINKFLAGS'] = '$LINKFLAGS'
      env['SHLINKCOM']   = shlib_action
      env['SHLIBEMITTER']= shlib_emitter
      env['LDMODULEEMITTER']= shlib_emitter
function_tokens: def generate ( env ) : SCons . Tool . createStaticLibBuilder ( env ) SCons . Tool . createSharedLibBuilder ( env ) SCons . Tool . createProgBuilder ( env ) env [ 'AR' ] = 'mwld' env [ 'ARCOM' ] = '$AR $ARFLAGS -library -o $TARGET $SOURCES' env [ 'LIBDIRPREFIX' ] = '-L' env [ 'LIBDIRSUFFIX' ] = '' env [ 'LIBLINKPREFIX' ] = '-l' env [ 'LIBLINKSUFFIX' ] = '.lib' env [ 'LINK' ] = 'mwld' env [ 'LINKCOM' ] = '$LINK $LINKFLAGS -o $TARGET $SOURCES $_LIBDIRFLAGS $_LIBFLAGS' env [ 'SHLINK' ] = '$LINK' env [ 'SHLINKFLAGS' ] = '$LINKFLAGS' env [ 'SHLINKCOM' ] = shlib_action env [ 'SHLIBEMITTER' ] = shlib_emitter env [ 'LDMODULEEMITTER' ] = shlib_emitter