2008-09-10 17:35:32 -04:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
import os
|
|
|
|
import os.path
|
|
|
|
import glob
|
|
|
|
|
|
|
|
rubberband_files = glob.glob ('src/*.cpp')
|
|
|
|
|
|
|
|
Import('env install_prefix libraries')
|
|
|
|
rb = env.Clone()
|
|
|
|
|
|
|
|
rb.Merge ([libraries['fftw3f'],
|
|
|
|
libraries['fftw3'],
|
|
|
|
libraries['vamp'],
|
|
|
|
libraries['samplerate'],
|
2008-09-17 07:26:31 -04:00
|
|
|
libraries['sndfile']
|
2008-09-10 17:35:32 -04:00
|
|
|
])
|
|
|
|
|
|
|
|
rb.Append (CPPATH='#libs/rubberband/rubberband', CXXFLAGS="-Ilibs/rubberband/rubberband")
|
|
|
|
|
|
|
|
librb = rb.SharedLibrary('rubberband', rubberband_files)
|
|
|
|
|
|
|
|
Default(librb)
|
|
|
|
|
2009-01-02 10:13:40 -05:00
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), librb))
|
2008-09-10 17:35:32 -04:00
|
|
|
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
|
|
[ 'SConscript'] +
|
|
|
|
rubberband_files +
|
|
|
|
glob.glob('rubberband/*.h') +
|
|
|
|
glob.glob('src/*.h')))
|
|
|
|
|
|
|
|
|