keep portmap & portindex in sync when renaming ports
[ardour.git] / libs / backends / dummy / wscript
1 #!/usr/bin/env python
2 from waflib.extras import autowaf as autowaf
3 import os
4 import sys
5 import re
6
7 I18N_PACKAGE = 'dummy-backend'
8
9 # Mandatory variables
10 top = '.'
11 out = 'build'
12
13 def options(opt):
14     autowaf.set_options(opt)
15
16 def configure(conf):
17     autowaf.configure(conf)
18
19 def build(bld):
20     obj = bld(features = 'cxx cxxshlib')
21     obj.source = [
22             'dummy_audiobackend.cc',
23             ]
24     obj.includes = ['.']
25     obj.name     = 'dummy_audiobackend'
26     obj.target   = 'dummy_audiobackend'
27     obj.use      = 'libardour libpbd'
28     obj.uselib   = 'GLIBMM XML'
29     obj.install_path  = os.path.join(bld.env['LIBDIR'], 'backends')
30     obj.defines = ['PACKAGE="' + I18N_PACKAGE + '"',
31                    'ARDOURBACKEND_DLL_EXPORTS'
32                   ]