shithub: aubio

ref: 67d0a8b307fe41cb426584a57a6bb0804dd1373c
dir: /ext/wscript_build/

View raw version
# build libaubioext
libaubioext = bld.new_task_gen(
    features = 'cc cshlib',
    includes = ['.', '../src'],
    source = bld.path.ant_glob('*.c **/*.c'),
    target = 'aubioext',
    uselib = ['SNDFILE', 'JACK'],
    uselib_local = ['aubio'],
    vnum = bld.env['LIB_VERSION'])

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