aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-15 22:59:04 +0000
committerDavid Robillard <d@drobilla.net>2010-12-15 22:59:04 +0000
commit183dcf0f6ccd4ee5d36a13641f3e2df6a36a9f65 (patch)
treef4336f4bf138394eace81a19f006cd3c47a2dd69 /wscript
parenta4acc97a239856fcbcc4d83d64bebf35aadfe98f (diff)
downloadlv2-183dcf0f6ccd4ee5d36a13641f3e2df6a36a9f65.tar.xz
Update for waf 1.6.
Diffstat (limited to 'wscript')
-rw-r--r--wscript18
1 files changed, 9 insertions, 9 deletions
diff --git a/wscript b/wscript
index 0b414d0..0e2a1e6 100644
--- a/wscript
+++ b/wscript
@@ -11,10 +11,10 @@ APPNAME = 'lv2plug.in'
VERSION = LV2EXT_VERSION
# Mandatory variables
-srcdir = '.'
-blddir = 'build'
+top = '.'
+out = 'build'
-def set_options(opt):
+def options(opt):
autowaf.set_options(opt)
opt.tool_options('compiler_cc')
opt.tool_options('compiler_cxx')
@@ -28,15 +28,15 @@ def configure(conf):
conf.check_tool('compiler_cc')
conf.check_tool('compiler_cxx')
conf.env.append_value('CCFLAGS', '-std=c99')
- pat = conf.env['shlib_PATTERN']
+ pat = conf.env['cshlib_PATTERN']
ext = pat[pat.rfind('.'):]
- conf.env.append_value('shlib_EXTENSION', ext)
-
+ conf.env.append_value('cshlib_EXTENSION', ext)
+
def build_plugin(bld, lang, name):
- ext = bld.env['shlib_EXTENSION'][0]
+ ext = bld.env['cshlib_EXTENSION'][0]
penv = bld.env.copy()
- penv['shlib_PATTERN'] = '%s' + ext
+ penv['cshlib_PATTERN'] = '%s' + ext
# Library
ext = 'c'
@@ -91,7 +91,7 @@ def build(bld):
'''
for e in ext.split():
build_extension(bld, e, 'ext')
-
+
extensions = '''
ui
units