summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/wscript63
-rw-r--r--src/gui/wscript134
-rw-r--r--src/ingen/wscript18
-rw-r--r--src/serialisation/wscript31
-rw-r--r--src/server/wscript236
-rw-r--r--src/shared/wscript57
6 files changed, 268 insertions, 271 deletions
diff --git a/src/client/wscript b/src/client/wscript
index bc771d2c..be1e64f1 100644
--- a/src/client/wscript
+++ b/src/client/wscript
@@ -2,39 +2,38 @@
from waflib.extras import autowaf as autowaf
def build(bld):
- # Headers
- bld.install_files('${INCLUDEDIR}/ingen/client', bld.path.ant_glob('*.hpp'))
+ # Headers
+ bld.install_files('${INCLUDEDIR}/ingen/client', bld.path.ant_glob('*.hpp'))
- obj = bld(features = 'cxx cxxshlib')
- obj.source = '''
- ClientStore.cpp
- NodeModel.cpp
- ObjectModel.cpp
- PatchModel.cpp
- PluginModel.cpp
- PluginUI.cpp
- PortModel.cpp
- ThreadedSigClientInterface.cpp
- ingen_client.cpp
- '''
+ obj = bld(features = 'cxx cxxshlib')
+ obj.source = '''
+ ClientStore.cpp
+ NodeModel.cpp
+ ObjectModel.cpp
+ PatchModel.cpp
+ PluginModel.cpp
+ PluginUI.cpp
+ PortModel.cpp
+ ThreadedSigClientInterface.cpp
+ ingen_client.cpp
+ '''
- if bld.is_defined('HAVE_SOUP'):
- obj.source += '''
- HTTPClientReceiver.cpp
- HTTPEngineSender.cpp
- '''
+ if bld.is_defined('HAVE_SOUP'):
+ obj.source += '''
+ HTTPClientReceiver.cpp
+ HTTPEngineSender.cpp
+ '''
- if bld.is_defined('HAVE_LIBLO'):
- obj.source += '''
- OSCClientReceiver.cpp
- OSCEngineSender.cpp
- '''
-
- obj.includes = ['.', '..', '../..', '../../include']
- obj.export_includes = ['.']
- obj.name = 'libingen_client'
- obj.target = 'ingen_client'
- obj.install_path = '${LIBDIR}'
- obj.use = 'libingen_shared'
- autowaf.use_lib(bld, obj, 'GLIBMM LV2CORE SLV2 SUIL RAUL SORD SOUP SIGCPP LIBLO SOUP')
+ if bld.is_defined('HAVE_LIBLO'):
+ obj.source += '''
+ OSCClientReceiver.cpp
+ OSCEngineSender.cpp
+ '''
+ obj.includes = ['.', '..', '../..', '../../include']
+ obj.export_includes = ['.']
+ obj.name = 'libingen_client'
+ obj.target = 'ingen_client'
+ obj.install_path = '${LIBDIR}'
+ obj.use = 'libingen_shared'
+ autowaf.use_lib(bld, obj, 'GLIBMM LV2CORE SLV2 SUIL RAUL SORD SOUP SIGCPP LIBLO SOUP')
diff --git a/src/gui/wscript b/src/gui/wscript
index 59682ade..cef45ccb 100644
--- a/src/gui/wscript
+++ b/src/gui/wscript
@@ -3,74 +3,74 @@ from waflib.extras import autowaf as autowaf
import waflib.Utils as Utils
def build(bld):
- # Headers
- bld.install_files('${INCLUDEDIR}/ingen/gui', bld.path.ant_glob('*.hpp'))
+ # Headers
+ bld.install_files('${INCLUDEDIR}/ingen/gui', bld.path.ant_glob('*.hpp'))
- obj = bld(features = 'cxx cxxshlib')
- obj.source = '''
- App.cpp
- BreadCrumbs.cpp
- Configuration.cpp
- ConnectWindow.cpp
- Connection.cpp
- ControlPanel.cpp
- Controls.cpp
- GladeFactory.cpp
- LoadPatchWindow.cpp
- LoadPluginWindow.cpp
- LoadRemotePatchWindow.cpp
- MessagesWindow.cpp
- NewSubpatchWindow.cpp
- NodeControlWindow.cpp
- NodeMenu.cpp
- NodeModule.cpp
- ObjectMenu.cpp
- PatchCanvas.cpp
- PatchPortModule.cpp
- PatchTreeWindow.cpp
- PatchView.cpp
- PatchWindow.cpp
- Port.cpp
- PortMenu.cpp
- PortPropertiesWindow.cpp
- PropertiesWindow.cpp
- RenameWindow.cpp
- SubpatchModule.cpp
- ThreadedLoader.cpp
- Window.cpp
- WindowFactory.cpp
- ingen_gui.cpp
- '''
+ obj = bld(features = 'cxx cxxshlib')
+ obj.source = '''
+ App.cpp
+ BreadCrumbs.cpp
+ Configuration.cpp
+ ConnectWindow.cpp
+ Connection.cpp
+ ControlPanel.cpp
+ Controls.cpp
+ GladeFactory.cpp
+ LoadPatchWindow.cpp
+ LoadPluginWindow.cpp
+ LoadRemotePatchWindow.cpp
+ MessagesWindow.cpp
+ NewSubpatchWindow.cpp
+ NodeControlWindow.cpp
+ NodeMenu.cpp
+ NodeModule.cpp
+ ObjectMenu.cpp
+ PatchCanvas.cpp
+ PatchPortModule.cpp
+ PatchTreeWindow.cpp
+ PatchView.cpp
+ PatchWindow.cpp
+ Port.cpp
+ PortMenu.cpp
+ PortPropertiesWindow.cpp
+ PropertiesWindow.cpp
+ RenameWindow.cpp
+ SubpatchModule.cpp
+ ThreadedLoader.cpp
+ Window.cpp
+ WindowFactory.cpp
+ ingen_gui.cpp
+ '''
- if bld.is_defined('HAVE_CURL'):
- obj.source += 'UploadPatchWindow.cpp'
+ if bld.is_defined('HAVE_CURL'):
+ obj.source += 'UploadPatchWindow.cpp'
- obj.export_includes = ['.']
- obj.includes = ['.', '..', '../..', '../../include', '../client', '../module']
- obj.name = 'libingen_gui'
- obj.target = 'ingen_gui'
- obj.install_path = '${LIBDIR}'
- obj.use = 'libingen_shared libingen_client libingen_serialisation'
- autowaf.use_lib(bld, obj, '''
- CURL
- FLOWCANVAS
- GLADEMM
- GLIBMM
- GNOMECANVASMM
- GTKMM
- RAUL
- SORD
- SIGCPP
- LV2CORE
- SLV2
- SOUP
- SUIL
- ''')
+ obj.export_includes = ['.']
+ obj.includes = ['.', '..', '../..', '../../include', '../client', '../module']
+ obj.name = 'libingen_gui'
+ obj.target = 'ingen_gui'
+ obj.install_path = '${LIBDIR}'
+ obj.use = 'libingen_shared libingen_client libingen_serialisation'
+ autowaf.use_lib(bld, obj, '''
+ CURL
+ FLOWCANVAS
+ GLADEMM
+ GLIBMM
+ GNOMECANVASMM
+ GTKMM
+ RAUL
+ SORD
+ SIGCPP
+ LV2CORE
+ SLV2
+ SOUP
+ SUIL
+ ''')
- # Glade XML UI definition
- bld(features = 'subst',
- source = 'ingen_gui.glade',
- target = '../../ingen_gui.glade',
- install_path = '${DATADIR}/ingen',
- chmod = Utils.O755,
- INGEN_VERSION = bld.env['INGEN_VERSION'])
+ # Glade XML UI definition
+ bld(features = 'subst',
+ source = 'ingen_gui.glade',
+ target = '../../ingen_gui.glade',
+ install_path = '${DATADIR}/ingen',
+ chmod = Utils.O755,
+ INGEN_VERSION = bld.env['INGEN_VERSION'])
diff --git a/src/ingen/wscript b/src/ingen/wscript
index d2ad1d6e..97750515 100644
--- a/src/ingen/wscript
+++ b/src/ingen/wscript
@@ -2,13 +2,13 @@
from waflib.extras import autowaf as autowaf
def build(bld):
- obj = bld(features = 'c cxx cxxprogram')
- obj.target = 'ingen'
- obj.source = 'main.cpp'
- obj.includes = ['..', '../..', '../../include']
- obj.defines = 'VERSION="' + bld.env['INGEN_VERSION'] + '"'
- obj.use = 'libingen_shared'
- obj.install_path = '${BINDIR}'
- autowaf.use_lib(bld, obj, 'GTHREAD GLIBMM SORD RAUL LV2CORE SLV2 INGEN LIBLO SOUP')
+ obj = bld(features = 'c cxx cxxprogram')
+ obj.target = 'ingen'
+ obj.source = 'main.cpp'
+ obj.includes = ['..', '../..', '../../include']
+ obj.defines = 'VERSION="' + bld.env['INGEN_VERSION'] + '"'
+ obj.use = 'libingen_shared'
+ obj.install_path = '${BINDIR}'
+ autowaf.use_lib(bld, obj, 'GTHREAD GLIBMM SORD RAUL LV2CORE SLV2 INGEN LIBLO SOUP')
- bld.install_files('${DATADIR}/applications', 'ingen.desktop')
+ bld.install_files('${DATADIR}/applications', 'ingen.desktop')
diff --git a/src/serialisation/wscript b/src/serialisation/wscript
index 3c72871d..7e9ddbf8 100644
--- a/src/serialisation/wscript
+++ b/src/serialisation/wscript
@@ -2,20 +2,19 @@
from waflib.extras import autowaf as autowaf
def build(bld):
- # Headers
- bld.install_files('${INCLUDEDIR}/ingen/serialisation', bld.path.ant_glob('*.hpp'))
-
- obj = bld(features = 'cxx cxxshlib')
- obj.source = '''
- Parser.cpp
- Serialiser.cpp
- serialisation.cpp
- '''
- obj.export_includes = ['.']
- obj.includes = ['.', '..', '../..', '../../include']
- obj.name = 'libingen_serialisation'
- obj.target = 'ingen_serialisation'
- obj.install_path = '${LIBDIR}'
- obj.use = 'libingen_shared'
- autowaf.use_lib(bld, obj, 'GLIBMM LV2CORE SLV2 RAUL SORD')
+ # Headers
+ bld.install_files('${INCLUDEDIR}/ingen/serialisation', bld.path.ant_glob('*.hpp'))
+ obj = bld(features = 'cxx cxxshlib')
+ obj.source = '''
+ Parser.cpp
+ Serialiser.cpp
+ serialisation.cpp
+ '''
+ obj.export_includes = ['.']
+ obj.includes = ['.', '..', '../..', '../../include']
+ obj.name = 'libingen_serialisation'
+ obj.target = 'ingen_serialisation'
+ obj.install_path = '${LIBDIR}'
+ obj.use = 'libingen_shared'
+ autowaf.use_lib(bld, obj, 'GLIBMM LV2CORE SLV2 RAUL SORD')
diff --git a/src/server/wscript b/src/server/wscript
index 708f38d2..b4d3be3b 100644
--- a/src/server/wscript
+++ b/src/server/wscript
@@ -2,127 +2,127 @@
from waflib.extras import autowaf as autowaf
def build(bld):
- # Headers
- bld.install_files('${INCLUDEDIR}/ingen/server', bld.path.ant_glob('*.hpp'))
+ # 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 '
+ 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
+ '''
- 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_SLV2'):
+ core_source += ' LV2Info.cpp LV2Plugin.cpp LV2Node.cpp '
- 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')
+ 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_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_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_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')
+ 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')
- # 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)
+ 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)
diff --git a/src/shared/wscript b/src/shared/wscript
index 4f03cf28..763be120 100644
--- a/src/shared/wscript
+++ b/src/shared/wscript
@@ -2,33 +2,32 @@
from waflib.extras import autowaf as autowaf
def build(bld):
- # Headers
- bld.install_files('${INCLUDEDIR}/ingen/shared', bld.path.ant_glob('*.hpp'))
-
- obj = bld(features = 'cxx cxxshlib')
- obj.source = '''
- Builder.cpp
- ClashAvoider.cpp
- Configuration.cpp
- LV2Atom.cpp
- LV2Features.cpp
- LV2URIMap.cpp
- ResourceImpl.cpp
- Store.cpp
- World.cpp
- runtime_paths.cpp
- '''
- if bld.is_defined('HAVE_LIBLO'):
- obj.source += ' OSCSender.cpp '
- if bld.is_defined('HAVE_SOUP'):
- autowaf.use_lib(bld, obj, 'SOUP')
- obj.source += ' HTTPSender.cpp '
- obj.export_includes = ['.']
- obj.includes = ['.', '..', '../..', '../../include']
- obj.name = 'libingen_shared'
- obj.target = 'ingen_shared'
- obj.vnum = '0.0.0'
- obj.install_path = '${LIBDIR}'
- obj.linkflags = '-ldl'
- autowaf.use_lib(bld, obj, 'GLIBMM LV2CORE SLV2 RAUL SORD LIBLO')
+ # Headers
+ bld.install_files('${INCLUDEDIR}/ingen/shared', bld.path.ant_glob('*.hpp'))
+ obj = bld(features = 'cxx cxxshlib')
+ obj.source = '''
+ Builder.cpp
+ ClashAvoider.cpp
+ Configuration.cpp
+ LV2Atom.cpp
+ LV2Features.cpp
+ LV2URIMap.cpp
+ ResourceImpl.cpp
+ Store.cpp
+ World.cpp
+ runtime_paths.cpp
+ '''
+ if bld.is_defined('HAVE_LIBLO'):
+ obj.source += ' OSCSender.cpp '
+ if bld.is_defined('HAVE_SOUP'):
+ autowaf.use_lib(bld, obj, 'SOUP')
+ obj.source += ' HTTPSender.cpp '
+ obj.export_includes = ['.']
+ obj.includes = ['.', '..', '../..', '../../include']
+ obj.name = 'libingen_shared'
+ obj.target = 'ingen_shared'
+ obj.vnum = '0.0.0'
+ obj.install_path = '${LIBDIR}'
+ obj.linkflags = '-ldl'
+ autowaf.use_lib(bld, obj, 'GLIBMM LV2CORE SLV2 RAUL SORD LIBLO')