summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-20 03:10:39 +0000
committerDavid Robillard <d@drobilla.net>2012-03-20 03:10:39 +0000
commitdc9c582495bca8959949521e492a68f89358e65d (patch)
treea99acf91365068c9c29ae5e24a0c9c63570538b3 /wscript
parente9ca7f765b636e3772780f5b32e54ade81e241af (diff)
downloadlilv-dc9c582495bca8959949521e492a68f89358e65d.tar.gz
lilv-dc9c582495bca8959949521e492a68f89358e65d.tar.bz2
lilv-dc9c582495bca8959949521e492a68f89358e65d.zip
Depend on sratom as a proper library and eliminate rampant copy/paste code reuse.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4082 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 6 insertions, 5 deletions
diff --git a/wscript b/wscript
index fc65efa..35f7561 100644
--- a/wscript
+++ b/wscript
@@ -83,6 +83,8 @@ def configure(conf):
atleast_version='0.11.0', mandatory=True)
autowaf.check_pkg(conf, 'sord-0', uselib_store='SORD',
atleast_version='0.6.0', mandatory=True)
+ autowaf.check_pkg(conf, 'sratom-0', uselib_store='SRATOM',
+ atleast_version='0.1.0', mandatory=True)
autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-atom',
uselib_store='LV2_ATOM', mandatory=False)
autowaf.check_pkg(conf, 'lv2-lv2plug.in-ns-ext-state',
@@ -201,7 +203,6 @@ sord-0
src/port.c
src/query.c
src/scalepoint.c
- src/sratom/sratom.c
src/state.c
src/ui.c
src/util.c
@@ -232,7 +233,7 @@ sord-0
cflags = libflags + [ '-DLILV_SHARED',
'-DLILV_INTERNAL' ],
lib = lib)
- autowaf.use_lib(bld, obj, 'SORD LV2CORE LV2_STATE LV2_URID')
+ autowaf.use_lib(bld, obj, 'SORD SRATOM LV2CORE LV2_STATE LV2_URID')
# Static library
if bld.env['BUILD_STATIC']:
@@ -246,7 +247,7 @@ sord-0
install_path = '${LIBDIR}',
defines = defines,
cflags = [ '-DLILV_INTERNAL' ])
- autowaf.use_lib(bld, obj, 'SORD LV2CORE LV2_STATE LV2_URID')
+ autowaf.use_lib(bld, obj, 'SORD SRATOM LV2CORE LV2_STATE LV2_URID')
if bld.env['BUILD_TESTS']:
test_libs = lib
@@ -292,7 +293,7 @@ sord-0
defines = defines,
cflags = test_cflags + ['-DLILV_INTERNAL'],
lib = test_libs)
- autowaf.use_lib(bld, obj, 'SORD LV2CORE LV2_STATE LV2_URID')
+ autowaf.use_lib(bld, obj, 'SORD SRATOM LV2CORE LV2_STATE LV2_URID')
# Unit test program
bpath = os.path.abspath(os.path.join(out, 'test', 'test_plugin.lv2'))
@@ -307,7 +308,7 @@ sord-0
install_path = None,
defines = defines + ['LILV_TEST_BUNDLE=\"%s/\"' % bpath],
cflags = test_cflags)
- autowaf.use_lib(bld, obj, 'SORD LV2CORE LV2_STATE LV2_URID')
+ autowaf.use_lib(bld, obj, 'SORD SRATOM LV2CORE LV2_STATE LV2_URID')
# Utilities
if bld.env['BUILD_UTILS']: