예제 #1
0
def generate(env):
    """Add Builders and construction variables for Forte to an Environment."""
    link.generate(env)

    env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -G')

    env['RPATHPREFIX'] = '-R'
    env['RPATHSUFFIX'] = ''
    env['_RPATH'] = '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}'
예제 #2
0
def generate(env):
    """Add Builders and construction variables for Forte to an Environment."""
    link.generate(env)
    
    env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -G')

    env['RPATHPREFIX'] = '-R'
    env['RPATHSUFFIX'] = ''
    env['_RPATH'] = '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}'
예제 #3
0
def generate(env):
    """Add Builders and construction variables for Forte to an Environment."""
    link.generate(env)

    env["SHLINKFLAGS"] = SCons.Util.CLVar("$LINKFLAGS -G")

    env["RPATHPREFIX"] = "-R"
    env["RPATHSUFFIX"] = ""
    env["_RPATH"] = "${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}"
예제 #4
0
def generate(env):
    """
    Add Builders and construction variables for Visual Age linker to
    an Environment.
    """
    link.generate(env)

    env["LINKFLAGS"] = SCons.Util.CLVar("-Wl,+s -Wl,+vnocompatwarnings")
    env["SHLINKFLAGS"] = SCons.Util.CLVar("$LINKFLAGS -b")
    env["SHLIBSUFFIX"] = ".sl"
예제 #5
0
파일: hplink.py 프로젝트: 601040605/Nuitka
def generate(env):
    """
    Add Builders and construction variables for Visual Age linker to
    an Environment.
    """
    link.generate(env)

    env['LINKFLAGS']   = SCons.Util.CLVar('-Wl,+s -Wl,+vnocompatwarnings')
    env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -b')
    env['SHLIBSUFFIX'] = '.sl'
예제 #6
0
def generate(env):
    """
    Add Builders and construction variables for Visual Age linker to
    an Environment.
    """
    link.generate(env)

    env['LINKFLAGS'] = SCons.Util.CLVar('-Wl,+s -Wl,+vnocompatwarnings')
    env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -b')
    env['SHLIBSUFFIX'] = '.sl'
예제 #7
0
def generate(env):
    """
    Add Builders and construction variables for Visual Age linker to
    an Environment.
    """
    link.generate(env)

    env['SHLINK']      = env.Detect(rlinkers) or 'cc'
    env['SHLINKFLAGS'] = '$LINKFLAGS -qmkshrobj'
    env['SHLINKCOM']   = '$SHLINK $SHLINKFLAGS -o $TARGET $SOURCES $_LIBDIRFLAGS $_LIBFLAGS'
    env['LINK']        = env.Detect(plinkers) or 'cc'
예제 #8
0
def generate(env):
    """
    Add Builders and construction variables for Visual Age linker to
    an Environment.
    """
    link.generate(env)

    env["SMARTLINKFLAGS"] = smart_linkflags
    env["LINKFLAGS"] = SCons.Util.CLVar("$SMARTLINKFLAGS")
    env["SHLINKFLAGS"] = SCons.Util.CLVar("$LINKFLAGS -qmkshrobj -qsuppress=1501-218")
    env["SHLIBSUFFIX"] = ".a"
예제 #9
0
def generate(env):
    """
    Add Builders and construction variables for Visual Age linker to
    an Environment.
    """
    link.generate(env)

    env['SMARTLINKFLAGS'] = smart_linkflags
    env['LINKFLAGS']      = SCons.Util.CLVar('$SMARTLINKFLAGS')
    env['SHLINKFLAGS']    = SCons.Util.CLVar('$LINKFLAGS -qmkshrobj -qsuppress=1501-218')
    env['SHLIBSUFFIX']    = '.a'
예제 #10
0
def generate(env):
    """
    Add Builders and construction variables for Visual Age linker to
    an Environment.
    """
    link.generate(env)

    # Do not include g++ specific flags in case of HP-UX. HP aC/C+ compiler is used on HP-UX, not g++.
    #env['LINKFLAGS']   = SCons.Util.CLVar('-Wl,+s -Wl,+vnocompatwarnings')
    env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -b')
    env['SHLIBSUFFIX'] = '.sl'
