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