1#!/usr/bin/env omake
2#----------------------------------------------------------------------------
3# Project:  NintendoWare
4# File:     OMakefile
5#
6# Copyright (C)2009-2010 Nintendo Co., Ltd./HAL Laboratory, Inc.  All rights reserved.
7#
8# These coded instructions, statements, and computer programs contain
9# proprietary information of Nintendo of America Inc. and/or Nintendo
10# Company Ltd., and are protected by Federal copyright law.  They may
11# not be disclosed to third parties or copied or duplicated in any form,
12# in whole or in part, without the prior written consent of Nintendo.
13#
14# $Revision: 28137 $
15#----------------------------------------------------------------------------
16SUPPORTED_TARGETS   =   CTR-*.Process.MPCore.*
17
18INSTALL_ROOT       = $(getenv NW4C_ROOT)
19
20SOURCES[]           =
21                        gfx_ISceneVisitor.cpp
22                        gfx_SceneTraverser.cpp
23                        gfx_SceneInitializer.cpp
24                        gfx_ISceneUpdater.cpp
25                        gfx_SceneUpdater.cpp
26                        gfx_SceneContext.cpp
27                        gfx_RenderQueue.cpp
28                        gfx_IRenderTarget.cpp
29                        gfx_OnScreenBuffer.cpp
30                        gfx_OffScreenBuffer.cpp
31                        gfx_RenderContext.cpp
32                        gfx_GraphicsDevice.cpp
33                        gfx_MaterialState.cpp
34                        gfx_MeshRenderer.cpp
35                        gfx_ShaderProgram.cpp
36                        gfx_ShaderUniforms.cpp
37                        gfx_Material.cpp
38                        gfx_IMaterialActivator.cpp
39                        gfx_MaterialActivator.cpp
40                        gfx_SimpleMaterialActivator.cpp
41                        gfx_DirectMaterialActivator.cpp
42                        gfx_ParticleMaterialActivator.cpp
43                        gfx_IMaterialIdGenerator.cpp
44                        gfx_SortingMaterialIdGenerator.cpp
45                        gfx_ActivateCommand.cpp
46                        gfx_CommandUtil.cpp
47                        gfx_MemoryUtil.cpp
48                        res/gfx_ResGraphicsFile.cpp
49                        res/gfx_ResModel.cpp
50                        res/gfx_ResMaterial.cpp
51                        res/gfx_ResMesh.cpp
52                        res/gfx_ResTextureMapper.cpp
53                        res/gfx_ResSceneObject.cpp
54                        res/gfx_ResShape.cpp
55                        res/gfx_ResTexture.cpp
56                        res/gfx_ResVertex.cpp
57                        res/gfx_ResParticleModel.cpp
58                        res/gfx_ResShader.cpp
59                        res/gfx_ResLookupTable.cpp
60                        res/gfx_ResLight.cpp
61                        res/gfx_ResUtil.cpp
62                        res/gfx_ResFragmentShader.cpp
63                        res/gfx_ResFog.cpp
64                        gfx_SceneObject.cpp
65                        gfx_SceneNode.cpp
66                        gfx_TransformNode.cpp
67                        gfx_Model.cpp
68                        gfx_SkeletalModel.cpp
69                        gfx_Skeleton.cpp
70                        gfx_StandardSkeleton.cpp
71                        gfx_SkeletonUpdater.cpp
72                        gfx_BillboardUpdater.cpp
73                        gfx_CalculatedTransform.cpp
74                        gfx_WorldMatrixUpdater.cpp
75                        gfx_SceneEnvironmentSetting.cpp
76                        gfx_SceneEnvironment.cpp
77                        gfx_LightSet.cpp
78                        gfx_Light.cpp
79                        gfx_FragmentLight.cpp
80                        gfx_AnimObject.cpp
81                        gfx_AmbientLight.cpp
82                        gfx_HemiSphereLight.cpp
83                        gfx_VertexLight.cpp
84                        gfx_Fog.cpp
85                        gfx_Camera.cpp
86                        gfx_CameraProjectionUpdater.cpp
87                        gfx_CameraViewUpdater.cpp
88                        gfx_AimTargetViewUpdater.cpp
89                        gfx_LookAtTargetViewUpdater.cpp
90                        gfx_RotateViewUpdater.cpp
91                        gfx_FrustumProjectionUpdater.cpp
92                        gfx_PerspectiveProjectionUpdater.cpp
93                        gfx_OrthoProjectionUpdater.cpp
94                        gfx_TransformAnim.cpp
95                        gfx_ParticleUtil.cpp
96                        gfx_ParticleModel.cpp
97                        gfx_ParticleEmitter.cpp
98                        gfx_ParticleSet.cpp
99                        gfx_ParticleCollection.cpp
100                        gfx_ParticleShape.cpp
101                        gfx_ParticleContext.cpp
102                        gfx_ParticleSceneUpdater.cpp
103                        gfx_ParticleAnimationOption.cpp
104                        gfx_ParticleRandom.cpp
105                        res/gfx_ResParticleEmitter.cpp
106                        res/gfx_ResParticleSet.cpp
107                        gfx_SceneBuilder.cpp
108                        gfx_SceneHelper.cpp
109                        gfx_ShaderBinaryInfo.cpp
110                        gfx_FrameBuffer.cpp
111                        gfx_GlImplement.cpp
112
113TARGET_LIBRARY      =   libnw_gfx
114
115INCLUDES           +=   $(NW_INCLUDES)
116
117include $(ROOT_OMAKE)/modulerules
118
119build: $(DEFAULT_TARGETS)
120
121