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