source: src/wscript_build @ 729a3c0

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 729a3c0 was 729a3c0, checked in by Paul Brossier <piem@piem.org>, 12 years ago

add support for ooura so that aubio can be build without fftw

  • Property mode set to 100644
File size: 551 bytes
Line 
1uselib = ['SAMPLERATE']
2if 'HAVE_FFTW3' in conf.get_env():
3  source = bld.path.ant_glob('*.c **/*.c', excl = ['**/ooura_fft8g.c'])
4  uselib += ['FFTW3', 'FFTW3F']
5else:
6  source = bld.path.ant_glob('*.c **/*.c')
7
8# build libaubio
9bld.shlib(
10    includes = ['.'],
11    source = source,
12    target = 'aubio',
13    lib = 'm',
14    uselib = uselib,
15    vnum = bld.env['LIB_VERSION'])
16
17# install headers, except _priv.h ones
18bld.install_files('${PREFIX}/include/aubio/',
19        bld.path.ant_glob('**/*.h',
20        exclude = ['_priv.h', 'config.h']),
21        relative_trick=True)
Note: See TracBrowser for help on using the repository browser.