mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
5834fa6710
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4428 8ced0084-cf51-0410-be5f-012b33b47a6e
34 lines
664 B
Python
34 lines
664 B
Python
|
|
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
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' ]
|
|
|
|
if acenv['HAVE_ALSA']:
|
|
files += [ 'AlsaSoundStream.cpp' ]
|
|
|
|
if acenv['HAVE_PULSEAUDIO']:
|
|
files += [ 'PulseAudioStream.cpp' ]
|
|
|
|
if sys.platform == 'darwin':
|
|
files += [ 'CoreAudioSoundStream.cpp' ]
|
|
acenv['FRAMEWORKS'] = [ 'CoreAudio' ]
|
|
|
|
acenv.StaticLibrary(env['local_libs'] + 'audiocommon', files)
|