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