5 # Library version (UNIX style major, minor, micro)
6 # major increment <=> incompatible changes
7 # minor increment <=> compatible changes (additions)
8 # micro increment <=> no interface changes
9 LIBARDOUR_OSC_LIB_VERSION = '4.1.0'
16 autowaf.set_options(opt)
19 autowaf.configure(conf)
20 autowaf.check_pkg(conf, 'liblo', uselib_store='LO', linkflags='-llo')
21 conf.env.append_value('LINKFLAGS_LO', '-llo')
23 # TODO: Again this append_value shouldn't be necessary really
24 # but for some reason the link flag is not being added otherwise.
28 obj = bld.new_task_gen('cxx', 'shlib')
34 obj.export_incdirs = ['.']
35 obj.cxxflags = '-DPACKAGE="ardour_cp"'
36 obj.includes = ['.', './osc']
37 obj.name = 'libardour_osc'
40 obj.uselib_local = 'libardour libardour_cp'
41 obj.vnum = LIBARDOUR_OSC_LIB_VERSION
42 obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')