summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-29 03:23:26 +0000
committerDavid Robillard <d@drobilla.net>2008-11-29 03:23:26 +0000
commit9f1ff36d40f916c253cebb1e9f336af53ce31f5d (patch)
tree4f38cadd45de64b44e6ce209709b3350673a7db4 /src/shared
parentce6cec92071bcf7b247daa3128e39f7fb9f3200b (diff)
downloadingen-9f1ff36d40f916c253cebb1e9f336af53ce31f5d.tar.gz
ingen-9f1ff36d40f916c253cebb1e9f336af53ce31f5d.tar.bz2
ingen-9f1ff36d40f916c253cebb1e9f336af53ce31f5d.zip
Upgrade to waf 1.5.0.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1823 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/wscript17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/shared/wscript b/src/shared/wscript
index a758b8ad..eae1eee0 100644
--- a/src/shared/wscript
+++ b/src/shared/wscript
@@ -1,9 +1,8 @@
#!/usr/bin/env python
-import Params
import autowaf
def build(bld):
- obj = bld.create_obj('cpp', 'shlib')
+ obj = bld.new_task_gen('cxx', 'shlib')
obj.source = '''
Builder.cpp
ClashAvoider.cpp
@@ -12,15 +11,15 @@ def build(bld):
Store.cpp
runtime_paths.cpp
'''
- if bld.env()['HAVE_LIBLO'] == 1:
+ if bld.env['HAVE_LIBLO'] == 1:
obj.source += ' OSCSender.cpp '
- if bld.env()['HAVE_SOUP'] == 1:
+ if bld.env['HAVE_SOUP'] == 1:
autowaf.use_lib(bld, obj, 'SOUP')
obj.source += ' HTTPSender.cpp '
- obj.includes = ['.', '../', '../common']
- obj.name = 'libingen_shared'
- obj.target = 'ingen_shared'
- obj.vnum = '0.0.0'
- obj.inst_dir = bld.env()['LIBDIRNAME']
+ obj.includes = ['.', '../', '../common']
+ obj.name = 'libingen_shared'
+ obj.target = 'ingen_shared'
+ obj.vnum = '0.0.0'
+ obj.install_path = '${LIBDIR}'
autowaf.use_lib(bld, obj, 'GLIBMM LV2CORE SLV2 RAUL REDLANDMM')