diff options
author | David Robillard <d@drobilla.net> | 2012-07-29 16:32:27 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-07-29 16:32:27 +0000 |
commit | 7523578d6ef36eb72717d3ff52cb45c8c2a0b6ea (patch) | |
tree | cad6832a09dc46a5441e0922cc6c1f71649c6331 /wscript | |
parent | 05d03c23f1fec952ad9c03208d301c3cf182d4ab (diff) | |
download | blop.lv2-7523578d6ef36eb72717d3ff52cb45c8c2a0b6ea.tar.gz blop.lv2-7523578d6ef36eb72717d3ff52cb45c8c2a0b6ea.tar.bz2 blop.lv2-7523578d6ef36eb72717d3ff52cb45c8c2a0b6ea.zip |
Build blop.lv2 in top-level build process.
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/blop.lv2@4570 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -5,11 +5,11 @@ import subprocess from waflib.extras import autowaf as autowaf # Version of this package (even if built as a child) -BLIP_VERSION = '0.0.0' +BLOP_VERSION = '0.0.0' # Variables for 'waf dist' APPNAME = 'blop.lv2' -VERSION = BLIP_VERSION +VERSION = BLOP_VERSION # Mandatory variables top = '.' @@ -22,7 +22,7 @@ def options(opt): def configure(conf): conf.load('compiler_c') autowaf.configure(conf) - autowaf.display_header('Blip Configuration') + autowaf.display_header('Blop.LV2 Configuration') conf.env.append_unique('CFLAGS', '-std=c99') @@ -43,7 +43,7 @@ def configure(conf): conf.env['pluginlib_PATTERN'] = pat conf.env['pluginlib_EXT'] = pat[pat.rfind('.'):] - conf.define('BLIP_SHLIB_EXT', conf.env['pluginlib_EXT']) + conf.define('BLOP_SHLIB_EXT', conf.env['pluginlib_EXT']) autowaf.display_msg(conf, "LV2 bundle directory", conf.env['LV2DIR']) @@ -56,7 +56,7 @@ def build_plugin(bld, lang, bundle, name, source, cflags=[], libs=[]): obj = bld(features = '%s %sshlib' % (lang,lang)) obj.env = penv obj.source = source - obj.includes = [ '.', './src/include' ] + obj.includes = [ '.', 'src/include' ] obj.name = name obj.target = os.path.join(bundle, name) obj.uselib = ['LV2'] @@ -145,7 +145,7 @@ def build(bld): target = 'src/wavegen', name = 'wavegen', after = ['parabola', 'sawtooth', 'square'], - includes = ['./src', './src/include'], + includes = ['.', 'src/include'], lib = ['m'], install_path = None) @@ -164,7 +164,7 @@ def build(bld): obj = bld(features = 'c cshlib', source = bld.path.get_bld().make_node('src/%s_data.c' % i), target = 'blop.lv2/%s_data' % i, - includes = ['./src', './src/include'], + includes = ['.', 'src/include'], env = penv, install_path = '${LV2DIR}/blop.lv2') |