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',
|
|
|
|
'main.cpp',
|
|
|
|
'Config.cpp',
|
|
|
|
'Globals.cpp',
|
|
|
|
'PCHW/AOSoundStream.cpp',
|
|
|
|
'PCHW/Mixer.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_Jac.cpp',
|
|
|
|
'UCodes/UCode_ROM.cpp',
|
|
|
|
'UCodes/UCodes.cpp',
|
|
|
|
'UCodes/UCode_Zelda.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' ],
|
|
|
|
LIBS = [ 'common' ],
|
2008-08-27 01:28:42 +03:00
|
|
|
)
|
2008-11-13 10:12:48 +02:00
|
|
|
|
|
|
|
dspenv.SharedLibrary(env['plugin_dir']+name, files)
|