diff options
author | David Robillard <d@drobilla.net> | 2010-12-16 04:04:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-16 04:04:45 +0000 |
commit | 50701a1143c836d24d368298ee9068e721c8a066 (patch) | |
tree | 0b7fe58a65d60d6b87c0165f101a7836ba96e8a8 /src/engine | |
parent | 6ff0b063d9ffb66e690d34bcf934eeab1a3bf46d (diff) | |
download | ingen-50701a1143c836d24d368298ee9068e721c8a066.tar.gz ingen-50701a1143c836d24d368298ee9068e721c8a066.tar.bz2 ingen-50701a1143c836d24d368298ee9068e721c8a066.zip |
Updates for waf 1.6.
Note: this revision breaks documentation installation.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2719 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/wscript | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/src/engine/wscript b/src/engine/wscript index a37b69b3..70c1fe08 100644 --- a/src/engine/wscript +++ b/src/engine/wscript @@ -3,7 +3,7 @@ import autowaf def build(bld): # Headers - bld.install_files('${INCLUDEDIR}/ingen/engine', '*.hpp') + bld.install_files('${INCLUDEDIR}/ingen/engine', bld.path.ant_glob('*.hpp')) core_source = ''' AudioBuffer.cpp @@ -64,19 +64,19 @@ def build(bld): if bld.env['HAVE_SLV2'] == 1: core_source += ' LV2Info.cpp LV2Plugin.cpp LV2Node.cpp ' - obj = bld.new_task_gen('cxx', 'shlib') + obj = bld(features = 'cxx cxxshlib') obj.source = core_source - obj.export_incdirs = ['.'] - obj.includes = ['.', '..', '../..', '../common'] - obj.name = 'libingen_engine' - obj.target = 'ingen_engine' - obj.install_path = '${LIBDIR}' - obj.uselib_local = 'libingen_shared' + obj.export_includes = ['.'] + obj.includes = ['.', '..', '../..', '../common'] + obj.name = 'libingen_engine' + obj.target = 'ingen_engine' + obj.install_path = '${LIBDIR}' + obj.use = 'libingen_shared' core_libs = 'GLIBMM GTHREAD LV2CORE SLV2 RAUL REDLANDMM' autowaf.use_lib(bld, obj, core_libs) if bld.env['HAVE_SOUP'] == 1: - obj = bld.new_task_gen('cxx', 'shlib') + obj = bld(features = 'cxx cxxshlib') obj.source = ''' EventSource.cpp QueuedEngineInterface.cpp @@ -91,7 +91,7 @@ def build(bld): autowaf.use_lib(bld, obj, core_libs + ' SOUP') if bld.env['HAVE_LIBLO'] == 1: - obj = bld.new_task_gen('cxx', 'shlib') + obj = bld(features = 'cxx cxxshlib') obj.source = ''' EventSource.cpp QueuedEngineInterface.cpp @@ -99,32 +99,32 @@ def build(bld): OSCEngineReceiver.cpp ingen_osc.cpp ''' - obj.export_incdirs = ['.'] - obj.includes = ['.', '..', '../..', '../common', '../engine'] - obj.name = 'libingen_osc' - obj.target = 'ingen_osc' - obj.install_path = '${LIBDIR}' + obj.export_includes = ['.'] + obj.includes = ['.', '..', '../..', '../common', '../engine'] + obj.name = 'libingen_osc' + obj.target = 'ingen_osc' + obj.install_path = '${LIBDIR}' autowaf.use_lib(bld, obj, core_libs + ' LIBLO') if bld.env['HAVE_JACK'] == 1: - obj = bld.new_task_gen('cxx', 'shlib') + obj = bld(features = 'cxx cxxshlib') obj.source = 'JackDriver.cpp ingen_jack.cpp' - obj.export_incdirs = ['.'] - obj.includes = ['.', '..', '../..', '../common', '../engine'] - obj.name = 'libingen_jack' - obj.target = 'ingen_jack' - obj.install_path = '${LIBDIR}' - obj.uselib_local = 'libingen_engine' + obj.export_includes = ['.'] + obj.includes = ['.', '..', '../..', '../common', '../engine'] + obj.name = 'libingen_jack' + obj.target = 'ingen_jack' + obj.install_path = '${LIBDIR}' + obj.use = 'libingen_engine' autowaf.use_lib(bld, obj, core_libs + ' JACK') # Ingen LV2 wrapper - obj = bld.new_task_gen('cxx', 'shlib') + obj = bld(features = 'cxx cxxshlib') obj.source = ' ingen_lv2.cpp ' - obj.export_incdirs = ['.'] - obj.includes = ['.', '..', '../..', '../common'] - obj.name = 'libingen_lv2' - obj.target = 'ingen_lv2' - obj.install_path = '${LIBDIR}' - obj.uselib_local = 'libingen_shared libingen_module' - obj.add_objects = 'libingen_engine' + obj.export_includes = ['.'] + obj.includes = ['.', '..', '../..', '../common'] + obj.name = 'libingen_lv2' + obj.target = 'ingen_lv2' + obj.install_path = '${LIBDIR}' + obj.use = 'libingen_shared libingen_module' + obj.add_objects = 'libingen_engine' autowaf.use_lib(bld, obj, core_libs) |