parameters: (env)
docstring: Add Builders and construction variables for as to an Environment.
docstring_summary: Add Builders and construction variables for as to an Environment.
docstring_tokens: Add Builders and construction variables for as to an Environment .
function: def generate(env):
      """Add Builders and construction variables for as to an Environment."""
      static_obj, shared_obj = SCons.Tool.createObjBuilders(env)
  
      for suffix in ASSuffixes:
          static_obj.add_action(suffix, SCons.Defaults.ASAction)
          shared_obj.add_action(suffix, SCons.Defaults.ASAction)
          static_obj.add_emitter(suffix, SCons.Defaults.StaticObjectEmitter)
          shared_obj.add_emitter(suffix, SCons.Defaults.SharedObjectEmitter)
  
      for suffix in ASPPSuffixes:
          static_obj.add_action(suffix, SCons.Defaults.ASPPAction)
          shared_obj.add_action(suffix, SCons.Defaults.ASPPAction)
          static_obj.add_emitter(suffix, SCons.Defaults.StaticObjectEmitter)
          shared_obj.add_emitter(suffix, SCons.Defaults.SharedObjectEmitter)
  
      env['AS']        = env.Detect(assemblers) or 'as'
      env['ASFLAGS']   = SCons.Util.CLVar('')
      env['ASCOM']     = '$AS $ASFLAGS -o $TARGET $SOURCES'
      env['ASPPFLAGS'] = '$ASFLAGS'
      env['ASPPCOM']   = '$CC $ASPPFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -c -o $TARGET $SOURCES'
function_tokens: def generate ( env ) : static_obj , shared_obj = SCons . Tool . createObjBuilders ( env ) for suffix in ASSuffixes : static_obj . add_action ( suffix , SCons . Defaults . ASAction ) shared_obj . add_action ( suffix , SCons . Defaults . ASAction ) static_obj . add_emitter ( suffix , SCons . Defaults . StaticObjectEmitter ) shared_obj . add_emitter ( suffix , SCons . Defaults . SharedObjectEmitter ) for suffix in ASPPSuffixes : static_obj . add_action ( suffix , SCons . Defaults . ASPPAction ) shared_obj . add_action ( suffix , SCons . Defaults . ASPPAction ) static_obj . add_emitter ( suffix , SCons . Defaults . StaticObjectEmitter ) shared_obj . add_emitter ( suffix , SCons . Defaults . SharedObjectEmitter ) env [ 'AS' ] = env . Detect ( assemblers ) or 'as' env [ 'ASFLAGS' ] = SCons . Util . CLVar ( '' ) env [ 'ASCOM' ] = '$AS $ASFLAGS -o $TARGET $SOURCES' env [ 'ASPPFLAGS' ] = '$ASFLAGS' env [ 'ASPPCOM' ] = '$CC $ASPPFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -c -o $TARGET $SOURCES'