root/branches/ppalmers-streaming/support/firmware/SConscript

Revision 730, 1.0 kB (checked in by ppalmers, 13 years ago)

- Remove OSC related code
- create DBus server application
- add "scons debian" target that builds a debian package

Line 
1 #! /usr/bin/env python
2
3 Import( 'env' )
4
5 env = env.Copy()
6
7 #
8 # For the debugging apps
9 #
10 env.PrependUnique( LIBPATH=env['build_base']+"src" )
11 env.PrependUnique( LIBS="ffado" )
12 env.AppendUnique( CPPPATH=["#/", "#/src"] )
13
14 if not env.GetOption( "clean" ):
15     env.MergeFlags( "-lrt" )
16     env.MergeFlags( env['LIBRAW1394_FLAGS'] )
17     env.MergeFlags( env['LIBAVC1394_FLAGS'] )
18     env.MergeFlags( env['LIBIEC61883_FLAGS'] )
19     env.MergeFlags( env['ALSA_FLAGS'] )
20     env.MergeFlags( env['LIBXML26_FLAGS'] )
21
22 apps = {
23 }
24
25 installapps = []
26
27 if env['ENABLE_BEBOB']:
28     apps["ffado-bridgeco-downloader"] = "bridgeco-downloader.cpp"
29     installapps += [ "ffado-bridgeco-downloader" ]
30
31 if env['ENABLE_FIREWORKS']:
32     apps["ffado-fireworks-downloader"] = "fireworks-downloader.cpp"
33     installapps += [ "ffado-fireworks-downloader" ]
34
35 for app in apps.keys():
36     env.Program( target=app, source = env.Split( apps[app] ) )
37     if app.find( "test" ) == -1:
38         env.Install( "$bindir", app )
Note: See TracBrowser for help on using the browser.