source: src/wscript_build @ dd5a052

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

src/io/source_sndfile.{c,h}: added sndfile source

  • Property mode set to 100644
File size: 639 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        ctx.path.ant_glob('**/*.h',
28        exclude = ['_priv.h', 'config.h']),
29        relative_trick=True)
Note: See TracBrowser for help on using the repository browser.