dolphin/Source/Core/AudioCommon/SConscript
Soren Jorvang 05719ac81a Move SConscript files out from the Src subdirectories to be
consistent with the other build systems.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7282 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-03 19:44:56 +00:00

30 lines
679 B
Python

# -*- python -*-
Import('env')
import sys
files = [
'Src/AudioCommon.cpp',
'Src/AudioCommonConfig.cpp',
'Src/Mixer.cpp',
'Src/NullSoundStream.cpp',
'Src/WaveFile.cpp',
]
if sys.platform == 'darwin':
files += ['Src/CoreAudioSoundStream.cpp']
elif sys.platform == 'win32':
files += ['Src/DSoundStream.cpp']
files += ['Src/XAudio2Stream.cpp']
else:
if env['HAVE_ALSA']:
files += ['Src/AlsaSoundStream.cpp']
if env['HAVE_AO']:
files += ['Src/AOSoundStream.cpp']
if env['HAVE_OPENAL']:
files += ['Src/OpenALStream.cpp', 'Src/aldlist.cpp']
if env['HAVE_PULSEAUDIO']:
files += ['Src/PulseAudioStream.cpp']
env['LIBS'] += env.StaticLibrary('audiocommon', files)