2009-10-12 16:29:32 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
Import('env')
|
2010-07-24 17:39:17 +00:00
|
|
|
import os
|
2009-10-12 16:29:32 +00:00
|
|
|
import sys
|
|
|
|
|
|
|
|
files = [
|
|
|
|
'BPMemLoader.cpp',
|
|
|
|
'Clipper.cpp',
|
2011-02-03 19:55:30 +00:00
|
|
|
'SWCommandProcessor.cpp',
|
2009-10-12 16:29:32 +00:00
|
|
|
'CPMemLoader.cpp',
|
|
|
|
'DebugUtil.cpp',
|
|
|
|
'EfbCopy.cpp',
|
|
|
|
'EfbInterface.cpp',
|
2011-02-03 19:55:30 +00:00
|
|
|
'SWGLUtil.cpp',
|
2009-10-12 16:29:32 +00:00
|
|
|
'HwRasterizer.cpp',
|
2011-02-03 19:55:30 +00:00
|
|
|
'SWmain.cpp',
|
2009-10-12 16:29:32 +00:00
|
|
|
'OpcodeDecoder.cpp',
|
2011-02-03 19:55:30 +00:00
|
|
|
'SWPixelEngine.cpp',
|
2009-10-12 16:29:32 +00:00
|
|
|
'Rasterizer.cpp',
|
2011-02-03 19:55:30 +00:00
|
|
|
'SWRenderer.cpp',
|
2010-07-16 21:56:40 +00:00
|
|
|
'SetupUnit.cpp',
|
2011-02-03 19:55:30 +00:00
|
|
|
'SWStatistics.cpp',
|
2010-07-16 21:56:40 +00:00
|
|
|
'Tev.cpp',
|
|
|
|
'TextureEncoder.cpp',
|
|
|
|
'TextureSampler.cpp',
|
|
|
|
'TransformUnit.cpp',
|
2011-02-03 19:55:30 +00:00
|
|
|
'SWVertexLoader.cpp',
|
2011-01-29 06:26:03 +00:00
|
|
|
'SWVideoConfig.cpp',
|
2010-07-16 21:56:40 +00:00
|
|
|
'XFMemLoader.cpp',
|
2009-10-12 16:29:32 +00:00
|
|
|
]
|
2010-07-16 21:56:40 +00:00
|
|
|
|
2011-01-09 14:09:27 +00:00
|
|
|
if env['HAVE_WX']:
|
|
|
|
files += [ 'VideoConfigDialog.cpp' ]
|
2009-10-12 16:29:32 +00:00
|
|
|
|
2011-01-10 23:48:59 +00:00
|
|
|
if sys.platform == 'win32':
|
2010-07-16 21:56:40 +00:00
|
|
|
files += [ 'Win32.cpp' ]
|
2011-01-10 23:48:59 +00:00
|
|
|
|
2011-02-04 00:46:56 +00:00
|
|
|
env['LIBS'] += env.StaticObject(files)
|