diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2011-03-03 19:44:56 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2011-03-03 19:44:56 +0000 |
| commit | 05719ac81ab1e784c7aeb85af1e9b227b9cdbe83 (patch) | |
| tree | 027c8f2c6749972d41787e1180ff01fab3c0fd5c /Source/Core/AudioCommon/SConscript | |
| parent | 1e2d9223429e8bc52dab71fb2033f60dd72dea40 (diff) | |
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
Diffstat (limited to 'Source/Core/AudioCommon/SConscript')
| -rw-r--r-- | Source/Core/AudioCommon/SConscript | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Source/Core/AudioCommon/SConscript b/Source/Core/AudioCommon/SConscript new file mode 100644 index 0000000000..5c953c4e58 --- /dev/null +++ b/Source/Core/AudioCommon/SConscript @@ -0,0 +1,29 @@ +# -*- 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) |
