# -*- python -*-

Import('env')
import os

name = os.sep + "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_GBA.cpp',
	'UCodes/UCode_Zelda.cpp',
	'UCodes/UCode_Zelda_ADPCM.cpp',
	'UCodes/UCode_Zelda_Voice.cpp',
	'UCodes/UCode_Zelda_Synth.cpp',
	]

if env['HAVE_WX']:
	files += [
	'ConfigDlg.cpp'
	]

libs = [ 'common', 'audiocommon' ]

env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = env['LIBS'] + libs)
