source: src/wscript_build @ 8c7f80d

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

wscript: always use installed external dependancies, simplify

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