diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-07-17 22:12:21 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-07-17 22:12:21 +0000 |
commit | 7884727e78f9e2253b2b6d8ef441fa07272fe950 (patch) | |
tree | 4423ba4629082439a5c1be07e94682c1d3d41f80 /libs/surfaces/osc/wscript | |
parent | 0102b1dc93f0ad0a5ba5516cd3cc24b9cd8e240b (diff) |
massive changes to waf build scripts so that nearly everything "should" be working now except for i18n (OSC is not quite right) ; some preliminary work on post-main-out handling, incomplete; a couple of fixes from -Wall and valgrind
git-svn-id: svn://localhost/ardour2/branches/3.0@5371 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/osc/wscript')
-rw-r--r-- | libs/surfaces/osc/wscript | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/libs/surfaces/osc/wscript b/libs/surfaces/osc/wscript index 748b0f6940..d254d00313 100644 --- a/libs/surfaces/osc/wscript +++ b/libs/surfaces/osc/wscript @@ -2,18 +2,11 @@ import autowaf import os -# Version of this package (even if built as a child) -LIBSURFACES_VERSION = '4.1.0' - # Library version (UNIX style major, minor, micro) # major increment <=> incompatible changes # minor increment <=> compatible changes (additions) # micro increment <=> no interface changes -LIBSURFACES_LIB_VERSION = '4.1.0' - -# Variables for 'waf dist' -APPNAME = 'libsurfaces' -VERSION = LIBSURFACES_VERSION +LIBARDOUR_OSC_LIB_VERSION = '4.1.0' # Mandatory variables srcdir = '.' @@ -24,6 +17,7 @@ def set_options(opt): def configure(conf): autowaf.configure(conf) + autowaf.check_pkg(conf, 'liblo', uselib_store='LO') def build(bld): obj = bld.new_task_gen('cxx', 'shlib') @@ -32,13 +26,14 @@ def build(bld): osc_controllable.cc interface.cc ''' - obj.export_incdirs = ['./osc'] + obj.export_incdirs = ['.'] obj.cxxflags = '-DPACKAGE="ardour_cp"' obj.includes = ['.', './osc'] - obj.name = 'libsurfaces' - obj.target = 'surfaces' - obj.uselib_local = 'libardour' - obj.vnum = LIBSURFACES_LIB_VERSION + obj.name = 'libardour_osc' + obj.target = 'osc' + obj.uselib = ' LO ' + obj.uselib_local = 'libardour libardour_cp' + obj.vnum = LIBARDOUR_OSC_LIB_VERSION obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3') def shutdown(): |