2009-03-23 20:55:32 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
|
|
|
|
files = [
|
2009-03-30 09:55:50 +00:00
|
|
|
'AudioCommonConfig.cpp',
|
|
|
|
'WaveFile.cpp',
|
2009-03-26 09:29:14 +00:00
|
|
|
'Mixer.cpp',
|
|
|
|
'AudioCommon.cpp',
|
2009-03-23 20:55:32 +00:00
|
|
|
]
|
|
|
|
|
2009-03-30 17:45:35 +00:00
|
|
|
acenv = env.Clone()
|
|
|
|
acenv.Append(CXXFLAGS = [ '-fPIC' ])
|
|
|
|
|
|
|
|
if acenv['HAVE_OPENAL']:
|
|
|
|
files += [ 'OpenALStream.cpp', 'aldlist.cpp' ]
|
|
|
|
|
|
|
|
if acenv['HAVE_AO']:
|
|
|
|
files += [ 'AOSoundStream.cpp' ]
|
|
|
|
|
|
|
|
acenv.StaticLibrary('audiocommon', files)
|