| 
									
										
										
										
											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', | 
					
						
							|  |  |  | 	'CommandProcessor.cpp', | 
					
						
							|  |  |  | 	'CPMemLoader.cpp', | 
					
						
							|  |  |  | 	'DebugUtil.cpp', | 
					
						
							|  |  |  | 	'EfbCopy.cpp', | 
					
						
							|  |  |  | 	'EfbInterface.cpp', | 
					
						
							|  |  |  | 	'GLUtil.cpp', | 
					
						
							|  |  |  | 	'HwRasterizer.cpp', | 
					
						
							|  |  |  | 	'main.cpp', | 
					
						
							|  |  |  | 	'OpcodeDecoder.cpp', | 
					
						
							|  |  |  | 	'PixelEngine.cpp', | 
					
						
							|  |  |  | 	'Rasterizer.cpp', | 
					
						
							| 
									
										
										
										
											2009-10-13 06:12:58 +00:00
										 |  |  | 	'RasterFont.cpp', | 
					
						
							| 
									
										
										
										
											2009-10-12 16:29:32 +00:00
										 |  |  | 	'Renderer.cpp', | 
					
						
							| 
									
										
										
										
											2010-07-16 21:56:40 +00:00
										 |  |  | 	'SetupUnit.cpp', | 
					
						
							|  |  |  | 	'Statistics.cpp', | 
					
						
							|  |  |  | 	'Tev.cpp', | 
					
						
							|  |  |  | 	'TextureEncoder.cpp', | 
					
						
							|  |  |  | 	'TextureSampler.cpp', | 
					
						
							|  |  |  | 	'TransformUnit.cpp', | 
					
						
							|  |  |  | 	'VertexLoader.cpp', | 
					
						
							|  |  |  | 	'VideoConfig.cpp', | 
					
						
							|  |  |  | 	'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-01-29 04:52:19 +00:00
										 |  |  | #env['LIBS'] += ['videocommon'] | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | #if env['HAVE_WX']: | 
					
						
							|  |  |  | #	env['LIBS'] += [ 'videouicommon' ] | 
					
						
							|  |  |  | # XXX partially converted to libvideocommon, but there are still conflicts | 
					
						
							|  |  |  | files += [ | 
					
						
							|  |  |  | 	'../../../Core/VideoCommon/Src/ImageWrite.cpp', | 
					
						
							|  |  |  | 	'../../../Core/VideoCommon/Src/IndexGenerator.cpp', | 
					
						
							|  |  |  | 	'../../../Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp', | 
					
						
							|  |  |  | 	'../../../Core/VideoCommon/Src/TextureDecoder.cpp', | 
					
						
							|  |  |  | 	'../../../Core/VideoCommon/Src/VertexLoader_Color.cpp', | 
					
						
							|  |  |  | 	'../../../Core/VideoCommon/Src/VertexLoader_Normal.cpp', | 
					
						
							|  |  |  | 	'../../../Core/VideoCommon/Src/VertexLoader_Position.cpp', | 
					
						
							|  |  |  | 	'../../../Core/VideoCommon/Src/VertexLoader_TextCoord.cpp', | 
					
						
							|  |  |  | 	'../../../Core/VideoCommon/Src/VertexManagerBase.cpp', | 
					
						
							|  |  |  | 	] | 
					
						
							| 
									
										
										
										
											2011-01-09 14:09:27 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-01-29 04:52:19 +00:00
										 |  |  | env['libvideo'] = env.StaticLibrary(env['local_libs'] + 'video', files) |