40 lines
758 B
Python
40 lines
758 B
Python
# -*- 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(
|
|
LIBS = [ 'common', 'audiocommon' ],
|
|
)
|
|
if sys.platform == 'darwin':
|
|
dspenv['FRAMEWORKS'] = [ 'CoreAudio', 'CoreServices', 'AudioUnit' ]
|
|
|
|
dspenv.SharedLibrary(env['plugin_dir']+name, files)
|