Tim Mayberry
7df20e1166
* Remove debug output preventing compilation on x86_64. * Build shared libraries for all libs/* when DEVBUILD=1 to fix linking for x86_64/non-x86. * Simplify/consolidate the dev scripts a bit. * Export ARDOUR_COLORS variable in dev scripts. * Remove G_DISABLE_DEPRECATED from glibmm CXXFLAGS to allow compilation with newer versions of glib. * Build soundtouch with SYSLIBS=1, hopefully we can link to system soundtouch soon. git-svn-id: svn://localhost/trunk/ardour2@344 d708f5d6-7413-0410-9779-e7cbd77b26cf
30 lines
591 B
Python
30 lines
591 B
Python
# -*- 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")
|
|
|
|
if env['DEVBUILD']:
|
|
libst = st.SharedLibrary('soundtouch', soundtouch_files)
|
|
else:
|
|
libst = st.StaticLibrary('soundtouch', soundtouch_files)
|
|
|
|
Default(libst)
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
[ 'SConscript'] + soundtouch_files + glob.glob('*.h')))
|
|
|