diff options
author | David Robillard <d@drobilla.net> | 2008-10-02 02:48:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-10-02 02:48:09 +0000 |
commit | 2c75e89c7b5f2b42597b7d2e6ef49109eca6616c (patch) | |
tree | 4756f934ceff98fc998983cc09ef71713e4ce99a /src/engine/wscript | |
parent | e5e6681757d3a5c159d3d843dd35d834a5da671f (diff) | |
download | ingen-2c75e89c7b5f2b42597b7d2e6ef49109eca6616c.tar.gz ingen-2c75e89c7b5f2b42597b7d2e6ef49109eca6616c.tar.bz2 ingen-2c75e89c7b5f2b42597b7d2e6ef49109eca6616c.zip |
Fix loading of LADSPA and LV2 plugins, and HTTP support (actually build optional components into library).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1586 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/wscript')
-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' |