mackie: semi-working Sends subview mode
[ardour.git] / libs / surfaces / mackie / 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.cc
19             controls.cc
20             device_info.cc
21             device_profile.cc
22             fader.cc
23             gui.cc
24             interface.cc
25             jog.cc
26             jog_wheel.cc
27             led.cc
28             mackie_control_protocol.cc
29             mcp_buttons.cc
30             meter.cc
31             midi_byte_array.cc
32             pot.cc
33             strip.cc
34             surface.cc
35             surface_port.cc
36             types.cc
37     '''
38     obj.export_includes = ['./mackie']
39     obj.defines      = [ 'PACKAGE="ardour_mackie"' ]
40     obj.defines     += [ 'ARDOURSURFACE_DLL_EXPORTS' ]
41     obj.includes     = [ '.' ]
42     obj.name         = 'libardour_mcp'
43     obj.target       = 'ardour_mcp'
44     obj.uselib       = 'GTKMM'
45     obj.use          = 'libardour libardour_cp libgtkmm2ext'
46     obj.install_path = os.path.join(bld.env['LIBDIR'], 'surfaces')
47
48 def shutdown():
49     autowaf.shutdown()