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, 'pangomm-1.4', uselib_store='PANGOMM', atleast_version='1.4', mandatory=True)
16 autowaf.check_pkg(conf, 'cairomm-1.0', uselib_store='CAIROMM', atleast_version='1.8.4', mandatory=True)
19 obj = bld(features = 'cxx cxxshlib')
31 obj.export_includes = ['.']
32 obj.defines = [ 'PACKAGE="ardour_maschine2"' ]
33 obj.defines += [ 'ARDOURSURFACE_DLL_EXPORTS' ]
34 obj.defines += [ 'VERSIONSTRING="' + bld.env['VERSION'] + '"' ]
35 obj.includes = [ '.', './maschine2']
36 obj.name = 'libardour_maschine2'
37 obj.target = 'ardour_maschine2'
38 obj.uselib = 'CAIROMM PANGOMM'
39 obj.use = 'libardour libardour_cp libpbd libcanvas hidapi libgtkmm2ext'
40 obj.install_path = os.path.join(bld.env['LIBDIR'], 'surfaces')