diff options
author | David Robillard <d@drobilla.net> | 2011-10-21 15:50:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-10-21 15:50:32 +0000 |
commit | 4957c342b592ac1cc2c8983d1acfe957def8b3c6 (patch) | |
tree | 8872dae307c3e13f7efdabd033afd548e5351163 /src/server/wscript | |
parent | bcc2b2a1032306711591ae59205b81ed67d08387 (diff) | |
download | ingen-4957c342b592ac1cc2c8983d1acfe957def8b3c6.tar.gz ingen-4957c342b592ac1cc2c8983d1acfe957def8b3c6.tar.bz2 ingen-4957c342b592ac1cc2c8983d1acfe957def8b3c6.zip |
Use modern terser waf syntax.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3556 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/wscript')
-rw-r--r-- | src/server/wscript | 89 |
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) |