diff options
-rw-r--r-- | src/engine/wscript | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/engine/wscript b/src/engine/wscript index a574ca34..cd7527c1 100644 --- a/src/engine/wscript +++ b/src/engine/wscript @@ -72,9 +72,15 @@ def build(bld): events/SetPortValueEvent.cpp events/UnregisterClientEvent.cpp ''' - obj.includes = ['..', '../common', './events'] - obj.name = 'libingen_engine' - obj.target = 'ingen_engine' - obj.uselib = 'GLIBMM GTHREAD LV2CORE SLV2 JACK LIBLO RAUL REDLANDMM SOUP' - obj.inst_dir = 'lib/ingen' + if bld.env()['HAVE_LADSPA']: + obj.source += ' LADSPANode.cpp ' + if bld.env()['HAVE_SLV2']: + obj.source += ' LV2Node.cpp ' + if bld.env()['HAVE_SOUP']: + obj.source += ' HTTPEngineReceiver.cpp ' + obj.includes = ['..', '../common', './events'] + obj.name = 'libingen_engine' + obj.target = 'ingen_engine' + obj.uselib = 'GLIBMM GTHREAD LV2CORE SLV2 JACK LIBLO RAUL REDLANDMM SOUP' + obj.inst_dir = 'lib/ingen' |