2005-05-18 12:08:37 -04:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
import glob
|
|
|
|
|
|
|
|
soundtouch_files = Split("""
|
|
|
|
AAFilter.cpp
|
|
|
|
FIFOSampleBuffer.cpp
|
|
|
|
FIRFilter.cpp
|
|
|
|
RateTransposer.cpp
|
|
|
|
SoundTouch.cpp
|
|
|
|
TDStretch.cpp
|
|
|
|
mmx_gcc.cpp
|
|
|
|
cpu_detect_x86_gcc.cpp
|
|
|
|
""")
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
st = env.Copy()
|
|
|
|
st.Append(CCFLAGS="-DHAVE_CONFIG_H -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE")
|
2006-03-04 06:26:25 -05:00
|
|
|
|
2006-04-25 16:23:50 -04:00
|
|
|
libst = st.SharedLibrary('soundtouch', soundtouch_files)
|
2006-03-04 06:26:25 -05:00
|
|
|
|
2005-05-18 12:08:37 -04:00
|
|
|
Default(libst)
|
|
|
|
|
2006-03-04 06:26:25 -05:00
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
|
|
[ 'SConscript'] + soundtouch_files + glob.glob('*.h')))
|
|
|
|
|