add new sigc++2 directory
[ardour.git] / libs / soundtouch / SConscript
1 # -*- python -*-
2
3 import os
4 import os.path
5 import glob
6
7 soundtouch_files = Split("""
8 AAFilter.cpp
9 FIFOSampleBuffer.cpp
10 FIRFilter.cpp
11 RateTransposer.cpp
12 SoundTouch.cpp
13 TDStretch.cpp
14 mmx_gcc.cpp
15 cpu_detect_x86_gcc.cpp
16 """)
17
18 Import('env install_prefix')
19 st = env.Copy()
20 st.Append(CCFLAGS="-DHAVE_CONFIG_H -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE")
21
22 libst = st.SharedLibrary('soundtouch', soundtouch_files)
23
24 Default(libst)
25
26 env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libst))
27
28 env.Alias('tarball', env.Distribute (env['DISTTREE'],
29         [ 'SConscript'] + soundtouch_files + glob.glob('*.h')))
30