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
RevLine 
[0e355f6]1# vim:set syntax=python:
2
[eae5898]3source = ctx.path.ant_glob('*.c **/*.c')
4uselib = []
5
[729a3c0]6if 'HAVE_FFTW3' in conf.get_env():
[eae5898]7  source.filter(lambda x: not x.endswith('ooura_fft8g.c'))
[729a3c0]8  uselib += ['FFTW3', 'FFTW3F']
[eae5898]9
10if 'HAVE_SAMPLERATE':
11  uselib += ['SAMPLERATE']
[729a3c0]12
[afbd7e7]13if 'HAVE_SNDFILE':
14  uselib += ['SNDFILE']
15
[000b090]16# build libaubio
[d41bc4d]17ctx.shlib(
[000b090]18    includes = ['.'],
[729a3c0]19    source = source,
[000b090]20    target = 'aubio',
[729a3c0]21    lib = 'm',
22    uselib = uselib,
[d41bc4d]23    vnum = ctx.env['LIB_VERSION'])
[000b090]24
25# install headers, except _priv.h ones
[d41bc4d]26ctx.install_files('${PREFIX}/include/aubio/',
27        ctx.path.ant_glob('**/*.h',
[46378b3]28        exclude = ['_priv.h', 'config.h']),
29        relative_trick=True)
Note: See TracBrowser for help on using the repository browser.