aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-10-05 00:32:44 -0400
committerDavid Robillard <d@drobilla.net>2016-10-05 01:31:35 -0400
commit86e57efa909ad4e475186aaf7ce8623eee9ee0aa (patch)
tree8b1cdb398043df5aa8faf4932f641cc4f7a82ae8 /wscript
parent538bc9fbd498088dc1812f16dcfe83e3a3c20781 (diff)
downloadjalv-86e57efa909ad4e475186aaf7ce8623eee9ee0aa.tar.gz
jalv-86e57efa909ad4e475186aaf7ce8623eee9ee0aa.tar.bz2
jalv-86e57efa909ad4e475186aaf7ce8623eee9ee0aa.zip
Factor out Jack backend
Diffstat (limited to 'wscript')
-rw-r--r--wscript21
1 files changed, 18 insertions, 3 deletions
diff --git a/wscript b/wscript
index 28cae4a..f987bdf 100644
--- a/wscript
+++ b/wscript
@@ -113,6 +113,12 @@ def configure(conf):
define_name='HAVE_FILENO',
mandatory=False)
+ conf.check(function_name='mlock',
+ header_name='sys/mman.h',
+ defines=defines,
+ define_name='HAVE_MLOCK',
+ mandatory=False)
+
if conf.is_defined('HAVE_ISATTY') and conf.is_defined('HAVE_FILENO'):
autowaf.define(conf, 'JALV_WITH_COLOR', 1)
conf.env.append_unique('CFLAGS', ['-D_POSIX_C_SOURCE=200809L'])
@@ -135,9 +141,18 @@ def configure(conf):
print('')
def build(bld):
- libs = 'LILV SUIL JACK SERD SORD SRATOM LV2'
-
- source = 'src/jalv.c src/symap.c src/state.c src/lv2_evbuf.c src/worker.c src/log.c src/control.c'
+ libs = 'LILV SUIL JACK SERD SORD SRATOM LV2'
+ source = '''
+ src/control.c
+ src/jack.c
+ src/jalv.c
+ src/log.c
+ src/lv2_evbuf.c
+ src/state.c
+ src/symap.c
+ src/worker.c
+ src/zix/ring.c
+ '''
# Non-GUI version
obj = bld(features = 'c cprogram',