예제 #11
0
def generate(env):
    """
    Add Builders and construction variables for Visual Age linker to
    an Environment.
    """
    link.generate(env)

    env['SMARTLINKFLAGS'] = smart_linkflags
    env['LINKFLAGS']      = SCons.Util.CLVar('$SMARTLINKFLAGS')
    env['SHLINKFLAGS']    = SCons.Util.CLVar('$LINKFLAGS -qmkshrobj -qsuppress=1501-218')
    env['SHLIBSUFFIX']    = '.a'
예제 #12
0
def generate(env):
    """Add Builders and construction variables for MIPSPro to an Environment."""
    link.generate(env)

    env["LINK"] = env.Detect(linkers) or "cc"
    env["SHLINKFLAGS"] = SCons.Util.CLVar("$LINKFLAGS -shared")

    # __RPATH is set to $_RPATH in the platform specification if that
    # platform supports it.
    env["RPATHPREFIX"] = "-rpath "
    env["RPATHSUFFIX"] = ""
    env["_RPATH"] = "${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}"
예제 #13
0
def generate(env):
    """Add Builders and construction variables for MIPSPro to an Environment."""
    link.generate(env)

    env['LINK'] = env.Detect(linkers) or 'cc'
    env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -shared')

    # __RPATH is set to $_RPATH in the platform specification if that
    # platform supports it.
    env['RPATHPREFIX'] = '-rpath '
    env['RPATHSUFFIX'] = ''
    env['_RPATH'] = '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}'
예제 #14
0
def generate(env):
    """Add Builders and construction variables for MIPSPro to an Environment."""
    link.generate(env)
    
    env['LINK'] = env.Detect(linkers) or 'cc'
    env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -shared')

    # __RPATH is set to $_RPATH in the platform specification if that
    # platform supports it.
    env['RPATHPREFIX'] = '-rpath '
    env['RPATHSUFFIX'] = ''
    env['_RPATH'] = '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}'
예제 #15
0
파일: gnulink.py 프로젝트: b-cuts/swift-1
def generate(env):
    """Add Builders and construction variables for gnulink to an Environment."""
    link.generate(env)

    if env['PLATFORM'] == 'hpux':
        env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -shared -fPIC')

    # __RPATH is set to $_RPATH in the platform specification if that
    # platform supports it.
    env['RPATHPREFIX'] = '-Wl,-rpath='
    env['RPATHSUFFIX'] = ''
    env['_RPATH'] = '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}'
예제 #16
0
파일: gnulink.py 프로젝트: venuborra/scons
def generate(env):
    """Add Builders and construction variables for gnulink to an Environment."""
    link.generate(env)

    if env['PLATFORM'] == 'hpux':
        env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -shared -fPIC')

    # __RPATH is set to $_RPATH in the platform specification if that
    # platform supports it.
    env['RPATHPREFIX'] = '-Wl,-rpath='
    env['RPATHSUFFIX'] = ''
    env['_RPATH'] = '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}'
예제 #17
0
파일: sunlink.py 프로젝트: ChineseDr/mongo
def generate(env):
    """Add Builders and construction variables for Forte to an Environment."""
    link.generate(env)
    
    env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -G')

    env['RPATHPREFIX'] = '-R'
    env['RPATHSUFFIX'] = ''
    env['_RPATH'] = '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}'

    # Support for versioned libraries
    link._setup_versioned_lib_variables(env, tool = 'sunlink', use_soname = True) 
    env['LINKCALLBACKS'] = link._versioned_lib_callbacks()
예제 #18
0
def generate(env):
    """Add Builders and construction variables for gnulink to an Environment."""
    link.generate(env)

    if env["PLATFORM"] == "hpux":
        env["SHLINKFLAGS"] = SCons.Util.CLVar("$LINKFLAGS -shared -fPIC")

    # __RPATH is set to $_RPATH in the platform specification if that
    # platform supports it.
    env.Append(LINKFLAGS=["$__RPATH"])
    env["RPATHPREFIX"] = "-Wl,-rpath="
    env["RPATHSUFFIX"] = ""
    env["_RPATH"] = "${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}"
