update JACK backend to use new inheritance structure for AudioBackend
[ardour.git] / libs / surfaces / tranzport / wscript
1 #!/usr/bin/env python
2 from waflib.extras import autowaf as autowaf
3 import os
4
5 # Library version (UNIX style major, minor, micro)
6 # major increment <=> incompatible changes
7 # minor increment <=> compatible changes (additions)
8 # micro increment <=> no interface changes
9 LIBARDOUR_TRANZPORT_LIB_VERSION = '4.1.0'
10
11 # Mandatory variables
12 top = '.'
13 out = 'build'
14
15 def options(opt):
16     autowaf.set_options(opt)
17
18 def configure(conf):
19     autowaf.configure(conf)
20
21 def build(bld):
22     obj = bld(features = 'cxx cxxshlib')
23     obj.source = '''
24             button_events.cc
25             buttons.cc
26             general.cc
27             init.cc
28             interface.cc
29             io.cc
30             io_usb.cc
31             lcd.cc
32             lights.cc
33             mode.cc
34             panner.cc
35             screen.cc
36             show.cc
37             state.cc
38             wheel.cc
39             wheel_modes.cc
40     '''
41     obj.export_includes = ['./tranzport']
42     obj.cxxflags     = '-DPACKAGE="ardour_tranzport"'
43     obj.includes     = ['.', './tranzport']
44     obj.name         = 'libardour_tranzport'
45     obj.target       = 'ardour_tranzport'
46     obj.use          = 'libardour libardour_cp'
47     obj.vnum         = LIBARDOUR_TRANZPORT_LIB_VERSION
48     obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3', 'surfaces')
49
50 def shutdown():
51     autowaf.shutdown()