diff options
author | David Robillard <d@drobilla.net> | 2011-04-20 16:26:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-20 16:26:40 +0000 |
commit | 138a87e915ad3aff184730415105f94c874174bf (patch) | |
tree | 0d942bdddfdbcc3d969b4fce5592e770ab851b86 /src/server/wscript | |
parent | 1f1758f4dda0ddaf01c0b1d3a756f9db8ddc979d (diff) | |
download | ingen-138a87e915ad3aff184730415105f94c874174bf.tar.gz ingen-138a87e915ad3aff184730415105f94c874174bf.tar.bz2 ingen-138a87e915ad3aff184730415105f94c874174bf.zip |
Rename Ingen::Engine to Ingen::Server (hopefully avoid odd name clases and fix #675).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3184 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/wscript')
-rw-r--r-- | src/server/wscript | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/src/server/wscript b/src/server/wscript new file mode 100644 index 00000000..708f38d2 --- /dev/null +++ b/src/server/wscript @@ -0,0 +1,128 @@ +#!/usr/bin/env python +from waflib.extras import autowaf as autowaf + +def build(bld): + # Headers + bld.install_files('${INCLUDEDIR}/ingen/server', bld.path.ant_glob('*.hpp')) + + core_source = ''' + AudioBuffer.cpp + BufferFactory.cpp + ClientBroadcaster.cpp + ConnectionImpl.cpp + ControlBindings.cpp + DuplexPort.cpp + Engine.cpp + EngineStore.cpp + Event.cpp + EventBuffer.cpp + EventSink.cpp + EventSource.cpp + GraphObjectImpl.cpp + InputPort.cpp + InternalPlugin.cpp + MessageContext.cpp + NodeFactory.cpp + NodeImpl.cpp + ObjectBuffer.cpp + ObjectSender.cpp + OutputPort.cpp + PatchImpl.cpp + PluginImpl.cpp + PortImpl.cpp + PostProcessor.cpp + ProcessContext.cpp + ProcessSlave.cpp + QueuedEngineInterface.cpp + QueuedEvent.cpp + events/Connect.cpp + events/CreateNode.cpp + events/CreatePatch.cpp + events/CreatePort.cpp + events/Delete.cpp + events/Disconnect.cpp + events/DisconnectAll.cpp + events/Get.cpp + events/Move.cpp + events/RegisterClient.cpp + events/RequestMetadata.cpp + events/SendBinding.cpp + events/SendPortActivity.cpp + events/SendPortValue.cpp + events/SetMetadata.cpp + events/SetPortValue.cpp + events/UnregisterClient.cpp + ingen_engine.cpp + internals/Controller.cpp + internals/Delay.cpp + internals/Note.cpp + internals/Trigger.cpp + ''' + + if bld.is_defined('HAVE_SLV2'): + core_source += ' LV2Info.cpp LV2Plugin.cpp LV2Node.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' + core_libs = 'GLIBMM GTHREAD LV2CORE SLV2 RAUL SORD' + autowaf.use_lib(bld, obj, core_libs) + + if bld.is_defined('HAVE_SOUP'): + obj = bld(features = 'cxx cxxshlib') + obj.source = ''' + EventSource.cpp + QueuedEngineInterface.cpp + HTTPClientSender.cpp + HTTPEngineReceiver.cpp + ingen_http.cpp + ''' + obj.includes = ['.', '..', '../..', '../../include', '../server'] + obj.name = 'libingen_http' + obj.target = 'ingen_http' + obj.install_path = '${LIBDIR}' + autowaf.use_lib(bld, obj, core_libs + ' SOUP') + + if bld.is_defined('HAVE_LIBLO'): + obj = bld(features = 'cxx cxxshlib') + obj.source = ''' + EventSource.cpp + QueuedEngineInterface.cpp + 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}' + 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' + 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.use = 'libingen_shared' + obj.add_objects = 'libingen_server' + autowaf.use_lib(bld, obj, core_libs) |