summaryrefslogtreecommitdiffstats
path: root/src/osc/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/osc/wscript')
-rw-r--r--src/osc/wscript28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/osc/wscript b/src/osc/wscript
new file mode 100644
index 00000000..01e86db9
--- /dev/null
+++ b/src/osc/wscript
@@ -0,0 +1,28 @@
+#!/usr/bin/env python
+from waflib.extras import autowaf as autowaf
+
+def build(bld):
+ if bld.is_defined('HAVE_LIBLO'):
+ obj = bld(features = 'cxx cxxshlib',
+ source = '''OSCClientSender.cpp
+ OSCEngineReceiver.cpp
+ OSCSender.cpp
+ ingen_osc_server.cpp''',
+ includes = ['.', '../..', '../../include'],
+ name = 'libingen_osc_server',
+ target = 'ingen_osc_server',
+ install_path = '${LIBDIR}',
+ use = 'libingen_server')
+ autowaf.use_lib(bld, obj, 'RAUL LIBLO')
+
+ obj = bld(features = 'cxx cxxshlib',
+ source = '''OSCClientReceiver.cpp
+ OSCEngineSender.cpp
+ OSCSender.cpp
+ ingen_osc_client.cpp''',
+ includes = ['.', '../..', '../../include'],
+ name = 'libingen_osc_client',
+ target = 'ingen_osc_client',
+ install_path = '${LIBDIR}',
+ use = 'libingen_client')
+ autowaf.use_lib(bld, obj, 'RAUL LIBLO')