1 |
#! /usr/bin/env python |
---|
2 |
|
---|
3 |
Import( 'env' ) |
---|
4 |
|
---|
5 |
env = env.Copy() |
---|
6 |
|
---|
7 |
env.PrependUnique( CPPPATH=["#/src", "#/external/dbus/include"] ) |
---|
8 |
env.PrependUnique( LIBPATH=[env['build_base']+"src", env['build_base']+"external/dbus"] ) |
---|
9 |
env.PrependUnique( LIBS=["ffado", "dbus-c++"] ) |
---|
10 |
|
---|
11 |
env.MergeFlags( ["!pkg-config --cflags --libs dbus-1"] ) |
---|
12 |
|
---|
13 |
# |
---|
14 |
# deactivate as they don't seem ported to the new api: test-extplugcmd, test-mixer, test-volume |
---|
15 |
# |
---|
16 |
#for app in ["test-ffado", "test-extplugcmd", "test-fw410", "test-volume", "test-mixer", "test-cycletimer", "test-timestampedbuffer", "test-ieee1394service", "test-streamdump"]: |
---|
17 |
|
---|
18 |
for app in ["test-fw410", "test-cycletimer", "test-timestampedbuffer", "test-ieee1394service", "test-streamdump"]: |
---|
19 |
env.Program( target=app, source = app+".cpp" ) |
---|
20 |
|
---|
21 |
env.Program( target="test-sytmonitor", source = env.Split( "test-sytmonitor.cpp SytMonitor.cpp" ) ) |
---|
22 |
|
---|
23 |
env.XML2CPP_PROXY('controlclient-glue.h', 'control-interface.xml') |
---|
24 |
env.Program( target="test-dbus", source = env.Split( "test-dbus.cpp controlclient.cpp" ) ) |
---|
25 |
|
---|
26 |
env.XML2CPP_ADAPTOR('controlserver-glue.h', 'control-interface.xml') |
---|
27 |
env.Program( target="test-dbus-server", source = env.Split( "test-dbus-server.cpp controlserver.cpp" ) ) |
---|
28 |
env.Program( target="test-ffado", source = env.Split( "test-ffado.cpp controlserver.cpp" ) ) |
---|
29 |
|
---|
30 |
|
---|
31 |
env.SConscript( dirs="streaming", exports="env" ) |
---|
32 |
|
---|