source: src/wscript_build @ c43c459

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

wscript, /wscript_build: use ctx to match latest waf docs

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