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