shithub: aubio

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