From b7aadb9bcdc9a667d6b7c2ad2edb157465bbffed Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 17 Dec 2010 04:01:41 +0000 Subject: Remove unused build_plugin. --- wscript | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/wscript b/wscript index f213d1a..a54db0c 100644 --- a/wscript +++ b/wscript @@ -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) -- cgit v1.2.1