shithub: aubio

ref: 5f4fd2fc728368192069e4e84d2bb8c80ff4cc0e
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)