1 # vim:set syntax=python:
3 source = ctx.path.ant_glob('*.c **/*.c')
5 uselib += ['FFTW3', 'FFTW3F']
6 uselib += ['SAMPLERATE']
10 uselib += ['AVRESAMPLE']
19 target = 'lib_objects')
21 # build libaubio.so (cshlib) and/or libaubio.a (cstlib)
22 if ctx.env['DEST_OS'] in ['ios', 'iosimulator']:
23 build_features = ['cstlib']
24 else: #linux, darwin, android, mingw, ...
25 build_features = ['cshlib', 'cstlib']
27 for target in build_features:
28 ctx(features = 'c ' + target,
29 use = ['lib_objects'], #source = source,
31 install_path = '${PREFIX}/lib',
32 vnum = ctx.env['LIB_VERSION'])
34 # install headers, except _priv.h ones
35 ctx.install_files('${PREFIX}/include/aubio/',
36 ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']),