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):
|
|
|
|
autowaf.set_options(opt)
|
|
|
|
|
2011-01-26 20:31:03 -05:00
|
|
|
def sub_config_and_use(conf, name, has_objects = True):
|
|
|
|
conf.sub_config(name)
|
|
|
|
autowaf.set_local_lib(conf, name, has_objects)
|
|
|
|
|
|
|
|
def configure(conf):
|
|
|
|
autowaf.set_recursive()
|
|
|
|
autowaf.configure(conf)
|
|
|
|
|
|
|
|
for i in panners:
|
|
|
|
sub_config_and_use(conf, i)
|
|
|
|
|
2011-01-17 12:51:44 -05:00
|
|
|
def build(bld):
|
|
|
|
for i in panners:
|
|
|
|
bld.add_subdirs(i)
|