feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 67d0a8b was
000b090,
checked in by Paul Brossier <piem@piem.org>, 15 years ago
|
use waf as new build system
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | # build puredata external |
---|
2 | |
---|
3 | aubio_pd = bld.new_task_gen( |
---|
4 | features = 'cc cshlib', |
---|
5 | includes = '../../src', |
---|
6 | uselib_local = ['aubio'], |
---|
7 | defines = ['PD'], |
---|
8 | install_path = '${PREFIX}/lib/pd/extra') |
---|
9 | |
---|
10 | # copy environment to tweak only pd stuff |
---|
11 | aubio_pd.env = bld.env.copy() |
---|
12 | aubio_pd.env.detach() |
---|
13 | |
---|
14 | if bld.env['DEST_OS'] == 'win32': |
---|
15 | aubio_pd.target = 'aubio.dll' |
---|
16 | # do not use -fPIC -DPIC on windows |
---|
17 | aubio_pd.env.shlib_CCFLAGS.remove('-fPIC') |
---|
18 | aubio_pd.env.shlib_CCFLAGS.remove('-DPIC') |
---|
19 | aubio_pd.env.append_unique('shlib_LINKFLAGS', ['-export_dynamic', '-lpd']) |
---|
20 | elif bld.env['DEST_OS'] == 'darwin': |
---|
21 | aubio_pd.target = 'aubio.pd_darwin' |
---|
22 | aubio_pd.env.append_unique('shlib_LINKFLAGS', |
---|
23 | ['-bundle', '-undefined suppres', '-flat_namespace']) |
---|
24 | else: #if bld.env['DEST_OS'] == 'linux': |
---|
25 | aubio_pd.target = 'aubio.pd_linux' |
---|
26 | aubio_pd.env.append_unique('shlib_LINKFLAGS', ['--export_dynamic']) |
---|
27 | |
---|
28 | # do not rename the shlib at all |
---|
29 | aubio_pd.env.shlib_PATTERN = '%s' |
---|
30 | # get the source files |
---|
31 | aubio_pd.find_sources_in_dirs('.') |
---|
32 | |
---|
33 | bld.install_files('${PREFIX}/lib/pd/doc/5.reference', 'help/*.pd') |
---|
34 | |
---|
35 | bld.install_files('${PREFIX}/lib/pd/doc/aubio', 'examples/*.pd') |
---|
Note: See
TracBrowser
for help on using the repository browser.