2011-01-17 12:51:44 -05:00
|
|
|
#!/usr/bin/env python
|
|
|
|
import autowaf
|
|
|
|
import os
|
|
|
|
|
|
|
|
# Mandatory variables
|
|
|
|
srcdir = '.'
|
|
|
|
blddir = 'build'
|
|
|
|
|
2011-01-26 20:31:03 -05:00
|
|
|
panners = [ '2in2out', '1in2out', 'vbap' ]
|
2011-01-17 12:51:44 -05:00
|
|
|
|
|
|
|
def set_options(opt):
|
2011-03-16 12:32:56 -04:00
|
|
|
autowaf.set_options(opt)
|
2011-01-17 12:51:44 -05:00
|
|
|
|
2011-01-26 20:31:03 -05:00
|
|
|
def sub_config_and_use(conf, name, has_objects = True):
|
2011-03-16 12:32:56 -04:00
|
|
|
conf.sub_config(name)
|
|
|
|
autowaf.set_local_lib(conf, name, has_objects)
|
2011-01-26 20:31:03 -05:00
|
|
|
|
|
|
|
def configure(conf):
|
2011-03-16 12:32:56 -04:00
|
|
|
autowaf.set_recursive()
|
|
|
|
autowaf.configure(conf)
|
2011-01-26 20:31:03 -05:00
|
|
|
|
2011-03-16 12:32:56 -04:00
|
|
|
for i in panners:
|
|
|
|
sub_config_and_use(conf, i)
|
2011-01-26 20:31:03 -05:00
|
|
|
|
2011-01-17 12:51:44 -05:00
|
|
|
def build(bld):
|
|
|
|
for i in panners:
|
|
|
|
bld.add_subdirs(i)
|