Merge branch 'master' into cairocanvas
[ardour.git] / libs / timecode / wscript
1 #!/usr/bin/env python
2 from waflib.extras import autowaf as autowaf
3 from waflib import Options
4 import os
5
6 # Mandatory variables
7 top = '.'
8 out = 'build'
9
10 def options(opt):
11     autowaf.set_options(opt)
12
13 def configure(conf):
14     conf.load('compiler_cxx')
15     autowaf.configure(conf)
16
17 def build(bld):
18     bld (export_includes = ['.'],
19          includes        = ['.'],
20          name            = 'libtimecode_includes'
21          )
22
23     bld.stlib (cxxflags = [ '-fPIC' ],
24                source   = [ 'src/time.cc', 'src/bbt_time.cc' ],
25                target   = 'libtimecode',
26                use      = 'libtimecode_includes'
27                )
28
29 def shutdown():
30     autowaf.shutdown()