예제 #19
0
def generate(env):
    """Add Builders and construction variables for Forte to an Environment."""
    link.generate(env)

    env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -G')

    env['RPATHPREFIX'] = '-R'
    env['RPATHSUFFIX'] = ''
    env['_RPATH'] = '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}'

    # Support for versioned libraries
    link._setup_versioned_lib_variables(env, tool='sunlink', use_soname=True)
    env['LINKCALLBACKS'] = link._versioned_lib_callbacks()
예제 #20
0
def generate(env):
    """Add Builders and construction variables for applelink to an
    Environment."""
    link.generate(env)

    env['FRAMEWORKPATHPREFIX'] = '-F'
    env['_FRAMEWORKPATH'] = '${_concat(FRAMEWORKPATHPREFIX, FRAMEWORKPATH, "", __env__)}'
    env['_FRAMEWORKS'] = '${_concat("-framework ", FRAMEWORKS, "", __env__)}'
    env['LINKCOM'] = env['LINKCOM'] + ' $_FRAMEWORKPATH $_FRAMEWORKS $FRAMEWORKSFLAGS'
    env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -dynamiclib')
    env['SHLINKCOM'] = env['SHLINKCOM'] + ' $_FRAMEWORKPATH $_FRAMEWORKS $FRAMEWORKSFLAGS'

    # override the default for loadable modules, which are different
    # on OS X than dynamic shared libs.  echoing what XCode does for
    # pre/suffixes:
    env['LDMODULEPREFIX'] = '' 
    env['LDMODULESUFFIX'] = '' 
    env['LDMODULEFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -bundle')
    env['LDMODULECOM'] = '$LDMODULE -o ${TARGET} $LDMODULEFLAGS $SOURCES $_LIBDIRFLAGS $_LIBFLAGS $_FRAMEWORKPATH $_FRAMEWORKS $FRAMEWORKSFLAGS'
예제 #21
0
def generate(env):
    """Add Builders and construction variables for applelink to an
    Environment."""
    link.generate(env)

    env['FRAMEWORKPATHPREFIX'] = '-F'
    env['_FRAMEWORKPATH'] = '${_concat(FRAMEWORKPATHPREFIX, FRAMEWORKPATH, "", __env__)}'
    env['_FRAMEWORKS'] = '${_concat("-framework ", FRAMEWORKS, "", __env__)}'
    env['LINKCOM'] = env['LINKCOM'] + ' $_FRAMEWORKPATH $_FRAMEWORKS $FRAMEWORKSFLAGS'
    env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -dynamiclib')
    env['SHLINKCOM'] = env['SHLINKCOM'] + ' $_FRAMEWORKPATH $_FRAMEWORKS $FRAMEWORKSFLAGS'

    # override the default for loadable modules, which are different
    # on OS X than dynamic shared libs.  echoing what XCode does for
    # pre/suffixes:
    env['LDMODULEPREFIX'] = '' 
    env['LDMODULESUFFIX'] = '' 
    env['LDMODULEFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -bundle')
    env['LDMODULECOM'] = '$LDMODULE -o ${TARGET} $LDMODULEFLAGS $SOURCES $_LIBDIRFLAGS $_LIBFLAGS $_FRAMEWORKPATH $_FRAMEWORKS $FRAMEWORKSFLAGS'
예제 #22
0
파일: gnulink.py 프로젝트: lijenpan/mapnik
def generate(env):
    """Add Builders and construction variables for gnulink to an Environment."""
    link.generate(env)

    if env["PLATFORM"] == "hpux":
        env["SHLINKFLAGS"] = SCons.Util.CLVar("$LINKFLAGS -shared -fPIC")

    # __RPATH is set to $_RPATH in the platform specification if that
    # platform supports it.
    env["RPATHPREFIX"] = "-Wl,-rpath="
    env["RPATHSUFFIX"] = ""
    env["_RPATH"] = "${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}"

    # OpenBSD doesn't usually use SONAME for libraries
    use_soname = not sys.platform.startswith("openbsd")
    link._setup_versioned_lib_variables(env, tool="gnulink", use_soname=use_soname)
    env["LINKCALLBACKS"] = link._versioned_lib_callbacks()

    # For backward-compatiblity with older SCons versions
    env["SHLIBVERSIONFLAGS"] = SCons.Util.CLVar("-Wl,-Bsymbolic")
