NO-OP, whitespace and comments
[ardour.git] / libs / ptformat / wscript
1 #!/usr/bin/env python
2 from waflib.extras import autowaf as autowaf
3 import os
4
5 # Version of this package (even if built as a child)
6 LIBPTFORMAT_VERSION = '0.0.0'
7
8 # Library version (UNIX style major, minor, micro)
9 # major increment <=> incompatible changes
10 # minor increment <=> compatible changes (additions)
11 # micro increment <=> no interface changes
12 LIBPTFORMAT_LIB_VERSION = '0.0.0'
13
14 # Variables for 'waf dist'
15 APPNAME = 'libptformat'
16 VERSION = LIBPTFORMAT_VERSION
17
18 # Mandatory variables
19 top = '.'
20 out = 'build'
21
22 def options(opt):
23     autowaf.set_options(opt)
24
25 def configure(conf):
26     conf.load('compiler_cxx')
27     autowaf.configure(conf)
28
29 def build(bld):
30     # Library
31     obj = bld(features = 'cxx cxxshlib')
32     obj.source = 'ptfformat.cc'
33     obj.export_includes = ['.']
34     obj.includes     = ['.']
35     obj.name         = 'libptformat'
36     obj.target       = 'ptformat'
37     obj.use          = 'libardour'
38     autowaf.ensure_visible_symbols (obj, True)
39     obj.vnum         = LIBPTFORMAT_LIB_VERSION
40     obj.install_path = bld.env['LIBDIR']
41     obj.defines      = [ 'LIBPTFORMAT_DLL_EXPORTS' ]
42
43 def shutdown():
44     autowaf.shutdown()