Only show user-presets in favorite sidebar
[ardour.git] / libs / surfaces / tranzport / wscript
1 #!/usr/bin/env python
2 from waflib.extras import autowaf as autowaf
3 import os
4
5 # Mandatory variables
6 top = '.'
7 out = 'build'
8
9 def options(opt):
10     autowaf.set_options(opt)
11
12 def configure(conf):
13     autowaf.configure(conf)
14
15 def build(bld):
16     obj = bld(features = 'cxx cxxshlib')
17     obj.source = '''
18             button_events.cc
19             buttons.cc
20             general.cc
21             init.cc
22             interface.cc
23             io.cc
24             io_usb.cc
25             lcd.cc
26             lights.cc
27             mode.cc
28             panner.cc
29             screen.cc
30             show.cc
31             state.cc
32             wheel.cc
33             wheel_modes.cc
34     '''
35     obj.export_includes = ['./tranzport']
36     obj.defines      = [ 'PACKAGE="ardour_tranzport"' ]
37     obj.defines     += [ 'ARDOURSURFACE_DLL_EXPORTS' ]
38     obj.includes     = ['.', './tranzport']
39     obj.name         = 'libardour_tranzport'
40     obj.target       = 'ardour_tranzport'
41     obj.use          = 'libardour libardour_cp'
42     obj.install_path = os.path.join(bld.env['LIBDIR'], 'surfaces')
43
44 def shutdown():
45     autowaf.shutdown()