shithub: aubio

ref: 82335b731cf390bf49ec6c48b91669162971aa17
dir: /src/wscript_build/

View raw version
# build libaubio
libaubio = bld.new_task_gen(
    features = 'c 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
bld.install_files('${PREFIX}/include/aubio/',
	bld.path.ant_glob('**/*.h',
	exclude = ['_priv.h', 'config.h']),
	relative_trick=True)