2013-09-07 11:03:57 -04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
from waflib.extras import autowaf as autowaf
|
|
|
|
import os
|
2014-02-24 15:17:18 -05:00
|
|
|
import sys
|
2013-09-07 11:03:57 -04:00
|
|
|
|
|
|
|
# Mandatory variables
|
|
|
|
top = '.'
|
|
|
|
out = 'build'
|
|
|
|
|
2014-04-28 15:29:35 -04:00
|
|
|
backends = [ 'jack', 'dummy' ]
|
2014-02-24 15:17:18 -05:00
|
|
|
|
|
|
|
if sys.platform == 'darwin':
|
|
|
|
backends += ['wavesaudio' ]
|
2013-09-07 11:03:57 -04:00
|
|
|
|
|
|
|
def options(opt):
|
|
|
|
autowaf.set_options(opt)
|
|
|
|
|
|
|
|
def sub_config_and_use(conf, name, has_objects = True):
|
|
|
|
conf.recurse(name)
|
|
|
|
autowaf.set_local_lib(conf, name, has_objects)
|
|
|
|
|
|
|
|
def configure(conf):
|
|
|
|
autowaf.set_recursive()
|
|
|
|
autowaf.configure(conf)
|
|
|
|
|
|
|
|
for i in backends:
|
|
|
|
sub_config_and_use(conf, i)
|
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
for i in backends:
|
|
|
|
bld.recurse(i)
|