fix crash when copy'ing latent plugins
[ardour.git] / libs / backends / wscript
1 #!/usr/bin/env python
2 from waflib.extras import autowaf as autowaf
3 from waflib import Options
4 import os
5 import sys
6 import re
7
8 # Mandatory variables
9 top = '.'
10 out = 'build'
11
12 def options(opt):
13     autowaf.set_options(opt)
14
15 def sub_config_and_use(conf, name, has_objects = True):
16     conf.recurse(name)
17     autowaf.set_local_lib(conf, name, has_objects)
18
19 def configure(conf):
20     autowaf.set_recursive()
21     autowaf.configure(conf)
22
23     backends = conf.env['BACKENDS']
24     for i in backends:
25         sub_config_and_use(conf, i)
26
27 def build(bld):
28     backends = bld.env['BACKENDS']
29
30     for i in backends:
31         bld.recurse(i)