summaryrefslogtreecommitdiffstats
path: root/src/server/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-21 05:16:22 +0000
committerDavid Robillard <d@drobilla.net>2011-10-21 05:16:22 +0000
commitbcc2b2a1032306711591ae59205b81ed67d08387 (patch)
treec98c936b113bc9ea5950877467eaaa8d9c13d62a /src/server/wscript
parentd0197b2f5fadc55c5ab3bf62e96fef81d753b2de (diff)
downloadingen-bcc2b2a1032306711591ae59205b81ed67d08387.tar.gz
ingen-bcc2b2a1032306711591ae59205b81ed67d08387.tar.bz2
ingen-bcc2b2a1032306711591ae59205b81ed67d08387.zip
Fix running as an LV2 plugin.
Install template bundles for loading Ingen in LV2 hosts. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3555 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/wscript')
-rw-r--r--src/server/wscript12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/server/wscript b/src/server/wscript
index dd0dfa8f..e0c7a7d1 100644
--- a/src/server/wscript
+++ b/src/server/wscript
@@ -69,8 +69,6 @@ def build(bld):
if bld.is_defined('HAVE_SOUP'):
obj = bld(features = 'cxx cxxshlib')
obj.source = '''
- EventSource.cpp
- QueuedEngineInterface.cpp
HTTPClientSender.cpp
HTTPEngineReceiver.cpp
ingen_http.cpp
@@ -79,13 +77,12 @@ def build(bld):
obj.name = 'libingen_http'
obj.target = 'ingen_http'
obj.install_path = '${LIBDIR}'
+ obj.use = 'libingen_server'
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
@@ -95,6 +92,7 @@ def build(bld):
obj.name = 'libingen_osc'
obj.target = 'ingen_osc'
obj.install_path = '${LIBDIR}'
+ obj.use = 'libingen_server'
autowaf.use_lib(bld, obj, core_libs + ' LIBLO')
if bld.is_defined('HAVE_JACK'):
@@ -115,7 +113,7 @@ def build(bld):
obj.includes = ['.', '..', '../..', '../../include']
obj.name = 'libingen_lv2'
obj.target = 'ingen_lv2'
- obj.install_path = '${LIBDIR}'
- obj.use = 'libingen_shared'
- obj.add_objects = 'libingen_server'
+ #obj.install_path = '${LIBDIR}'
+ obj.install_path = '${LV2DIR}/ingen.lv2/'
+ obj.use = 'libingen_server libingen_shared'
autowaf.use_lib(bld, obj, core_libs)