2 from waflib.extras import autowaf as autowaf
10 autowaf.set_options(opt)
13 conf.load ('compiler_cxx')
14 autowaf.configure(conf)
15 autowaf.check_pkg(conf, 'cairomm-1.0', uselib_store='CAIROMM', atleast_version='1.8.4')
16 autowaf.check_pkg(conf, 'pangomm-1.5', uselib_store='CAIROMM', atleast_version='1.4')
19 autowaf.configure(conf)
22 obj = bld(features = 'cxx cxxshlib')
27 obj.export_includes = ['.']
28 obj.defines = [ 'PACKAGE="ardour_push2"' ]
29 obj.defines += [ 'ARDOURSURFACE_DLL_EXPORTS' ]
30 obj.includes = [ '.', './push2']
31 obj.name = 'libardour_push2'
32 obj.target = 'ardour_push2'
33 obj.uselib = 'CAIROMM PANGOMM USB'
34 obj.use = 'libardour libardour_cp libpbd'
35 obj.install_path = os.path.join(bld.env['LIBDIR'], 'surfaces')