aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-17 04:01:41 +0000
committerDavid Robillard <d@drobilla.net>2010-12-17 04:01:41 +0000
commitb7aadb9bcdc9a667d6b7c2ad2edb157465bbffed (patch)
tree96c09be6d1c0beace4177efa3a5962ca9c4230b1
parent7d0e3cf4afdd070c00b33ac68c82a56f0373a922 (diff)
downloadlv2-b7aadb9bcdc9a667d6b7c2ad2edb157465bbffed.tar.xz
Remove unused build_plugin.
-rw-r--r--wscript29
1 files changed, 0 insertions, 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)