feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 54a2ca2 was
b712146,
checked in by Paul Brossier <piem@piem.org>, 12 years ago
|
src/wscript_build: install lib anyway
|
-
Property mode set to
100644
|
File size:
810 bytes
|
Line | |
---|
1 | # vim:set syntax=python: |
---|
2 | |
---|
3 | source = ctx.path.ant_glob('*.c **/*.c') |
---|
4 | uselib = [] |
---|
5 | |
---|
6 | if 'HAVE_FFTW3' in conf.get_env(): |
---|
7 | source.filter(lambda x: not x.endswith('ooura_fft8g.c')) |
---|
8 | uselib += ['FFTW3', 'FFTW3F'] |
---|
9 | |
---|
10 | if 'HAVE_SAMPLERATE': |
---|
11 | uselib += ['SAMPLERATE'] |
---|
12 | |
---|
13 | if 'HAVE_SNDFILE': |
---|
14 | uselib += ['SNDFILE'] |
---|
15 | |
---|
16 | # build libaubio |
---|
17 | from waflib import Options |
---|
18 | if Options.platform == 'ios': |
---|
19 | build_lib_func = ctx.stlib |
---|
20 | else: |
---|
21 | build_lib_func = ctx.shlib |
---|
22 | |
---|
23 | build_lib_func( |
---|
24 | includes = ['.'], |
---|
25 | source = source, |
---|
26 | target = 'aubio', |
---|
27 | lib = 'm', |
---|
28 | uselib = uselib, |
---|
29 | install_path = '${PREFIX}/lib', |
---|
30 | vnum = ctx.env['LIB_VERSION']) |
---|
31 | |
---|
32 | # install headers, except _priv.h ones |
---|
33 | ctx.install_files('${PREFIX}/include/aubio/', |
---|
34 | ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']), |
---|
35 | relative_trick=True) |
---|
Note: See
TracBrowser
for help on using the repository browser.