summaryrefslogtreecommitdiffstats
path: root/src/progs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-06-10 01:52:02 +0000
committerDavid Robillard <d@drobilla.net>2006-06-10 01:52:02 +0000
commit98fe0e7056e6697396249531785d3899f94d79be (patch)
tree233319008d4bfb6c8bdc546bdf4a81b87ecf7f3a /src/progs
parent6c8eaee73b0ea66216744f49b452e22e26fe83e1 (diff)
downloadingen-98fe0e7056e6697396249531785d3899f94d79be.tar.gz
ingen-98fe0e7056e6697396249531785d3899f94d79be.tar.bz2
ingen-98fe0e7056e6697396249531785d3899f94d79be.zip
More juggling
git-svn-id: http://svn.drobilla.net/lad/grauph@15 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/om/Makefile.am259
1 files changed, 259 insertions, 0 deletions
diff --git a/src/progs/om/Makefile.am b/src/progs/om/Makefile.am
new file mode 100644
index 00000000..ae0b3e53
--- /dev/null
+++ b/src/progs/om/Makefile.am
@@ -0,0 +1,259 @@
+SUBDIRS = tests
+DIST_SUBDIRS = events
+
+AM_CXXFLAGS = @JACK_CFLAGS@ @LOSC_CFLAGS@ @ALSA_CFLAGS@ @LASH_CFLAGS@ @SLV2_CFLAGS@ -I$(top_srcdir)/src/common -I$(top_srcdir)/src/engine/events -fno-exceptions -fno-rtti
+
+MAINTAINERCLEANFILES = Makefile.in
+
+common_SOURCES = \
+ util.h \
+ tuning.h \
+ Node.h \
+ NodeBase.h \
+ NodeBase.cpp \
+ InternalNode.h \
+ Patch.h \
+ Patch.cpp \
+ NodeFactory.h \
+ NodeFactory.cpp \
+ Om.h \
+ Om.cpp \
+ OmApp.h \
+ OmApp.cpp \
+ JackAudioDriver.h \
+ JackAudioDriver.cpp \
+ OSCReceiver.h \
+ OSCReceiver.cpp \
+ Responder.h \
+ OSCResponder.h \
+ OSCResponder.cpp \
+ ClientKey.h \
+ ClientBroadcaster.h \
+ ClientBroadcaster.cpp \
+ ObjectSender.h \
+ ObjectSender.cpp \
+ OSCClient.h \
+ OSCClient.cpp \
+ Buffer.h \
+ Buffer.cpp \
+ Port.h \
+ Port.cpp \
+ PortBase.h \
+ PortBase.cpp \
+ InputPort.h \
+ InputPort.cpp \
+ OutputPort.h \
+ OutputPort.cpp \
+ MidiMessage.h \
+ MidiNoteNode.h \
+ MidiNoteNode.cpp \
+ MidiTriggerNode.h \
+ MidiTriggerNode.cpp \
+ MidiControlNode.h \
+ MidiControlNode.cpp \
+ BridgeNode.h \
+ BridgeNode.cpp \
+ ControlInputNode.h \
+ ControlInputNode.cpp \
+ ControlOutputNode.h \
+ ControlOutputNode.cpp \
+ AudioInputNode.h \
+ AudioInputNode.cpp \
+ AudioOutputNode.h \
+ AudioOutputNode.cpp \
+ MidiInputNode.h \
+ MidiInputNode.cpp \
+ MidiOutputNode.h \
+ MidiOutputNode.cpp \
+ Event.h \
+ Event.cpp \
+ QueuedEvent.h \
+ EventSource.h \
+ QueuedEventSource.h \
+ QueuedEventSource.cpp \
+ QueuedEngineInterface.h \
+ QueuedEngineInterface.cpp \
+ OmObject.h \
+ Maid.h \
+ Maid.cpp \
+ MaidObject.h \
+ Tree.h \
+ ClientRecord.h \
+ PortInfo.h \
+ PluginLibrary.h \
+ Plugin.h \
+ Array.h \
+ List.h \
+ PostProcessor.h \
+ PostProcessor.cpp \
+ Connection.h \
+ Connection.cpp \
+ ConnectionBase.h \
+ ConnectionBase.cpp \
+ ObjectStore.h \
+ ObjectStore.cpp \
+ TransportNode.h \
+ TransportNode.cpp \
+ Driver.h \
+ AudioDriver.h \
+ MidiDriver.h \
+ midi.h \
+ ../common/util/Semaphore.h \
+ ../common/util/types.h \
+ ../common/util/Path.h \
+ ../common/util/Queue.h \
+ ../common/interface/ClientInterface.h \
+ ../common/interface/EngineInterface.h \
+ instantiations.cpp
+
+# Events
+common_SOURCES += \
+ events/RegisterClientEvent.h \
+ events/RegisterClientEvent.cpp \
+ events/UnregisterClientEvent.h \
+ events/UnregisterClientEvent.cpp \
+ events/PingQueuedEvent.h \
+ events/ActivateEvent.h \
+ events/ActivateEvent.cpp \
+ events/DeactivateEvent.h \
+ events/DeactivateEvent.cpp \
+ events/SetPortValueEvent.h \
+ events/SetPortValueEvent.cpp \
+ events/SetPortValueQueuedEvent.h \
+ events/SetPortValueQueuedEvent.cpp \
+ events/NoteOnEvent.h \
+ events/NoteOnEvent.cpp \
+ events/NoteOffEvent.h \
+ events/NoteOffEvent.cpp \
+ events/AllNotesOffEvent.h \
+ events/AllNotesOffEvent.cpp \
+ events/ConnectionEvent.h \
+ events/ConnectionEvent.cpp \
+ events/DisconnectionEvent.h \
+ events/DisconnectionEvent.cpp \
+ events/DisconnectNodeEvent.h \
+ events/DisconnectNodeEvent.cpp \
+ events/DisconnectPortEvent.h \
+ events/DisconnectPortEvent.cpp \
+ events/DestroyEvent.h \
+ events/DestroyEvent.cpp \
+ events/AddNodeEvent.h \
+ events/AddNodeEvent.cpp \
+ events/SetMetadataEvent.h \
+ events/SetMetadataEvent.cpp \
+ events/RequestMetadataEvent.h \
+ events/RequestMetadataEvent.cpp \
+ events/RequestPortValueEvent.h \
+ events/RequestPortValueEvent.cpp \
+ events/RequestAllObjectsEvent.h \
+ events/RequestAllObjectsEvent.cpp \
+ events/RequestPluginsEvent.h \
+ events/RequestPluginsEvent.cpp \
+ events/CreatePatchEvent.h \
+ events/CreatePatchEvent.cpp \
+ events/LoadPluginsEvent.h \
+ events/LoadPluginsEvent.cpp \
+ events/EnablePatchEvent.h \
+ events/EnablePatchEvent.cpp \
+ events/DisablePatchEvent.h \
+ events/DisablePatchEvent.cpp \
+ events/ClearPatchEvent.h \
+ events/ClearPatchEvent.cpp \
+ events/RenameEvent.h \
+ events/RenameEvent.cpp \
+ events/MidiLearnEvent.h \
+ events/MidiLearnEvent.cpp
+
+if WITH_JACK_MIDI
+common_SOURCES += \
+ JackMidiDriver.h \
+ JackMidiDriver.cpp
+endif
+
+if WITH_ALSA_MIDI
+common_SOURCES += \
+ AlsaMidiDriver.h \
+ AlsaMidiDriver.cpp
+endif
+
+if WITH_LADSPA
+common_SOURCES += \
+ LADSPAPlugin.h \
+ LADSPAPlugin.cpp
+endif
+
+if WITH_DSSI
+common_SOURCES += \
+ DSSIPlugin.h \
+ DSSIPlugin.cpp \
+ events/DSSIConfigureEvent.cpp \
+ events/DSSIConfigureEvent.h \
+ events/DSSIControlEvent.cpp \
+ events/DSSIControlEvent.h \
+ events/DSSIProgramEvent.cpp \
+ events/DSSIProgramEvent.h \
+ events/DSSIUpdateEvent.cpp \
+ events/DSSIUpdateEvent.h
+endif
+
+if WITH_LV2
+common_SOURCES += \
+ LV2Plugin.h \
+ LV2Plugin.cpp
+endif
+
+if WITH_LASH
+common_SOURCES += \
+ LashDriver.h \
+ LashDriver.cpp \
+ LashRestoreDoneEvent.h
+endif
+
+
+#
+# Non-installed library to link stand-alone and in-process build against
+#
+
+noinst_LTLIBRARIES = libom.la
+libom_la_SOURCES = $(common_SOURCES)
+
+
+
+#
+# Stand-alone engine
+#
+if BUILD_ENGINE
+
+bin_PROGRAMS = om
+om_DEPENDENCIES = libom.la
+om_LDADD = @JACK_LIBS@ @LOSC_LIBS@ @ALSA_LIBS@ @LASH_LIBS@ @SLV2_LIBS@ -lrt libom.la
+
+om_SOURCES = \
+ main.cpp \
+ cmdline.h \
+ cmdline.c
+
+endif # BUILD_ENGINE
+
+
+
+#
+# Jack internal client
+#
+if BUILD_IN_PROCESS_ENGINE
+
+
+# FIXME: broken
+
+
+# FIXME: Figure out how to get this properly
+omdir = $(prefix)/lib/jack
+
+om_la_CFLAGS = -fPIC
+om_LTLIBRARIES = om.la
+om_la_LDFLAGS = -module -avoid-version @JACK_LIBS@ @LOSC_LIBS@ @ALSA_LIBS@ @LASH_LIBS@ @SLV2_LIBS@
+om_la_SOURCES = OmInProcess.cpp
+
+endif # BUILD_IN_PROCESS_ENGINE
+
+