summaryrefslogtreecommitdiffstats
path: root/src/server/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/wscript')
-rw-r--r--src/server/wscript89
1 files changed, 41 insertions, 48 deletions
diff --git a/src/server/wscript b/src/server/wscript
index e0c7a7d1..9b486d25 100644
--- a/src/server/wscript
+++ b/src/server/wscript
@@ -55,65 +55,58 @@ def build(bld):
internals/Trigger.cpp
'''
- obj = bld(features = 'cxx cxxshlib')
- obj.source = core_source
- obj.export_includes = ['.']
- obj.includes = ['.', '..', '../..', '../../include']
- obj.name = 'libingen_server'
- obj.target = 'ingen_server'
- obj.install_path = '${LIBDIR}'
- obj.use = 'libingen_shared'
+ obj = bld(features = 'cxx cxxshlib',
+ source = core_source,
+ export_includes = ['../../include'],
+ includes = ['.', '..', '../..', '../../include'],
+ name = 'libingen_server',
+ target = 'ingen_server',
+ install_path = '${LIBDIR}',
+ use = 'libingen_shared')
core_libs = 'GLIBMM GTHREAD LV2CORE LILV RAUL SORD'
autowaf.use_lib(bld, obj, core_libs)
if bld.is_defined('HAVE_SOUP'):
- obj = bld(features = 'cxx cxxshlib')
- obj.source = '''
- HTTPClientSender.cpp
- HTTPEngineReceiver.cpp
- ingen_http.cpp
- '''
- obj.includes = ['.', '..', '../..', '../../include', '../server']
- obj.name = 'libingen_http'
- obj.target = 'ingen_http'
- obj.install_path = '${LIBDIR}'
- obj.use = 'libingen_server'
+ obj = bld(features = 'cxx cxxshlib',
+ source = '''HTTPClientSender.cpp
+ HTTPEngineReceiver.cpp
+ ingen_http.cpp''',
+ includes = ['.', '..', '../..', '../../include'],
+ name = 'libingen_http',
+ target = 'ingen_http',
+ install_path = '${LIBDIR}',
+ use = 'libingen_server')
autowaf.use_lib(bld, obj, core_libs + ' SOUP')
if bld.is_defined('HAVE_LIBLO'):
- obj = bld(features = 'cxx cxxshlib')
- obj.source = '''
- OSCClientSender.cpp
- OSCEngineReceiver.cpp
- ingen_osc.cpp
- '''
- obj.export_includes = ['.']
- obj.includes = ['.', '..', '../..', '../../include', '../server']
- obj.name = 'libingen_osc'
- obj.target = 'ingen_osc'
- obj.install_path = '${LIBDIR}'
- obj.use = 'libingen_server'
+ obj = bld(features = 'cxx cxxshlib',
+ source = '''OSCClientSender.cpp
+ OSCEngineReceiver.cpp
+ ingen_osc.cpp''',
+ includes = ['.', '..', '../..', '../../include'],
+ name = 'libingen_osc',
+ target = 'ingen_osc',
+ install_path = '${LIBDIR}',
+ use = 'libingen_server')
autowaf.use_lib(bld, obj, core_libs + ' LIBLO')
if bld.is_defined('HAVE_JACK'):
- obj = bld(features = 'cxx cxxshlib')
- obj.source = 'JackDriver.cpp ingen_jack.cpp'
- obj.export_includes = ['.']
- obj.includes = ['.', '..', '../..', '../../include', '../server']
- obj.name = 'libingen_jack'
- obj.target = 'ingen_jack'
- obj.install_path = '${LIBDIR}'
- obj.use = 'libingen_server'
+ obj = bld(features = 'cxx cxxshlib',
+ source = 'JackDriver.cpp ingen_jack.cpp',
+ includes = ['.', '..', '../..', '../../include'],
+ name = 'libingen_jack',
+ target = 'ingen_jack',
+ install_path = '${LIBDIR}',
+ use = 'libingen_server')
autowaf.use_lib(bld, obj, core_libs + ' JACK')
# Ingen LV2 wrapper
- obj = bld(features = 'cxx cxxshlib')
- obj.source = ' ingen_lv2.cpp '
- obj.export_includes = ['.']
- obj.includes = ['.', '..', '../..', '../../include']
- obj.name = 'libingen_lv2'
- obj.target = 'ingen_lv2'
- #obj.install_path = '${LIBDIR}'
- obj.install_path = '${LV2DIR}/ingen.lv2/'
- obj.use = 'libingen_server libingen_shared'
+ obj = bld(features = 'cxx cxxshlib',
+ source = ' ingen_lv2.cpp ',
+ includes = ['.', '..', '../..', '../../include'],
+ name = 'libingen_lv2',
+ target = 'ingen_lv2',
+ #install_path = '${LIBDIR}',
+ install_path = '${LV2DIR}/ingen.lv2/',
+ use = 'libingen_server libingen_shared')
autowaf.use_lib(bld, obj, core_libs)