# shared helper binaries (plugin-scanner, exec-wrapper)
'libs/fst',
'libs/vfork',
+ 'libs/ardouralsautil',
]
i18n_children = [
help='Whether to build for TRX')
opt.add_option('--arch', type='string', action='store', dest='arch',
help='Architecture-specific compiler flags')
+ opt.add_option('--with-dummy', action='store_true', default=False, dest='build_dummy',
+ help='Build the dummy backend (no audio/MIDI I/O, useful for profiling)')
+ opt.add_option('--with-alsabackend', action='store_true', default=False, dest='build_alsabackend',
+ help='Build the ALSA backend')
opt.add_option('--backtrace', action='store_true', default=True, dest='backtrace',
help='Compile with -rdynamic -- allow obtaining backtraces from within Ardour')
opt.add_option('--no-carbon', action='store_true', default=False, dest='nocarbon',
okmsg = 'ok',
errmsg = 'too old\nPlease install boost version 1.39 or higher.')
+ if re.search ("linux", sys.platform) != None and Options.options.dist_target != 'mingw':
+ autowaf.check_pkg(conf, 'alsa', uselib_store='ALSA')
+
autowaf.check_pkg(conf, 'glib-2.0', uselib_store='GLIB', atleast_version='2.2', mandatory=True)
autowaf.check_pkg(conf, 'gthread-2.0', uselib_store='GTHREAD', atleast_version='2.2', mandatory=True)
autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', atleast_version='2.32.0', mandatory=True)
conf.env['DEBUG_DENORMAL_EXCEPTION'] = True
if opts.build_tests:
autowaf.check_pkg(conf, 'cppunit', uselib_store='CPPUNIT', atleast_version='1.12.0', mandatory=True)
+ if opts.build_alsabackend:
+ conf.env['BUILD_ALSABACKEND'] = True
+ if opts.build_dummy:
+ conf.env['BUILD_DUMMYBACKEND'] = True
set_compiler_flags (conf, Options.options)
write_config_text('Use External Libraries', conf.is_defined('USE_EXTERNAL_LIBS'))
write_config_text('Library exports hidden', conf.is_defined('EXPORT_VISIBILITY_HIDDEN'))
+ write_config_text('ALSA Backend', opts.build_alsabackend)
+ write_config_text('ALSA DBus Reservation', conf.is_defined('HAVE_DBUS'))
write_config_text('Architecture flags', opts.arch)
write_config_text('Aubio', conf.is_defined('HAVE_AUBIO'))
write_config_text('AudioUnits', conf.is_defined('AUDIOUNIT_SUPPORT'))
write_config_text('Build target', conf.env['build_target'])
write_config_text('CoreAudio', conf.is_defined('HAVE_COREAUDIO'))
write_config_text('Debug RT allocations', conf.is_defined('DEBUG_RT_ALLOC'))
+ write_config_text('Dummy backend', opts.build_dummy)
write_config_text('Process thread timing', conf.is_defined('PT_TIMING'))
write_config_text('Denormal exceptions', conf.is_defined('DEBUG_DENORMAL_EXCEPTION'))
write_config_text('FLAC', conf.is_defined('HAVE_FLAC'))
for i in children:
bld.recurse(i)
- bld.install_files (bld.env['SYSCONFDIR'], 'ardour_system.rc')
+ bld.install_files (bld.env['CONFDIR'], 'ardour_system.rc')
if bld.env['RUN_TESTS']:
bld.add_post_fun(test)