2009-01-15 06:48:15 +00:00
|
|
|
# -*- python -*-
|
2008-09-21 19:54:29 +00:00
|
|
|
|
2008-08-16 21:58:07 +00:00
|
|
|
Import('env')
|
|
|
|
import sys
|
|
|
|
|
2008-11-13 08:12:48 +00:00
|
|
|
name = "Plugin_DSP_HLE"
|
2008-09-22 23:36:16 +00:00
|
|
|
|
2008-08-26 22:28:42 +00:00
|
|
|
files = [
|
2008-09-29 11:33:39 +00:00
|
|
|
'DSPHandler.cpp',
|
|
|
|
'MailHandler.cpp',
|
2009-07-11 13:57:21 +00:00
|
|
|
'HLEMixer.cpp',
|
2008-09-29 11:33:39 +00:00
|
|
|
'main.cpp',
|
|
|
|
'Config.cpp',
|
|
|
|
'UCodes/UCode_AX.cpp',
|
2009-01-29 01:53:07 +00:00
|
|
|
'UCodes/UCode_AXWii.cpp',
|
2008-09-29 11:33:39 +00:00
|
|
|
'UCodes/UCode_CARD.cpp',
|
|
|
|
'UCodes/UCode_InitAudioSystem.cpp',
|
|
|
|
'UCodes/UCode_ROM.cpp',
|
|
|
|
'UCodes/UCodes.cpp',
|
|
|
|
'UCodes/UCode_Zelda.cpp',
|
2009-06-20 11:14:54 +00:00
|
|
|
'UCodes/UCode_Zelda_ADPCM.cpp',
|
2009-06-29 18:40:10 +00:00
|
|
|
'UCodes/UCode_Zelda_Voice.cpp',
|
2009-07-01 18:05:54 +00:00
|
|
|
'UCodes/UCode_Zelda_Synth.cpp',
|
2008-08-26 22:28:42 +00:00
|
|
|
]
|
|
|
|
|
2008-09-16 16:50:09 +00:00
|
|
|
dspenv = env.Clone()
|
2008-12-14 23:52:01 +00:00
|
|
|
|
|
|
|
if dspenv['HAVE_WX']:
|
|
|
|
files += [
|
2009-01-29 00:57:55 +00:00
|
|
|
'ConfigDlg.cpp',
|
2008-12-14 23:52:01 +00:00
|
|
|
]
|
|
|
|
|
2008-08-26 22:28:42 +00:00
|
|
|
dspenv.Append(
|
2009-03-23 17:56:37 +00:00
|
|
|
LIBS = [ 'common', 'audiocommon' ],
|
2008-08-26 22:28:42 +00:00
|
|
|
)
|
2009-09-24 21:35:06 +00:00
|
|
|
if sys.platform == 'darwin':
|
2010-01-17 08:47:35 +00:00
|
|
|
dspenv['FRAMEWORKS'] = [ 'CoreAudio', 'CoreServices', 'AudioUnit' ]
|
2008-11-13 08:12:48 +00:00
|
|
|
|
|
|
|
dspenv.SharedLibrary(env['plugin_dir']+name, files)
|