shithub: aubio

ref: d1c05544154ef1d447de1ac7592ce7c73aff3382
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)