mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-18 03:59:14 +01:00
addb89fecc
Move bits of HAVE_OPENCL/HAVE_WX for OS X from SConstruct to header files. Use /usr/lib/libz on OS X now that we no longer have -L/opt/local/lib in the library path. It is still possible that we could pick up a libz in /usr/local/lib that would make the application non-redistributable, but the danger is much less than previously. Also bits of minor portability cleanup. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5868 8ced0084-cf51-0410-be5f-012b33b47a6e
29 lines
675 B
Python
29 lines
675 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
files = [
|
|
'AudioCommonConfig.cpp',
|
|
'WaveFile.cpp',
|
|
'Mixer.cpp',
|
|
'AudioCommon.cpp',
|
|
]
|
|
|
|
if sys.platform == 'win32':
|
|
files += [ 'DSoundStream.cpp' ]
|
|
|
|
if sys.platform == 'darwin':
|
|
files += [ 'CoreAudioSoundStream.cpp' ]
|
|
else:
|
|
if env['HAVE_ALSA']:
|
|
files += [ 'AlsaSoundStream.cpp' ]
|
|
if env['HAVE_AO']:
|
|
files += [ 'AOSoundStream.cpp' ]
|
|
if env['HAVE_OPENAL'] or sys.platform == 'win32':
|
|
files += [ 'OpenALStream.cpp', 'aldlist.cpp' ]
|
|
if env['HAVE_PULSEAUDIO']:
|
|
files += [ 'PulseAudioStream.cpp' ]
|
|
|
|
env.StaticLibrary(env['local_libs'] + 'audiocommon', files)
|