aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-07-29 16:56:26 +0000
committerDavid Robillard <d@drobilla.net>2012-07-29 16:56:26 +0000
commitecdfdc2235d916a7eb5b6edaafc143727c8a1d49 (patch)
tree292bc446e7967535de4cf32aa8b9cfbc5f858a08
parent08946755f2936f6bfb5a11a1a834ca36c00c5c33 (diff)
downloadmda.lv2-ecdfdc2235d916a7eb5b6edaafc143727c8a1d49.tar.gz
mda.lv2-ecdfdc2235d916a7eb5b6edaafc143727c8a1d49.tar.bz2
mda.lv2-ecdfdc2235d916a7eb5b6edaafc143727c8a1d49.zip
Use modern waf build syntax everywhere.
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/mda.lv2@4571 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--wscript16
1 files changed, 8 insertions, 8 deletions
diff --git a/wscript b/wscript
index af953b6..81c72cf 100644
--- a/wscript
+++ b/wscript
@@ -44,18 +44,18 @@ def build_plugin(bld, lang, bundle, name, source, cflags=[], libs=[]):
penv = bld.env.derive()
penv['cshlib_PATTERN'] = bld.env['pluginlib_PATTERN']
penv['cxxshlib_PATTERN'] = bld.env['pluginlib_PATTERN']
- obj = bld(features = '%s %sshlib' % (lang,lang))
- obj.env = penv
- obj.source = source + ['lvz/wrapper.cpp']
- obj.includes = [ '.', './lvz', './src' ]
- obj.name = name
- obj.target = os.path.join(bundle, name)
+ obj = bld(features = '%s %sshlib' % (lang,lang),
+ env = penv,
+ source = source + ['lvz/wrapper.cpp'],
+ includes = [ '.', './lvz', './src' ],
+ name = name,
+ target = os.path.join(bundle, name),
+ install_path = '${LV2DIR}/' + bundle,
+ uselib = ['LV2'])
if cflags != []:
obj.cxxflags = cflags
if libs != []:
autowaf.use_lib(bld, obj, libs)
- obj.install_path = '${LV2DIR}/' + bundle
- obj.uselib = ['LV2']
# Install data file
data_file = '%s.ttl' % name