ref: 3cc14910d154b2b371e2aae80a8f3f04fb02b5d0
dir: /src/wscript_build/
# vim:set syntax=python: source = ctx.path.ant_glob('*.c **/*.c') uselib = [] uselib += ['FFTW3', 'FFTW3F'] uselib += ['SAMPLERATE'] uselib += ['SNDFILE'] uselib += ['JACK'] uselib += ['LASH'] # build libaubio if ctx.env['DEST_OS'] in ['ios', 'iosimulator']: build_lib_func = ctx.stlib else: build_lib_func = ctx.shlib build_lib_func( includes = ['.'], source = source, target = 'aubio', lib = 'm', uselib = uselib, install_path = '${PREFIX}/lib', vnum = ctx.env['LIB_VERSION']) # install headers, except _priv.h ones ctx.install_files('${PREFIX}/include/aubio/', ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']), relative_trick=True)