source: src/wscript_build @ d41bc4d

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since d41bc4d 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
RevLine 
[0e355f6]1# vim:set syntax=python:
2
[729a3c0]3uselib = ['SAMPLERATE']
4if 'HAVE_FFTW3' in conf.get_env():
[d41bc4d]5  source = ctx.path.ant_glob('*.c **/*.c', excl = ['**/ooura_fft8g.c'])
[729a3c0]6  uselib += ['FFTW3', 'FFTW3F']
7else:
[d41bc4d]8  source = ctx.path.ant_glob('*.c **/*.c')
[729a3c0]9
[000b090]10# build libaubio
[d41bc4d]11ctx.shlib(
[000b090]12    includes = ['.'],
[729a3c0]13    source = source,
[000b090]14    target = 'aubio',
[729a3c0]15    lib = 'm',
16    uselib = uselib,
[d41bc4d]17    vnum = ctx.env['LIB_VERSION'])
[000b090]18
19# install headers, except _priv.h ones
[d41bc4d]20ctx.install_files('${PREFIX}/include/aubio/',
21        ctx.path.ant_glob('**/*.h',
[46378b3]22        exclude = ['_priv.h', 'config.h']),
23        relative_trick=True)
Note: See TracBrowser for help on using the repository browser.