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