summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-08 21:09:03 +0000
committerDavid Robillard <d@drobilla.net>2012-08-08 21:09:03 +0000
commit5b066db0735824a531c74e4a0eedd830fdced13a (patch)
tree96161dda3809d61d1d9365eece448ce555eeafd2 /src
parente8e6c94ebe95d6d7fd48cea1c383d749272e7662 (diff)
downloadingen-5b066db0735824a531c74e4a0eedd830fdced13a.tar.gz
ingen-5b066db0735824a531c74e4a0eedd830fdced13a.tar.bz2
ingen-5b066db0735824a531c74e4a0eedd830fdced13a.zip
Clean up wscript files.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4624 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/gui/wscript2
-rw-r--r--src/serialisation/wscript6
-rw-r--r--src/server/wscript6
-rw-r--r--src/wscript6
4 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/wscript b/src/gui/wscript
index 5b5ae362..7702bd4f 100644
--- a/src/gui/wscript
+++ b/src/gui/wscript
@@ -64,7 +64,7 @@ def build(bld):
target = '../../ingen_gui.ui',
install_path = '${DATADIR}/ingen',
chmod = Utils.O755,
- INGEN_VERSION = bld.env['INGEN_VERSION'])
+ INGEN_VERSION = bld.env.INGEN_VERSION)
# LV2 UI
obj = bld(features = 'cxx cxxshlib',
diff --git a/src/serialisation/wscript b/src/serialisation/wscript
index 190b1aee..c362f29e 100644
--- a/src/serialisation/wscript
+++ b/src/serialisation/wscript
@@ -14,7 +14,7 @@ def build(bld):
use = 'libingen')
autowaf.use_lib(bld, obj, 'GLIBMM LV2 LILV RAUL SORD SRATOM')
- if bld.env['BUILD_TESTS']:
+ if bld.env.BUILD_TESTS:
obj = bld(features = 'c cshlib cxx cxxshlib',
source = ['Parser.cpp',
'Serialiser.cpp',
@@ -25,6 +25,6 @@ def build(bld):
target = 'ingen_serialisation_profiled',
install_path = '',
use = 'libingen_profiled',
- lib = bld.env['INGEN_TEST_LIBS'],
- cxxflags = bld.env['INGEN_TEST_CXXFLAGS'])
+ lib = bld.env.INGEN_TEST_LIBS,
+ cxxflags = bld.env.INGEN_TEST_CXXFLAGS)
autowaf.use_lib(bld, obj, 'GLIBMM LV2 LILV RAUL SORD SRATOM')
diff --git a/src/server/wscript b/src/server/wscript
index c333250a..a0c26bff 100644
--- a/src/server/wscript
+++ b/src/server/wscript
@@ -58,7 +58,7 @@ def build(bld):
core_libs = 'GLIBMM GTHREAD LV2 LILV RAUL SORD'
autowaf.use_lib(bld, obj, core_libs)
- if bld.env['BUILD_TESTS']:
+ if bld.env.BUILD_TESTS:
obj = bld(features = 'cxx cxxshlib',
source = core_source,
export_includes = ['../..'],
@@ -67,8 +67,8 @@ def build(bld):
target = 'ingen_server_profiled',
install_path = '${LIBDIR}',
use = 'libingen_profiled',
- lib = bld.env['INGEN_TEST_LIBS'],
- cxxflags = bld.env['INGEN_TEST_CXXFLAGS'])
+ lib = bld.env.INGEN_TEST_LIBS,
+ cxxflags = bld.env.INGEN_TEST_CXXFLAGS)
autowaf.use_lib(bld, obj, core_libs)
if bld.is_defined('HAVE_JACK'):
diff --git a/src/wscript b/src/wscript
index 243e9fa2..a65cfdbd 100644
--- a/src/wscript
+++ b/src/wscript
@@ -29,7 +29,7 @@ def build(bld):
lib = ['dl'])
autowaf.use_lib(bld, obj, 'GLIBMM LV2 LILV RAUL SORD LV2_MIDI')
- if bld.env['BUILD_TESTS']:
+ if bld.env.BUILD_TESTS:
obj = bld(features = 'cxx cxxshlib',
source = sources,
export_includes = ['..'],
@@ -37,7 +37,7 @@ def build(bld):
name = 'libingen_profiled',
target = 'ingen_profiled',
install_path = '',
- lib = ['dl'] + bld.env['INGEN_TEST_LIBS'],
- cxxflags = bld.env['INGEN_TEST_CXXFLAGS'])
+ lib = ['dl'] + bld.env.INGEN_TEST_LIBS,
+ cxxflags = bld.env.INGEN_TEST_CXXFLAGS)
autowaf.use_lib(bld, obj, 'GLIBMM LV2 LILV RAUL SORD LV2_MIDI')