diff options
-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) |