ref: 46ba93b9bc86850d7942ae52490bfed8d111e098
dir: /src/wscript_build/
# vim:set syntax=python: uselib = ['SAMPLERATE'] if 'HAVE_FFTW3' in conf.get_env(): source = ctx.path.ant_glob('*.c **/*.c', excl = ['**/ooura_fft8g.c']) uselib += ['FFTW3', 'FFTW3F'] else: source = ctx.path.ant_glob('*.c **/*.c') # build libaubio ctx.shlib( includes = ['.'], source = source, target = 'aubio', lib = 'm', uselib = uselib, vnum = ctx.env['LIB_VERSION']) # install headers, except _priv.h ones ctx.install_files('${PREFIX}/include/aubio/', ctx.path.ant_glob('**/*.h', exclude = ['_priv.h', 'config.h']), relative_trick=True)