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:$ 15#---------------------------------------------------------------------------- 16 17GEOMETRY_SHADER_INCLUDES[] = 18 19# �V�F�[�_�[�t�@�C�����w�肵�܂��B 20SOURCES[] = 21 gfx_DefaultShader0.vsh 22 gfx_DefaultShader1.vsh 23 gfx_DefaultShader2.vsh 24 gfx_DefaultShader3.vsh 25 CalcVertexLighting.vsh 26 CalcHemiSphereLighting.vsh 27 CalcQuaternion.vsh 28 CalcTexcoord0.vsh 29 CalcTexcoord1.vsh 30 CalcTexcoord2.vsh 31 GetTexcoordSource.vsh 32 GenTexcoordReflection.vsh 33 GenTexcoordSphereReflection.vsh 34 CalcColor.vsh 35 TransformMatrix.vsh 36 37# �V�F�[�_�[�̈ˑ��t�@�C�����܂t�H���_���w�肵�܂��B 38VERTEX_SHADER_INCLUDES[] = ../ 39 40TARGET_LIBRARY_SHADER = nwgfx_DefaultShader 41CSDR_TARGET = nwgfx_DefaultShader.csdr 42 43include $(ROOT)/build/omake/modulerules 44 45INSTALL_CSDR = $(NW4C_ROOT)/shaders/$(CSDR_TARGET) 46 47build: $(DEFAULT_TARGETS) 48 49# python ���������Ŗ�肪�o���̂ŁA�ЂƂ܂� omake �ւ̑g�ݍ��݂~ 50#.PHONY: build-csdr 51# 52# build-csdr : $(INSTALL_CSDR) 53# 54#$(INSTALL_CSDR) : $(IMAGES_DIR)$(DIRSEP)$(CSDR_TARGET) 55# cp -f $< $@ 56# 57#$(IMAGES_DIR)$(DIRSEP)$(CSDR_TARGET) : $(IMAGES_DIR)$(DIRSEP)$(TARGET_LIBRARY_SHADER).shbin 58# python $(NW4C_ROOT)/tools/ShbinToCsdr/ShbinToCsdr.py $< > $@ 59 60DefineDefaultRules() 61