diff options
author | David Robillard <d@drobilla.net> | 2019-04-21 20:25:10 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-21 22:44:20 +0200 |
commit | 0a0eb91349101d6e73a1bd83491f7d4dc993723e (patch) | |
tree | f4cb9ea615c2d9435679e363559e9367eac9ab06 /src/server | |
parent | f48f9d69a541d758dc9928c0c89eae46819e660f (diff) | |
download | ingen-0a0eb91349101d6e73a1bd83491f7d4dc993723e.tar.gz ingen-0a0eb91349101d6e73a1bd83491f7d4dc993723e.tar.bz2 ingen-0a0eb91349101d6e73a1bd83491f7d4dc993723e.zip |
Switch to using a submodule for autowaf
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/wscript | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/server/wscript b/src/server/wscript index 2f95148a..f01c6e0b 100644 --- a/src/server/wscript +++ b/src/server/wscript @@ -53,6 +53,8 @@ def build(bld): mix.cpp ''' + core_libs = 'LV2 LILV RAUL SERD SORD SRATOM' + obj = bld(features = 'cxx cxxshlib', source = core_source, export_includes = ['../..'], @@ -61,10 +63,9 @@ def build(bld): target = 'ingen_server', install_path = '${LIBDIR}', use = 'libingen libingen_socket', + uselib = core_libs, cxxflags = bld.env.PTHREAD_CFLAGS + bld.env.INGEN_TEST_CXXFLAGS, linkflags = bld.env.PTHREAD_LINKFLAGS + bld.env.INGEN_TEST_LINKFLAGS) - core_libs = 'LV2 LILV RAUL SERD SORD' - autowaf.use_lib(bld, obj, core_libs) if bld.env.HAVE_JACK: obj = bld(features = 'cxx cxxshlib', @@ -74,9 +75,9 @@ def build(bld): target = 'ingen_jack', install_path = '${LIBDIR}', use = 'libingen_server', + uselib = core_libs + ' JACK', cxxflags = ['-fvisibility=hidden'] + bld.env.PTHREAD_CFLAGS, linkflags = bld.env.PTHREAD_LINKFLAGS) - autowaf.use_lib(bld, obj, core_libs + ' JACK') if bld.env.HAVE_PORTAUDIO: obj = bld(features = 'cxx cxxshlib', @@ -86,9 +87,9 @@ def build(bld): target = 'ingen_portaudio', install_path = '${LIBDIR}', use = 'libingen_server', + uselib = core_libs + ' PORTAUDIO', cxxflags = ['-fvisibility=hidden'] + bld.env.PTHREAD_CFLAGS, linkflags = bld.env.PTHREAD_LINKFLAGS) - autowaf.use_lib(bld, obj, core_libs + ' PORTAUDIO') # Ingen LV2 wrapper if bld.env.INGEN_BUILD_LV2: @@ -100,6 +101,6 @@ def build(bld): target = 'ingen_lv2', install_path = '${LV2DIR}/ingen.lv2/', use = 'libingen libingen_server', + uselib = core_libs, cxxflags = ['-fvisibility=hidden'] + bld.env.PTHREAD_CFLAGS, linkflags = bld.env.PTHREAD_LINKFLAGS) - autowaf.use_lib(bld, obj, core_libs) |