forked from dolphin-emu/dolphin
		
	frameworks on OS X. Try to be a little clearer about which configuration options apply to which platform(s). Should pave the way slightly for win32 scons. We have accidentally been using LUA_USE_LINUX on OS X all along. Turns out that LUA_USE_MACOSX is for an ancient version of OS X and LUA_USE_LINUX is a reasonable set of defaults for modern Unices, so just keep using that. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5804 8ced0084-cf51-0410-be5f-012b33b47a6e
		
			
				
	
	
		
			28 lines
		
	
	
		
			649 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			649 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# -*- python -*-
 | 
						|
 | 
						|
Import('env')
 | 
						|
import sys
 | 
						|
 | 
						|
files = [
 | 
						|
    'AudioCommonConfig.cpp',
 | 
						|
    'WaveFile.cpp',
 | 
						|
    'Mixer.cpp',
 | 
						|
    'AudioCommon.cpp',
 | 
						|
    ]
 | 
						|
 | 
						|
if sys.platform == 'darwin':
 | 
						|
    files += [ 'CoreAudioSoundStream.cpp' ]
 | 
						|
else:
 | 
						|
    if env['HAVE_OPENAL']:
 | 
						|
        files += [ 'OpenALStream.cpp', 'aldlist.cpp' ]
 | 
						|
 | 
						|
if not sys.platform == 'win32' and not sys.platform == 'darwin':
 | 
						|
    if env['HAVE_AO']:
 | 
						|
        files += [ 'AOSoundStream.cpp' ]
 | 
						|
    if env['HAVE_ALSA']:
 | 
						|
        files += [ 'AlsaSoundStream.cpp' ]
 | 
						|
    if env['HAVE_PULSEAUDIO']:
 | 
						|
        files += [ 'PulseAudioStream.cpp' ]
 | 
						|
    
 | 
						|
env.StaticLibrary(env['local_libs'] + 'audiocommon', files)
 |