1#---------------------------------------------------------------------------- 2# Project: Horizon 3# File: modulerules.om 4# 5# Copyright (C)2009-2011 Nintendo Co., Ltd. All rights reserved. 6# 7# These coded instructions, statements, and computer programs contain 8# proprietary information of Nintendo of America Inc. and/or Nintendo 9# Company Ltd., and are protected by Federal copyright law. They may 10# not be disclosed to third parties or copied or duplicated in any form, 11# in whole or in part, without the prior written consent of Nintendo. 12# 13# $Rev: 34627 $ 14#---------------------------------------------------------------------------- 15 16export DEFAULT_TARGETS 17 18# .c/.cpp/.asm ���琶�����ꂽ�I�u�W�F�N�g�t�@�C���̃t���p�X���i�[�����B 19# OMakefile �ɂĒl���Z�b�g���鎖���ł���B 20# �lj�����I�u�W�F�N�g�t�@�C�����ꏏ�ɐ�������ꍇ�� TARGET ��x���]�������Ďg�����B 21if $(not $(defined OBJECTS)) 22 OBJECTS = 23 export 24 25 26 27foreach(rule_func, $(HORIZON_ADDITIONAL_RULES)) 28 rule_func() 29 export 30 31 32 33 34# ���C�u�������i�g���q�����j�̖��O���i�[����� 35if $(defined TARGET_LIBRARY) 36 foreach(TARGET, $(BUILDER.getLibraryTargets $(SUPPORTED_TARGETS))) 37 target_file = $(StaticLibrary $(TARGET), $(TARGET_LIBRARY), $(SOURCES) $(OBJECTS)) 38 if $(TARGET.isFilterMatched) 39 DEFAULT_TARGETS += $(target_file) 40 41 42 43# true �Ȃ琶�������I�u�W�F�N�g�����C�u�����Ƃ��ĕێ����� 44if $(and $(defined INSTALL_OBJECTS), $(INSTALL_OBJECTS)) 45 foreach(TARGET, $(BUILDER.getLibraryTargets $(SUPPORTED_TARGETS))) 46 target_file = $(StaticObject $(TARGET), $(SOURCES)) 47 if $(TARGET.isFilterMatched) 48 DEFAULT_TARGETS += $(target_file) 49 50 51 52# �v���O�������i�g���q�����j�̖��O���i�[����� 53# �����Ŏw�肵���v���O�������� elf �t�@�C���� rom �t�@�C���̃t�@�C�����Ɏg�p�����B 54if $(defined TARGET_PROGRAM) 55 foreach(TARGET, $(BUILDER.getTargets $(SUPPORTED_TARGETS))) 56 DEFAULT_TARGETS += $(Program $(TARGET), $(TARGET_PROGRAM), $(SOURCES) $(OBJECTS)) 57 58 59foreach(rule_func, $(HORIZON_POST_ADDITIONAL_RULES)) 60 rule_func() 61 export 62 63DefineDefaultRules() 64 65 66