diff options
author | David Robillard <d@drobilla.net> | 2010-12-17 04:01:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-17 04:01:41 +0000 |
commit | b7aadb9bcdc9a667d6b7c2ad2edb157465bbffed (patch) | |
tree | 96c09be6d1c0beace4177efa3a5962ca9c4230b1 /wscript | |
parent | 7d0e3cf4afdd070c00b33ac68c82a56f0373a922 (diff) | |
download | lv2-b7aadb9bcdc9a667d6b7c2ad2edb157465bbffed.tar.xz |
Remove unused build_plugin.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 29 |
1 files changed, 0 insertions, 29 deletions
@@ -22,7 +22,6 @@ def options(opt): opt.tool_options('compiler_cxx') opt.sub_options('core.lv2') - def configure(conf): autowaf.set_recursive() autowaf.configure(conf) @@ -34,34 +33,6 @@ def configure(conf): ext = pat[pat.rfind('.'):] conf.env.append_value('cshlib_EXTENSION', ext) -def build_plugin(bld, lang, name): - ext = bld.env['cshlib_EXTENSION'][0] - - penv = bld.env.copy() - penv['cshlib_PATTERN'] = '%s' + ext - - # Library - ext = 'c' - if lang != 'cc': - ext = 'cpp' - - obj = bld.new_task_gen(lang, 'shlib') - obj.env = penv - obj.source = [ 'plugins/%s.lv2/%s.%s' % (name, name, ext) ] - obj.includes = ['.', './ext'] - obj.name = name - obj.target = name - obj.install_path = '${LV2DIR}/' + name + '.lv2' - - if lang == 'cxx': - obj.source += [ 'ext/lv2plugin.cpp' ] - - # Data - data_file = 'plugins/%s.lv2/%s.ttl' % (name, name) - manifest_file = 'plugins/%s.lv2/manifest.ttl' % (name) - bld.install_files('${LV2DIR}/' + name + '.lv2', bld.path.ant_glob(data_file)) - bld.install_files('${LV2DIR}/' + name + '.lv2', bld.path.ant_glob(manifest_file)) - def build_extension(bld, name, dir): data_file = '%s/%s.lv2/%s.ttl' % (dir, name, name) manifest_file = '%s/%s.lv2/manifest.ttl' % (dir, name) |