summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/SConscript
blob: 4b00e5631e851df2edb09cb51a2ac16192073af9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- python -*-

Import('env')

files = [
    'AudioCommonConfig.cpp',
    'WaveFile.cpp',
    'Mixer.cpp',
    'AudioCommon.cpp',
    ]

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(env['local_libs'] + 'audiocommon', files)