children = [
# optionally external libraries
- 'libs/qm-dsp',
- 'libs/vamp-plugins',
- 'libs/libltc',
'libs/fluidsynth',
+ 'libs/hidapi',
+ 'libs/libltc',
'libs/lua',
'libs/ptformat',
+ 'libs/qm-dsp',
+ 'libs/vamp-plugins',
# core ardour libraries
'libs/pbd',
'libs/midi++2',
if opt.stl_debug:
cxx_flags.append("-D_GLIBCXX_DEBUG")
- if re.search ("freebsd", sys.platform) != None:
+ if re.search ("freebsd", sys.platform) != None or re.search ("openbsd", sys.platform) != None:
linker_flags.append('-lexecinfo')
if conf.env['DEBUG_RT_ALLOC']:
conf.define ('HAVE_COREAUDIO', 1)
conf.define ('AUDIOUNIT_SUPPORT', 1)
+ if not Options.options.ppc:
+ conf.define('MACVST_SUPPORT', 1)
+
conf.define ('TOP_MENUBAR',1)
# It would be nice to be able to use this to force back-compatibility with 10.4
# executing a test program is n/a when cross-compiling
if Options.options.dist_target != 'mingw':
- if Options.options.dist_target != 'msvc':
+ if Options.options.dist_target != 'msvc' and re.search ("openbsd", sys.platform) == None:
if re.search ("freebsd", sys.platform) != None:
conf.check_cc(function_name='dlopen', header_name='dlfcn.h', uselib_store='DL')
else:
if re.search ("linux", sys.platform) != None and Options.options.dist_target != 'mingw':
autowaf.check_pkg(conf, 'alsa', uselib_store='ALSA')
+ if re.search ("openbsd", sys.platform) != None:
+ conf.env.append_value('LDFLAGS', '-L/usr/X11R6/lib')
+
autowaf.check_pkg(conf, 'glib-2.0', uselib_store='GLIB', atleast_version='2.28', 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)
if sys.platform == 'darwin':
sub_config_and_use(conf, 'libs/appleutility')
+ elif re.search ("openbsd", sys.platform) != None:
+ pass
elif Options.options.dist_target != 'mingw':
sub_config_and_use(conf, 'tools/sanity_check')
sub_config_and_use(conf, 'tools/gccabicheck')
write_config_text('Unit tests', conf.env['BUILD_TESTS'])
write_config_text('Mac i386 Architecture', opts.generic)
write_config_text('Mac ppc Architecture', opts.ppc)
+ write_config_text('Mac VST support', conf.is_defined('MACVST_SUPPORT'))
write_config_text('Windows VST support', opts.windows_vst)
write_config_text('Wiimote support', conf.is_defined('BUILD_WIIMOTE'))
write_config_text('Windows key', opts.windows_key)
if sys.platform == 'darwin':
bld.recurse('libs/appleutility')
+ elif re.search ("openbsd", sys.platform) != None:
+ pass
elif bld.env['build_target'] != 'mingw':
bld.recurse('tools/sanity_check')
bld.recurse('tools/gccabicheck')