dolphin/Source/Plugins/Plugin_DSP_HLE/Src/SConscript

41 lines
783 B
Python
Raw Normal View History

# -*- python -*-
Import('env')
import sys
name = "Plugin_DSP_HLE"
files = [
'DSPHandler.cpp',
'MailHandler.cpp',
'HLEMixer.cpp',
'main.cpp',
'Config.cpp',
'UCodes/UCode_AX.cpp',
'UCodes/UCode_AXWii.cpp',
'UCodes/UCode_CARD.cpp',
'UCodes/UCode_InitAudioSystem.cpp',
'UCodes/UCode_ROM.cpp',
'UCodes/UCodes.cpp',
'UCodes/UCode_Zelda.cpp',
'UCodes/UCode_Zelda_ADPCM.cpp',
'UCodes/UCode_Zelda_Voice.cpp',
'UCodes/UCode_Zelda_Synth.cpp',
]
dspenv = env.Clone()
if dspenv['HAVE_WX']:
files += [
'ConfigDlg.cpp',
]
dspenv.Append(
CXXFLAGS = [ '-fPIC' ],
LIBS = [ 'common', 'audiocommon' ],
)
if sys.platform == 'darwin':
dspenv['FRAMEWORKS'] = [ 'CoreAudio', 'CoreServices', 'AudioUnit' ]
dspenv.SharedLibrary(env['plugin_dir']+name, files)