Changeset 755
- Timestamp:
- 12/08/07 05:44:49 (16 years ago)
- Files:
-
- trunk/libffado/SConstruct (modified) (2 diffs)
- trunk/libffado/src/SConscript (modified) (1 diff)
- trunk/libffado/support/dbus/SConscript (modified) (2 diffs)
- trunk/libffado/support/firmware/SConscript (modified) (4 diffs)
- trunk/libffado/tests/SConscript (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/SConstruct
r754 r755 69 69 If you just want to use ffado with jack without the tools, you can disable this.\ 70 70 """, True ), 71 BoolOption( "BUILD_STATIC_TOOLS", "Build a statically linked version of the FFADO tools.", False ), 71 72 ) 72 73 … … 198 199 env['ENABLE_GENERICAVC'] = True 199 200 201 env['BUILD_STATIC_LIB'] = False 202 if env['BUILD_STATIC_TOOLS']: 203 print "Building static versions of the tools..." 204 env['BUILD_STATIC_LIB'] = True 205 200 206 if build_base: 201 207 env['build_base']="#/"+build_base trunk/libffado/src/SConscript
r752 r755 225 225 ffadolib = libenv.SharedLibrary( "ffado", source ) 226 226 227 if libenv['BUILD_STATIC_LIB']: 228 ffadolib_static = libenv.StaticLibrary( "ffado", source ) 229 227 230 for file in version_dependent_files: 228 231 Depends(file, '#/config.h') trunk/libffado/support/dbus/SConscript
r742 r755 42 42 env.Xml2Cpp_Adaptor('controlserver-glue.h', 'control-interface.xml') 43 43 44 static_env = env.Copy() 45 44 46 apps = { 45 47 } … … 59 61 if app.find( "test" ) == -1: 60 62 env.Install( "$bindir", app ) 63 64 # static versions 65 if static_env['BUILD_STATIC_TOOLS']: 66 static_env.Append(LIBS=File('#/src/libffado.a')) 67 for app in apps.keys(): 68 static_app = app + "-static" 69 static_env.Program( target=static_app, source = static_env.Split( apps[app] ) ) trunk/libffado/support/firmware/SConscript
r742 r755 26 26 env = env.Copy() 27 27 28 #29 # For the debugging apps30 #31 env.PrependUnique( LIBPATH=env['build_base']+"src" )32 env.PrependUnique( LIBS="ffado" )33 28 env.AppendUnique( CPPPATH=["#/", "#/src"] ) 34 29 … … 38 33 env.MergeFlags( env['LIBAVC1394_FLAGS'] ) 39 34 env.MergeFlags( env['LIBIEC61883_FLAGS'] ) 40 env.MergeFlags( env['ALSA_FLAGS'] )41 35 env.MergeFlags( env['LIBXML26_FLAGS'] ) 36 37 static_env = env.Copy() 42 38 43 39 apps = { … … 45 41 46 42 installapps = [] 43 44 env.PrependUnique( LIBPATH=env['build_base']+"src" ) 45 env.PrependUnique( LIBS="ffado" ) 47 46 48 47 if env['ENABLE_BEBOB']: … … 58 57 if app.find( "test" ) == -1: 59 58 env.Install( "$bindir", app ) 59 60 # static versions 61 if static_env['BUILD_STATIC_TOOLS']: 62 static_env.Append(LIBS=File('#/src/libffado.a')) 63 for app in apps.keys(): 64 static_app = app + "-static" 65 static_env.Program( target=static_app, source = static_env.Split( apps[app] ) ) trunk/libffado/tests/SConscript
r747 r755 34 34 env.MergeFlags( env['LIBXML26_FLAGS'] ) 35 35 36 static_env = env.Copy() 37 36 38 # 37 39 # deactivate as they don't seem ported to the new api: test-extplugcmd, … … 60 62 env.SConscript( dirs="streaming", exports="env" ) 61 63 64 # static versions 65 if static_env['BUILD_STATIC_TOOLS']: 66 static_env.Append(LIBS=File('#/src/libffado.a')) 67 for app in apps.keys(): 68 static_app = app + "-static" 69 static_env.Program( target=static_app, source = static_env.Split( apps[app] ) )