shithub: aubio

ref: 76fc277f4bb19ac2291c1114a2b82b3f5183d9f9
dir: /src/wscript_build/

View raw version
# build libaubio
libaubio = bld.new_task_gen(
    features = 'cc cshlib',
    includes = ['.'],
    source = bld.path.ant_glob('*.c **/*.c'),
    target = 'aubio',
    uselib = ['FFTW3', 'FFTW3F', 'SAMPLERATE'],
    vnum = bld.env['LIB_VERSION'])

# install headers, except _priv.h ones
for file in bld.path.ant_glob('**/*.h').split():
  if '_priv.h' in file: continue
  bld.install_as('${PREFIX}/include/aubio/' + file, file)