+ testobj.cxxflags = ['-DPACKAGE="libardour3test"']
+ testobj.cxxflags += ['-DDATA_DIR="' + os.path.normpath(bld.env['DATADIR']) + '"']
+ testobj.cxxflags += ['-DCONFIG_DIR="' + os.path.normpath(bld.env['CONFIGDIR']) + '"']
+ testobj.cxxflags += ['-DMODULE_DIR="' + os.path.normpath(bld.env['LIBDIR']) + '"']
+ testobj.cxxflags += ['-DLOCALEDIR="' + os.path.join(
+ os.path.normpath(bld.env['DATADIR']), 'locale') + '"']
+ testobj.cxxflags += ['-DVAMP_DIR="' + os.path.join(
+ os.path.normpath(bld.env['LIBDIR']), 'ardour3', 'vamp') + '"']
+ if bld.env['FPU_OPTIMIZATION']:
+ testobj.source += [ 'sse_functions_xmm.cc' ]
+ if bld.env['build_target'] == 'i386' or bld.env['build_target'] == 'i686':
+ testobj.source += [ 'sse_functions.s' ]
+ elif bld.env['build_target'] == 'x86_64':
+ testobj.source += [ 'sse_functions_64bit.s' ]