source: src/wscript_build @ 6ed0f4e

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

waf: update to 1.7.9

  • Property mode set to 100644
File size: 644 bytes
Line 
1# vim:set syntax=python:
2
3source = ctx.path.ant_glob('*.c **/*.c')
4uselib = []
5
6if 'HAVE_FFTW3' in conf.get_env():
7  source.filter(lambda x: not x.endswith('ooura_fft8g.c'))
8  uselib += ['FFTW3', 'FFTW3F']
9
10if 'HAVE_SAMPLERATE':
11  uselib += ['SAMPLERATE']
12
13if 'HAVE_SNDFILE':
14  uselib += ['SNDFILE']
15
16# build libaubio
17ctx.shlib(
18    includes = ['.'],
19    source = source,
20    target = 'aubio',
21    lib = 'm',
22    uselib = uselib,
23    vnum = ctx.env['LIB_VERSION'])
24
25# install headers, except _priv.h ones
26ctx.install_files('${PREFIX}/include/aubio/',
27
28    ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']),
29    relative_trick=True)
Note: See TracBrowser for help on using the repository browser.