aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-15 22:49:45 +0000
committerDavid Robillard <d@drobilla.net>2011-03-15 22:49:45 +0000
commit76707117d0842eff4aa9c82759a6dbd2f15b004b (patch)
tree9b38c915b3f858a8b2094029df90376d4bb3c33d /wscript
parent46a8d58ffbc0b9d33f6822ed4246938af0e05d89 (diff)
downloadlv2-76707117d0842eff4aa9c82759a6dbd2f15b004b.tar.xz
Remove autowaf external and wscript (broken intermediary revision).
Diffstat (limited to 'wscript')
-rw-r--r--wscript18
1 files changed, 9 insertions, 9 deletions
diff --git a/wscript b/wscript
index e827b2b..8276c03 100644
--- a/wscript
+++ b/wscript
@@ -1,9 +1,9 @@
#!/usr/bin/env python
-import autowaf
import datetime
import os
-import Logs
+from waflib.extras import autowaf as autowaf
+import waflib.Logs as Logs
# Version of this package (even if built as a child)
LV2EXT_VERSION = datetime.date.isoformat(datetime.datetime.now()).replace('-', '.')
@@ -18,16 +18,16 @@ out = 'build'
def options(opt):
autowaf.set_options(opt)
- opt.tool_options('compiler_cc')
- opt.tool_options('compiler_cxx')
- opt.sub_options('core.lv2')
+ opt.load('compiler_cc')
+ opt.load('compiler_cxx')
+ opt.recurse('core.lv2')
def configure(conf):
autowaf.set_recursive()
autowaf.configure(conf)
- conf.sub_config('core.lv2');
- conf.check_tool('compiler_cc')
- conf.check_tool('compiler_cxx')
+ conf.recurse('core.lv2');
+ conf.load('compiler_cc')
+ conf.load('compiler_cxx')
conf.env.append_value('CFLAGS', '-std=c99')
pat = conf.env['cshlib_PATTERN']
ext = pat[pat.rfind('.'):]
@@ -44,7 +44,7 @@ def build_extension(bld, name, dir):
def build(bld):
autowaf.set_recursive()
- bld.add_subdirs('core.lv2')
+ bld.recurse('core.lv2')
ext = '''
atom
contexts