2008-09-21 19:54:29 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
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-12-05 13:46:19 +00:00
|
|
|
if not env['HAVE_AO']:
|
|
|
|
print name + " must have AO to be build"
|
|
|
|
Return()
|
|
|
|
|
2008-08-26 22:28:42 +00:00
|
|
|
files = [
|
2008-09-29 11:33:39 +00:00
|
|
|
'DSPHandler.cpp',
|
|
|
|
'MailHandler.cpp',
|
|
|
|
'main.cpp',
|
|
|
|
'Config.cpp',
|
|
|
|
'Globals.cpp',
|
|
|
|
'PCHW/AOSoundStream.cpp',
|
|
|
|
'PCHW/Mixer.cpp',
|
2008-10-04 17:26:12 +00:00
|
|
|
'Debugger/Debugger.cpp',
|
|
|
|
'Debugger/PBView.cpp',
|
2008-11-21 08:14:39 +00:00
|
|
|
'Debugger/Mails.cpp',
|
|
|
|
'Debugger/Blocks.cpp',
|
2008-10-04 17:26:12 +00:00
|
|
|
'Logging/Logging.cpp',
|
2008-10-04 22:22:29 +00:00
|
|
|
'Logging/Console.cpp',
|
2008-09-29 11:33:39 +00:00
|
|
|
'UCodes/UCode_AX.cpp',
|
2008-11-10 09:30:36 +00:00
|
|
|
'UCodes/UCode_AXWii.cpp',
|
2008-09-29 11:33:39 +00: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-26 22:28:42 +00:00
|
|
|
]
|
|
|
|
|
2008-09-16 16:50:09 +00:00
|
|
|
dspenv = env.Clone()
|
2008-08-26 22:28:42 +00:00
|
|
|
dspenv.Append(
|
2008-09-22 23:36:16 +00:00
|
|
|
CXXFLAGS = [ '-fPIC' ],
|
|
|
|
LIBS = [ 'common' ],
|
2008-08-26 22:28:42 +00:00
|
|
|
)
|
2008-11-13 08:12:48 +00:00
|
|
|
|
|
|
|
dspenv.SharedLibrary(env['plugin_dir']+name, files)
|