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