summaryrefslogtreecommitdiffstats
path: root/src/engine/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-12 09:15:01 +0000
committerDavid Robillard <d@drobilla.net>2008-10-12 09:15:01 +0000
commit50fedc745ee8ee270f99702ff578e51c91948526 (patch)
tree1844f71197944daa0f7346511df1dc0736065162 /src/engine/wscript
parent89de26ebea1e125c01272a9ae0bdb555b1b0a31a (diff)
downloadingen-50fedc745ee8ee270f99702ff578e51c91948526.tar.gz
ingen-50fedc745ee8ee270f99702ff578e51c91948526.tar.bz2
ingen-50fedc745ee8ee270f99702ff578e51c91948526.zip
Build LV2 wrapper (still non-functional).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1659 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/wscript')
-rw-r--r--src/engine/wscript25
1 files changed, 21 insertions, 4 deletions
diff --git a/src/engine/wscript b/src/engine/wscript
index 271c948f..488091a3 100644
--- a/src/engine/wscript
+++ b/src/engine/wscript
@@ -3,8 +3,7 @@ import Params
import autowaf
def build(bld):
- obj = bld.create_obj('cpp', 'shlib')
- obj.source = '''
+ core_source = '''
AudioBuffer.cpp
Buffer.cpp
ClientBroadcaster.cpp
@@ -40,6 +39,9 @@ def build(bld):
events/SendPortActivityEvent.cpp
events/SendPortValueEvent.cpp
'''
+
+ obj = bld.create_obj('cpp', 'shlib')
+ obj.source = core_source
if bld.env()['HAVE_LADSPA']:
obj.source += ' LADSPANode.cpp '
if bld.env()['HAVE_SLV2']:
@@ -56,6 +58,7 @@ def build(bld):
obj.source = '''
events/SetPortValueEvent.cpp
QueuedEventSource.cpp
+ QueuedEngineInterface.cpp
events/AllNotesOffEvent.cpp
events/ClearPatchEvent.cpp
events/ConnectionEvent.cpp
@@ -91,7 +94,7 @@ def build(bld):
if bld.env()['HAVE_SOUP']:
obj = bld.create_obj('cpp', 'shlib')
- obj.source = 'HTTPEngineReceiver.cpp'
+ obj.source = 'QueuedEventSource.cpp QueuedEngineInterface.cpp HTTPEngineReceiver.cpp'
obj.includes = ['.', '..', '../common', './events', '../engine']
obj.name = 'libingen_engine_http'
obj.target = 'ingen_engine_http'
@@ -100,7 +103,7 @@ def build(bld):
if bld.env()['HAVE_LIBLO']:
obj = bld.create_obj('cpp', 'shlib')
- obj.source = 'QueuedEngineInterface.cpp OSCClientSender.cpp OSCEngineReceiver.cpp'
+ obj.source = 'QueuedEventSource.cpp QueuedEngineInterface.cpp OSCClientSender.cpp OSCEngineReceiver.cpp'
obj.includes = ['.', '..', '../common', './events', '../engine']
obj.name = 'libingen_engine_osc'
obj.target = 'ingen_engine_osc'
@@ -116,4 +119,18 @@ def build(bld):
obj.inst_dir = 'lib/ingen'
autowaf.use_lib(bld, obj, core_libs + ' JACK')
+ # Lightweight ingen/lv2 wrapper
+ obj = bld.create_obj('cpp', 'shlib')
+ obj.source = core_source
+ if bld.env()['HAVE_LADSPA']:
+ obj.source += ' LADSPANode.cpp '
+ if bld.env()['HAVE_SLV2']:
+ obj.source += ' LV2Node.cpp '
+ obj.includes = ['.', '..', '../common', './events']
+ obj.name = 'ingen_lv2'
+ obj.target = 'ingen_lv2'
+ obj.inst_dir = 'lib/lv2/ingen.lv2'
+ core_libs = 'GLIBMM GTHREAD LV2CORE SLV2 RAUL REDLANDMM'
+ autowaf.use_lib(bld, obj, core_libs)
+