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