summaryrefslogtreecommitdiffstats
path: root/src/libs/module/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/module/wscript')
-rw-r--r--src/libs/module/wscript17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/libs/module/wscript b/src/libs/module/wscript
new file mode 100644
index 00000000..e202342d
--- /dev/null
+++ b/src/libs/module/wscript
@@ -0,0 +1,17 @@
+#!/usr/bin/env python
+import Params
+
+def build(bld):
+ dir = Params.g_options.moduledir or bld.env()['PREFIX'] + 'lib/ingen'
+ obj = bld.create_obj('cpp', 'shlib')
+ obj.source = '''
+ Module.cpp
+ global.cpp
+ '''
+ obj.includes = ['..', '../../common', '../..']
+ obj.defines = 'INGEN_MODULE_DIR=\\\"' + dir + '\\\"'
+ obj.name = 'libingen_module'
+ obj.target = 'ingen_module'
+ obj.uselib = 'GLIBMM SLV2 RAUL REDLANDMM'
+ obj.vnum = '0.0.0'
+