예제 #23
0
파일: gnulink.py 프로젝트: mapycz/mapnik
def generate(env):
    """Add Builders and construction variables for gnulink to an Environment."""
    link.generate(env)

    if env['PLATFORM'] == 'hpux':
        env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -shared -fPIC')

    # __RPATH is set to $_RPATH in the platform specification if that
    # platform supports it.
    env['RPATHPREFIX'] = '-Wl,-rpath='
    env['RPATHSUFFIX'] = ''
    env['_RPATH'] = '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}'

    # OpenBSD doesn't usually use SONAME for libraries
    use_soname = not sys.platform.startswith('openbsd')
    link._setup_versioned_lib_variables(env, tool = 'gnulink', use_soname = use_soname)
    env['LINKCALLBACKS'] = link._versioned_lib_callbacks()

    # For backward-compatibility with older SCons versions
    env['SHLIBVERSIONFLAGS'] = SCons.Util.CLVar('-Wl,-Bsymbolic')
예제 #24
0
def generate(env):
    """Add Builders and construction variables for gnulink to an Environment."""
    link.generate(env)

    if env['PLATFORM'] == 'hpux':
        env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -shared -fPIC')

    # __RPATH is set to $_RPATH in the platform specification if that
    # platform supports it.
    env['RPATHPREFIX'] = '-Wl,-rpath='
    env['RPATHSUFFIX'] = ''
    env['_RPATH'] = '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}'

    # OpenBSD doesn't usually use SONAME for libraries
    use_soname = not sys.platform.startswith('openbsd')
    link._setup_versioned_lib_variables(env,
                                        tool='gnulink',
                                        use_soname=use_soname)
    env['LINKCALLBACKS'] = link._versioned_lib_callbacks()

    # For backward-compatibility with older SCons versions
    env['SHLIBVERSIONFLAGS'] = SCons.Util.CLVar('-Wl,-Bsymbolic')
예제 #25
0
파일: sgilink.py 프로젝트: scanlime/picogui
def generate(env):
    """Add Builders and construction variables for MIPSPro to an Environment."""
    link.generate(env)
    
    env['LINK']        = env.Detect(linkers) or 'cc'
    env['LINKFLAGS']   = '-LANG:std'
예제 #26
0
파일: hplink.py 프로젝트: scanlime/picogui
def generate(env):
    "Add Builders and construction variables for HP linker to an Environment."
    link.generate(env)
    
    env['SHLINKFLAGS'] = '$LINKFLAGS -b'
예제 #27
0
def generate(env):
    """Add Builders and construction variables for MIPSPro to an Environment."""
    link.generate(env)

    env['LINK'] = env.Detect(linkers) or 'cc'
    env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -shared')
예제 #28
0
def generate(env):
    "Add Builders and construction variables for HP linker to an Environment."
    link.generate(env)

    env['SHLINKFLAGS'] = '$LINKFLAGS -b'
예제 #29
0
def generate(env):
    """Add Builders and construction variables for Forte to an Environment."""
    link.generate(env)
    
    env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -G')
예제 #30
0
def generate(env):
    """Add Builders and construction variables for gnulink to an Environment."""
    link.generate(env)

    if env['PLATFORM'] == 'hpux':
        env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -shared -fPIC')
예제 #31
0
파일: sunlink.py 프로젝트: luaman/twilight
def generate(env):
    """Add Builders and construction variables for Forte to an Environment."""
    link.generate(env)

    env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -G')
예제 #32
0
파일: gnulink.py 프로젝트: scanlime/picogui
def generate(env):
    """Add Builders and construction variables for gnulink to an Environment."""
    link.generate(env)
예제 #33
0
def generate(env):
    """Add Builders and construction variables for gnulink to an Environment."""
    link.generate(env)
예제 #34
0
def generate(env):
    """Add Builders and construction variables for Forte to an Environment."""
    link.generate(env)
    
    env['SHLINKFLAGS'] = '$LINKFLAGS -G'
    env['LINK']        = env.Detect(linkers) or 'cc'