mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
05719ac81a
consistent with the other build systems. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7282 8ced0084-cf51-0410-be5f-012b33b47a6e
30 lines
679 B
Python
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)
|